flutter-geolocator
flutter-geolocator copied to clipboard
[Bug]: ANR triggered by thread waiting for a binder transaction
Please check the following before submitting a new issue.
- [X] I have searched the existing issues.
- [X] I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
- [X] Android
- [ ] iOS
- [ ] Linux
- [ ] macOS
- [ ] Web
- [ ] Windows
Steps to reproduce
We have an application in production and we recieved this ANR from firebase crashlytics. We don't have clear steps to reproduce. 1- We are only using one method .i.e getting current location
Crash Log
Crashlytics - Stack trace
Application: cloud.solutions.pharmacy
Platform: android
Date: Thu Apr 18 2024 15:13:26 GMT-0600 (Mountain Daylight Time)
Signal Catcher (runnable):tid=3 systid=13109
#00 pc 0x567274 libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool) + 140)
#01 pc 0x680184 libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const + 356)
#02 pc 0x69e6ec libart.so (art::DumpCheckpoint::Run(art::Thread*) + 916)
#03 pc 0x698124 libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*) + 524)
#04 pc 0x6972e4 libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool) + 1460)
#05 pc 0x696bec libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) + 1396)
#06 pc 0x641708 libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) + 208)
#07 pc 0x657240 libart.so (art::SignalCatcher::HandleSigQuit() + 1400)
#08 pc 0x656208 libart.so (art::SignalCatcher::Run(void*) + 344)
#09 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#10 pc 0x52c60 libc.so (__start_thread + 64)
main (native):tid=1 systid=13104
#00 pc 0xa0524 libc.so (__ioctl + 4)
#01 pc 0x5aea4 libc.so (ioctl + 156)
#02 pc 0x45ae4 libbinder.so (android::IPCThreadState::talkWithDriver(bool) + 292)
#03 pc 0x46cbc libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*) + 60)
#04 pc 0x46a08 libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 216)
#05 pc 0x3e950 libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 192)
#06 pc 0x1687c0 libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int) + 152)
at android.os.BinderProxy.transactNative(Native method)
at android.os.BinderProxy.transact(BinderProxy.java:635)
at android.app.IActivityManager$Stub$Proxy.bindIsolatedService(IActivityManager.java:7074)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2059)
at android.app.ContextImpl.bindService(ContextImpl.java:1976)
at android.content.ContextWrapper.bindService(ContextWrapper.java:829)
at com.baseflow.geolocator.GeolocatorPlugin.bindForegroundService(GeolocatorPlugin.java)
at com.baseflow.geolocator.GeolocatorPlugin.onAttachedToEngine(GeolocatorPlugin.java)
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.add()
at io.flutter.plugins.GeneratedPluginRegistrant.registerWith()
at java.lang.reflect.Method.invoke(Native method)
at io.flutter.embedding.engine.plugins.util.GeneratedPluginRegister.registerGeneratedPlugins()
at io.flutter.embedding.engine.FlutterEngine.<init>()
at io.flutter.embedding.engine.FlutterEngine.<init>()
at io.flutter.embedding.engine.FlutterEngine.<init>()
at io.flutter.embedding.engine.FlutterEngine.<init>()
at io.flutter.embedding.engine.FlutterEngine.<init>()
at io.flutter.embedding.engine.FlutterEngine.<init>()
at io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingBackgroundExecutor.lambda$startBackgroundIsolate$0(FlutterFirebaseMessagingBackgroundExecutor.java)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
perfetto_hprof_listener (native):tid=6 systid=13111
#00 pc 0xa0284 libc.so (read + 4)
#01 pc 0x211e8 libperfetto_hprof.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ArtPlugin_Initialize::$_33> >(void*) + 280)
#02 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#03 pc 0x52c60 libc.so (__start_thread + 64)
Jit thread pool worker thread 0 (native):tid=7 systid=13112
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x28cccc libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*) + 148)
#02 pc 0x6a00e8 libart.so (art::ThreadPool::GetTask(art::Thread*) + 120)
#03 pc 0x69f4e8 libart.so (art::ThreadPoolWorker::Run() + 144)
#04 pc 0x69ef88 libart.so (art::ThreadPoolWorker::Callback(void*) + 192)
#05 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#06 pc 0x52c60 libc.so (__start_thread + 64)
HeapTaskDaemon (waiting):tid=9 systid=13113
#00 pc 0x4d820 libc.so (syscall + 32)
#01 pc 0x28d0a4 libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int) + 172)
#02 pc 0x3b8784 libart.so (art::gc::TaskProcessor::GetTask(art::Thread*) + 364)
#03 pc 0x3b9154 libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*) + 92)
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)
ReferenceQueueDaemon (waiting):tid=10 systid=13114
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)
FinalizerWatchdogDaemon (timed waiting):tid=11 systid=13117
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)
FinalizerDaemon (waiting):tid=12 systid=13115
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:13104_1 (native):tid=13 systid=13119
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x28cccc libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*) + 148)
#02 pc 0x46f28c libart.so (art::JNI<false>::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) + 492)
#03 pc 0xb62d0 libandroid_runtime.so (_JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...) + 120)
#04 pc 0x1675dc libandroid_runtime.so (JavaBBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 156)
#05 pc 0x3c840 libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 248)
#06 pc 0x4631c libbinder.so (android::IPCThreadState::executeCommand(int) + 1028)
#07 pc 0x45e50 libbinder.so (android::IPCThreadState::getAndExecuteCommand() + 160)
#08 pc 0x466cc libbinder.so (android::IPCThreadState::joinThreadPool(bool) + 68)
#09 pc 0x6cf5c libbinder.so (android::PoolThread::threadLoop() + 380)
#10 pc 0x1223c libutils.so (android::Thread::_threadLoop(void*) + 260)
#11 pc 0xbf044 libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*) + 140)
#12 pc 0x11acc libutils.so (thread_data_t::trampoline(thread_data_t const*) + 404)
#13 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#14 pc 0x52c60 libc.so (__start_thread + 64)
Binder:13104_2 (native):tid=14 systid=13120
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x28cccc libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*) + 148)
#02 pc 0x46f28c libart.so (art::JNI<false>::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) + 492)
#03 pc 0xb62d0 libandroid_runtime.so (_JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...) + 120)
#04 pc 0x1675dc libandroid_runtime.so (JavaBBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 156)
#05 pc 0x3c840 libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 248)
#06 pc 0x4631c libbinder.so (android::IPCThreadState::executeCommand(int) + 1028)
#07 pc 0x45e50 libbinder.so (android::IPCThreadState::getAndExecuteCommand() + 160)
#08 pc 0x466cc libbinder.so (android::IPCThreadState::joinThreadPool(bool) + 68)
#09 pc 0x6cf5c libbinder.so (android::PoolThread::threadLoop() + 380)
#10 pc 0x1223c libutils.so (android::Thread::_threadLoop(void*) + 260)
#11 pc 0xbf044 libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*) + 140)
#12 pc 0x11acc libutils.so (thread_data_t::trampoline(thread_data_t const*) + 404)
#13 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#14 pc 0x52c60 libc.so (__start_thread + 64)
Profile Saver (native):tid=15 systid=13124
#00 pc 0x4d820 libc.so (syscall + 32)
#01 pc 0x28d0a4 libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int) + 172)
#02 pc 0x422ffc libart.so (art::ProfileSaver::Run() + 748)
#03 pc 0x428438 libart.so (art::ProfileSaver::RunProfileSaverThread(void*) + 176)
#04 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#05 pc 0x52c60 libc.so (__start_thread + 64)
ScionFrontendApi (timed waiting):tid=17 systid=13155
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=18 systid=13158
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(zza.java)
DefaultDispatcher-worker-2 (timed waiting):tid=19 systid=13168
at sun.misc.Unsafe.park(Native method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:353)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.java)
DefaultDispatcher-worker-1 (timed waiting):tid=20 systid=13164
at sun.misc.Unsafe.park(Native method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:353)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.java)
DefaultDispatcher-worker-3 (timed waiting):tid=21 systid=13170
at sun.misc.Unsafe.park(Native method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:353)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.java)
Firebase Background Thread #0 (waiting):tid=22 systid=13283
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.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
Measurement Worker (native):tid=23 systid=13284
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x28cccc libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*) + 148)
#02 pc 0x744654 libart.so (art::GoToRunnable(art::Thread*) + 428)
#03 pc 0x744470 libart.so (art::JniMethodEnd(unsigned int, art::Thread*) + 24)
at android.os.BinderProxy.transactNative(Native method)
at android.os.BinderProxy.transact(BinderProxy.java:635)
at android.app.IActivityManager$Stub$Proxy.bindIsolatedService(IActivityManager.java:7074)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2059)
at android.app.ContextImpl.bindService(ContextImpl.java:1976)
at android.content.ContextWrapper.bindService(ContextWrapper.java:829)
at m.dk.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):103)
at m.cv.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):52)
at m.cm.c(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):183)
at m.os.p(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):134)
at m.os.C(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):52)
at m.nd.s(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):101)
at m.le.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):281)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at m.la.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (190400-0):48)
Firebase-Messaging-Topics-Io (waiting):tid=24 systid=13291
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(zza.java)
at java.lang.Thread.run(Thread.java:920)
pool-9-thread-1 (waiting):tid=25 systid=13287
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-Init (waiting):tid=26 systid=13288
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(zza.java)
at java.lang.Thread.run(Thread.java:920)
Crashlytics Exception Handler1 (waiting):tid=27 systid=13346
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()
at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run()
at java.lang.Thread.run(Thread.java:920)
Firebase Background Thread #1 (waiting):tid=28 systid=13345
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.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
FirebaseInstanceId (timed waiting):tid=29 systid=13351
at sun.misc.Unsafe.park(Native method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1063)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1358)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278)
at com.google.android.gms.tasks.zzad.zzb(zzad.java)
at com.google.android.gms.tasks.Tasks.await(Tasks.java)
at com.google.firebase.iid.FirebaseInstanceId.awaitTask()
at com.google.firebase.iid.FirebaseInstanceId.getToken()
at com.google.firebase.iid.FirebaseInstanceId.blockingGetMasterToken()
at com.google.firebase.iid.SyncTask.maybeRefreshToken()
at com.google.firebase.iid.SyncTask.run()
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
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(zza.java)
at java.lang.Thread.run(Thread.java:920)
firebase-iid-executor (timed waiting):tid=30 systid=13426
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 com.google.android.gms.common.util.concurrent.zza.run(zza.java)
at java.lang.Thread.run(Thread.java:920)
Firebase Background Thread #2 (waiting):tid=31 systid=13427
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.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
Firebase Background Thread #3 (waiting):tid=32 systid=13441
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.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
com.google.firebase.crashlytics.startup1 (waiting):tid=33 systid=13409
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()
at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run()
at java.lang.Thread.run(Thread.java:920)
awaitEvenIfOnMainThread task continuation executor1 (waiting):tid=34 systid=13478
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()
at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run()
at java.lang.Thread.run(Thread.java:920)
Firebase Blocking Thread #0 (timed waiting):tid=35 systid=13516
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 com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
Firebase Blocking Thread #1 (timed waiting):tid=36 systid=13536
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 com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
Firebase Blocking Thread #2 (timed waiting):tid=38 systid=13560
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 com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
Firebase Blocking Thread #3 (timed waiting):tid=37 systid=13604
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 com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
OkHttp ConnectionPool (timed waiting):tid=40 systid=13647
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)
Firebase Blocking Thread #4 (timed waiting):tid=41 systid=13630
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 com.google.firebase.concurrent.CustomThreadFactory.lambda$newThread$0(CustomThreadFactory.java)
at java.lang.Thread.run(Thread.java:920)
pool-22-thread-1 (waiting):tid=39 systid=13705
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)
MessengerIpcClient (timed waiting):tid=42 systid=13736
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(zza.java)
at java.lang.Thread.run(Thread.java:920)
AsyncTask #1 (native):tid=2 systid=13786
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x28cccc libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*) + 148)
#02 pc 0x744654 libart.so (art::GoToRunnable(art::Thread*) + 428)
#03 pc 0x744470 libart.so (art::JniMethodEnd(unsigned int, art::Thread*) + 24)
at android.os.BinderProxy.transactNative(Native method)
at android.os.BinderProxy.transact(BinderProxy.java:635)
at android.app.IActivityManager$Stub$Proxy.bindIsolatedService(IActivityManager.java:7074)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2059)
at android.app.ContextImpl.bindService(ContextImpl.java:1976)
at android.content.ContextWrapper.bindService(ContextWrapper.java:829)
at com.facebook.internal.AttributionIdentifiers.getAndroidIdViaService(AttributionIdentifiers.java)
at com.facebook.internal.AttributionIdentifiers.getAndroidId(AttributionIdentifiers.java)
at com.facebook.internal.AttributionIdentifiers.getAttributionIdentifiers(AttributionIdentifiers.java)
at com.facebook.FacebookSdk.publishInstallAndWaitForResponse(FacebookSdk.java)
at com.facebook.FacebookSdk$9.run(FacebookSdk.java)
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 (waiting):tid=4 systid=13788
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.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492)
at java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680)
at com.facebook.internal.AttributionIdentifiers$GoogleAdServiceConnection.getBinder(AttributionIdentifiers.java)
at com.facebook.internal.AttributionIdentifiers.getAndroidIdViaService(AttributionIdentifiers.java)
at com.facebook.internal.AttributionIdentifiers.getAndroidId(AttributionIdentifiers.java)
at com.facebook.internal.AttributionIdentifiers.getAttributionIdentifiers(AttributionIdentifiers.java)
at com.facebook.internal.AttributionIdentifiers.isTrackingLimited(AttributionIdentifiers.java)
at com.facebook.appevents.aam.MetadataIndexer$1.run(MetadataIndexer.java)
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 #2 (timed waiting):tid=5 systid=13787
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 #5 (timed waiting):tid=8 systid=13806
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-27-thread-1 (timed waiting):tid=16 systid=13812
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-28-thread-1 (waiting):tid=43 systid=13814
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)
AsyncTask #4 (timed waiting):tid=44 systid=13799
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)
queued-work-looper (native):tid=45 systid=13831
#00 pc 0xa14e8 libc.so (__epoll_pwait + 8)
#01 pc 0x168d4 libutils.so (android::Looper::pollInner(int) + 180)
#02 pc 0x167b8 libutils.so (android::Looper::pollOnce(int, int*, int*, void**) + 112)
#03 pc 0x153f0c libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int) + 44)
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)
Okio Watchdog (timed waiting):tid=46 systid=13844
at java.lang.Object.wait(Native method)
at com.android.okhttp.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:325)
at com.android.okhttp.okio.AsyncTimeout.access$000(AsyncTimeout.java:42)
at com.android.okhttp.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:288)
flutter-worker-1 (timed waiting):tid=47 systid=13857
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)
flutter-worker-0 (timed waiting):tid=48 systid=13856
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-24-thread-1 (timed waiting):tid=50 systid=13858
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)
flutter-worker-2 (timed waiting):tid=49 systid=13877
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)
AudioPortEventHandler (native):tid=51 systid=13925
#00 pc 0xa14e8 libc.so (__epoll_pwait + 8)
#01 pc 0x168d4 libutils.so (android::Looper::pollInner(int) + 180)
#02 pc 0x167b8 libutils.so (android::Looper::pollOnce(int, int*, int*, void**) + 112)
#03 pc 0x153f0c libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int) + 44)
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)
com.it_nomads.fluttersecurestorage.worker (native):tid=52 systid=13926
#00 pc 0xa14e8 libc.so (__epoll_pwait + 8)
#01 pc 0x168d4 libutils.so (android::Looper::pollInner(int) + 180)
#02 pc 0x167b8 libutils.so (android::Looper::pollOnce(int, int*, int*, void**) + 112)
#03 pc 0x153f0c libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int) + 44)
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)
1.ui (unknown):tid=13908 systid=13908
#00 pc 0xa14e8 libc.so (__epoll_pwait + 8)
#01 pc 0x168d4 libutils.so (android::Looper::pollInner(int) + 180)
#02 pc 0x167b8 libutils.so (android::Looper::pollOnce(int, int*, int*, void**) + 112)
#03 pc 0x17284 libandroid.so (ALooper_pollOnce + 100)
#04 pc 0x3a2bb4 split_config.arm64_v8a.apk!libflutter.so + 17756160
#05 pc 0x3a0ac8 split_config.arm64_v8a.apk!libflutter.so + 17756160
#06 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#07 pc 0x52c60 libc.so (__start_thread + 64)
1.raster (unknown):tid=13909 systid=13909
#00 pc 0xa14e8 libc.so (__epoll_pwait + 8)
#01 pc 0x168d4 libutils.so (android::Looper::pollInner(int) + 180)
#02 pc 0x167b8 libutils.so (android::Looper::pollOnce(int, int*, int*, void**) + 112)
#03 pc 0x17284 libandroid.so (ALooper_pollOnce + 100)
#04 pc 0x3a2bb4 split_config.arm64_v8a.apk!libflutter.so + 17756160
#05 pc 0x3a0ac8 split_config.arm64_v8a.apk!libflutter.so + 17756160
#06 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#07 pc 0x52c60 libc.so (__start_thread + 64)
1.io (unknown):tid=13910 systid=13910
#00 pc 0xa14e8 libc.so (__epoll_pwait + 8)
#01 pc 0x168d4 libutils.so (android::Looper::pollInner(int) + 180)
#02 pc 0x167b8 libutils.so (android::Looper::pollOnce(int, int*, int*, void**) + 112)
#03 pc 0x17284 libandroid.so (ALooper_pollOnce + 100)
#04 pc 0x3a2bb4 split_config.arm64_v8a.apk!libflutter.so + 17756160
#05 pc 0x3a0ac8 split_config.arm64_v8a.apk!libflutter.so + 17756160
#06 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#07 pc 0x52c60 libc.so (__start_thread + 64)
io.worker.1 (unknown):tid=13913 systid=13913
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0xb3da0 libc.so (pthread_cond_wait + 80)
#03 pc 0x38ca10 split_config.arm64_v8a.apk!libflutter.so + 17756160
#04 pc 0x39c5a0 split_config.arm64_v8a.apk!libflutter.so + 17756160
#05 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#06 pc 0x52c60 libc.so (__start_thread + 64)
io.worker.2 (unknown):tid=13914 systid=13914
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0xb3da0 libc.so (pthread_cond_wait + 80)
#03 pc 0x38ca10 split_config.arm64_v8a.apk!libflutter.so + 17756160
#04 pc 0x39c5a0 split_config.arm64_v8a.apk!libflutter.so + 17756160
#05 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#06 pc 0x52c60 libc.so (__start_thread + 64)
io.worker.3 (unknown):tid=13915 systid=13915
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0xb3da0 libc.so (pthread_cond_wait + 80)
#03 pc 0x38ca10 split_config.arm64_v8a.apk!libflutter.so + 17756160
#04 pc 0x39c5a0 split_config.arm64_v8a.apk!libflutter.so + 17756160
#05 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#06 pc 0x52c60 libc.so (__start_thread + 64)
io.worker.4 (unknown):tid=13916 systid=13916
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0xb3da0 libc.so (pthread_cond_wait + 80)
#03 pc 0x38ca10 split_config.arm64_v8a.apk!libflutter.so + 17756160
#04 pc 0x39c5a0 split_config.arm64_v8a.apk!libflutter.so + 17756160
#05 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#06 pc 0x52c60 libc.so (__start_thread + 64)
dart:io EventHa (unknown):tid=13917 systid=13917
#00 pc 0xa14e8 libc.so (__epoll_pwait + 8)
#01 pc 0x6ff918 split_config.arm64_v8a.apk!libflutter.so + 17756160
#02 pc 0x730210 split_config.arm64_v8a.apk!libflutter.so + 17756160
#03 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#04 pc 0x52c60 libc.so (__start_thread + 64)
mali-mem-purge (unknown):tid=13919 systid=13919
#00 pc 0x4d820 libc.so (syscall + 32)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0xb3e6c libc.so (pthread_cond_timedwait + 140)
#03 pc 0x18d617c libGLES_mali.so (osup_sync_object_timedwait + 180)
#04 pc 0x18c0e0c libGLES_mali.so (cmemp_hoard_purge_thread + 196)
#05 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#06 pc 0x52c60 libc.so (__start_thread + 64)
mali-utility-wo (unknown):tid=13920 systid=13920
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0x5f26c libc.so (sem_wait + 132)
#03 pc 0x17ff2d4 libGLES_mali.so (cmarp_utility_thread + 148)
#04 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#05 pc 0x52c60 libc.so (__start_thread + 64)
mali-utility-wo (unknown):tid=13921 systid=13921
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0x5f26c libc.so (sem_wait + 132)
#03 pc 0x17ff2d4 libGLES_mali.so (cmarp_utility_thread + 148)
#04 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#05 pc 0x52c60 libc.so (__start_thread + 64)
mali-utility-wo (unknown):tid=13922 systid=13922
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0x5f26c libc.so (sem_wait + 132)
#03 pc 0x17ff2d4 libGLES_mali.so (cmarp_utility_thread + 148)
#04 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#05 pc 0x52c60 libc.so (__start_thread + 64)
mali-utility-wo (unknown):tid=13923 systid=13923
#00 pc 0x4d81c libc.so (syscall + 28)
#01 pc 0x521b0 libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*) + 144)
#02 pc 0x5f26c libc.so (sem_wait + 132)
#03 pc 0x17ff2d4 libGLES_mali.so (cmarp_utility_thread + 148)
#04 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#05 pc 0x52c60 libc.so (__start_thread + 64)
mali-cmar-backe (unknown):tid=13924 systid=13924
#00 pc 0xa15e8 libc.so (__ppoll + 8)
#01 pc 0x5d6bc libc.so (poll + 92)
#02 pc 0x17ff5cc libGLES_mali.so (cmarp_backend_thread + 364)
#03 pc 0xb4b38 libc.so (__pthread_start(void*) + 264)
#04 pc 0x52c60 libc.so (__start_thread + 64)
Expected results
ANR should not be triggered.
Actual results
Binder call may be taking too long, causing the main thread to wait, and triggering the ANR.
Code sample
Code sample
final GeolocatorPlatform geolocator = GeolocatorPlatform.instance;
Future<Position> getCurrentPosition() async {
return geolocator.getCurrentPosition(
locationSettings: const LocationSettings(accuracy: LocationAccuracy.high),
);
}
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
geolocator: ^10.1.0
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.4 23E214 darwin-arm64, locale
en-CA)
• Flutter version 3.16.9 on channel stable at /Users/saadahmed/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (3 months ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• DevTools version 2.28.5
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/saadahmed/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.9+0-17.0.9b1087.7-11185874)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C500b
• CocoaPods version 1.15.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.9+0-17.0.9b1087.7-11185874)
[✓] VS Code (version 1.88.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.86.0
[✓] Connected device (4 available)
• macOS (desktop) • macos • darwin-arm64 •
macOS 14.4 23E214 darwin-arm64
• Chrome (web) • chrome • web-javascript •
Google Chrome 124.0.6367.79
[✓] Network resources
• All expected network resources are available.
• No issues found!