Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when stopping hdmi #5

Open
MaartenStottelaar opened this issue Oct 5, 2017 · 4 comments
Open

App crashes when stopping hdmi #5

MaartenStottelaar opened this issue Oct 5, 2017 · 4 comments

Comments

@MaartenStottelaar
Copy link

In the code used for APK 1.6 it seems that the app hangs as soon as one tries to call mRealtekeHdmi.stopDisPlay(); (e.g. I added an onStop, to switch to another activity or settings without quitting hdmi completely). Is there a certain procedure to follow to suspend the hdmi input?

@you221121
Copy link

Hello! After running this project, we found that Intent batteryStatus = context.registerReceiver (null, intentFilter); batteryStatus =null; APP flashed back, did you encounter it?

@sagic
Copy link

sagic commented Jun 14, 2018

@MaartenStottelaar
any success with that?

@pbertsch
Copy link

pbertsch commented Jul 7, 2018

I encounter the same problem but only if I build the Demo myself. If I use the APK version 2.2 it works without a problem. @you221121 @MaartenStottelaar

07-07 15:49:37.972 20760-20773/com.example.zuishare_test A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: thread Thread[10,tid=20773,Native,Thread*=0xeac89800,peer=0x12c910a0,"Binder_2"] using JNIEnv* from thread Thread[10,tid=20773,Native,Thread*=0xeac89800,peer=0x12c910a0,"Binder_2"]
    art/runtime/java_vm_ext.cc:410]     in call to DeleteGlobalRef
    art/runtime/java_vm_ext.cc:410] "Binder_2" prio=5 tid=10 Runnable
    art/runtime/java_vm_ext.cc:410]   | group="main" sCount=0 dsCount=0 obj=0x12c910a0 self=0xeac89800
    art/runtime/java_vm_ext.cc:410]   | sysTid=20773 nice=0 cgrp=default sched=0/0 handle=0xe3a82930
07-07 15:49:37.973 20760-20773/com.example.zuishare_test A/art: art/runtime/java_vm_ext.cc:410]   | state=R schedstat=( 0 0 0 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/java_vm_ext.cc:410]   | stack=0xe3986000-0xe3988000 stackSize=1014KB
    art/runtime/java_vm_ext.cc:410]   | held mutexes= "mutator lock"(shared held)
    art/runtime/java_vm_ext.cc:410]   native: #00 pc 0035a55f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
    art/runtime/java_vm_ext.cc:410]   native: #01 pc 0033b0e7  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
    art/runtime/java_vm_ext.cc:410]   native: #02 pc 0024dfcb  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+750)
    art/runtime/java_vm_ext.cc:410]   native: #03 pc 0024e66f  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+54)
    art/runtime/java_vm_ext.cc:410]   native: #04 pc 000fbbfd  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+28)
    art/runtime/java_vm_ext.cc:410]   native: #05 pc 00100991  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+4780)
    art/runtime/java_vm_ext.cc:410]   native: #06 pc 00114389  /system/lib/libart.so (_ZN3art8CheckJNI9DeleteRefEPKcP7_JNIEnvP8_jobjectNS_15IndirectRefKindE+440)
    art/runtime/java_vm_ext.cc:410]   native: #07 pc 0000c4e5  /system/lib/librealtek_runtime.so (_ZN7android9RxHandlerD1Ev+36)
    art/runtime/java_vm_ext.cc:410]   native: #08 pc 0000c525  /system/lib/librealtek_runtime.so (_ZN7android9RxHandlerD0Ev+4)
    art/runtime/java_vm_ext.cc:410]   native: #09 pc 0000ebbb  /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+50)
    art/runtime/java_vm_ext.cc:410]   native: #10 pc 0001d8f5  /system/lib/libRtkIpc.so (???)
    art/runtime/java_vm_ext.cc:410]   native: #11 pc 0001d99d  /system/lib/libRtkIpc.so (???)
    art/runtime/java_vm_ext.cc:410]   native: #12 pc 0001d9f9  /system/lib/libRtkIpc.so (???)
    art/runtime/java_vm_ext.cc:410]   native: #13 pc 0000ebbb  /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+50)
    art/runtime/java_vm_ext.cc:410]   native: #14 pc 0001f16f  /system/lib/libbinder.so (_ZN7android14IPCThreadState20processPendingDerefsEv+82)
    art/runtime/java_vm_ext.cc:410]   native: #15 pc 0001fa9b  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+42)
    art/runtime/java_vm_ext.cc:410]   native: #16 pc 00024895  /system/lib/libbinder.so (???)
    art/runtime/java_vm_ext.cc:410]   native: #17 pc 000108a1  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
    art/runtime/java_vm_ext.cc:410]   native: #18 pc 0005dc6f  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
    art/runtime/java_vm_ext.cc:410]   native: #19 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/java_vm_ext.cc:410]   native: #20 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/java_vm_ext.cc:410]   (no managed stack frames)
    art/runtime/java_vm_ext.cc:410] 
07-07 15:49:38.292 20760-20773/com.example.zuishare_test A/art: art/runtime/runtime.cc:366] Runtime aborting...
    art/runtime/runtime.cc:366] Aborting thread:
07-07 15:49:38.293 20760-20773/com.example.zuishare_test A/art: art/runtime/runtime.cc:366] "Binder_2" prio=5 tid=10 Native
    art/runtime/runtime.cc:366]   | group="" sCount=0 dsCount=0 obj=0x12c910a0 self=0xeac89800
    art/runtime/runtime.cc:366]   | sysTid=20773 nice=0 cgrp=default sched=0/0 handle=0xe3a82930
    art/runtime/runtime.cc:366]   | state=R schedstat=( 0 0 0 ) utm=2 stm=2 core=3 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xe3986000-0xe3988000 stackSize=1014KB
    art/runtime/runtime.cc:366]   | held mutexes= "abort lock"
    art/runtime/runtime.cc:366]   native: #00 pc 0035a55f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
    art/runtime/runtime.cc:366]   native: #01 pc 0033b0e7  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
    art/runtime/runtime.cc:366]   native: #02 pc 0031f455  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+20)
    art/runtime/runtime.cc:366]   native: #03 pc 0031f6d1  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+540)
    art/runtime/runtime.cc:366]   native: #04 pc 000f3969  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2092)
    art/runtime/runtime.cc:366]   native: #05 pc 0024e2d5  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1528)
    art/runtime/runtime.cc:366]   native: #06 pc 0024e66f  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+54)
    art/runtime/runtime.cc:366]   native: #07 pc 000fbbfd  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+28)
    art/runtime/runtime.cc:366]   native: #08 pc 00100991  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+4780)
    art/runtime/runtime.cc:366]   native: #09 pc 00114389  /system/lib/libart.so (_ZN3art8CheckJNI9DeleteRefEPKcP7_JNIEnvP8_jobjectNS_15IndirectRefKindE+440)
    art/runtime/runtime.cc:366]   native: #10 pc 0000c4e5  /system/lib/librealtek_runtime.so (_ZN7android9RxHandlerD1Ev+36)
    art/runtime/runtime.cc:366]   native: #11 pc 0000c525  /system/lib/librealtek_runtime.so (_ZN7android9RxHandlerD0Ev+4)
    art/runtime/runtime.cc:366]   native: #12 pc 0000ebbb  /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+50)
    art/runtime/runtime.cc:366]   native: #13 pc 0001d8f5  /system/lib/libRtkIpc.so (???)
    art/runtime/runtime.cc:366]   native: #14 pc 0001d99d  /system/lib/libRtkIpc.so (???)
    art/runtime/runtime.cc:366]   native: #15 pc 0001d9f9  /system/lib/libRtkIpc.so (???)
    art/runtime/runtime.cc:366]   native: #16 pc 0000ebbb  /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+50)
    art/runtime/runtime.cc:366]   native: #17 pc 0001f16f  /system/lib/libbinder.so (_ZN7android14IPCThreadState20processPendingDerefsEv+82)
    art/runtime/runtime.cc:366]   native: #18 pc 0001fa9b  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+42)
    art/runtime/runtime.cc:366]   native: #19 pc 00024895  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:366]   native: #20 pc 000108a1  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
    art/runtime/runtime.cc:366]   native: #21 pc 0005dc6f  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
    art/runtime/runtime.cc:366]   native: #22 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #23 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] Dumping all threads without appropriate locks held: thread list lock mutator lock
    art/runtime/runtime.cc:366] All threads:
    art/runtime/runtime.cc:366] DALVIK THREADS (12):
    art/runtime/runtime.cc:366] "Binder_2" prio=5 tid=10 Runnable
    art/runtime/runtime.cc:366]   | group="" sCount=0 dsCount=0 obj=0x12c910a0 self=0xeac89800
    art/runtime/runtime.cc:366]   | sysTid=20773 nice=0 cgrp=default sched=0/0 handle=0xe3a82930
    art/runtime/runtime.cc:366]   | state=R schedstat=( 0 0 0 ) utm=5 stm=3 core=3 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xe3986000-0xe3988000 stackSize=1014KB
    art/runtime/runtime.cc:366]   | held mutexes= "abort lock" "mutator lock"(shared held)
    art/runtime/runtime.cc:366]   native: #00 pc 0035a55f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
    art/runtime/runtime.cc:366]   native: #01 pc 0033b0e7  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
    art/runtime/runtime.cc:366]   native: #02 pc 00344a4d  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+424)
    art/runtime/runtime.cc:366]   native: #03 pc 003455b1  /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+200)
    art/runtime/runtime.cc:366]   native: #04 pc 00345ab5  /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+124)
    art/runtime/runtime.cc:366]   native: #05 pc 0031f645  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+400)
    art/runtime/runtime.cc:366]   native: #06 pc 000f3969  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2092)
    art/runtime/runtime.cc:366]   native: #07 pc 0024e2d5  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1528)
    art/runtime/runtime.cc:366]   native: #08 pc 0024e66f  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+54)
    art/runtime/runtime.cc:366]   native: #09 pc 000fbbfd  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+28)
    art/runtime/runtime.cc:366]   native: #10 pc 00100991  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+4780)
    art/runtime/runtime.cc:366]   native: #11 pc 00114389  /system/lib/libart.so (_ZN3art8CheckJNI9DeleteRefEPKcP7_JNIEnvP8_jobjectNS_15IndirectRefKindE+440)
    art/runtime/runtime.cc:366]   native: #12 pc 0000c4e5  /system/lib/librealtek_runtime.so (_ZN7android9RxHandlerD1Ev+36)
    art/runtime/runtime.cc:366]   native: #13 pc 0000c525  /system/lib/librealtek_runtime.so (_ZN7android9RxHandlerD0Ev+4)
    art/runtime/runtime.cc:366]   native: #14 pc 0000ebbb  /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+50)
    art/runtime/runtime.cc:366]   native: #15 pc 0001d8f5  /system/lib/libRtkIpc.so (???)
    art/runtime/runtime.cc:366]   native: #16 pc 0001d99d  /system/lib/libRtkIpc.so (???)
    art/runtime/runtime.cc:366]   native: #17 pc 0001d9f9  /system/lib/libRtkIpc.so (???)
    art/runtime/runtime.cc:366]   native: #18 pc 0000ebbb  /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+50)
    art/runtime/runtime.cc:366]   native: #19 pc 0001f16f  /system/lib/libbinder.so (_ZN7android14IPCThreadState20processPendingDerefsEv+82)
    art/runtime/runtime.cc:366]   native: #20 pc 0001fa9b  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+42)
    art/runtime/runtime.cc:366]   native: #21 pc 00024895  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:366]   native: #22 pc 000108a1  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
    art/runtime/runtime.cc:366]   native: #23 pc 0005dc6f  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
    art/runtime/runtime.cc:366]   native: #24 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #25 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "main" prio=5 tid=1 Native
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x74dfcf98 self=0xf5036500
    art/runtime/runtime.cc:366]   | sysTid=20760 nice=0 cgrp=default sched=0/0 handle=0xf72a2b34
07-07 15:49:38.294 20760-20773/com.example.zuishare_test A/art: art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=60 stm=20 core=2 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xff181000-0xff183000 stackSize=8MB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: SyS_epoll_wait+0x3b4/0x4ac
    art/runtime/runtime.cc:366]   kernel: compat_SyS_epoll_pwait+0x140/0x148
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00040e08  /system/lib/libc.so (__epoll_pwait+20)
    art/runtime/runtime.cc:366]   native: #01 pc 0001a3ef  /system/lib/libc.so (epoll_pwait+26)
    art/runtime/runtime.cc:366]   native: #02 pc 0001a3fd  /system/lib/libc.so (epoll_wait+6)
    art/runtime/runtime.cc:366]   native: #03 pc 00013483  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+102)
    art/runtime/runtime.cc:366]   native: #04 pc 00013703  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+130)
    art/runtime/runtime.cc:366]   native: #05 pc 00080b25  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
    art/runtime/runtime.cc:366]   native: #06 pc 0000056d  /data/dalvik-cache/arm/system@[email protected] (Java_android_os_MessageQueue_nativePollOnce__JI+96)
    art/runtime/runtime.cc:366]   at android.os.MessageQueue.nativePollOnce(Native method)
    art/runtime/runtime.cc:366]   at android.os.MessageQueue.next(MessageQueue.java:323)
    art/runtime/runtime.cc:366]   at android.os.Looper.loop(Looper.java:135)
    art/runtime/runtime.cc:366]   at android.app.ActivityThread.main(ActivityThread.java:5453)
    art/runtime/runtime.cc:366]   at java.lang.reflect.Method.invoke!(Native method)
    art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "Jit thread pool worker thread 0" prio=5 tid=2 Native (still starting up)
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x0 self=0xeac87000
    art/runtime/runtime.cc:366]   | sysTid=20765 nice=0 cgrp=default sched=0/0 handle=0xf4100930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xf4003000-0xf4005000 stackSize=1018KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xe4/0x170
    art/runtime/runtime.cc:366]   kernel: futex_wait+0xf0/0x240
    art/runtime/runtime.cc:366]   kernel: do_futex+0x1a8/0x9c8
    art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0x98/0x160
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00017758  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:366]   native: #01 pc 000f5ced  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
    art/runtime/runtime.cc:366]   native: #02 pc 00347749  /system/lib/libart.so (_ZN3art16ThreadPoolWorker3RunEv+96)
    art/runtime/runtime.cc:366]   native: #03 pc 00347e21  /system/lib/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+52)
    art/runtime/runtime.cc:366]   native: #04 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #05 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "Signal Catcher" prio=5 tid=3 WaitingInMainSignalCatcherLoop
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c840a0 self=0xed1ae600
    art/runtime/runtime.cc:366]   | sysTid=20766 nice=0 cgrp=default sched=0/0 handle=0xf4000930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xf3f04000-0xf3f06000 stackSize=1014KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: do_sigtimedwait+0x164/0x204
    art/runtime/runtime.cc:366]   kernel: compat_SyS_rt_sigtimedwait+0x98/0xfc
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 000410dc  /system/lib/libc.so (__rt_sigtimedwait+12)
    art/runtime/runtime.cc:366]   native: #01 pc 0001cee7  /system/lib/libc.so (sigwait+22)
    art/runtime/runtime.cc:366]   native: #02 pc 00325fef  /system/lib/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+62)
    art/runtime/runtime.cc:366]   native: #03 pc 003270bf  /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+202)
    art/runtime/runtime.cc:366]   native: #04 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #05 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "JDWP" prio=5 tid=4 WaitingInMainDebuggerLoop
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c870a0 self=0xeac88400
    art/runtime/runtime.cc:366]   | sysTid=20767 nice=0 cgrp=default sched=0/0 handle=0xf3f01930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xf3e05000-0xf3e07000 stackSize=1014KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: poll_schedule_timeout+0x54/0x84
    art/runtime/runtime.cc:366]   kernel: do_select+0x538/0x5d8
    art/runtime/runtime.cc:366]   kernel: compat_core_sys_select+0x198/0x228
    art/runtime/runtime.cc:366]   kernel: compat_SyS_pselect6+0x264/0x284
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
07-07 15:49:38.295 20760-20773/com.example.zuishare_test A/art: art/runtime/runtime.cc:366]   native: #00 pc 00040ff8  /system/lib/libc.so (__pselect6+20)
    art/runtime/runtime.cc:366]   native: #01 pc 0001c235  /system/lib/libc.so (select+60)
    art/runtime/runtime.cc:366]   native: #02 pc 003e74a3  /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+206)
    art/runtime/runtime.cc:366]   native: #03 pc 00259b7b  /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+298)
    art/runtime/runtime.cc:366]   native: #04 pc 0025a9e7  /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+10)
    art/runtime/runtime.cc:366]   native: #05 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #06 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "ReferenceQueueDaemon" prio=5 tid=5 Waiting
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c7fac0 self=0xed1ad700
    art/runtime/runtime.cc:366]   | sysTid=20768 nice=0 cgrp=default sched=0/0 handle=0xf3e02930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xf3d00000-0xf3d02000 stackSize=1038KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xe4/0x170
    art/runtime/runtime.cc:366]   kernel: futex_wait+0xf0/0x240
    art/runtime/runtime.cc:366]   kernel: do_futex+0x1a8/0x9c8
    art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0x98/0x160
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00017758  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:366]   native: #01 pc 000f5ced  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
    art/runtime/runtime.cc:366]   native: #02 pc 002ae657  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1114)
    art/runtime/runtime.cc:366]   native: #03 pc 002af313  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
    art/runtime/runtime.cc:366]   native: #04 pc 002c0175  /system/lib/libart.so (_ZN3artL11Object_waitEP7_JNIEnvP8_jobject+32)
    art/runtime/runtime.cc:366]   native: #05 pc 0000037f  /data/dalvik-cache/arm/system@[email protected] (Java_java_lang_Object_wait__+74)
    art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:366]   - waiting on <0x0086b49b> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    art/runtime/runtime.cc:366]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:147)
    art/runtime/runtime.cc:366]   - locked <0x0086b49b> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "FinalizerDaemon" prio=5 tid=6 Waiting
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c7fb20 self=0xed1adc00
    art/runtime/runtime.cc:366]   | sysTid=20769 nice=0 cgrp=default sched=0/0 handle=0xefb11930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xefa0f000-0xefa11000 stackSize=1038KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xe4/0x170
    art/runtime/runtime.cc:366]   kernel: futex_wait+0xf0/0x240
    art/runtime/runtime.cc:366]   kernel: do_futex+0x1a8/0x9c8
    art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0x98/0x160
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00017758  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:366]   native: #01 pc 000f5ced  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
    art/runtime/runtime.cc:366]   native: #02 pc 002ae657  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1114)
    art/runtime/runtime.cc:366]   native: #03 pc 002af313  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
    art/runtime/runtime.cc:366]   native: #04 pc 002c01a1  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+36)
    art/runtime/runtime.cc:366]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@[email protected] (Java_java_lang_Object_wait__JI+96)
    art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:366]   - waiting on <0x0f445038> (a java.lang.ref.ReferenceQueue)
    art/runtime/runtime.cc:366]   at java.lang.Object.wait(Object.java:423)
    art/runtime/runtime.cc:366]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
    art/runtime/runtime.cc:366]   - locked <0x0f445038> (a java.lang.ref.ReferenceQueue)
    art/runtime/runtime.cc:366]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
    art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
    art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "FinalizerWatchdogDaemon" prio=5 tid=7 Waiting
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c7fb80 self=0xed1ae100
    art/runtime/runtime.cc:366]   | sysTid=20770 nice=0 cgrp=default sched=0/0 handle=0xef8bf930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xef7bd000-0xef7bf000 stackSize=1038KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xe4/0x170
    art/runtime/runtime.cc:366]   kernel: futex_wait+0xf0/0x240
07-07 15:49:38.296 20760-20773/com.example.zuishare_test A/art: art/runtime/runtime.cc:366]   kernel: do_futex+0x1a8/0x9c8
07-07 15:49:38.296 20760-20773/? A/art: art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0x98/0x160
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00017758  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:366]   native: #01 pc 000f5ced  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
    art/runtime/runtime.cc:366]   native: #02 pc 002ae657  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1114)
    art/runtime/runtime.cc:366]   native: #03 pc 002af313  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
    art/runtime/runtime.cc:366]   native: #04 pc 002c0175  /system/lib/libart.so (_ZN3artL11Object_waitEP7_JNIEnvP8_jobject+32)
    art/runtime/runtime.cc:366]   native: #05 pc 0000037f  /data/dalvik-cache/arm/system@[email protected] (Java_java_lang_Object_wait__+74)
    art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:366]   - waiting on <0x03d76811> (a java.lang.Daemons$FinalizerWatchdogDaemon)
    art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:255)
    art/runtime/runtime.cc:366]   - locked <0x03d76811> (a java.lang.Daemons$FinalizerWatchdogDaemon)
    art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:227)
    art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "HeapTaskDaemon" prio=5 tid=8 Blocked
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c7fbe0 self=0xed1afa00
    art/runtime/runtime.cc:366]   | sysTid=20771 nice=0 cgrp=default sched=0/0 handle=0xef7ba930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xef6b8000-0xef6ba000 stackSize=1038KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: futex_wait_queue_me+0xe4/0x170
    art/runtime/runtime.cc:366]   kernel: futex_wait+0xf0/0x240
    art/runtime/runtime.cc:366]   kernel: do_futex+0x1a8/0x9c8
    art/runtime/runtime.cc:366]   kernel: compat_SyS_futex+0x98/0x160
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00017758  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:366]   native: #01 pc 000f5ced  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
    art/runtime/runtime.cc:366]   native: #02 pc 001ccf4f  /system/lib/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+102)
    art/runtime/runtime.cc:366]   native: #03 pc 001cd423  /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+26)
    art/runtime/runtime.cc:366]   native: #04 pc 0000037f  /data/dalvik-cache/arm/system@[email protected] (Java_dalvik_system_VMRuntime_runHeapTasks__+74)
    art/runtime/runtime.cc:366]   at dalvik.system.VMRuntime.runHeapTasks(Native method)
    art/runtime/runtime.cc:366]   - waiting to lock an unknown object
    art/runtime/runtime.cc:366]   at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:355)
    art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "Binder_1" prio=5 tid=9 Native
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12c8e0a0 self=0xed1b1d00
    art/runtime/runtime.cc:366]   | sysTid=20772 nice=0 cgrp=default sched=0/0 handle=0xe3b81930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xe3a85000-0xe3a87000 stackSize=1014KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: binder_thread_read+0xa1c/0x1070
    art/runtime/runtime.cc:366]   kernel: binder_ioctl+0x774/0x8e0
    art/runtime/runtime.cc:366]   kernel: compat_SyS_ioctl+0xbc/0x100c
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00040f30  /system/lib/libc.so (__ioctl+8)
    art/runtime/runtime.cc:366]   native: #01 pc 00047b31  /system/lib/libc.so (ioctl+14)
    art/runtime/runtime.cc:366]   native: #02 pc 0001f515  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132)
    art/runtime/runtime.cc:366]   native: #03 pc 0001fa03  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+6)
    art/runtime/runtime.cc:366]   native: #04 pc 0001faa1  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48)
    art/runtime/runtime.cc:366]   native: #05 pc 00024895  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:366]   native: #06 pc 000108a1  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
    art/runtime/runtime.cc:366]   native: #07 pc 0005dc6f  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
    art/runtime/runtime.cc:366]   native: #08 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #09 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "RenderThread" prio=5 tid=11 Native
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12d380a0 self=0xf5036f00
    art/runtime/runtime.cc:366]   | sysTid=20774 nice=-4 cgrp=default sched=0/0 handle=0xe3485930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=21 stm=6 core=1 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xe3389000-0xe338b000 stackSize=1014KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: SyS_epoll_wait+0x3b4/0x4ac
    art/runtime/runtime.cc:366]   kernel: compat_SyS_epoll_pwait+0x140/0x148
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00040e08  /system/lib/libc.so (__epoll_pwait+20)
    art/runtime/runtime.cc:366]   native: #01 pc 0001a3ef  /system/lib/libc.so (epoll_pwait+26)
07-07 15:49:38.297 20760-20773/? A/art: art/runtime/runtime.cc:366]   native: #02 pc 0001a3fd  /system/lib/libc.so (epoll_wait+6)
    art/runtime/runtime.cc:366]   native: #03 pc 00013483  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+102)
    art/runtime/runtime.cc:366]   native: #04 pc 00013703  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+130)
    art/runtime/runtime.cc:366]   native: #05 pc 0001e7c5  /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+44)
    art/runtime/runtime.cc:366]   native: #06 pc 000108a1  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
    art/runtime/runtime.cc:366]   native: #07 pc 0005dc6f  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
    art/runtime/runtime.cc:366]   native: #08 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #09 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] "Binder_3" prio=5 tid=12 Native
    art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12d430a0 self=0xeac8ac00
    art/runtime/runtime.cc:366]   | sysTid=20783 nice=0 cgrp=default sched=0/0 handle=0xe0abf930
    art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
    art/runtime/runtime.cc:366]   | stack=0xe09c3000-0xe09c5000 stackSize=1014KB
    art/runtime/runtime.cc:366]   | held mutexes=
    art/runtime/runtime.cc:366]   kernel: __switch_to+0x90/0xa8
    art/runtime/runtime.cc:366]   kernel: binder_thread_read+0xa1c/0x1070
    art/runtime/runtime.cc:366]   kernel: binder_ioctl+0x774/0x8e0
    art/runtime/runtime.cc:366]   kernel: compat_SyS_ioctl+0xbc/0x100c
    art/runtime/runtime.cc:366]   kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:366]   native: #00 pc 00040f30  /system/lib/libc.so (__ioctl+8)
    art/runtime/runtime.cc:366]   native: #01 pc 00047b31  /system/lib/libc.so (ioctl+14)
    art/runtime/runtime.cc:366]   native: #02 pc 0001f515  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132)
    art/runtime/runtime.cc:366]   native: #03 pc 0001fa03  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+6)
    art/runtime/runtime.cc:366]   native: #04 pc 0001faa1  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48)
    art/runtime/runtime.cc:366]   native: #05 pc 00024895  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:366]   native: #06 pc 000108a1  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
    art/runtime/runtime.cc:366]   native: #07 pc 0005dc6f  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
    art/runtime/runtime.cc:366]   native: #08 pc 0003f9d3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
    art/runtime/runtime.cc:366]   native: #09 pc 0001a0c5  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:366]   (no managed stack frames)
    art/runtime/runtime.cc:366] 
    art/runtime/runtime.cc:366] 
    
    --------- beginning of crash
07-07 15:49:38.297 20760-20773/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 20773 (Binder_2)

@hemantuno
Copy link

App run in release mode to resolve your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants