Skip to content

Crash with Exception Codes: ILL_ILLTRP when use Firebase #706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Jan 25, 2018 · 2 comments
Closed

Crash with Exception Codes: ILL_ILLTRP when use Firebase #706

ghost opened this issue Jan 25, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 25, 2018

Our app has a strange crash with Exception Type is SIGILL and Exception Codes is ILL_ILLTRP, though the crash stack does not contain Firebase's symbols, but I think the crash is related to Firebase/Messaging.

ENVIRONMENT:

  • XCode: 9.0
  • Swift: 3.2
  • Firebase: 4.5.0
  • FirebaseAnalytics: 4.0.4
  • FirebaseCore: 4.0.10
  • FirebaseDynamicLinks: 2.1.0
  • FirebaseInstanceID: 2.0.5
  • FirebaseMessaging: 2.0.6

Podfile

pod 'Reachability', '3.2'
pod 'ProtocolBuffers', '1.9.11'
pod 'Flurry-iOS-SDK', '7.6.6'
pod 'SDWebImage', '4.2.2'
pod 'SFHFKeychainUtils', '0.0.1'
pod 'OrderedDictionary', '1.4'
pod 'Color-Picker-for-iOS', '2.0.2'
pod 'AFNetworking', '3.1.0' 
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/DynamicLinks'
pod 'MGSwipeTableCell', '1.6.6'

CRASH

Incident Identifier: 7D76AD15-895E-4EF6-A39F-80F90EA4D897
CrashReporter Key:   TODO
Hardware Model:      iPhone8,1
Process:         <MYAPP> [6145]
Path:            /var/containers/Bundle/Application/8640EB9A-C283-452F-89A6-86D302FE6CC4/<MYAPP>.app/<MYAPP>
Identifier:      ***.***.**
Version:         3.4.0 (29048)
Code Type:       ARM-64
Parent Process:  ??? [1]

Date/Time:       2018-01-24T10:39:58Z
OS Version:      iPhone OS 11.2.2 (15C202)
Report Version:  104

Exception Type:  SIGILL
Exception Codes: ILL_ILLTRP at 0x18605405c
Crashed Thread:  6

Thread 0:
0   libobjc.A.dylib                      0x0000000184b945fc objc_destructInstance + 28
1   libobjc.A.dylib                      0x0000000184b94690 object_dispose + 12
2   libxpc.dylib                         0x000000018559fb14 _xpc_dictionary_dispose + 180
3   libxpc.dylib                         0x000000018559fa40 _xpc_dispose + 68
4   Security                             0x0000000186531ea8 securityd_send_sync_and_do + 168
5   Security                             0x000000018659574c __SecItemCopyMatching_block_invoke_2 + 208
6   Security                             0x0000000186594b34 __SecItemAuthDoQuery_block_invoke + 320
7   Security                             0x00000001865938a0 SecItemAuthDo + 1136
8   Security                             0x0000000186593f40 SecItemAuthDoQuery + 528
9   Security                             0x000000018659566c __SecItemCopyMatching_block_invoke + 116
10  Security                             0x000000018659205c SecOSStatusWith + 48
11  Security                             0x0000000186594384 SecItemCopyMatching + 392
12  <MYAPP>                               0x0000000103337484 -[FIRInstanceIDAuthKeychain itemsMatchingService:account:accessGroup:error:] + 320
13  <MYAPP>                               0x0000000103337674 -[FIRInstanceIDAuthKeychain itemForService:account:accessGroup:error:] + 92
14  <MYAPP>                               0x000000010333c488 -[FIRInstanceIDCheckinStore migrateCheckinItemIfNeeded] + 160
15  <MYAPP>                               0x000000010333bfec -[FIRInstanceIDCheckinStore cachedCheckinPreferences] + 48
16  <MYAPP>                               0x00000001033402c8 -[FIRInstanceIDStore cachedCheckinPreferences] + 48
17  <MYAPP>                               0x0000000103337b1c -[FIRInstanceIDAuthService initWithCheckinService:store:] + 140
18  <MYAPP>                               0x0000000103337c70 -[FIRInstanceIDAuthService initWithStore:] + 100
19  <MYAPP>                               0x0000000103342fa4 -[FIRInstanceIDTokenManager init] + 156
20  <MYAPP>                               0x0000000103334198 -[FIRInstanceID setupTokenManager] + 48
21  <MYAPP>                               0x000000010333413c -[FIRInstanceID start] + 96
22  libdispatch.dylib                    0x00000001852bea14 _dispatch_client_callout + 12
23  libdispatch.dylib                    0x00000001852c2240 dispatch_once_f$VARIANT$mp + 56
24  <MYAPP>                               0x00000001033319c4 +[FIRInstanceID instanceID] + 56
25  <MYAPP>                               0x0000000103330d10 +[FIRInstanceID(FIRApp) didReceiveConfigureSDKNotification:] + 328
26  CoreFoundation                       0x00000001858d433c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 16
27  CoreFoundation                       0x00000001858d38dc _CFXRegistrationPost + 416
28  CoreFoundation                       0x00000001858d3640 ___CFXNotificationPost_block_invoke + 56
29  CoreFoundation                       0x0000000185951024 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1404
30  CoreFoundation                       0x0000000185809f60 _CFXNotificationPost + 376
31  Foundation                           0x0000000186237348 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
32  <MYAPP>                               0x000000010330f238 +[FIRApp sendNotificationsToSDKs:] + 388
33  <MYAPP>                               0x000000010330e1dc +[FIRApp configureDefaultAppWithOptions:sendingNotifications:] + 288
34  <MYAPP>                               0x000000010330e010 +[FIRApp configure] + 392
35  <MYAPP>                               0x0000000102ffadc0 specialized AppDelegate.application(_:didFinishLaunchingWithOptions:) (AppDelegate.swift:52)
36  <MYAPP>                               0x0000000102ff8224 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) (AppDelegate.swift:0)
37  UIKit                                0x000000018ef6737c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 380
38  UIKit                                0x000000018f158c58 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3432
39  UIKit                                0x000000018f15daa8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1708
40  UIKit                                0x000000018f3f92d4 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 796
41  UIKit                                0x000000018f6d112c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 156
42  UIKit                                0x000000018f3f8f38 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 248
43  UIKit                                0x000000018f3f9798 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 728
44  UIKit                                0x000000018fb7e7d0 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 256
45  UIKit                                0x000000018fb7e674 -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 444
46  UIKit                                0x000000018f8ec2dc __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 216
47  UIKit                                0x000000018fa853dc _performActionsWithDelayForTransitionContext + 108
48  UIKit                                0x000000018f8ec18c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
49  UIKit                                0x000000018f6d078c -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 360
50  UIKit                                0x000000018f15c1ec -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 536
51  UIKit                                0x000000018f571de8 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 360
52  FrontBoardServices                   0x00000001880061f0 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 360
53  FrontBoardServices                   0x000000018800eaf8 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 220
54  libdispatch.dylib                    0x00000001852bea14 _dispatch_client_callout + 12
55  libdispatch.dylib                    0x00000001852c6200 _dispatch_block_invoke_direct$VARIANT$mp + 284
56  FrontBoardServices                   0x000000018803a7f8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 32
57  FrontBoardServices                   0x000000018803a49c -[FBSSerialQueue _performNext] + 400
58  FrontBoardServices                   0x000000018803aa38 -[FBSSerialQueue _performNextFromRunLoopSource] + 52
59  CoreFoundation                       0x00000001858ea97c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
60  CoreFoundation                       0x00000001858ea8fc __CFRunLoopDoSource0 + 84
61  CoreFoundation                       0x00000001858ea184 __CFRunLoopDoSources0 + 200
62  CoreFoundation                       0x00000001858e7d5c __CFRunLoopRun + 1044
63  CoreFoundation                       0x0000000185807e58 CFRunLoopRunSpecific + 432
64  GraphicsServices                     0x00000001876b4f84 GSEventRunModal + 96
65  UIKit                                0x000000018ef5c67c UIApplicationMain + 232
66  <MYAPP>                               0x0000000102ff926c main (AppDelegate.swift:17)
67  libdyld.dylib                        0x000000018532456c start + 0

Thread 5:
0   libsystem_kernel.dylib               0x0000000185453144 __bsdthread_ctl + 8
1   libobjc.A.dylib                      0x0000000184b9196c rwlock_tt<false>::unlockRead() + 52
2   libobjc.A.dylib                      0x0000000184b91734 lookUpImpOrForward + 208
3   libobjc.A.dylib                      0x0000000184b9c758 _objc_msgSend_uncached + 52
4   libobjc.A.dylib                      0x0000000184b8943c CALLING_SOME_+initialize_METHOD + 20
5   libobjc.A.dylib                      0x0000000184b89804 _class_initialize + 292
6   libobjc.A.dylib                      0x0000000184b91744 lookUpImpOrForward + 224
7   libobjc.A.dylib                      0x0000000184b9c758 _objc_msgSend_uncached + 52
8   <MYAPP>                               0x00000001032c783c -[FIRADatabase initWithDatabaseName:persistedConfig:] + 160
9   <MYAPP>                               0x00000001032d6e04 __48-[FIRAMeasurement startMeasurementOnWorkerQueue]_block_invoke + 708
10  libdispatch.dylib                    0x00000001852bea14 _dispatch_client_callout + 12
11  libdispatch.dylib                    0x00000001852c2240 dispatch_once_f$VARIANT$mp + 56
12  <MYAPP>                               0x00000001032d6b24 -[FIRAMeasurement startMeasurementOnWorkerQueue] + 268
13  <MYAPP>                               0x00000001032d68f0 -[FIRAMeasurement setEnabledOnWorkerQueue:] + 124
14  <MYAPP>                               0x00000001032ecc38 __52-[FIRAScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44
15  libdispatch.dylib                    0x00000001852bea54 _dispatch_call_block_and_release + 20
16  libdispatch.dylib                    0x00000001852bea14 _dispatch_client_callout + 12
17  libdispatch.dylib                    0x00000001852c896c _dispatch_queue_serial_drain$VARIANT$mp + 524
18  libdispatch.dylib                    0x00000001852c92fc _dispatch_queue_invoke$VARIANT$mp + 336
19  libdispatch.dylib                    0x00000001852c9d20 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400
20  libdispatch.dylib                    0x00000001852d203c _dispatch_workloop_worker_thread$VARIANT$mp + 640
21  libsystem_pthread.dylib              0x0000000185566f1c _pthread_wqthread + 928
22  libsystem_pthread.dylib              0x0000000185566b6c start_wqthread + 0

Thread 6 Crashed:
0   CFNetwork                            0x000000018605405c TCPIOConnection::_createConnection() + 692
1   CFNetwork                            0x0000000186053f9c TCPIOConnection::_createConnection() + 500
2   CFNetwork                            0x0000000186050a54 TCPIOConnection::_startConnection() + 36
3   CFNetwork                            0x0000000185fca0a4 Tube::_onqueue_startConnection() + 60
4   CFNetwork                            0x0000000185fc9918 ___ZN4Tube23_onqueue_prepConnectionEU13block_pointerFvvEU13block_pointerFviE_block_invoke.76 + 760
5   CFNetwork                            0x0000000185fc9fb4 ___ZN4Tube23_onqueue_prepConnectionEU13block_pointerFvvEU13block_pointerFviE_block_invoke_2.92 + 24
6   libdispatch.dylib                    0x00000001852bea54 _dispatch_call_block_and_release + 20
7   libdispatch.dylib                    0x00000001852bea14 _dispatch_client_callout + 12
8   libdispatch.dylib                    0x00000001852c896c _dispatch_queue_serial_drain$VARIANT$mp + 524
9   libdispatch.dylib                    0x00000001852c92fc _dispatch_queue_invoke$VARIANT$mp + 336
10  libdispatch.dylib                    0x00000001852c8824 _dispatch_queue_serial_drain$VARIANT$mp + 196
11  libdispatch.dylib                    0x00000001852c92fc _dispatch_queue_invoke$VARIANT$mp + 336
12  libdispatch.dylib                    0x00000001852c9d20 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400
13  libdispatch.dylib                    0x00000001852d203c _dispatch_workloop_worker_thread$VARIANT$mp + 640
14  libsystem_pthread.dylib              0x0000000185566f1c _pthread_wqthread + 928
15  libsystem_pthread.dylib              0x0000000185566b6c start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib              0x0000000185566b68 start_wqthread + 0

I'm very confused about this crash and can not figure out why this happened, I will very grateful to you if you can give me some advice or solutions. Thanks a lot!

@google-oss-bot
Copy link

Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight.

@paulb777
Copy link
Member

Dupe of #707

@firebase firebase locked and limited conversation to collaborators Nov 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants