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 crashing on startup #196

Open
sauravgk opened this issue Feb 1, 2024 · 3 comments
Open

App crashing on startup #196

sauravgk opened this issue Feb 1, 2024 · 3 comments

Comments

@sauravgk
Copy link

sauravgk commented Feb 1, 2024

Hi, We are getting this crash on startup

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
backtrace:
  #00  pc 0x0000000000b85bc6  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (v8::base::OS::Abort()+14) (BuildId: 30131cc53ff7f010)
  #01  pc 0x0000000000b7d1dd  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (V8_Fatal(char const*, ...)+136) (BuildId: 30131cc53ff7f010)
  #02  pc 0x0000000001069223  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (BuildId: 30131cc53ff7f010)
  #03  pc 0x0000000000e1d30f  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (BuildId: 30131cc53ff7f010)
  #04  pc 0x00000000010736a1  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (BuildId: 30131cc53ff7f010)
  #05  pc 0x0000000000dd3c9f  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (v8::internal::Isolate::Init(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool)+3166) (BuildId: 30131cc53ff7f010)
  #06  pc 0x0000000000dd3fdb  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (v8::internal::Isolate::InitWithSnapshot(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool)+12) (BuildId: 30131cc53ff7f010)
  #07  pc 0x0000000001071d99  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (BuildId: 30131cc53ff7f010)
  #08  pc 0x0000000000d298e1  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&)+292) (BuildId: 30131cc53ff7f010)
  #09  pc 0x0000000000d29a1d  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8android.so (v8::Isolate::New(v8::Isolate::CreateParams const&)+12) (BuildId: 30131cc53ff7f010)
  #10  pc 0x000000000003a471  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8executor.so (rnv8::V8Runtime::V8Runtime(std::__ndk1::unique_ptr<rnv8::V8RuntimeConfig, std::__ndk1::default_delete<rnv8::V8RuntimeConfig>>, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>)+316) (BuildId: 1f5dd301dfc7ce23d3b872723091b6bb6c49b645)
  #11  pc 0x0000000000041243  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8executor.so (std::__ndk1::__unique_if<rnv8::V8Runtime>::__unique_single std::__ndk1::make_unique<rnv8::V8Runtime, std::__ndk1::unique_ptr<rnv8::V8RuntimeConfig, std::__ndk1::default_delete<rnv8::V8RuntimeConfig>>, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>&>(std::__ndk1::unique_ptr<rnv8::V8RuntimeConfig, std::__ndk1::default_delete<rnv8::V8RuntimeConfig>>&&, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>&)) (BuildId: 1f5dd301dfc7ce23d3b872723091b6bb6c49b645)
  #12  pc 0x00000000000411d9  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8executor.so (rnv8::createV8Runtime(std::__ndk1::unique_ptr<rnv8::V8RuntimeConfig, std::__ndk1::default_delete<rnv8::V8RuntimeConfig>>, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>)+20) (BuildId: 1f5dd301dfc7ce23d3b872723091b6bb6c49b645)
  #13  pc 0x00000000000413f3  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libv8executor.so (rnv8::V8ExecutorFactory::createJSExecutor(std::__ndk1::shared_ptr<facebook::react::ExecutorDelegate>, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>)+90) (BuildId: 1f5dd301dfc7ce23d3b872723091b6bb6c49b645)
  #14  pc 0x0000000000080947  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libreactnativejni.so (facebook::react::NativeToJsBridge::NativeToJsBridge(facebook::react::JSExecutorFactory*, std::__ndk1::shared_ptr<facebook::react::ModuleRegistry>, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>, std::__ndk1::shared_ptr<facebook::react::InstanceCallback>)+394) (BuildId: 994c8dce9fdf103c)
  #15  pc 0x000000000007bbf3  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libreactnativejni.so (std::__ndk1::__compressed_pair_elem<facebook::react::NativeToJsBridge, 1, false>::__compressed_pair_elem<facebook::react::JSExecutorFactory*&&, std::__ndk1::shared_ptr<facebook::react::ModuleRegistry>&, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>&, std::__ndk1::shared_ptr<facebook::react::InstanceCallback>&, 0u, 1u, 2u, 3u>(std::__ndk1::piecewise_construct_t, std::__ndk1::tuple<facebook::react::JSExecutorFactory*&&, std::__ndk1::shared_ptr<facebook::react::ModuleRegistry>&, std::__ndk1::shared_ptr<facebook::react::MessageQueueThread>&, std::__ndk1::shared_ptr<facebook::react::InstanceCallback>&>, std::__ndk1::__tuple_indices<0u, 1u, 2u, 3u>)+114) (BuildId: 994c8dce9fdf103c)
  #16  pc 0x000000000007ba37  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libreactnativejni.so (BuildId: 994c8dce9fdf103c)
  #17  pc 0x0000000000065097  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libreactnativejni.so (BuildId: 994c8dce9fdf103c)
  #18  pc 0x0000000000064265  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libreactnativejni.so (BuildId: 994c8dce9fdf103c)
  #19  pc 0x000000000000f96d  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+16) (BuildId: 72613181a8f3f32bb5ee08ac75c4d9ff1bc818bd)
  #20  pc 0x000000000000f915  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/split_config.armeabi_v7a.apk!libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+36) (BuildId: 72613181a8f3f32bb5ee08ac75c4d9ff1bc818bd)
  #21  pc 0x000000000014891d  /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+44)
  #22  pc 0x0000000000b1174f  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Handler.dispatchMessage+70)
  #23  pc 0x000000000032beec  /apex/com.android.art/lib/libart.so (nterp_helper+2908)
  #24  pc 0x00000000006c8660  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage)
  #25  pc 0x0000000000b15245  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Looper.loopOnce+1100)
  #26  pc 0x0000000000b14d69  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Looper.loop+1112)
  #27  pc 0x000000000032b43c  /apex/com.android.art/lib/libart.so (nterp_helper+172)
  #28  pc 0x00000000006c87ee  /data/app/~~_vL9MzC1E1VpVZnFOnCKBQ==/com.application.reactnativeapp-91xWK_46Wi5q6FgqFZWZlw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run+74)
  #29  pc 0x00000000004cf9b7  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (java.lang.Thread.run+70)
  #30  pc 0x00000000001413d5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
  #31  pc 0x00000000001b9913  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+466)
  #32  pc 0x000000000022a169  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+2004)
  #33  pc 0x00000000000a4433  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
  #34  pc 0x000000000005b4bd  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)

We are not able to reproduce this issue. This seems to be happening mostly in oppo devices
Can anyone please help with what can be the probable reason here. Looking at the stacktrace seems like v8 is crashing on initialisation .

"react-native-v8": "2.1.3"

Screenshot 2024-02-01 at 11 33 48 AM

@akash13625
Copy link

Facing the same issue here. About 95% occuring on oppo devices.

@coder-wbw
Copy link

I had the same problem. Did you solve it

@coder-wbw
Copy link

@Kudo Can you help me look at this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants