-
Notifications
You must be signed in to change notification settings - Fork 376
Open
Labels
Description
What happened?
Alot of ANRs are being logged in Firebase Analytics after upgrading to one signal version 5.4.0.
Steps to reproduce?
Many users face ANR when the app runs. There are no specific steps to reproduce this issue.What did you expect to happen?
No ANR in my app.
OneSignal Android SDK version
5.4.0
Android version
12
Specific Android models
Transsion Infinix Smart 7Relevant log output
main (runnable):tid=1 systid=15448
#00 pc 0x4f3874 libart.so (art::DumpNativeStack + 108) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#01 pc 0x444858 libart.so (art::Thread::DumpStack const + 436) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#02 pc 0x444574 libart.so (art::DumpCheckpoint::Run + 120) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#03 pc 0x2d6c08 libart.so (art::Thread::RunCheckpointFunction + 144) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#04 pc 0x297024 libart.so (art::Thread::CheckSuspend + 112) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#05 pc 0x2965b0 libart.so (artQuickGenericJniEndTrampoline + 128) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#06 pc 0x32e510 libart.so (art_quick_generic_jni_trampoline + 160) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#07 pc 0x211668c memfd:jit-zygote-cache (java.lang.Object.clone + 332)
#08 pc 0x212ccbc memfd:jit-zygote-cache (java.lang.Thread.getState + 60)
#09 pc 0x22d5ff0 memfd:jit-zygote-cache (java.util.concurrent.ThreadPoolExecutor.addWorker + 656)
#10 pc 0x22d7158 memfd:jit-zygote-cache (java.util.concurrent.ThreadPoolExecutor.execute + 88)
#11 pc 0x22c074c memfd:jit-zygote-cache (java.util.concurrent.Executors$DelegatedExecutorService.execute + 76)
#12 pc 0x68b144 libart.so (nterp_helper + 7636) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#13 pc 0x43680a base.apk (com.google.android.datatransport.runtime.SafeLoggingExecutor.execute + 14)
#14 pc 0x68b0e4 libart.so (nterp_helper + 7540) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#15 pc 0x43b01e base.apk (com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer.ensureContextsScheduled + 14)
#16 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#17 pc 0x436fa2 base.apk (com.google.android.datatransport.runtime.TransportRuntime.<init> + 22)
#18 pc 0x68a9c8 libart.so (nterp_helper + 5720) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#19 pc 0x436c78 base.apk (com.google.android.datatransport.runtime.TransportRuntime_Factory.newInstance + 16)
#20 pc 0x6893a4 libart.so (nterp_helper + 52) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#21 pc 0x436c4c base.apk (com.google.android.datatransport.runtime.TransportRuntime_Factory.get + 80)
#22 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#23 pc 0x436cb8 base.apk (com.google.android.datatransport.runtime.TransportRuntime_Factory.get + 20480)
#24 pc 0x68b0e4 libart.so (nterp_helper + 7540) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#25 pc 0x437ede base.apk (com.google.android.datatransport.runtime.dagger.internal.DoubleCheck.get + 26)
#26 pc 0x68b0e4 libart.so (nterp_helper + 7540) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#27 pc 0x435f08 base.apk (com.google.android.datatransport.runtime.DaggerTransportRuntimeComponent$TransportRuntimeComponentImpl.getTransportRuntime + 4)
#28 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#29 pc 0x436ef0 base.apk (com.google.android.datatransport.runtime.TransportRuntime.getInstance + 8)
#30 pc 0x317460 libart.so (art_quick_invoke_static_stub + 640) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#31 pc 0x66ab80 libart.so (bool art::interpreter::DoCall<false> + 2088) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#32 pc 0x671998 libart.so (void art::interpreter::ExecuteSwitchImplCpp<false> + 1280) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#33 pc 0x2ff738 libart.so (ExecuteSwitchImplAsm + 8) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#34 pc 0x3ac04c base.apk (com.google.firebase.crashlytics.internal.send.DataTransportCrashlyticsReportSender.create + 7847936)
#35 pc 0x2ff130 libart.so (art::interpreter::ArtInterpreterToInterpreterBridge + 412) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#36 pc 0x66ab6c libart.so (bool art::interpreter::DoCall<false> + 2068) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#37 pc 0x671998 libart.so (void art::interpreter::ExecuteSwitchImplCpp<false> + 1280) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#38 pc 0x2ff738 libart.so (ExecuteSwitchImplAsm + 8) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#39 pc 0x399d8c base.apk (com.google.firebase.crashlytics.internal.common.SessionReportingCoordinator.create + 7847936)
#40 pc 0x300b2c libart.so (art::interpreter::Execute + 332) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#41 pc 0x300360 libart.so (artQuickToInterpreterBridge + 888) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#42 pc 0x32e638 libart.so (art_quick_to_interpreter_bridge + 88) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#43 pc 0x689bd8 libart.so (nterp_helper + 2152) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#44 pc 0x396b1e base.apk (com.google.firebase.crashlytics.internal.common.CrashlyticsCore.onPreExecute + 250)
#45 pc 0x317194 libart.so (art_quick_invoke_stub + 612) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#46 pc 0x66a984 libart.so (bool art::interpreter::DoCall<false> + 1580) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#47 pc 0x6717fc libart.so (void art::interpreter::ExecuteSwitchImplCpp<false> + 868) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#48 pc 0x2ff738 libart.so (ExecuteSwitchImplAsm + 8) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#49 pc 0x391a20 base.apk (com.google.firebase.crashlytics.FirebaseCrashlytics.init + 7847936)
#50 pc 0x300b2c libart.so (art::interpreter::Execute + 332) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#51 pc 0x300360 libart.so (artQuickToInterpreterBridge + 888) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#52 pc 0x32e638 libart.so (art_quick_to_interpreter_bridge + 88) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#53 pc 0x689bd8 libart.so (nterp_helper + 2152) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#54 pc 0x39151a base.apk (com.google.firebase.crashlytics.CrashlyticsRegistrar.buildCrashlytics + 142)
#55 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#56 pc 0x391470 base.apk (com.google.firebase.crashlytics.CrashlyticsRegistrar.$r8$lambda$XFR966Xtld0zGICMasGRYAhWin4 + 7847936)
#57 pc 0x6893a4 libart.so (nterp_helper + 52) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#58 pc 0x391438 base.apk (com.google.firebase.crashlytics.CrashlyticsRegistrar$$ExternalSyntheticLambda0.create + 4)
#59 pc 0x68b0e4 libart.so (nterp_helper + 7540) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#60 pc 0x3f398a base.apk (com.google.firebase.tracing.ComponentMonitor.lambda$processRegistrar$0 + 14)
#61 pc 0x6893a4 libart.so (nterp_helper + 52) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#62 pc 0x3f3940 base.apk (com.google.firebase.tracing.ComponentMonitor$$ExternalSyntheticLambda0.create + 8)
#63 pc 0x68b0e4 libart.so (nterp_helper + 7540) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#64 pc 0x38c6ba base.apk (com.google.firebase.components.ComponentRuntime.lambda$discoverComponents$0$com-google-firebase-components-ComponentRuntime + 18)
#65 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#66 pc 0x38c2c8 base.apk (com.google.firebase.components.ComponentRuntime$$ExternalSyntheticLambda2.get + 8)
#67 pc 0x68b0e4 libart.so (nterp_helper + 7540) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#68 pc 0x38e39a base.apk (com.google.firebase.components.Lazy.get + 26)
#69 pc 0x68b0e4 libart.so (nterp_helper + 7540) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#70 pc 0x38cde4 base.apk (com.google.firebase.components.ComponentRuntime.doInitializeEagerComponents + 92)
#71 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#72 pc 0x38ce7e base.apk (com.google.firebase.components.ComponentRuntime.initializeEagerComponents + 46)
#73 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#74 pc 0x386bcc base.apk (com.google.firebase.FirebaseApp.initializeAllApis + 128)
#75 pc 0x68a2c4 libart.so (nterp_helper + 3924) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#76 pc 0x3864ae base.apk (com.google.firebase.FirebaseApp.initializeApp + 130)
#77 pc 0x689408 libart.so (nterp_helper + 152) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#78 pc 0x386410 base.apk (com.google.firebase.FirebaseApp.initializeApp + 4)
#79 pc 0x317460 libart.so (art_quick_invoke_static_stub + 640) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#80 pc 0x66ab80 libart.so (bool art::interpreter::DoCall<false> + 2088) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#81 pc 0x671998 libart.so (void art::interpreter::ExecuteSwitchImplCpp<false> + 1280) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#82 pc 0x2ff738 libart.so (ExecuteSwitchImplAsm + 8) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#83 pc 0x386398 base.apk (com.google.firebase.FirebaseApp.initializeApp + 7847936)
#84 pc 0x300b2c libart.so (art::interpreter::Execute + 332) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#85 pc 0x300360 libart.so (artQuickToInterpreterBridge + 888) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#86 pc 0x32e638 libart.so (art_quick_to_interpreter_bridge + 88) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#87 pc 0x689408 libart.so (nterp_helper + 152) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#88 pc 0x1ef9fc base.apk (com.mynayatel.app.MyApplication.onCreate + 36)
#89 pc 0x25dc7a0 memfd:jit-zygote-cache (android.app.Instrumentation.callApplicationOnCreate + 48)
#90 pc 0x250b82c memfd:jit-zygote-cache (android.app.ActivityThread.handleBindApplication + 5948)
#91 pc 0x24fec08 memfd:jit-zygote-cache (android.app.ActivityThread$H.handleMessage + 6968)
#92 pc 0x2058ff0 memfd:jit-zygote-cache (android.os.Handler.dispatchMessage + 160)
#93 pc 0x2a2a26c memfd:jit-zygote-cache (android.os.Looper.loopOnce + 1036)
#94 pc 0x20740ec memfd:jit-zygote-cache (android.os.Looper.loop + 604)
#95 pc 0x689408 libart.so (nterp_helper + 152) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#96 pc 0x1b58b4 framework.jar (android.app.ActivityThread.main + 220)
#97 pc 0x317460 libart.so (art_quick_invoke_static_stub + 640) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#98 pc 0x311508 libart.so (_jobject* art::InvokeMethod<8> + 544) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#99 pc 0x5c82c8 libart.so (art::Method_invoke + 32) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#0100 pc 0x32e500 libart.so (art_quick_generic_jni_trampoline + 144) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#0101 pc 0x2ecab80 memfd:jit-zygote-cache (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 128)
#0102 pc 0x68b144 libart.so (nterp_helper + 7636) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#0103 pc 0x268820 framework.jar (com.android.internal.os.ZygoteInit.main + 632)
#0104 pc 0x317460 libart.so (art_quick_invoke_static_stub + 640) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#0105 pc 0x316100 libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*> + 800) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#0106 pc 0x639868 libart.so (art::JNI<true>::CallStaticVoidMethodV + 156) (BuildId: eb4ec0f1d1c7267591d83fa87cb36390)
#0107 pc 0xb1b18 libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod + 104) (BuildId: cbf50d7e9308e5bac3c48f8b74c636fa)
#0108 pc 0xbd204 libandroid_runtime.so (android::AndroidRuntime::start + 948) (BuildId: cbf50d7e9308e5bac3c48f8b74c636fa)
#0109 pc 0x2580 app_process64 (main + 1320) (BuildId: dd85f2e8f905aae8760e0232489d86c6)
#0110 pc 0x489e0 libc.so (__libc_init + 96) (BuildId: 77338d8a2b4b56e6fd4f4505f9c828b6)
at java.lang.Object.internalClone(Native method)
at java.lang.Object.clone(Object.java:280)
at java.lang.Thread$State.values(Thread.java:2173)
at java.lang.Thread.getState(Thread.java:2252)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:951)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1377)
at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:715)
at com.google.android.datatransport.runtime.SafeLoggingExecutor.execute(SafeLoggingExecutor.java:34)
at com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer.ensureContextsScheduled(WorkInitializer.java:52)
at com.google.android.datatransport.runtime.TransportRuntime.<init>(TransportRuntime.java:64)
at com.google.android.datatransport.runtime.TransportRuntime_Factory.newInstance(TransportRuntime_Factory.java:58)
at com.google.android.datatransport.runtime.TransportRuntime_Factory.get(TransportRuntime_Factory.java:47)
at com.google.android.datatransport.runtime.TransportRuntime_Factory.get(TransportRuntime_Factory.java:14)
at com.google.android.datatransport.runtime.dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at com.google.android.datatransport.runtime.DaggerTransportRuntimeComponent$TransportRuntimeComponentImpl.getTransportRuntime(DaggerTransportRuntimeComponent.java:120)
at com.google.android.datatransport.runtime.TransportRuntime.getInstance(TransportRuntime.java:96)
at com.google.firebase.crashlytics.internal.send.DataTransportCrashlyticsReportSender.create(DataTransportCrashlyticsReportSender.java:55)
at com.google.firebase.crashlytics.internal.common.SessionReportingCoordinator.create(SessionReportingCoordinator.java:80)
at com.google.firebase.crashlytics.internal.common.CrashlyticsCore.onPreExecute(CrashlyticsCore.java:163)
at com.google.firebase.crashlytics.FirebaseCrashlytics.init(FirebaseCrashlytics.java:167)
at com.google.firebase.crashlytics.CrashlyticsRegistrar.buildCrashlytics(CrashlyticsRegistrar.java:79)
at com.google.firebase.crashlytics.CrashlyticsRegistrar.$r8$lambda$XFR966Xtld0zGICMasGRYAhWin4(unavailable)
at com.google.firebase.crashlytics.CrashlyticsRegistrar$$ExternalSyntheticLambda0.create(D8$$SyntheticClass)
at com.google.firebase.tracing.ComponentMonitor.lambda$processRegistrar$0(ComponentMonitor.java:38)
at com.google.firebase.tracing.ComponentMonitor$$ExternalSyntheticLambda0.create(D8$$SyntheticClass)
at com.google.firebase.components.ComponentRuntime.lambda$discoverComponents$0$com-google-firebase-components-ComponentRuntime(ComponentRuntime.java:160)
at com.google.firebase.components.ComponentRuntime$$ExternalSyntheticLambda2.get(D8$$SyntheticClass)
at com.google.firebase.components.Lazy.get(Lazy.java:53)
at com.google.firebase.components.ComponentRuntime.doInitializeEagerComponents(ComponentRuntime.java:322)
at com.google.firebase.components.ComponentRuntime.initializeEagerComponents(ComponentRuntime.java:312)
at com.google.firebase.FirebaseApp.initializeAllApis(FirebaseApp.java:607)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:264)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:249)
at com.mynayatel.app.MyApplication.onCreate(MyApplication.java:31)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1211)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7010)
at android.app.ActivityThread.access$1600(ActivityThread.java:273)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2173)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:241)
at android.os.Looper.loop(Looper.java:342)
at android.app.ActivityThread.main(ActivityThread.java:8143)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)Code of Conduct
- I agree to follow this project's Code of Conduct