Skip to content
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

App Terminated Immediately After install and start running - RN 0.48.3 #281

Closed
heuism opened this issue Sep 19, 2017 · 4 comments
Closed

Comments

@heuism
Copy link

heuism commented Sep 19, 2017

Hi guys, I just updated the RN to the latest version because the application requires to do that. But now the application will be terminated as soon as it start running. I am not aware the source of the issue. Thanks for helping out. It used to work in the morning when i use the older version of RN and the current Detox

@rotemmiz
Copy link
Member

Hey @heuism, please provide more details, especially the native stack trace of your app from the simulator log.

@LeoNatan
Copy link
Contributor

Probably related to #279.

@heuism
Copy link
Author

heuism commented Sep 21, 2017

@LeoNatan and @rotemmiz thanks for quick reply, I was having other stuffs so forgot to check back

FYI, this is the simulator log from the application. For confidential purposes, i put the <app_name> as the placeholder for real project name. Furthermore, I read the #279 issue and I can see that is the same with mine as well. Thanks

2017-09-21 14:45:02.454 <app_name>[10630:2670036] Crash handler setup started.
2017-09-21 14:45:02.454 <app_name>[10630:2670036] Crash handler setup completed.
2017-09-21 14:45:02.454 <app_name>[10630:2670036] Enabling accessibility for automation on Simulator.
2017-09-21 14:45:02.741 <app_name>[10630:2670036] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2017-09-21 14:45:02.761 [info][tid:main][RCTCxxBridge.mm:187] Initializing <RCTCxxBridge: 0x6100001aafe0> (parent: <RCTBridge: 0x6080000bb420>, executor: (null))
2017-09-21 14:45:02.768 [warn][tid:main][RCTBridge.m:114] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2017-09-21 14:45:02.780 <app_name>[10630:2670036] ☣️ Adding idling resource for queue: <OS_dispatch_queue: com.facebook.react.AccessibilityManagerQueue[0x6080000f2180]>
2017-09-21 14:45:02.781 [info][tid:main][RCTRootView.m:301] Running application <app_name> ({
    initialProps =     {
    };
    rootTag = 1;
})
libc++abi.dylib: terminating with unexpected exception of type std::__1::bad_function_call: std::exception
Signal caught: Abort trap: 6
0   EarlGrey                            0x0000000115d71009 grey_signalHandler + 249
1   libsystem_platform.dylib            0x000000010dc91b3a _sigtramp + 26
2   libsystem_kernel.dylib              0x000000010dc55430 libsystem_kernel.dylib + 1072
3   libsystem_c.dylib                   0x000000010d9e8fd7 abort + 129
4   libc++abi.dylib                     0x000000010d7bc95a __cxa_bad_cast + 0
5   libc++abi.dylib                     0x000000010d7e1ce7 _ZL25default_terminate_handlerv + 243
6   libobjc.A.dylib                     0x000000010bf584b4 _ZL15_objc_terminatev + 124
7   libc++abi.dylib                     0x000000010d7dee69 _ZSt11__terminatePFvvE + 8
8   libc++abi.dylib                     0x000000010d7deee3 _ZSt9terminatev + 51
9   libc++abi.dylib                     0x000000010d7dee34 _ZSt12__unexpectedPFvvE + 6
10  libc++abi.dylib                     0x000000010d7df8fa __cxa_call_unexpected + 131
11  <app_name>                          0x00000001076f0120 _ZN8facebook5react11JSCExecutor16initOnJSVMThreadEv + 1872
12  <app_name>                          0x00000001076ef732 _ZN8facebook5react11JSCExecutorC2ENSt3__110shared_ptrINS0_16ExecutorDelegateEEENS3_INS0_18MessageQueueThreadEEERKN5folly7dynamicE + 1010
13  <app_name>                          0x00000001076f0399 _ZN8facebook5react11JSCExecutorC1ENSt3__110shared_ptrINS0_16ExecutorDelegateEEENS3_INS0_18MessageQueueThreadEEERKN5folly7dynamicE + 25
14  <app_name>                          0x00000001076eeed4 _ZN8facebook5react18JSCExecutorFactory16createJSExecutorENSt3__110shared_ptrINS0_16ExecutorDelegateEEENS3_INS0_18MessageQueueThreadEEE + 436
15  <app_name>                          0x00000001077064a9 _ZN8facebook5react16NativeToJsBridgeC2EPNS0_17JSExecutorFactoryENSt3__110shared_ptrINS0_14ModuleRegistryEEENS5_INS0_18MessageQueueThreadEEENS5_INS0_16InstanceCallbackEEE + 569
16  <app_name>                          0x00000001077065dd _ZN8facebook5react16NativeToJsBridgeC1EPNS0_17JSExecutorFactoryENSt3__110shared_ptrINS0_14ModuleRegistryEEENS5_INS0_18MessageQueueThreadEEENS5_INS0_16InstanceCallbackEEE + 29
17  <app_name>                          0x0000000107705dea _ZZN8facebook5react8Instance16initializeBridgeENSt3__110unique_ptrINS0_16InstanceCallbackENS2_14default_deleteIS4_EEEENS2_10shared_ptrINS0_17JSExecutorFactoryEEENS8_INS0_18MessageQueueThreadEEENS8_INS0_14ModuleRegistryEEEEN3$
18  <app_name>                          0x0000000107705b4d _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZN8facebook5react8Instance16initializeBridgeENS_10unique_ptrINS4_16InstanceCallbackENS_14default_deleteIS7_EEEENS_10shared_ptrINS4_17JSExecutorFactoryEEENSB_INS4_18MessageQ$
19  <app_name>                          0x0000000107705879 _ZNSt3__110__function6__funcIZN8facebook5react8Instance16initializeBridgeENS_10unique_ptrINS3_16InstanceCallbackENS_14default_deleteIS6_EEEENS_10shared_ptrINS3_17JSExecutorFactoryEEENSA_INS3_18MessageQueueThreadEEENSA_INS3_1$
20  <app_name>                          0x00000001075ae38e _ZNKSt3__18functionIFvvEEclEv + 126
21  <app_name>                          0x00000001075ae074 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 20
22  <app_name>                          0x000000010759d111 _ZN8facebook5react16RCTMessageThread7tryFuncERKNSt3__18functionIFvvEEE + 33
23  <app_name>                          0x00000001075a26ca _ZZN8facebook5react16RCTMessageThread14runOnQueueSyncEONSt3__18functionIFvvEEEENK3$_2clEv + 170
24  <app_name>                          0x00000001075a260d _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRZN8facebook5react16RCTMessageThread14runOnQueueSyncEONS_8functionIFvvEEEE3$_2EEEvDpOT_ + 45
25  <app_name>                          0x00000001075a23c9 _ZNSt3__110__function6__funcIZN8facebook5react16RCTMessageThread14runOnQueueSyncEONS_8functionIFvvEEEE3$_2NS_9allocatorIS9_EES6_EclEv + 41
26  <app_name>                          0x00000001075ae38e _ZNKSt3__18functionIFvvEEclEv + 126
27  <app_name>                          0x000000010759cf6b _ZN8facebook5react16RCTMessageThread7runSyncENSt3__18functionIFvvEEE + 91
28  <app_name>                          0x000000010759d4ac _ZN8facebook5react16RCTMessageThread14runOnQueueSyncEONSt3__18functionIFvvEEE + 300
29  <app_name>                          0x00000001076ff642 _ZN8facebook5react8Instance16initializeBridgeENSt3__110unique_ptrINS0_16InstanceCallbackENS2_14default_deleteIS4_EEEENS2_10shared_ptrINS0_17JSExecutorFactoryEEENS8_INS0_18MessageQueueThreadEEENS8_INS0_14ModuleRegistryEEE + 1$
30  <app_name>                          0x000000010753fd92 -[RCTCxxBridge _initializeBridge:] + 3426
31  <app_name>                          0x000000010753cf49 __21-[RCTCxxBridge start]_block_invoke.172 + 153
32  <app_name>                          0x000000010755828c _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60
33  <app_name>                          0x00000001075580c9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41
34  <app_name>                          0x00000001075ae38e _ZNKSt3__18functionIFvvEEclEv + 126
35  <app_name>                          0x00000001075ae074 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 20
36  <app_name>                          0x000000010753a594 -[RCTCxxBridge _tryAndHandleError:] + 84
37  Foundation                          0x000000010947de9e __NSThreadPerformPerform + 326
38  CoreFoundation                      0x000000010c9b6761 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
39  CoreFoundation                      0x000000010c99b98c __CFRunLoopDoSources0 + 556
40  CoreFoundation                      0x000000010c99ae76 __CFRunLoopRun + 918
41  CoreFoundation                      0x000000010c99a884 CFRunLoopRunSpecific + 420
42  <app_name>                          0x000000010753a2fe +[RCTCxxBridge runRunLoop] + 1022
43  Foundation                          0x0000000109440654 __NSThread__start__ + 1243
44  libsystem_pthread.dylib             0x000000010dca393b _pthread_body + 180
45  libsystem_pthread.dylib             0x000000010dca3887 _pthread_body + 0
46  libsystem_pthread.dylib             0x000000010dca308d thread_start + 13

@LeoNatan
Copy link
Contributor

Thanks, this looks like the same issue. Closing. Follow the other issue.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
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

3 participants