firebase / quickstart-unity

Firebase Quickstart Samples for Unity
https://firebase.google.com/games
Apache License 2.0
819 stars 424 forks source link

[ANR] com.google.firebase.messaging.EnhancedIntentService.processIntent #1291

Open fdspbsteam opened 2 years ago

fdspbsteam commented 2 years ago

[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

[REQUIRED] Please fill in the following fields:

Unity editor version: 2019.4.16f1 Firebase Unity SDK version: 8.9.0 Source you installed the SDK: .tgz packages from download archive Problematic Firebase Component: FirebaseInstanceIdReceiver Other Firebase Components in use: Auth, Analytics, Crashlytics, Messaging Additional SDKs you are using: Adjust, Facebook Platform you are using the Unity editor on: Mac Platform you are targeting: iOS, Android Scripting Runtime: IL2CPP

[REQUIRED] Please describe the issue here:

image image image image

`main (native) tid=1 systid=30108 Triggered ANR Root blocking main (native): tid=1 systid=30108

00 pc 0x5c020 libc.so

01 pc 0x20ca11 libart.so

02 pc 0x1e5023 libart.so

03 pc 0x502f45 libart.so

at java.lang.Thread.nativeCreate(Native method) at java.lang.Thread.start(Thread.java:884) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:975) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1382) at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:630) at com.google.firebase.messaging.EnhancedIntentService.processIntent(EnhancedIntentService.java:75) at com.google.firebase.messaging.EnhancedIntentService.onStartCommand(EnhancedIntentService.java:105) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5092) at android.app.ActivityThread.access$2100(ActivityThread.java:310) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2319) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8680) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) Signal Catcher (runnable) tid=5 systid=30138 Signal Catcher (runnable): tid=5 systid=30138

00 pc 0x29cb7d libart.so

01 pc 0x4b4147 libart.so

02 pc 0x1f2e6b libart.so

03 pc 0x4bad89 libart.so

04 pc 0x1a8c09 libart.so

05 pc 0x49f5db libart.so

06 pc 0x49e1e1 libart.so

07 pc 0x49db55 libart.so

08 pc 0x270aa3 libart.so

09 pc 0x27002b libart.so

10 pc 0xa9fcb libc.so

11 pc 0x61f8b libc.so

perfetto_hprof_listener (native) tid=7 systid=30140 perfetto_hprof_listener (native): tid=7 systid=30140

00 pc 0x9a1a4 libc.so

01 pc 0x101ed libperfetto_hprof.so

02 pc 0xa9fcb libc.so

03 pc 0x61f8b libc.so

Jit thread pool worker thread 0 (native) tid=8 systid=30141 Jit thread pool worker thread 0 (native): tid=8 systid=30141

00 pc 0x5c020 libc.so

01 pc 0x20ca11 libart.so

02 pc 0x4bb635 libart.so

03 pc 0x4bb509 libart.so

04 pc 0x4bb44d libart.so

05 pc 0xa9fcb libc.so

06 pc 0x61f8b libc.so

HeapTaskDaemon (waiting) tid=9 systid=30142 HeapTaskDaemon (waiting): tid=9 systid=30142

00 pc 0x5c024 libc.so

01 pc 0x2395ad libart.so

02 pc 0x23905d libart.so

03 pc 0x238f09 libart.so

at dalvik.system.VMRuntime.runHeapTasks(Native method) at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:531) at java.lang.Daemons$Daemon.run(Daemons.java:139) at java.lang.Thread.run(Thread.java:920) FinalizerWatchdogDaemon (timed waiting) tid=10 systid=30145 FinalizerWatchdogDaemon (timed waiting): tid=10 systid=30145 at java.lang.Thread.sleep(Native method) at java.lang.Thread.sleep(Thread.java:451) at java.lang.Thread.sleep(Thread.java:356) at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos(Daemons.java:390) at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:419) at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:325) at java.lang.Daemons$Daemon.run(Daemons.java:139) at java.lang.Thread.run(Thread.java:920) ReferenceQueueDaemon (waiting) tid=11 systid=30143 ReferenceQueueDaemon (waiting): tid=11 systid=30143 at java.lang.Object.wait(Native method) at java.lang.Object.wait(Object.java:442) at java.lang.Object.wait(Object.java:568) at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:217) at java.lang.Daemons$Daemon.run(Daemons.java:139) at java.lang.Thread.run(Thread.java:920) FinalizerDaemon (waiting) tid=12 systid=30144 FinalizerDaemon (waiting): tid=12 systid=30144 at java.lang.Object.wait(Native method) at java.lang.Object.wait(Object.java:442) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:190) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:211) at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:273) at java.lang.Daemons$Daemon.run(Daemons.java:139) at java.lang.Thread.run(Thread.java:920) Binder:30108_1 (native) tid=13 systid=30149 Binder:30108_1 (native): tid=13 systid=30149

00 pc 0x9a474 libc.so

01 pc 0x6751f libc.so

02 pc 0x2f1b5 libbinder.so

03 pc 0x2f395 libbinder.so

04 pc 0x2fac9 libbinder.so

05 pc 0x48945 libbinder.so

06 pc 0xd315 libutils.so

07 pc 0x816cf libandroid_runtime.so

08 pc 0xce49 libutils.so

09 pc 0xa9fcb libc.so

10 pc 0x61f8b libc.so

Binder:30108_2 (native) tid=14 systid=30150 Binder:30108_2 (native): tid=14 systid=30150

00 pc 0x9a474 libc.so

01 pc 0x6751f libc.so

02 pc 0x2f1b5 libbinder.so

03 pc 0x2f395 libbinder.so

04 pc 0x2fac9 libbinder.so

05 pc 0x48945 libbinder.so

06 pc 0xd315 libutils.so

07 pc 0x816cf libandroid_runtime.so

08 pc 0xce49 libutils.so

09 pc 0xa9fcb libc.so

10 pc 0x61f8b libc.so

Binder:30108_3 (native) tid=15 systid=30159 Binder:30108_3 (native): tid=15 systid=30159

00 pc 0x9a474 libc.so

01 pc 0x6751f libc.so

02 pc 0x2f1b5 libbinder.so

03 pc 0x2f395 libbinder.so

04 pc 0x2fac9 libbinder.so

05 pc 0x48945 libbinder.so

06 pc 0xd315 libutils.so

07 pc 0x816cf libandroid_runtime.so

08 pc 0xce49 libutils.so

09 pc 0xa9fcb libc.so

10 pc 0x61f8b libc.so

Profile Saver (native) tid=16 systid=30212 Profile Saver (native): tid=16 systid=30212

00 pc 0x5c020 libc.so

01 pc 0x20ca11 libart.so

02 pc 0x22ca85 libart.so

03 pc 0x22633d libart.so

04 pc 0xa9fcb libc.so

05 pc 0x61f8b libc.so

GoogleApiHandler (native) tid=21 systid=30386 GoogleApiHandler (native): tid=21 systid=30386

00 pc 0x9b550 libc.so

01 pc 0x6c171 libc.so

02 pc 0x100f5 libutils.so

03 pc 0x1001f libutils.so

04 pc 0xe5c5d libandroid_runtime.so

at android.os.MessageQueue.nativePollOnce(Native method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loopOnce(Looper.java:186) at android.os.Looper.loop(Looper.java:313) at android.os.HandlerThread.run(HandlerThread.java:67) pool-5-thread-1 (timed waiting) tid=19 systid=30389 pool-5-thread-1 (timed waiting): tid=19 systid=30389 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1132) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) ScionFrontendApi (timed waiting) tid=22 systid=30413 ScionFrontendApi (timed waiting): tid=22 systid=30413 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) GmsDynamite (waiting) tid=23 systid=30421 GmsDynamite (waiting): tid=23 systid=30421 at java.lang.Object.wait(Native method) at java.lang.Object.wait(Object.java:442) at java.lang.Object.wait(Object.java:568) at com.google.android.gms.dynamite.zza.run(com.google.android.gms:play-services-basement@@18.0.0:2) Firebase-Messaging-Init (waiting) tid=24 systid=30569 Firebase-Messaging-Init (waiting): tid=24 systid=30569 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1120) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.0.0:2) at java.lang.Thread.run(Thread.java:920) pool-14-thread-1 (waiting) tid=25 systid=30558 pool-14-thread-1 (waiting): tid=25 systid=30558 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) Firebase-Messaging-Topics-Io (waiting) tid=27 systid=30571 Firebase-Messaging-Topics-Io (waiting): tid=27 systid=30571 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1120) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.0.0:2) at java.lang.Thread.run(Thread.java:920) Crashlytics Exception Handler1 (waiting) tid=26 systid=30647 Crashlytics Exception Handler1 (waiting): tid=26 systid=30647 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:64) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27) at java.lang.Thread.run(Thread.java:920) firebase-installations-executor-1 (timed waiting) tid=29 systid=30675 firebase-installations-executor-1 (timed waiting): tid=29 systid=30675 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) com.google.firebase.crashlytics.startup1 (waiting) tid=30 systid=30674 com.google.firebase.crashlytics.startup1 (waiting): tid=30 systid=30674 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:64) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27) at java.lang.Thread.run(Thread.java:920) awaitEvenIfOnMainThread task continuation executor1 (waiting) tid=31 systid=30691 awaitEvenIfOnMainThread task continuation executor1 (waiting): tid=31 systid=30691 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:64) at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27) at java.lang.Thread.run(Thread.java:920) firebase-installations-executor-2 (timed waiting) tid=32 systid=30692 firebase-installations-executor-2 (timed waiting): tid=32 systid=30692 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) heartbeat-information-executor (timed waiting) tid=2 systid=30708 heartbeat-information-executor (timed waiting): tid=2 systid=30708 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) OkHttp ConnectionPool (timed waiting) tid=3 systid=30742 OkHttp ConnectionPool (timed waiting): tid=3 systid=30742 at java.lang.Object.wait(Native method) at com.android.okhttp.ConnectionPool$1.run(ConnectionPool.java:106) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) pool-23-thread-1 (waiting) tid=4 systid=30776 pool-23-thread-1 (waiting): tid=4 systid=30776 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) Okio Watchdog (waiting) tid=6 systid=30782 Okio Watchdog (waiting): tid=6 systid=30782 at java.lang.Object.wait(Native method) at java.lang.Object.wait(Object.java:442) at java.lang.Object.wait(Object.java:568) at com.android.okhttp.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:313) at com.android.okhttp.okio.AsyncTimeout.access$000(AsyncTimeout.java:42) at com.android.okhttp.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:288) pool-24-thread-1 (waiting) tid=17 systid=30790 pool-24-thread-1 (waiting): tid=17 systid=30790 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) process reaper (timed waiting) tid=33 systid=30796 process reaper (timed waiting): tid=33 systid=30796 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:461) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) WM.task-1 (waiting) tid=34 systid=30798 WM.task-1 (waiting): tid=34 systid=30798 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) pool-3-thread-1 (waiting) tid=36 systid=30808 pool-3-thread-1 (waiting): tid=36 systid=30808 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) queued-work-looper (native) tid=38 systid=30814 queued-work-looper (native): tid=38 systid=30814

00 pc 0x9b550 libc.so

01 pc 0x6c171 libc.so

02 pc 0x100f5 libutils.so

03 pc 0x1001f libutils.so

04 pc 0xe5c5d libandroid_runtime.so

at android.os.MessageQueue.nativePollOnce(Native method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loopOnce(Looper.java:186) at android.os.Looper.loop(Looper.java:313) at android.os.HandlerThread.run(HandlerThread.java:67) Measurement Worker (runnable) tid=28 systid=30650 Measurement Worker (runnable): tid=28 systid=30650 at bj.(:com.google.android.gms.dynamite_measurementdynamite@222116093@22.21.16 (190300-0)) at bn.c(:com.google.android.gms.dynamite_measurementdynamite@222116093@22.21.16 (190300-0):9) at ly.p(:com.google.android.gms.dynamite_measurementdynamite@222116093@22.21.16 (190300-0):13) at ly.C(:com.google.android.gms.dynamite_measurementdynamite@222116093@22.21.16 (190300-0):5) at kl.r(:com.google.android.gms.dynamite_measurementdynamite@222116093@22.21.16 (190300-0):6) at jb.run(:com.google.android.gms.dynamite_measurementdynamite@222116093@22.21.16 (190300-0):112) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at iy.run(:com.google.android.gms.dynamite_measurementdynamite@222116093@22.21.16 (190300-0):5) AsyncTask #1 (native) tid=37 systid=30819 AsyncTask #1 (native): tid=37 systid=30819

00 pc 0x5c020 libc.so

01 pc 0x20ca11 libart.so

02 pc 0x1e5023 libart.so

03 pc 0x1e4d87 libart.so

04 pc 0x17e099 libart.so

05 pc 0xf17cc libart.so

06 pc 0x33f58 conscrypt.jar

07 pc 0xf1068 libart.so

08 pc 0x334d8 conscrypt.jar

09 pc 0xf1b20 libart.so

10 pc 0x33510 conscrypt.jar

11 pc 0xf1b20 libart.so

12 pc 0x336a8 conscrypt.jar

13 pc 0xf1b20 libart.so

at com.android.org.conscrypt.NativeCrypto.PEM_read_bio_X509(Native method) at com.android.org.conscrypt.OpenSSLX509Certificate.fromX509PemInputStream(OpenSSLX509Certificate.java:155) at com.android.org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:255) at com.android.org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:251) at com.android.org.conscrypt.OpenSSLX509CertificateFactory$Parser.generateItem(OpenSSLX509CertificateFactory.java:127) at com.android.org.conscrypt.OpenSSLX509CertificateFactory.engineGenerateCertificate(OpenSSLX509CertificateFactory.java:309) at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:366) at android.security.net.config.DirectoryCertificateSource.readCertificate(DirectoryCertificateSource.java:228) at android.security.net.config.DirectoryCertificateSource.findCerts(DirectoryCertificateSource.java:150) at android.security.net.config.DirectoryCertificateSource.findAllByIssuerAndSignature(DirectoryCertificateSource.java:115) at android.security.net.config.SystemCertificateSource.findAllByIssuerAndSignature(SystemCertificateSource.java:27) at android.security.net.config.CertificatesEntryRef.findAllCertificatesByIssuerAndSignature(CertificatesEntryRef.java:65) at android.security.net.config.NetworkSecurityConfig.findAllCertificatesByIssuerAndSignature(NetworkSecurityConfig.java:146) at android.security.net.config.TrustedCertificateStoreAdapter.findAllIssuers(TrustedCertificateStoreAdapter.java:46) at com.android.org.conscrypt.TrustManagerImpl.findAllTrustAnchorsByIssuerAndSignature(TrustManagerImpl.java:934) at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:558) at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:615) at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:505) at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:425) at com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:353) at android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94) at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:90) at com.android.org.conscrypt.ConscryptEngineSocket$2.checkServerTrusted(ConscryptEngineSocket.java:163) at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:255) at com.android.org.conscrypt.ConscryptEngine.verifyCertificateChain(ConscryptEngine.java:1638) at com.android.org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native method) at com.android.org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:569) at com.android.org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1095) at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1079) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:876) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:747) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:712) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:858) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100(ConscryptEngineSocket.java:731) at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:241) at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:220) at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196) at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153) at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116) at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186) at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128) at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30) at com.safedk.android.internal.partials.FacebookNetworkBridge.httpUrlConnectionGetResponseCode(FacebookSourceFile:147) at com.facebook.GraphResponse$Companion.fromHttpConnection(GraphResponse.kt:209) at com.facebook.GraphRequest$Companion.executeConnectionAndWait(GraphRequest.kt:940) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:831) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:800) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:783) at com.facebook.GraphRequest$Companion.executeAndWait(GraphRequest.kt:761) at com.facebook.GraphRequest.executeAndWait(GraphRequest.kt:1462) at com.facebook.internal.FetchedAppSettingsManager.getAppSettingsQueryResponse(FetchedAppSettingsManager.kt:300) at com.facebook.internal.FetchedAppSettingsManager.queryAppSettings(FetchedAppSettingsManager.kt:221) at com.facebook.UserSettingsManager$1.run(UserSettingsManager.java:156) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) WM.task-2 (waiting) tid=39 systid=30820 WM.task-2 (waiting): tid=39 systid=30820 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) AsyncTask #2 (runnable) tid=40 systid=30829 AsyncTask #2 (runnable): tid=40 systid=30829 at java.io.UnixFileSystem.normalize(UnixFileSystem.java:72) at java.io.File.(File.java:371) at android.security.net.config.DirectoryCertificateSource.findCerts(DirectoryCertificateSource.java:144) at android.security.net.config.DirectoryCertificateSource.findAllByIssuerAndSignature(DirectoryCertificateSource.java:115) at android.security.net.config.SystemCertificateSource.findAllByIssuerAndSignature(SystemCertificateSource.java:27) at android.security.net.config.CertificatesEntryRef.findAllCertificatesByIssuerAndSignature(CertificatesEntryRef.java:65) at android.security.net.config.NetworkSecurityConfig.findAllCertificatesByIssuerAndSignature(NetworkSecurityConfig.java:146) at android.security.net.config.TrustedCertificateStoreAdapter.findAllIssuers(TrustedCertificateStoreAdapter.java:46) at com.android.org.conscrypt.TrustManagerImpl.findAllTrustAnchorsByIssuerAndSignature(TrustManagerImpl.java:934) at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:558) at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:615) at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:505) at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:425) at com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:353) at android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94) at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:90) at com.android.org.conscrypt.ConscryptEngineSocket$2.checkServerTrusted(ConscryptEngineSocket.java:163) at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:255) at com.android.org.conscrypt.ConscryptEngine.verifyCertificateChain(ConscryptEngine.java:1638) at com.android.org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native method) at com.android.org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:569) at com.android.org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1095) at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1079) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:876) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:747) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:712) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:858) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100(ConscryptEngineSocket.java:731) at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:241) at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:220) at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196) at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153) at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116) at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186) at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128) at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30) at com.safedk.android.internal.partials.FacebookNetworkBridge.httpUrlConnectionGetResponseCode(FacebookSourceFile:147) at com.facebook.GraphResponse$Companion.fromHttpConnection(GraphResponse.kt:209) at com.facebook.GraphRequest$Companion.executeConnectionAndWait(GraphRequest.kt:940) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:831) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:800) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:783) at com.facebook.GraphRequest$Companion.executeAndWait(GraphRequest.kt:761) at com.facebook.GraphRequest.executeAndWait(GraphRequest.kt:1462) at com.facebook.internal.FetchedAppGateKeepersManager.getAppGateKeepersQueryResponse(FetchedAppGateKeepersManager.kt:232) at com.facebook.internal.FetchedAppGateKeepersManager.access$getAppGateKeepersQueryResponse(FetchedAppGateKeepersManager.kt:46) at com.facebook.internal.FetchedAppGateKeepersManager$loadAppGateKeepersAsync$1.run(FetchedAppGateKeepersManager.kt:108) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) AsyncTask #3 (native) tid=41 systid=30830 AsyncTask #3 (native): tid=41 systid=30830

00 pc 0x5c024 libc.so

01 pc 0x20ca11 libart.so

02 pc 0x3cc26b libart.so

03 pc 0x173f3 libjavacore.so

at libcore.io.Linux.access(Native method) at libcore.io.ForwardingOs.access(ForwardingOs.java:131) at libcore.io.BlockGuardOs.access(BlockGuardOs.java:76) at libcore.io.ForwardingOs.access(ForwardingOs.java:131) at android.app.ActivityThread$AndroidOs.access(ActivityThread.java:8531) at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:281) at java.io.File.exists(File.java:813) at android.security.net.config.SystemCertificateSource.isCertMarkedAsRemoved(SystemCertificateSource.java:46) at android.security.net.config.DirectoryCertificateSource.findCerts(DirectoryCertificateSource.java:147) at android.security.net.config.DirectoryCertificateSource.findAllByIssuerAndSignature(DirectoryCertificateSource.java:115) at android.security.net.config.SystemCertificateSource.findAllByIssuerAndSignature(SystemCertificateSource.java:27) at android.security.net.config.CertificatesEntryRef.findAllCertificatesByIssuerAndSignature(CertificatesEntryRef.java:65) at android.security.net.config.NetworkSecurityConfig.findAllCertificatesByIssuerAndSignature(NetworkSecurityConfig.java:146) at android.security.net.config.TrustedCertificateStoreAdapter.findAllIssuers(TrustedCertificateStoreAdapter.java:46) at com.android.org.conscrypt.TrustManagerImpl.findAllTrustAnchorsByIssuerAndSignature(TrustManagerImpl.java:934) at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:558) at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:615) at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:505) at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:425) at com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:353) at android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94) at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:90) at com.android.org.conscrypt.ConscryptEngineSocket$2.checkServerTrusted(ConscryptEngineSocket.java:163) at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:255) at com.android.org.conscrypt.ConscryptEngine.verifyCertificateChain(ConscryptEngine.java:1638) at com.android.org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native method) at com.android.org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:569) at com.android.org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1095) at com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1079) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:876) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:747) at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:712) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:858) at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100(ConscryptEngineSocket.java:731) at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:241) at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:220) at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196) at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153) at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116) at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186) at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128) at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30) at com.safedk.android.internal.partials.FacebookNetworkBridge.httpUrlConnectionGetResponseCode(FacebookSourceFile:147) at com.facebook.GraphResponse$Companion.fromHttpConnection(GraphResponse.kt:209) at com.facebook.GraphRequest$Companion.executeConnectionAndWait(GraphRequest.kt:940) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:831) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:800) at com.facebook.GraphRequest$Companion.executeBatchAndWait(GraphRequest.kt:783) at com.facebook.GraphRequest$Companion.executeAndWait(GraphRequest.kt:761) at com.facebook.GraphRequest.executeAndWait(GraphRequest.kt:1462) at com.facebook.internal.FetchedAppSettingsManager.getAppSettingsQueryResponse(FetchedAppSettingsManager.kt:300) at com.facebook.internal.FetchedAppSettingsManager.access$getAppSettingsQueryResponse(FetchedAppSettingsManager.kt:51) at com.facebook.internal.FetchedAppSettingsManager$loadAppSettingsAsync$1.run(FetchedAppSettingsManager.kt:139) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) AsyncTask #5 (timed waiting) tid=42 systid=30833 AsyncTask #5 (timed waiting): tid=42 systid=30833 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:461) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) AsyncTask #4 (timed waiting) tid=44 systid=30832 AsyncTask #4 (timed waiting): tid=44 systid=30832 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:461) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) AsyncTask #6 (timed waiting) tid=43 systid=30837 AsyncTask #6 (timed waiting): tid=43 systid=30837 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:461) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) pool-26-thread-1 (timed waiting) tid=45 systid=30851 pool-26-thread-1 (timed waiting): tid=45 systid=30851 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1132) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) pool-27-thread-1 (waiting) tid=46 systid=30852 pool-27-thread-1 (waiting): tid=46 systid=30852 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1120) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) FAN:ASYNC #1 (timed waiting) tid=47 systid=30856 FAN:ASYNC #1 (timed waiting): tid=47 systid=30856 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) firebase-iid-executor (native) tid=48 systid=30857 firebase-iid-executor (native): tid=48 systid=30857

00 pc 0x5c020 libc.so

01 pc 0x20ca11 libart.so

02 pc 0x1e5023 libart.so

03 pc 0x502f45 libart.so

at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:635) at android.os.IPowerManager$Stub$Proxy.acquireWakeLock(IPowerManager.java:1324) at android.os.PowerManager$WakeLock.acquireLocked(PowerManager.java:3591) at android.os.PowerManager$WakeLock.acquire(PowerManager.java:3557) at com.google.android.gms.stats.WakeLock.acquire(com.google.android.gms:play-services-stats@@17.0.1:6) at com.google.firebase.messaging.WakeLockHolder.startWakefulService(WakeLockHolder.java:82) at com.google.firebase.messaging.ServiceStarter.doStartService(ServiceStarter.java:159) at com.google.firebase.messaging.ServiceStarter.startMessagingService(ServiceStarter.java:142) at com.google.firebase.messaging.FcmBroadcastProcessor.lambda$startMessagingService$0(FcmBroadcastProcessor.java:96) at com.google.firebase.messaging.-$$Lambda$FcmBroadcastProcessor$vjFR0k8iKrs_r38gK9bs8zfpaR0.call(lambda) at com.google.android.gms.tasks.zzz.run(com.google.android.gms:play-services-tasks@@18.0.1:1) at com.google.firebase.messaging.-$$Lambda$_14QHG018Z6p13d3hzJuGTWnNeo.execute(lambda) at com.google.android.gms.tasks.Tasks.call(com.google.android.gms:play-services-tasks@@18.0.1:5) at com.google.firebase.messaging.FcmBroadcastProcessor.startMessagingService(FcmBroadcastProcessor.java:95) at com.google.firebase.messaging.FcmBroadcastProcessor.process(FcmBroadcastProcessor.java:73) at com.google.firebase.iid.FirebaseInstanceIdReceiver.onMessageReceive(FirebaseInstanceIdReceiver.java:52) at com.google.android.gms.cloudmessaging.CloudMessagingReceiver.zzb(com.google.android.gms:play-services-cloud-messaging@@17.0.0:9) at com.google.android.gms.cloudmessaging.CloudMessagingReceiver.zza(com.google.android.gms:play-services-cloud-messaging@@17.0.0:4) at com.google.android.gms.cloudmessaging.zze.run(com.google.android.gms:play-services-cloud-messaging@@17.0.0) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.0.0:2) at java.lang.Thread.run(Thread.java:920) MessengerIpcClient (timed waiting) tid=18 systid=30864 MessengerIpcClient (timed waiting): tid=18 systid=30864 at sun.misc.Unsafe.park(Native method) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1132) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.0.0:2) at java.lang.Thread.run(Thread.java:920) firebase-iid-ex (unknown) tid=30877 systid=30877 firebase-iid-ex (unknown): tid=30877 systid=30877

00 pc 0x9af18 libc.so

01 pc 0xa9fc3 libc.so

02 pc 0x61f8b libc.so

`

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? Regarding our user event, this ANR occurs when a user receives an event notification receive

Relevant Code:

// TODO(you): code here to reproduce the problem
paulinon commented 2 years ago

Hi @fdspbsteam,

Could you provide relevant code snippets that make use of the Messaging SDK or Firebase in general? Does the crash occur when the notification is received while the app is running or does it appear after tapping the notification?

fdspbsteam commented 2 years ago

@paulinon FirebaseAnalytics.LogEvent(eventName); Does the crash occur when the notification is received while the app is running or does it appear after tapping the notification? We cannot reproduce it locally, but we saw in our users events "notification event" and then the crash

paulinon commented 2 years ago

Hi @fdspbsteam,

I'm gonna need more than that line of code for this investigation. Given that the error message mentions Messaging, you can narrow down to methods that make use of this product.

fdspbsteam commented 2 years ago

@paulinon I`m not sure that I catch your question, could you rephrase please. In my opinion, the root cause displayed on screenshots and the fix is easy.

paulinon commented 2 years ago

Hi @fdspbsteam,

To be more specific, I'm referring to code snippets in your implementation that make use of the Firebase Messaging SDK. The screenshots you provided right now are not enough to narrow down what's causing the issue, and we need more context in order to analyze this behavior. This way, we can determine whether the issue is caused by the backend, the SDK, or something else.

I look forward to your cooperation.

fdspbsteam commented 2 years ago

@paulinon I added logs into the topic, please, take a look

paulinon commented 2 years ago

Hi @fdspbsteam,

We'll need all the information we can get in order to identify what's causing these crashes. If you can't locally reproduce this, we can start with the Firebase-related code you're using. Otherwise, we're just running in circles here.

fdspbsteam commented 2 years ago

@paulinon Will be great if your team pushed out Firebase code into open source, we can do all improvements by self...

1) public static void EnableTracking() { FirebaseMessaging.TokenRegistrationOnInitEnabled = true; Crashlytics.IsCrashlyticsCollectionEnabled = true; FirebaseAnalytics.SetAnalyticsCollectionEnabled(true); } 2) FirebaseMessaging.SubscribeAsync and FirebaseTokenReceived 3) FirebaseAnalytics.SetUserId(id); 4) FirebaseAnalytics.LogEvent(eventName);

a-maurice commented 2 years ago

@fdspbsteam The Firebase Unity has recently become open source, available https://github.com/firebase/firebase-unity-sdk, and the underlying C++ repo is available here: https://github.com/firebase/firebase-cpp-sdk

As a caveat, we are still working on the development experience and documentation, as it is fairly clunky and hard to understand, especially as some of the products, like Analytics and Messaging, are mostly generated using SWIG.

paulinon commented 2 years ago

Hi @fdspbsteam,

Is there a task that follows SubscribeAsync? Do you have a method named OnTokenReceived() or OnMessageReceived() in your code? Your implementation would be easier to interpet if you provide entire functions that use Firebase rather than lines of code.

google-oss-bot commented 1 year ago

Hey @fdspbsteam. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

fdspbsteam commented 1 year ago

Hi @paulinon in our code, we do:

FirebaseMessaging.UnsubscribeAsync(topic); FirebaseMessaging.SubscribeAsync(topic);

            we use `EventHandler<TokenReceivedEventArgs> TokenReceived` 
            **and** `    
            public static event EventHandler<MessageReceivedEventArgs> MessageReceived`

            **implementation** :

            `FirebaseMessaging.MessageReceived += OnNotificationMessageReceived;`
            ` FirebaseMessaging.TokenReceived += OnFirebaseTokenReceived;`
paulinon commented 1 year ago

Hi @fdspbsteam,

Could you provide the full functions corresponding to your OnNotificationMessageReceived and OnFirebaseTokenReceived events?

google-oss-bot commented 1 year ago

Hey @fdspbsteam. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

fdspbsteam commented 1 year ago

Hi @fdspbsteam,

Could you provide the full functions corresponding to your OnNotificationMessageReceived and OnFirebaseTokenReceived events?

` private void OnNotificationMessageReceived(object sender, MessageReceivedEventArgs args) { FMLogger.vCore("received");

    if (args != null && args.Message != null)
    {
        string pushId = string.IsNullOrEmpty(args.Message.MessageId) ? "null" : args.Message.MessageId;
        AppState.PushNotificationId = pushId;

        var data = args.Message.Data;
        if (data != null)
        {
            foreach (var kv in data)
            {
                FMLogger.vCore(string.Format("{0}:{1}", kv.Key, kv.Value));
                if (kv.Key == APP_MESSAGE_KEY)
                {
                    string queue = kv.Value;
                    var msg = UrlSchemeParser.TryParse(queue, AppMessageSource.PushNotification);
                    if (msg != null)
                    {
                        NotificationAppMessageReceived?.Invoke(msg, pushId);
                        return;
                    }
                }
            }
        }
    }
    else
    {
        Debug.LogError("empty");
    }
}`
    `    private void OnFirebaseTokenReceived(object sender, TokenReceivedEventArgs e)
    {
        FMLogger.vCore("token received. token:\n" + (e != null ? e.Token : "null"));
        string token = (e != null && !string.IsNullOrEmpty(e.Token)) ? e.Token : null;

#if UNITY_ANDROID
        if (token != null)
            AdjustHelper.SetUninstallToken(e.Token);
#elif UNITY_IOS
        TimeoutTaskRunner.Instance.Run(CheckForIOSToken());
#endif
        if (token != null)
            TokenReceived?.Invoke(token);
    }`
paulinon commented 1 year ago

Thanks for the additional information, @fdspbsteam. I've relayed this to the team so that they could take a look at this issue. With that, I'll be marking this as a bug for now.

felipecastrosales commented 9 months ago

any updates in this?