-
Notifications
You must be signed in to change notification settings - Fork 642
Description
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository. If you have a general
question, need help debugging, or fall into some other category use one of these other channels:
- For general technical questions, post a question on StackOverflow
with the firebase tag. - For general Firebase discussion, use the
firebase-talk google group. - For help troubleshooting your application that does not fall under one of the above categories,
reach out to the personalized Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Android Studio version: _ Android Studio Koala | 2024.1.1
- Firebase Component: _ (Database, Firestore, Storage, Functions, etc)
- Component version: _
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
at com.google.firebase.messaging.TopicsStore.addTopicOperation (TopicsStore.java:107) at com.google.firebase.messaging.TopicsSubscriber.scheduleTopicOperation (TopicsSubscriber.java:117) at com.google.firebase.messaging.TopicsSubscriber.unsubscribeFromTopic (TopicsSubscriber.java:110) at com.google.firebase.messaging.FirebaseMessaging.lambda$unsubscribeFromTopic$8 (FirebaseMessaging.java:470) at com.google.firebase.messaging.FirebaseMessaging$$ExternalSyntheticLambda4.then (unavailable:4) at com.google.android.gms.tasks.zzo.run (com.google.android.gms:play-services-tasks@@18.1.0:1) at android.os.Handler.handleCallback (Handler.java:942) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loopOnce (Looper.java:201) at android.os.Looper.loop (Looper.java:288) at android.app.ActivityThread.main (ActivityThread.java:8194) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:703) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:911)
#00 pc 0x00000000004ca2ec /apex/com.android.art/lib64/libart.so (art::DumpNativeStack+108)
#1 pc 0x00000000004342b4 /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack const+436)
#2 pc 0x0000000000433fd0 /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run+120)
#3 pc 0x000000000028e190 /apex/com.android.art/lib64/libart.so (art::Thread::RunCheckpointFunction+144)
#4 pc 0x000000000042bdac /apex/com.android.art/lib64/libart.so (artTestSuspendFromCode+256)
#5 pc 0x0000000000343eec /apex/com.android.art/lib64/libart.so (art_quick_test_suspend+156)
at java.lang.String.fillBytesLatin1 (Native method)
at java.lang.String.fillBytes (String.java:4400)
at java.lang.AbstractStringBuilder.putStringAt (AbstractStringBuilder.java:1693)
at java.lang.AbstractStringBuilder.append (AbstractStringBuilder.java:549)
at java.lang.StringBuilder.append (StringBuilder.java:186)
at com.google.firebase.messaging.SharedPreferencesQueue.serialize (SharedPreferencesQueue.java:170)
at com.google.firebase.messaging.SharedPreferencesQueue.syncState (SharedPreferencesQueue.java:161)
The lock 0x03f4c0ae (java.util.ArrayDeque) is already acquired by this thread here. This causes an ANR because the main thread is blocked from trying to acquire the same lock. Learn more
at com.google.firebase.messaging.SharedPreferencesQueue.$r8$lambda$_dijO1NT18aM7vHHk9LEtlzE6xQ (unavailable)
at com.google.firebase.messaging.SharedPreferencesQueue$$ExternalSyntheticLambda0.run (unavailable:2)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:524)
at java.util.concurrent.FutureTask.run (FutureTask.java:317)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:348)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:651)
at com.google.android.gms.common.util.concurrent.zza.run (com.google.android.gms:play-services-basement@@18.3.0:2)
at java.lang.Thread.run (Thread.java:1119)
Relevant Code:
// TODO(you): code here to reproduce the problem