# Crash only happening on iPhone 7 and 7 Plus

**URL:** <https://forums.kodeco.com/t/crash-only-happening-on-iphone-7-and-7-plus/23332>\
**Category:** iOS\
**Created:** [November 28, 2016, 8:19am UTC](https://forums.kodeco.com/t/crash-only-happening-on-iphone-7-and-7-plus/23332 "2016-11-28T08:19:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinjbt](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/martinjbt/32/110937_2.png) [@martinjbt](https://forums.kodeco.com/u/martinjbt)\
**Post date:** [November 28, 2016, 8:19am UTC](https://forums.kodeco.com/t/crash-only-happening-on-iphone-7-and-7-plus/23332/1 "2016-11-28T08:19:28Z")

</div>

Hi all,

I really hope that someone can help me with the following issue. I’m unable to figure out why it’s crashing.  
I’ve tested the app on iPhone 6 and 6S without any issues.

This crash seems to only happen on iPhone 7 and 7 Plus.  
I would really appreciate if anyone could help me with this or even just point me in the right direction.

Below is the Crashlytics log:

#0. Crashed: com.apple.main-thread  
0 InstaVidLite 0x10006dfc4 specialized SignInViewController.signInButtonPressed(UIButton) → () (SignInViewController.swift:110)  
1 InstaVidLite 0x10006b868 @objc SignInViewController.signInButtonPressed(UIButton) → () (SignInViewController.swift)  
2 UIKit 0x1878d6484 -[UIApplication sendAction:to:from:forEvent:] + 96  
3 UIKit 0x1878d6404 -[UIControl sendAction:to:forEvent:] + 80  
4 UIKit 0x1878c08b8 -[UIControl \_sendActionsForEvents:withEvent:] + 452  
5 UIKit 0x1878d5cf0 -[UIControl touchesEnded:withEvent:] + 584  
6 UIKit 0x187e66c90 \_UIGestureEnvironmentSortAndSendDelayedTouches + 4484  
7 UIKit 0x187e62d28 \_UIGestureEnvironmentUpdate + 1164  
8 UIKit 0x187e62848 -[UIGestureEnvironment \_deliverEvent:toGestureRecognizers:usingBlock:] + 408  
9 UIKit 0x187e61b04 -[UIGestureEnvironment \_updateGesturesForEvent:window:] + 268  
10 UIKit 0x1878d0a44 -[UIWindow sendEvent:] + 2960  
11 UIKit 0x1878a152c -[UIApplication sendEvent:] + 340  
12 UIKit 0x18808ea54 \_\_dispatchPreprocessedEventFromEventQueue + 2736  
13 UIKit 0x1880884bc \_\_handleEventQueue + 784  
14 CoreFoundation 0x1819f4278 **CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_A\_SOURCE0\_PERFORM\_FUNCTION** + 24  
15 CoreFoundation 0x1819f3bc0 \_\_CFRunLoopDoSources0 + 524  
16 CoreFoundation 0x1819f17c0 \_\_CFRunLoopRun + 804  
17 CoreFoundation 0x181920048 CFRunLoopRunSpecific + 444  
18 GraphicsServices 0x1833a6198 GSEventRunModal + 180  
19 UIKit 0x18790c2fc -[UIApplication \_run] + 684  
20 UIKit 0x187907034 UIApplicationMain + 208  
21 InstaVidLite 0x1001145a8 main (AppDelegate.swift:17)  
22 libdispatch.dylib 0x1809045b8 (Missing)

–

#0. Crashed: com.apple.main-thread  
0 InstaVidLite 0x10006dfc4 specialized SignInViewController.signInButtonPressed(UIButton) → () (SignInViewController.swift:110)  
1 InstaVidLite 0x10006b868 @objc SignInViewController.signInButtonPressed(UIButton) → () (SignInViewController.swift)  
2 UIKit 0x1878d6484 -[UIApplication sendAction:to:from:forEvent:] + 96  
3 UIKit 0x1878d6404 -[UIControl sendAction:to:forEvent:] + 80  
4 UIKit 0x1878c08b8 -[UIControl \_sendActionsForEvents:withEvent:] + 452  
5 UIKit 0x1878d5cf0 -[UIControl touchesEnded:withEvent:] + 584  
6 UIKit 0x187e66c90 \_UIGestureEnvironmentSortAndSendDelayedTouches + 4484  
7 UIKit 0x187e62d28 \_UIGestureEnvironmentUpdate + 1164  
8 UIKit 0x187e62848 -[UIGestureEnvironment \_deliverEvent:toGestureRecognizers:usingBlock:] + 408  
9 UIKit 0x187e61b04 -[UIGestureEnvironment \_updateGesturesForEvent:window:] + 268  
10 UIKit 0x1878d0a44 -[UIWindow sendEvent:] + 2960  
11 UIKit 0x1878a152c -[UIApplication sendEvent:] + 340  
12 UIKit 0x18808ea54 \_\_dispatchPreprocessedEventFromEventQueue + 2736  
13 UIKit 0x1880884bc \_\_handleEventQueue + 784  
14 CoreFoundation 0x1819f4278 **CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_A\_SOURCE0\_PERFORM\_FUNCTION** + 24  
15 CoreFoundation 0x1819f3bc0 \_\_CFRunLoopDoSources0 + 524  
16 CoreFoundation 0x1819f17c0 \_\_CFRunLoopRun + 804  
17 CoreFoundation 0x181920048 CFRunLoopRunSpecific + 444  
18 GraphicsServices 0x1833a6198 GSEventRunModal + 180  
19 UIKit 0x18790c2fc -[UIApplication \_run] + 684  
20 UIKit 0x187907034 UIApplicationMain + 208  
21 InstaVidLite 0x1001145a8 main (AppDelegate.swift:17)  
22 libdispatch.dylib 0x1809045b8 (Missing)

#1. com.apple.uikit.eventfetch-thread  
0 libsystem\_kernel.dylib 0x1809f816c mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x1809f7fdc mach\_msg + 72  
2 CoreFoundation 0x1819f3cec \_\_CFRunLoopServiceMachPort + 192  
3 CoreFoundation 0x1819f1908 \_\_CFRunLoopRun + 1132  
4 CoreFoundation 0x181920048 CFRunLoopRunSpecific + 444  
5 Foundation 0x182431a8c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304  
6 Foundation 0x18245257c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96  
7 UIKit 0x188281a2c -[UIEventFetcher threadMain] + 136  
8 Foundation 0x18252f47c **NSThread\_\_start** + 1024  
9 libsystem\_pthread.dylib 0x180adc850 \_pthread\_body + 240  
10 libsystem\_pthread.dylib 0x180adc760 \_pthread\_body + 282  
11 libsystem\_pthread.dylib 0x180ad9dac thread\_start + 4

#2. Thread  
0 libsystem\_kernel.dylib 0x180a16a88 \_\_workq\_kernreturn + 8  
1 libsystem\_pthread.dylib 0x180ada178 \_pthread\_wqthread + 968  
2 libsystem\_pthread.dylib 0x180ad9da4 start\_wqthread + 4

#3. Thread  
0 libsystem\_kernel.dylib 0x180a16a88 \_\_workq\_kernreturn + 8  
1 libsystem\_pthread.dylib 0x180ada178 \_pthread\_wqthread + 968  
2 libsystem\_pthread.dylib 0x180ad9da4 start\_wqthread + 4

#4. com.twitter.crashlytics.ios.MachExceptionServer  
0 InstaVidLite 0x100155320 CLSProcessRecordAllThreads (CLSProcess.c:376)  
1 InstaVidLite 0x100155320 CLSProcessRecordAllThreads (CLSProcess.c:376)  
2 InstaVidLite 0x1001551dc CLSProcessRecordAllThreads (CLSProcess.c:407)  
3 InstaVidLite 0x100145988 CLSHandler (CLSHandler.m:26)  
4 InstaVidLite 0x10014092c CLSMachExceptionServer (CLSMachException.c:446)  
5 libsystem\_pthread.dylib 0x180adc850 \_pthread\_body + 240  
6 libsystem\_pthread.dylib 0x180adc760 \_pthread\_body + 282  
7 libsystem\_pthread.dylib 0x180ad9dac thread\_start + 4

#5. Thread  
0 libsystem\_kernel.dylib 0x180a16a88 \_\_workq\_kernreturn + 8  
1 libsystem\_pthread.dylib 0x180ada35c \_pthread\_wqthread + 1452  
2 libsystem\_pthread.dylib 0x180ad9da4 start\_wqthread + 4

#6. com.apple.NSURLConnectionLoader  
0 libsystem\_kernel.dylib 0x1809f816c mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x1809f7fdc mach\_msg + 72  
2 CoreFoundation 0x1819f3cec \_\_CFRunLoopServiceMachPort + 192  
3 CoreFoundation 0x1819f1908 \_\_CFRunLoopRun + 1132  
4 CoreFoundation 0x181920048 CFRunLoopRunSpecific + 444  
5 CFNetwork 0x182111fd0 +[NSURLConnection(Loader) \_resourceLoadLoop:] + 336  
6 Foundation 0x18252f47c **NSThread\_\_start** + 1024  
7 libsystem\_pthread.dylib 0x180adc850 \_pthread\_body + 240  
8 libsystem\_pthread.dylib 0x180adc760 \_pthread\_body + 282  
9 libsystem\_pthread.dylib 0x180ad9dac thread\_start + 4

#7. Thread  
0 libsystem\_kernel.dylib 0x180a16a88 \_\_workq\_kernreturn + 8  
1 libsystem\_pthread.dylib 0x180ada35c \_pthread\_wqthread + 1452  
2 libsystem\_pthread.dylib 0x180ad9da4 start\_wqthread + 4

#8. RLMRealm notification listener  
0 libsystem\_kernel.dylib 0x1809fc630 kevent + 8  
1 Realm 0x1004d41f4 realm::\_impl::ExternalCommitHelper::listen() (external\_commit\_helper.cpp:302)  
2 Realm 0x1004d48b4 realm::\_impl::ExternalCommitHelper::ExternalCommitHelper(realm::Realm\*)::$\_0::\_\_invoke(void\*) (external\_commit\_helper.cpp:230)  
3 libsystem\_pthread.dylib 0x180adc850 \_pthread\_body + 240  
4 libsystem\_pthread.dylib 0x180adc760 \_pthread\_body + 282  
5 libsystem\_pthread.dylib 0x180ad9dac thread\_start + 4

---

<div class="post-metadata">

**Author:** ![syedfa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/syedfa/32/101500_2.png) [@syedfa](https://forums.kodeco.com/u/syedfa)\
**Post date:** [September 13, 2017, 6:14pm UTC](https://forums.kodeco.com/t/crash-only-happening-on-iphone-7-and-7-plus/23332/2 "2017-09-13T18:14:28Z")

</div>

@martinjbt. Thanks very much for your question, and my apologies for the delayed response.

For complex technical questions like this, I honestly would recommend posting such questions on [www.stackoverflow.com](http://www.stackoverflow.com) , and I can almost guarantee you that you will get a solution within 24 hours. 🙂

I hope this helps!

All the best!
