PackageStateChangedService - more info, experiments

Continuing along the lines of Per’s topic here, but not wishing to hijack it with my specifics.  Provided here in the hopes that it might provide some additional clues to engineering…

I took an existing published app and rebuilt it in two different ways:

  1. NO PLUGINS AT ALL.  built with 3281, tested on Nexus 7 2013.  App launches and exits “clean”, no remaining trace of it in Settings-Apps-Running for example.

2.  JUST ADMOB PLUGIN.  again built with 3281, tested on Nexus 7 2013.  App does NOT exit “clean”, instead leaves the PackageStateChangedService running.  (and the service “appears” to restart the app main later, via logcat)

Here’s the offending line in AndroidManifest.xml (ripped from the apk, and is NOT present in the “no plugins” version) that launches the thing in the first place:

 \<service android:name="shared.google.play.services.base.PackageStateChangedService"/\>

Here’s what Settings-Apps-Running looks like AFTER exiting the app (via swiping away task list)

1ekwp5.jpg

and the details:

oz783.jpg

And the logcat output immediately after exiting (the print of “#EGHZ# SYS applicationExit” is the last thing “I” do in the app on exit)  Note that the app exits, the service apparently crashes and restarted, service then restarts app:

I/Corona (26946): #EGHZ# SYS applicationExit I/OpenAL\_SLES(26946): opensles\_stop\_playback device=0xa017b000 I/OpenAL\_SLES(26946): opensles\_close\_playback pDevice=0xa017b000 I/ActivityManager( 571): Killing 26946:org.davebollinger.dropstack/u0a344 (adj 16): remove task W/libprocessgroup( 571): failed to open /acct/uid\_10344/pid\_26946/cgroup.procs: No such file or directory W/ActivityManager( 571): Scheduling restart of crashed service org.davebollinger.dropstack/shared.google.play.services.base.PackageStateChangedService in 1000ms D/TaskPersister( 571): removeObsoleteFile: deleting file=691\_task.xml D/TaskPersister( 571): removeObsoleteFile: deleting file=691\_task\_thumbnail.png I/ActivityManager( 571): Start proc org.davebollinger.dropstack for service org.davebollinger.dropstack/shared.google.play.services.base.PackageStateChangedService: pid=27352 uid=10344 gids={50344, 9997, 3003} abi=armeabi-v7a

Engineering? Does any of that help??

Nice work @dave.  Let’s hope this gets some much needed attention.

@SGS:  rhetorically:  why are we paying $200 for a plugin that is literally costing us thousands in lost revenue?

<rant>

…from increased crashes, then rankings hit, then fewer installs (and/or more uninstalls), then lower DAU, then fewer ad views, then lower revenue – and all very measurable, btw, fe i could have bought Unity Pro a dozen times over with the year-over-year ad revenue decline, not even counting the corresponding reduction in IAP’s from fewer DAU.  and I’m just a tiny indie, it’s gotta be a huge problem for “real” developers, and it’s way past time to get it fixed

</rant>

Super detective work, I had a feeling it was Admob related as my pay for apps didn’t crash…  Please Corona Fix This ASAP!

Greg

I will share this with the team.  Sounds like very useful information.

Rob

@Rob, PackageChangeStateService is a relatively NEW crash (for me), occuring 14 times since April 18, and in my case, are unrelated to Admob, since I don’t have ads.

Yesterday, 4:01 PM on app version 280

Samsung Galaxy Note5 (nobleltevzw), 4096MB RAM, Android 7.0

“main” | tid=1 | Blocked

“main” prio=5 tid=1 Blocked | group=“main” sCount=1 dsCount=0 obj=0x75afd6e8 self=0xec685400 | sysTid=24317 nice=0 cgrp=default sched=0/0 handle=0xefcdb534 | state=S schedstat=( 0 0 0 ) utm=20 stm=15 core=0 HZ=100 | stack=0xff43c000-0xff43e000 stackSize=8MB | held mutexes=

at com.ansca.corona.Controller.stop (Controller.java:263)

  • waiting to lock <0x06fc70d8> (a com.ansca.corona.Controller) held by thread 11

at com.ansca.corona.CoronaActivity.requestSuspendCoronaRuntime (CoronaActivity.java:2005)

at com.ansca.corona.CoronaActivity.onPause (CoronaActivity.java:1828)

at android.app.Activity.performPause (Activity.java:7133)

at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1330)

at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4115)

at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4092)

at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4066)

at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4040)

at android.app.ActivityThread.-wrap18 (ActivityThread.java)

at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1643)

at android.os.Handler.dispatchMessage (Handler.java:102)

at android.os.Looper.loop (Looper.java:154)

at android.app.ActivityThread.main (ActivityThread.java:6682)

at java.lang.reflect.Method.invoke! (Native method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1534)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1424)

 

"GLThread 8609"tid=11Native

“GLThread 8609” prio=5 tid=11 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0f0e0 self=0xdcff0300 | sysTid=30644 nice=0 cgrp=default sched=0/0 handle=0xe2acd920 | state=S schedstat=( 0 0 0 ) utm=884 stm=2277 core=5 HZ=100 | stack=0xe29cb000-0xe29cd000 stackSize=1038KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 00000000003f560f /system/lib/libart.so (_ZN3artL12GoToRunnableEPNS_6ThreadE+230)

#03 pc 00000000003f54ff /system/lib/libart.so (_ZN3art12JniMethodEndEjPNS_6ThreadE+8)

#04 pc 0000000000088937 /system/framework/arm/boot-core-oj.oat (Java_java_lang_Thread_yield__+82)

at java.lang.Thread.yield (Native method)

at plugin.facebook.v4.FacebookController.facebookInit (FacebookController.java:800)

at plugin.facebook.v4.LuaLoader.invoke (LuaLoader.java:75)

at com.ansca.corona.JavaToNativeShim.nativeRender (Native method)

at com.ansca.corona.JavaToNativeShim.render (JavaToNativeShim.java:182)

at com.ansca.corona.Controller.updateRuntimeState (Controller.java:347)

at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame (CoronaGLSurfaceView.java:425)

at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1623)

at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1378)

"Jit thread pool worker thread 0"tid=2Native

“Jit thread pool worker thread 0” prio=5 tid=2 Native (still starting up) | group="" sCount=1 dsCount=0 obj=0x0 self=0xdd103000 | sysTid=24322 nice=9 cgrp=default sched=0/0 handle=0xebda4920 | state=S schedstat=( 0 0 0 ) utm=2 stm=1 core=6 HZ=100 | stack=0xebca6000-0xebca8000 stackSize=1022KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 0000000000344ddd /system/lib/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+160)

#03 pc 000000000034460b /system/lib/libart.so (_ZN3art16ThreadPoolWorker3RunEv+62)

#04 pc 0000000000344131 /system/lib/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+64)

#05 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#06 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"ReferenceQueueDaemon"tid=4Waiting

“ReferenceQueueDaemon” daemon prio=5 tid=4 Waiting | group=“system” sCount=1 dsCount=0 obj=0x12c0a1f0 self=0xdcfba100 | sysTid=24327 nice=0 cgrp=default sched=0/0 handle=0xebba4920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xebaa2000-0xebaa4000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x02ee0c31> (a java.lang.Class<java.lang.ref.ReferenceQueue>)

at java.lang.Daemons$ReferenceQueueDaemon.run (Daemons.java:150)

  • locked <0x02ee0c31> (a java.lang.Class<java.lang.ref.ReferenceQueue>)

at java.lang.Thread.run (Thread.java:762)

"FinalizerDaemon"tid=5Waiting

“FinalizerDaemon” daemon prio=5 tid=5 Waiting | group=“system” sCount=1 dsCount=0 obj=0x12c0a280 self=0xdcfba600 | sysTid=24328 nice=0 cgrp=default sched=0/0 handle=0xeba9f920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xeb99d000-0xeb99f000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x05f84f16> (a java.lang.Object)

at java.lang.Object.wait (Object.java:407)

at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:188)

  • locked <0x05f84f16> (a java.lang.Object)

at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)

at java.lang.Daemons$FinalizerDaemon.run (Daemons.java:204)

at java.lang.Thread.run (Thread.java:762)

"FinalizerWatchdogDaemon"tid=6Waiting

“FinalizerWatchdogDaemon” daemon prio=5 tid=6 Waiting | group=“system” sCount=1 dsCount=0 obj=0x12c0a310 self=0xdcfbab00 | sysTid=24329 nice=0 cgrp=default sched=0/0 handle=0xeb99a920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=3 HZ=100 | stack=0xeb898000-0xeb89a000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x03d69097> (a java.lang.Daemons$FinalizerWatchdogDaemon)

at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded (Daemons.java:269)

  • locked <0x03d69097> (a java.lang.Daemons$FinalizerWatchdogDaemon)

at java.lang.Daemons$FinalizerWatchdogDaemon.run (Daemons.java:249)

at java.lang.Thread.run (Thread.java:762)

"Binder:24317_1"tid=8Native

“Binder:24317_1” prio=5 tid=8 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a430 self=0xdd104400 | sysTid=24331 nice=0 cgrp=default sched=0/0 handle=0xeb692920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xeb596000-0xeb598000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048a54 /system/lib/libc.so (__ioctl+8)

#01 pc 000000000001af6b /system/lib/libc.so (ioctl+38)

#02 pc 000000000003cd0d /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+204)

#03 pc 000000000003ce25 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)

#04 pc 000000000003d3bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)

#05 pc 000000000004fa75 /system/lib/libbinder.so (???)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"Binder:24317_2"tid=9Native

“Binder:24317_2” prio=5 tid=9 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a4c0 self=0xe53a2400 | sysTid=24332 nice=0 cgrp=default sched=0/0 handle=0xeb593920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100 | stack=0xeb497000-0xeb499000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048a54 /system/lib/libc.so (__ioctl+8)

#01 pc 000000000001af6b /system/lib/libc.so (ioctl+38)

#02 pc 000000000003cd0d /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+204)

#03 pc 000000000003ce25 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)

#04 pc 000000000003d3bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)

#05 pc 000000000004fa75 /system/lib/libbinder.so (???)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"Profile Saver"tid=10Native

“Profile Saver” daemon prio=5 tid=10 Native | group=“system” sCount=1 dsCount=0 obj=0x12c0a550 self=0xdd105800 | sysTid=24333 nice=0 cgrp=default sched=0/0 handle=0xeb494920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xeb398000-0xeb39a000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 000000000025a919 /system/lib/libart.so (_ZN3art12ProfileSaver3RunEv+296)

#03 pc 000000000025bc5d /system/lib/libart.so (_ZN3art12ProfileSaver21RunProfileSaverThreadEPv+52)

#04 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#05 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"SoundPool"tid=12Native

“SoundPool” prio=5 tid=12 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a5e0 self=0xdd106c00 | sysTid=30662 nice=0 cgrp=default sched=0/0 handle=0xd0142920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xd0046000-0xd0048000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 000000000004701b /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)

#02 pc 0000000000004e3d /system/lib/libsoundpool.so (_ZN7android9SoundPool3runEv+30)

#03 pc 0000000000004e17 /system/lib/libsoundpool.so (_ZN7android9SoundPool11beginThreadEPv+2)

#04 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#05 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#06 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"SoundPoolThread"tid=13Native

“SoundPoolThread” prio=5 tid=13 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a670 self=0xdcff1c00 | sysTid=30663 nice=0 cgrp=default sched=0/0 handle=0xd0043920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xcff47000-0xcff49000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 000000000004701b /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)

#02 pc 00000000000067a3 /system/lib/libsoundpool.so (_ZN7android15SoundPoolThread4readEv+18)

#03 pc 0000000000006921 /system/lib/libsoundpool.so (_ZN7android15SoundPoolThread3runEv+24)

#04 pc 00000000000068a3 /system/lib/libsoundpool.so (_ZN7android15SoundPoolThread11beginThreadEPv+2)

#05 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#06 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#07 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"RenderThread"tid=14Native

“RenderThread” prio=5 tid=14 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a700 self=0xe295e000 | sysTid=30680 nice=-4 cgrp=default sched=0/0 handle=0xcdf7d920 | state=S schedstat=( 0 0 0 ) utm=3 stm=2 core=4 HZ=100 | stack=0xcde81000-0xcde83000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048914 /system/lib/libc.so (__epoll_pwait+20)

#01 pc 000000000001a31d /system/lib/libc.so (epoll_pwait+60)

#02 pc 000000000001a34d /system/lib/libc.so (epoll_wait+12)

#03 pc 0000000000011d43 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)

#04 pc 0000000000011c3f /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26)

#05 pc 0000000000029b6d /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+284)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"hwuiTask1"tid=15Native

“hwuiTask1” prio=5 tid=15 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a790 self=0xe2d7b900 | sysTid=30693 nice=-2 cgrp=default sched=0/0 handle=0xcb67f920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xcb583000-0xcb585000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 000000000004701b /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)

#02 pc 000000000002a40b /system/lib/libhwui.so (???)

#03 pc 000000000002a381 /system/lib/libhwui.so (???)

#04 pc 000000000000e3e7 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+270)

#05 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#06 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#07 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"pool-1-thread-1"tid=17Waiting

“pool-1-thread-1” prio=5 tid=17 Waiting | group=“main” sCount=1 dsCount=0 obj=0x12c0a820 self=0xcfd9f900 | sysTid=30700 nice=0 cgrp=default sched=0/0 handle=0xc90ff920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=7 HZ=100 | stack=0xc8ffd000-0xc8fff000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x0e33c284> (a java.lang.Object)

at java.lang.Thread.parkFor$ (Thread.java:2128)

  • locked <0x0e33c284> (a java.lang.Object)

at sun.misc.Unsafe.park (Unsafe.java:325)

at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)

at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)

at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:413)

at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)

at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)

at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)

at java.lang.Thread.run (Thread.java:762)

"background thread"tid=18Native

“background thread” prio=5 tid=18 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a8b0 self=0xcfda0800 | sysTid=30704 nice=0 cgrp=default sched=0/0 handle=0xc81be920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xc80bc000-0xc80be000 stackSize=1038KB | held mutexes=

#00 pc 0000000000048914 /system/lib/libc.so (__epoll_pwait+20)

#01 pc 000000000001a31d /system/lib/libc.so (epoll_pwait+60)

#02 pc 000000000001a34d /system/lib/libc.so (epoll_wait+12)

#03 pc 0000000000011d43 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)

#04 pc 0000000000011c3f /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26)

#05 pc 0000000000097aa1 /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)

#06 pc 000000000070a65d /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)

at android.os.MessageQueue.nativePollOnce (Native method)

at android.os.MessageQueue.next (MessageQueue.java:323)

at android.os.Looper.loop (Looper.java:136)

at android.os.HandlerThread.run (HandlerThread.java:61)

"Okio Watchdog"tid=19Waiting

“Okio Watchdog” daemon prio=5 tid=19 Waiting | group=“main” sCount=1 dsCount=0 obj=0x12c0a940 self=0xe2962100 | sysTid=30708 nice=0 cgrp=default sched=0/0 handle=0xcb580920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xcb47e000-0xcb480000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x07663a6d> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)

at com.android.okhttp.okio.AsyncTimeout.awaitTimeout (AsyncTimeout.java:311)

  • locked <0x07663a6d> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)

at com.android.okhttp.okio.AsyncTimeout.-wrap0 (AsyncTimeout.java)

at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:286)

"Binder:24317_3"tid=20Native

“Binder:24317_3” prio=5 tid=20 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a9d0 self=0xcfd9f400 | sysTid=30711 nice=0 cgrp=default sched=0/0 handle=0xcb47b920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=7 HZ=100 | stack=0xcb37f000-0xcb381000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048a54 /system/lib/libc.so (__ioctl+8)

#01 pc 000000000001af6b /system/lib/libc.so (ioctl+38)

#02 pc 000000000003cd0d /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+204)

#03 pc 000000000003ce25 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)

#04 pc 000000000003d3bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)

#05 pc 000000000004fa75 /system/lib/libbinder.so (???)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"OkHttp ConnectionPool"tid=22TimedWaiting

“OkHttp ConnectionPool” daemon prio=5 tid=22 TimedWaiting | group=“main” sCount=1 dsCount=0 obj=0x12c0aa60 self=0xcb6bc500 | sysTid=30738 nice=0 cgrp=default sched=0/0 handle=0xcb0ff920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xcaffd000-0xcafff000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x09a246a2> (a com.android.okhttp.ConnectionPool)

at com.android.okhttp.ConnectionPool.performCleanup (ConnectionPool.java:319)

  • locked <0x09a246a2> (a com.android.okhttp.ConnectionPool)

at com.android.okhttp.ConnectionPool.runCleanupUntilPoolIsEmpty (ConnectionPool.java:256)

at com.android.okhttp.ConnectionPool.-wrap0 (ConnectionPool.java)

at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:102)

at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)

at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)

at java.lang.Thread.run (Thread.java:762)

“mali-mem-purge”

“mali-mem-purge” prio=5 (not attached) | sysTid=30682 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30683 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30684 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30685 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30686 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30687 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30688 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30689 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30690 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-cmar-backe”

“mali-cmar-backe” prio=5 (not attached) | sysTid=30691 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=7 HZ=100

“mali-hist-dump”

“mali-hist-dump” prio=5 (not attached) | sysTid=30692 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

"Signal Catcher"tid=3Runnable

“Signal Catcher” daemon prio=5 tid=3 Runnable | group=“system” sCount=0 dsCount=0 obj=0x12c0a160 self=0xdcfb8d00 | sysTid=24326 nice=0 cgrp=default sched=0/0 handle=0xebca3920 | state=R schedstat=( 0 0 0 ) utm=1 stm=0 core=4 HZ=100 | stack=0xebba7000-0xebba9000 stackSize=1014KB | held mutexes= “mutator lock”(shared held)

#00 pc 0000000000351219 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)

#01 pc 000000000033172d /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+304)

#02 pc 0000000000343887 /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+622)

#03 pc 000000000033d611 /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+336)

#04 pc 000000000033d331 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+180)

#05 pc 000000000033d223 /system/lib/libart.so (_ZN3art10ThreadList14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+570)

#06 pc 0000000000322639 /system/lib/libart.so (_ZN3art7Runtime14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+228)

#07 pc 0000000000326fb1 /system/lib/libart.so (_ZN3art13SignalCatcher13HandleSigQuitEv+1460)

#08 pc 000000000032608d /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+352)

#09 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#10 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"HeapTaskDaemon"tid=7Blocked

“HeapTaskDaemon” daemon prio=5 tid=7 Blocked | group=“system” sCount=1 dsCount=0 obj=0x12c0a3a0 self=0xe53a1f00 | sysTid=24330 nice=0 cgrp=default sched=0/0 handle=0xeb895920 | state=S schedstat=( 0 0 0 ) utm=8 stm=0 core=4 HZ=100 | stack=0xeb793000-0xeb795000 stackSize=1038KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 00000000001b5949 /system/lib/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+288)

#03 pc 00000000001b5fbd /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+44)

#04 pc 00000000001603df /system/framework/arm/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+74)

at dalvik.system.VMRuntime.runHeapTasks (Native method)

  • waiting to lock an unknown object

at java.lang.Daemons$HeapTaskDaemon.run (Daemons.java:433)

at java.lang.Thread.run (Thread.java:762)

 

Troy, what version of Corona did you use to build with?

@Rob, build 3282

I’m confused. Above you said " PackageChangeStateService is a relatively NEW crash (for me), occuring 14 times since April 18,".  3282 was just published on May 2.  How many crashes have you had since you updated your app with 3282? How many of your users have updated to a version built with 3282 or are they still running an older version?

Rob

@Rob, please accept my apology. I ‘edited’ that post to remove that comment because when I looked further into all of the crash bugs, I discovered that there are several other crash bugs that have the same title but are not identical. The last version may have removed one of these bugs, but several still exist. Do you want the details on each of the remaining bugs with this same title that are still somehow reported as different line items?

Only if the crashes are from users that have updated to builds made with 3282 or later. Also what frequency are they happening? What percentage of your active install base is seeing these errors?

Rob

(0.4%) ANRs caused in shared.google.play.services.base.PackageStateChangedService - in past 7 days, 8/2000, Android 6.0-8.0

Hey, [member=‘troylyndon’]. Your crash log is unrelated to package state change. Your app ANR happens because you’re using old Facebook v4. Migrate to Facebook v4a for this problem to go away. Because of this ANR we created v4a.

https://docs.coronalabs.com/plugin/facebook-v4a/index.html

Also. Thank you a lot for posting FULL crash log. It was extremely helpful in debugging the issue.

Hey Vlads - you da man, I’ll be checking this out and will report back after another update and release.

Nice work @dave.  Let’s hope this gets some much needed attention.

@SGS:  rhetorically:  why are we paying $200 for a plugin that is literally costing us thousands in lost revenue?

<rant>

…from increased crashes, then rankings hit, then fewer installs (and/or more uninstalls), then lower DAU, then fewer ad views, then lower revenue – and all very measurable, btw, fe i could have bought Unity Pro a dozen times over with the year-over-year ad revenue decline, not even counting the corresponding reduction in IAP’s from fewer DAU.  and I’m just a tiny indie, it’s gotta be a huge problem for “real” developers, and it’s way past time to get it fixed

</rant>

Super detective work, I had a feeling it was Admob related as my pay for apps didn’t crash…  Please Corona Fix This ASAP!

Greg

I will share this with the team.  Sounds like very useful information.

Rob

@Rob, PackageChangeStateService is a relatively NEW crash (for me), occuring 14 times since April 18, and in my case, are unrelated to Admob, since I don’t have ads.

Yesterday, 4:01 PM on app version 280

Samsung Galaxy Note5 (nobleltevzw), 4096MB RAM, Android 7.0

“main” | tid=1 | Blocked

“main” prio=5 tid=1 Blocked | group=“main” sCount=1 dsCount=0 obj=0x75afd6e8 self=0xec685400 | sysTid=24317 nice=0 cgrp=default sched=0/0 handle=0xefcdb534 | state=S schedstat=( 0 0 0 ) utm=20 stm=15 core=0 HZ=100 | stack=0xff43c000-0xff43e000 stackSize=8MB | held mutexes=

at com.ansca.corona.Controller.stop (Controller.java:263)

  • waiting to lock <0x06fc70d8> (a com.ansca.corona.Controller) held by thread 11

at com.ansca.corona.CoronaActivity.requestSuspendCoronaRuntime (CoronaActivity.java:2005)

at com.ansca.corona.CoronaActivity.onPause (CoronaActivity.java:1828)

at android.app.Activity.performPause (Activity.java:7133)

at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1330)

at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4115)

at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4092)

at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4066)

at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4040)

at android.app.ActivityThread.-wrap18 (ActivityThread.java)

at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1643)

at android.os.Handler.dispatchMessage (Handler.java:102)

at android.os.Looper.loop (Looper.java:154)

at android.app.ActivityThread.main (ActivityThread.java:6682)

at java.lang.reflect.Method.invoke! (Native method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1534)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1424)

 

"GLThread 8609"tid=11Native

“GLThread 8609” prio=5 tid=11 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0f0e0 self=0xdcff0300 | sysTid=30644 nice=0 cgrp=default sched=0/0 handle=0xe2acd920 | state=S schedstat=( 0 0 0 ) utm=884 stm=2277 core=5 HZ=100 | stack=0xe29cb000-0xe29cd000 stackSize=1038KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 00000000003f560f /system/lib/libart.so (_ZN3artL12GoToRunnableEPNS_6ThreadE+230)

#03 pc 00000000003f54ff /system/lib/libart.so (_ZN3art12JniMethodEndEjPNS_6ThreadE+8)

#04 pc 0000000000088937 /system/framework/arm/boot-core-oj.oat (Java_java_lang_Thread_yield__+82)

at java.lang.Thread.yield (Native method)

at plugin.facebook.v4.FacebookController.facebookInit (FacebookController.java:800)

at plugin.facebook.v4.LuaLoader.invoke (LuaLoader.java:75)

at com.ansca.corona.JavaToNativeShim.nativeRender (Native method)

at com.ansca.corona.JavaToNativeShim.render (JavaToNativeShim.java:182)

at com.ansca.corona.Controller.updateRuntimeState (Controller.java:347)

at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame (CoronaGLSurfaceView.java:425)

at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1623)

at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1378)

"Jit thread pool worker thread 0"tid=2Native

“Jit thread pool worker thread 0” prio=5 tid=2 Native (still starting up) | group="" sCount=1 dsCount=0 obj=0x0 self=0xdd103000 | sysTid=24322 nice=9 cgrp=default sched=0/0 handle=0xebda4920 | state=S schedstat=( 0 0 0 ) utm=2 stm=1 core=6 HZ=100 | stack=0xebca6000-0xebca8000 stackSize=1022KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 0000000000344ddd /system/lib/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+160)

#03 pc 000000000034460b /system/lib/libart.so (_ZN3art16ThreadPoolWorker3RunEv+62)

#04 pc 0000000000344131 /system/lib/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+64)

#05 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#06 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"ReferenceQueueDaemon"tid=4Waiting

“ReferenceQueueDaemon” daemon prio=5 tid=4 Waiting | group=“system” sCount=1 dsCount=0 obj=0x12c0a1f0 self=0xdcfba100 | sysTid=24327 nice=0 cgrp=default sched=0/0 handle=0xebba4920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xebaa2000-0xebaa4000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x02ee0c31> (a java.lang.Class<java.lang.ref.ReferenceQueue>)

at java.lang.Daemons$ReferenceQueueDaemon.run (Daemons.java:150)

  • locked <0x02ee0c31> (a java.lang.Class<java.lang.ref.ReferenceQueue>)

at java.lang.Thread.run (Thread.java:762)

"FinalizerDaemon"tid=5Waiting

“FinalizerDaemon” daemon prio=5 tid=5 Waiting | group=“system” sCount=1 dsCount=0 obj=0x12c0a280 self=0xdcfba600 | sysTid=24328 nice=0 cgrp=default sched=0/0 handle=0xeba9f920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xeb99d000-0xeb99f000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x05f84f16> (a java.lang.Object)

at java.lang.Object.wait (Object.java:407)

at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:188)

  • locked <0x05f84f16> (a java.lang.Object)

at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:209)

at java.lang.Daemons$FinalizerDaemon.run (Daemons.java:204)

at java.lang.Thread.run (Thread.java:762)

"FinalizerWatchdogDaemon"tid=6Waiting

“FinalizerWatchdogDaemon” daemon prio=5 tid=6 Waiting | group=“system” sCount=1 dsCount=0 obj=0x12c0a310 self=0xdcfbab00 | sysTid=24329 nice=0 cgrp=default sched=0/0 handle=0xeb99a920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=3 HZ=100 | stack=0xeb898000-0xeb89a000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x03d69097> (a java.lang.Daemons$FinalizerWatchdogDaemon)

at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded (Daemons.java:269)

  • locked <0x03d69097> (a java.lang.Daemons$FinalizerWatchdogDaemon)

at java.lang.Daemons$FinalizerWatchdogDaemon.run (Daemons.java:249)

at java.lang.Thread.run (Thread.java:762)

"Binder:24317_1"tid=8Native

“Binder:24317_1” prio=5 tid=8 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a430 self=0xdd104400 | sysTid=24331 nice=0 cgrp=default sched=0/0 handle=0xeb692920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xeb596000-0xeb598000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048a54 /system/lib/libc.so (__ioctl+8)

#01 pc 000000000001af6b /system/lib/libc.so (ioctl+38)

#02 pc 000000000003cd0d /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+204)

#03 pc 000000000003ce25 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)

#04 pc 000000000003d3bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)

#05 pc 000000000004fa75 /system/lib/libbinder.so (???)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"Binder:24317_2"tid=9Native

“Binder:24317_2” prio=5 tid=9 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a4c0 self=0xe53a2400 | sysTid=24332 nice=0 cgrp=default sched=0/0 handle=0xeb593920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100 | stack=0xeb497000-0xeb499000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048a54 /system/lib/libc.so (__ioctl+8)

#01 pc 000000000001af6b /system/lib/libc.so (ioctl+38)

#02 pc 000000000003cd0d /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+204)

#03 pc 000000000003ce25 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)

#04 pc 000000000003d3bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)

#05 pc 000000000004fa75 /system/lib/libbinder.so (???)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"Profile Saver"tid=10Native

“Profile Saver” daemon prio=5 tid=10 Native | group=“system” sCount=1 dsCount=0 obj=0x12c0a550 self=0xdd105800 | sysTid=24333 nice=0 cgrp=default sched=0/0 handle=0xeb494920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xeb398000-0xeb39a000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 000000000025a919 /system/lib/libart.so (_ZN3art12ProfileSaver3RunEv+296)

#03 pc 000000000025bc5d /system/lib/libart.so (_ZN3art12ProfileSaver21RunProfileSaverThreadEPv+52)

#04 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#05 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"SoundPool"tid=12Native

“SoundPool” prio=5 tid=12 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a5e0 self=0xdd106c00 | sysTid=30662 nice=0 cgrp=default sched=0/0 handle=0xd0142920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xd0046000-0xd0048000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 000000000004701b /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)

#02 pc 0000000000004e3d /system/lib/libsoundpool.so (_ZN7android9SoundPool3runEv+30)

#03 pc 0000000000004e17 /system/lib/libsoundpool.so (_ZN7android9SoundPool11beginThreadEPv+2)

#04 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#05 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#06 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"SoundPoolThread"tid=13Native

“SoundPoolThread” prio=5 tid=13 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a670 self=0xdcff1c00 | sysTid=30663 nice=0 cgrp=default sched=0/0 handle=0xd0043920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100 | stack=0xcff47000-0xcff49000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 000000000004701b /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)

#02 pc 00000000000067a3 /system/lib/libsoundpool.so (_ZN7android15SoundPoolThread4readEv+18)

#03 pc 0000000000006921 /system/lib/libsoundpool.so (_ZN7android15SoundPoolThread3runEv+24)

#04 pc 00000000000068a3 /system/lib/libsoundpool.so (_ZN7android15SoundPoolThread11beginThreadEPv+2)

#05 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#06 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#07 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"RenderThread"tid=14Native

“RenderThread” prio=5 tid=14 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a700 self=0xe295e000 | sysTid=30680 nice=-4 cgrp=default sched=0/0 handle=0xcdf7d920 | state=S schedstat=( 0 0 0 ) utm=3 stm=2 core=4 HZ=100 | stack=0xcde81000-0xcde83000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048914 /system/lib/libc.so (__epoll_pwait+20)

#01 pc 000000000001a31d /system/lib/libc.so (epoll_pwait+60)

#02 pc 000000000001a34d /system/lib/libc.so (epoll_wait+12)

#03 pc 0000000000011d43 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)

#04 pc 0000000000011c3f /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26)

#05 pc 0000000000029b6d /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+284)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"hwuiTask1"tid=15Native

“hwuiTask1” prio=5 tid=15 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a790 self=0xe2d7b900 | sysTid=30693 nice=-2 cgrp=default sched=0/0 handle=0xcb67f920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xcb583000-0xcb585000 stackSize=1014KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 000000000004701b /system/lib/libc.so (_ZL24__pthread_cond_timedwaitP23pthread_cond_internal_tP15pthread_mutex_tbPK8timespec+102)

#02 pc 000000000002a40b /system/lib/libhwui.so (???)

#03 pc 000000000002a381 /system/lib/libhwui.so (???)

#04 pc 000000000000e3e7 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+270)

#05 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#06 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#07 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"pool-1-thread-1"tid=17Waiting

“pool-1-thread-1” prio=5 tid=17 Waiting | group=“main” sCount=1 dsCount=0 obj=0x12c0a820 self=0xcfd9f900 | sysTid=30700 nice=0 cgrp=default sched=0/0 handle=0xc90ff920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=7 HZ=100 | stack=0xc8ffd000-0xc8fff000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x0e33c284> (a java.lang.Object)

at java.lang.Thread.parkFor$ (Thread.java:2128)

  • locked <0x0e33c284> (a java.lang.Object)

at sun.misc.Unsafe.park (Unsafe.java:325)

at java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)

at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2035)

at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:413)

at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1058)

at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1118)

at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)

at java.lang.Thread.run (Thread.java:762)

"background thread"tid=18Native

“background thread” prio=5 tid=18 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a8b0 self=0xcfda0800 | sysTid=30704 nice=0 cgrp=default sched=0/0 handle=0xc81be920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xc80bc000-0xc80be000 stackSize=1038KB | held mutexes=

#00 pc 0000000000048914 /system/lib/libc.so (__epoll_pwait+20)

#01 pc 000000000001a31d /system/lib/libc.so (epoll_pwait+60)

#02 pc 000000000001a34d /system/lib/libc.so (epoll_wait+12)

#03 pc 0000000000011d43 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)

#04 pc 0000000000011c3f /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26)

#05 pc 0000000000097aa1 /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)

#06 pc 000000000070a65d /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)

at android.os.MessageQueue.nativePollOnce (Native method)

at android.os.MessageQueue.next (MessageQueue.java:323)

at android.os.Looper.loop (Looper.java:136)

at android.os.HandlerThread.run (HandlerThread.java:61)

"Okio Watchdog"tid=19Waiting

“Okio Watchdog” daemon prio=5 tid=19 Waiting | group=“main” sCount=1 dsCount=0 obj=0x12c0a940 self=0xe2962100 | sysTid=30708 nice=0 cgrp=default sched=0/0 handle=0xcb580920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xcb47e000-0xcb480000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x07663a6d> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)

at com.android.okhttp.okio.AsyncTimeout.awaitTimeout (AsyncTimeout.java:311)

  • locked <0x07663a6d> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)

at com.android.okhttp.okio.AsyncTimeout.-wrap0 (AsyncTimeout.java)

at com.android.okhttp.okio.AsyncTimeout$Watchdog.run (AsyncTimeout.java:286)

"Binder:24317_3"tid=20Native

“Binder:24317_3” prio=5 tid=20 Native | group=“main” sCount=1 dsCount=0 obj=0x12c0a9d0 self=0xcfd9f400 | sysTid=30711 nice=0 cgrp=default sched=0/0 handle=0xcb47b920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=7 HZ=100 | stack=0xcb37f000-0xcb381000 stackSize=1014KB | held mutexes=

#00 pc 0000000000048a54 /system/lib/libc.so (__ioctl+8)

#01 pc 000000000001af6b /system/lib/libc.so (ioctl+38)

#02 pc 000000000003cd0d /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+204)

#03 pc 000000000003ce25 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8)

#04 pc 000000000003d3bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46)

#05 pc 000000000004fa75 /system/lib/libbinder.so (???)

#06 pc 000000000000e369 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+144)

#07 pc 000000000006afb5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)

#08 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#09 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"OkHttp ConnectionPool"tid=22TimedWaiting

“OkHttp ConnectionPool” daemon prio=5 tid=22 TimedWaiting | group=“main” sCount=1 dsCount=0 obj=0x12c0aa60 self=0xcb6bc500 | sysTid=30738 nice=0 cgrp=default sched=0/0 handle=0xcb0ff920 | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100 | stack=0xcaffd000-0xcafff000 stackSize=1038KB | held mutexes=

at java.lang.Object.wait! (Native method)

  • waiting on <0x09a246a2> (a com.android.okhttp.ConnectionPool)

at com.android.okhttp.ConnectionPool.performCleanup (ConnectionPool.java:319)

  • locked <0x09a246a2> (a com.android.okhttp.ConnectionPool)

at com.android.okhttp.ConnectionPool.runCleanupUntilPoolIsEmpty (ConnectionPool.java:256)

at com.android.okhttp.ConnectionPool.-wrap0 (ConnectionPool.java)

at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:102)

at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)

at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)

at java.lang.Thread.run (Thread.java:762)

“mali-mem-purge”

“mali-mem-purge” prio=5 (not attached) | sysTid=30682 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30683 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30684 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=6 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30685 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30686 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30687 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30688 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30689 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-utility-wo”

“mali-utility-wo” prio=5 (not attached) | sysTid=30690 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

“mali-cmar-backe”

“mali-cmar-backe” prio=5 (not attached) | sysTid=30691 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=7 HZ=100

“mali-hist-dump”

“mali-hist-dump” prio=5 (not attached) | sysTid=30692 nice=-4 cgrp=default | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=4 HZ=100

"Signal Catcher"tid=3Runnable

“Signal Catcher” daemon prio=5 tid=3 Runnable | group=“system” sCount=0 dsCount=0 obj=0x12c0a160 self=0xdcfb8d00 | sysTid=24326 nice=0 cgrp=default sched=0/0 handle=0xebca3920 | state=R schedstat=( 0 0 0 ) utm=1 stm=0 core=4 HZ=100 | stack=0xebba7000-0xebba9000 stackSize=1014KB | held mutexes= “mutator lock”(shared held)

#00 pc 0000000000351219 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)

#01 pc 000000000033172d /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+304)

#02 pc 0000000000343887 /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+622)

#03 pc 000000000033d611 /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+336)

#04 pc 000000000033d331 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+180)

#05 pc 000000000033d223 /system/lib/libart.so (_ZN3art10ThreadList14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+570)

#06 pc 0000000000322639 /system/lib/libart.so (_ZN3art7Runtime14DumpForSigQuitERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+228)

#07 pc 0000000000326fb1 /system/lib/libart.so (_ZN3art13SignalCatcher13HandleSigQuitEv+1460)

#08 pc 000000000032608d /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+352)

#09 pc 0000000000047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)

#10 pc 0000000000019f6d /system/lib/libc.so (__start_thread+6)

"HeapTaskDaemon"tid=7Blocked

“HeapTaskDaemon” daemon prio=5 tid=7 Blocked | group=“system” sCount=1 dsCount=0 obj=0x12c0a3a0 self=0xe53a1f00 | sysTid=24330 nice=0 cgrp=default sched=0/0 handle=0xeb895920 | state=S schedstat=( 0 0 0 ) utm=8 stm=0 core=4 HZ=100 | stack=0xeb793000-0xeb795000 stackSize=1038KB | held mutexes=

#00 pc 0000000000017520 /system/lib/libc.so (syscall+28)

#01 pc 00000000000b68a1 /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)

#02 pc 00000000001b5949 /system/lib/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+288)

#03 pc 00000000001b5fbd /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+44)

#04 pc 00000000001603df /system/framework/arm/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+74)

at dalvik.system.VMRuntime.runHeapTasks (Native method)

  • waiting to lock an unknown object

at java.lang.Daemons$HeapTaskDaemon.run (Daemons.java:433)

at java.lang.Thread.run (Thread.java:762)

 

Troy, what version of Corona did you use to build with?