1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question App crashed and closed if do nothing for about 1hour and 30minutes (all times)

Discussion in 'Android Questions' started by pmt, Jun 28, 2019.

  1. pmt

    pmt Member Licensed User

    Hi everyone,

    I am trying to create some wrapper lib from Third-Party SDK and use with my B4A App.

    It 's working well but if I didn't use my app (stay open) for a long time about 1 hour + 30 minutes my b4a app crashed and closed.

    I tested many times ,all times about 1 hour+30 minutes if I didn't use my app , it crashed and closed.

    After tested many times I found this is a function from wrapper lib make my app crashed.

    Code:
    mCardReadManager.searchCard(cardType, timeout, cardTypepa, new OnSearchCardListener {
                @Override
                 
    public void onCardInfo(CardInfoEntity cardInfoEntity) {

                    
    if (cardInfoEntity != null) {
                        
    String s1 = "test";

                        ba.raiseEventFromDifferentThread(this, 
    null0,
                                eventName + 
    "_complete"true,
                                new Object[] { s1 
    });
                
                    }
                    
                }

                @Override
                public void onError(int i) {
                }

                
            });
    I try to change code at: ba.raiseEventFromDifferentThread to ba.raiseEvent.

    The result is my b4a app didn't crash anymore but the "_complete" event didn't trigger.

    Has anyone ever encountered similar problems like this? Are there solutions to fix ?

    Best Regards,
    PMT
     
  2. DonManfred

    DonManfred Expert Licensed User

    Good idea to hide the full error. It could be of help otherwise.
     
    Shelby likes this.
  3. pmt

    pmt Member Licensed User

    Sorry, this is crash log.

    Code:
    --------- beginning of main
    art/runtime/indirect_reference_table.cc:
    98] JNI ERROR (app bug): global reference table overflow (max=51200)
    art/runtime/indirect_reference_table.cc:
    98] global reference table dump:
    art/runtime/indirect_reference_table.cc:
    98]   Last 10 entries (of 51200):
    art/runtime/indirect_reference_table.cc:
    98]     511990x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511980x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511970x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511960x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511950x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511940x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511930x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511920x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511910x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]     511900x12c20800 java.lang.Class<com.zcs.base.SmartPosJni>
    art/runtime/indirect_reference_table.cc:
    98]   Summary:
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.view.WindowManagerGlobal$1
    art/runtime/indirect_reference_table.cc:
    98]         2 of java.lang.String (2 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of dalvik.system.VMRuntime
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.os.Binder
    art/runtime/indirect_reference_table.cc:
    98]         2 of android.opengl.EGLSurface (2 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of dalvik.system.PathClassLoader
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.app.ActivityThread$ApplicationThread
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.view.Choreographer$FrameDisplayEventReceiver
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.hardware.display.DisplayManagerGlobal$DisplayManagerCallback
    art/runtime/indirect_reference_table.cc:
    98]         2 of java.lang.ThreadGroup (2 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.view.inputmethod.InputMethodManager$1
    art/runtime/indirect_reference_table.cc:
    98]     51141 of java.lang.Class (174 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         2 of android.opengl.EGLDisplay (2 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.view.accessibility.AccessibilityManager$1
    art/runtime/indirect_reference_table.cc:
    98]        18 of java.lang.ref.WeakReference (18 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.view.ViewRootImpl$W
    art/runtime/indirect_reference_table.cc:
    98]         2 of byte[] (100 elements) (2 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of byte[] (3600 elements)
    art/runtime/indirect_reference_table.cc:
    98]         3 of byte[] (4096 elements) (3 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         2 of byte[] (9216 elements) (2 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         4 of byte[] (11264 elements) (4 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         5 of byte[] (13312 elements) (5 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of byte[] (32768 elements)
    art/runtime/indirect_reference_table.cc:
    98]         1 of byte[] (96064 elements)
    art/runtime/indirect_reference_table.cc:
    98]         2 of android.opengl.EGLContext (2 unique instances)
    art/runtime/indirect_reference_table.cc:
    98]         1 of android.app.LoadedApk$ReceiverDispatcher$InnerReceiver
    art/runtime/indirect_reference_table.cc:
    98]
    art/runtime/runtime.cc:
    290] Runtime aborting...
    art/runtime/runtime.cc:
    290] Aborting thread:
    art/runtime/runtime.cc:
    290"pool-1-thread-1" prio=5 tid=18 Runnable
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12ddb220 self=0xb7f0b3d0
    art/runtime/runtime.cc:
    290]   | sysTid=10409 nice=0 cgrp=default sched=0/0 handle=0xb7fc1af8
    art/runtime/runtime.cc:
    290]   | state=R schedstat=( 46884734862 6183634289 264946 ) utm=1895 stm=2793 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa56c5000-0xa56c7000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes= "abort lock" "JNI global reference table lock"(exclusive held) "mutator lock"(shared held)
    art/runtime/runtime.cc:
    290]   native: #00 pc 000047c0  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
    art/runtime/runtime.cc:
    290]   native: #01 pc 00002fc1  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
    art/runtime/runtime.cc:
    290]   native: #02 pc 002411c9  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
    art/runtime/runtime.cc:
    290]   native: #03 pc 00225591  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+148)
    art/runtime/runtime.cc:
    290]   native: #04 pc 002157a7  /system/lib/libart.so (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*)+22)
    art/runtime/runtime.cc:
    290]   native: #05 pc 002159e5  /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+324)
    art/runtime/runtime.cc:
    290]   native: #06 pc 00215bd1  /system/lib/libart.so (art::Runtime::Abort()+72)
    art/runtime/runtime.cc:
    290]   native: #07 pc 000a6285  /system/lib/libart.so (art::LogMessage::~LogMessage()+1312)
    art/runtime/runtime.cc:
    290]   native: #08 pc 00156639  /system/lib/libart.so (art::IndirectReferenceTable::Add(unsigned int, art::mirror::Object*)+232)
    art/runtime/runtime.cc:
    290]   native: #09 pc 001ac1ef  /system/lib/libart.so (art::JNI::NewGlobalRef(_JNIEnv*, _jobject*)+286)
    art/runtime/runtime.cc:
    290]   native: #10 pc 00005da3  /data/app/pmt.app.mytest-1/lib/arm/libSmartPosJni.so (GetCallBackHandler+50)
    art/runtime/runtime.cc:
    290]   native: #11 pc 00007a4d  /data/app/pmt.app.mytest-1/lib/arm/libSmartPosJni.so (Java_com_zcs_base_SmartPosJni_sdkMagIfBrush+4)
    art/runtime/runtime.cc:
    290]   native: #12 pc 000839df  /data/dalvik-cache/arm/data@app@pmt.app.mytest-1@base.apk@classes.dex (Java_com_zcs_base_SmartPosJni_sdkMagIfBrush__+82)
    art/runtime/runtime.cc:
    290]   at com.zcs.base.SmartPosJni.sdkMagIfBrush(Native method)
    art/runtime/runtime.cc:
    290]   at com.zcs.sdk.card.MagCard.IsMagBrush(MagCard.java:57)
    art/runtime/runtime.cc:
    290]   at com.zcs.sdk.card.CardReaderManager$1.run(CardReaderManager.java:126)
    art/runtime/runtime.cc:
    290]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    art/runtime/runtime.cc:
    290]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290] Dumping all threads without appropriate locks held: thread list lock
    art/runtime/runtime.cc:
    290] All threads:
    art/runtime/runtime.cc:
    290] DALVIK THREADS (18):
    art/runtime/runtime.cc:
    290"main" prio=5 tid=1 Native
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x747b4f50 self=0xb7c62fa8
    art/runtime/runtime.cc:
    290]   | sysTid=10385 nice=0 cgrp=default sched=0/0 handle=0xb6fcbbec
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 8149524404 1082401371 8691 ) utm=732 stm=82 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xbe385000-0xbe387000 stackSize=8MB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10385/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 00039df0  /system/lib/libc.so (__epoll_pwait+20)
    art/runtime/runtime.cc:
    290]   native: #01 pc 0001147b  /system/lib/libc.so (epoll_pwait+26)
    art/runtime/runtime.cc:
    290]   native: #02 pc 00011489  /system/lib/libc.so (epoll_wait+6)
    art/runtime/runtime.cc:
    290]   native: #03 pc 00010d9f  /system/lib/libutils.so (android::Looper::pollInner(int)+98)
    art/runtime/runtime.cc:
    290]   native: #04 pc 00010fc9  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
    art/runtime/runtime.cc:
    290]   native: #05 pc 0007e119  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
    art/runtime/runtime.cc:
    290]   native: #06 pc 000b3853  /data/dalvik-cache/arm/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+102)
    art/runtime/runtime.cc:
    290]   at android.os.MessageQueue.nativePollOnce(Native method)
    art/runtime/runtime.cc:
    290]   at android.os.MessageQueue.next(MessageQueue.java:143)
    art/runtime/runtime.cc:
    290]   at android.os.Looper.loop(Looper.java:122)
    art/runtime/runtime.cc:
    290]   at android.app.ActivityThread.main(ActivityThread.java:5254)
    art/runtime/runtime.cc:
    290]   at java.lang.reflect.Method.invoke!(Native method)
    art/runtime/runtime.cc:
    290]   at java.lang.reflect.Method.invoke(Method.java:372)
    art/runtime/runtime.cc:
    290]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
    art/runtime/runtime.cc:
    290]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Heap thread pool worker thread 0" prio=5 tid=2 Native (still starting up)
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x0 self=0xb7d48d40
    art/runtime/runtime.cc:
    290]   | sysTid=10390 nice=0 cgrp=default sched=0/0 handle=0xb7db67c8
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 9223905 12673751 44 ) utm=0 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xb4b3c000-0xb4b3e000 stackSize=1020KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10390/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0022f877  /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+50)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0022f81f  /system/lib/libart.so (art::ThreadPoolWorker::Run()+54)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0023005d  /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+52)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #06 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Heap thread pool worker thread 1" prio=5 tid=3 Native (still starting up)
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x0 self=0xb7db3398
    art/runtime/runtime.cc:
    290]   | sysTid=10392 nice=0 cgrp=default sched=0/0 handle=0xb7c6a808
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 17370881 6059220 43 ) utm=1 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xb4a3c000-0xb4a3e000 stackSize=1020KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10392/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0022f877  /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+50)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0022f81f  /system/lib/libart.so (art::ThreadPoolWorker::Run()+54)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0023005d  /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+52)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #06 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Heap thread pool worker thread 2" prio=5 tid=4 Native (still starting up)
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x0 self=0xb7c59220
    art/runtime/runtime.cc:
    290]   | sysTid=10393 nice=0 cgrp=default sched=0/0 handle=0xb7db7fa8
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 8305109 11578539 47 ) utm=0 stm=0 core=2 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xb4938000-0xb493a000 stackSize=1020KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10393/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0022f877  /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+50)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0022f81f  /system/lib/libart.so (art::ThreadPoolWorker::Run()+54)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0023005d  /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+52)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #06 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Signal Catcher" prio=5 tid=5 WaitingInMainSignalCatcherLoop
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c000a0 self=0xb7dbe4c8
    art/runtime/runtime.cc:
    290]   | sysTid=10394 nice=0 cgrp=default sched=0/0 handle=0xb7c6ac38
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 1157291 736407 1 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xb4832000-0xb4834000 stackSize=1012KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10394/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 00038f74  /system/lib/libc.so (__rt_sigtimedwait+12)
    art/runtime/runtime.cc:
    290]   native: #01 pc 00014a45  /system/lib/libc.so (sigwait+24)
    art/runtime/runtime.cc:
    290]   native: #02 pc 00218f9b  /system/lib/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+66)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0021aa5f  /system/lib/libart.so (art::SignalCatcher::Run(void*)+194)
    art/runtime/runtime.cc:
    290]   native: #04 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"ReferenceQueueDaemon" prio=5 tid=6 Waiting
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c070a0 self=0xb7db7758
    art/runtime/runtime.cc:
    290]   | sysTid=10395 nice=0 cgrp=default sched=0/0 handle=0xb7c6a1c0
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 2286478206 349309380 19840 ) utm=69 stm=159 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xb472a000-0xb472c000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10395/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 001e7f9d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+956)
    art/runtime/runtime.cc:
    290]   native: #03 pc 001e93b1  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
    art/runtime/runtime.cc:
    290]   native: #04 pc 001f5f05  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+82)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:
    290]   - waiting on <0x16566c2e> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    art/runtime/runtime.cc:
    290]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:134)
    art/runtime/runtime.cc:
    290]   - locked <0x16566c2e> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"FinalizerDaemon" prio=5 tid=7 Waiting
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c07100 self=0xb7c69438
    art/runtime/runtime.cc:
    290]   | sysTid=10396 nice=0 cgrp=default sched=0/0 handle=0xb7c69810
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 3500173016 273192520 8858 ) utm=180 stm=170 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xb4622000-0xb4624000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10396/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 001e7f9d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+956)
    art/runtime/runtime.cc:
    290]   native: #03 pc 001e93b1  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
    art/runtime/runtime.cc:
    290]   native: #04 pc 001f5edd  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+36)
    art/runtime/runtime.cc:
    290]   native: #05 pc 0000060b  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+102)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:
    290]   - waiting on <0x315643cf> (a java.lang.ref.ReferenceQueue)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait(Object.java:422)
    art/runtime/runtime.cc:
    290]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
    art/runtime/runtime.cc:
    290]   - locked <0x315643cf> (a java.lang.ref.ReferenceQueue)
    art/runtime/runtime.cc:
    290]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
    art/runtime/runtime.cc:
    290]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:174)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"FinalizerWatchdogDaemon" prio=5 tid=8 Waiting
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c07160 self=0xb7c69ae0
    art/runtime/runtime.cc:
    290]   | sysTid=10397 nice=0 cgrp=default sched=0/0 handle=0xb7c67dd0
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 4591301 3688748 36 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xb07b3000-0xb07b5000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10397/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 001e7f9d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+956)
    art/runtime/runtime.cc:
    290]   native: #03 pc 001e93b1  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
    art/runtime/runtime.cc:
    290]   native: #04 pc 001f5f05  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+82)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:
    290]   - waiting on <0x0b7e215c> (a java.lang.Daemons$FinalizerWatchdogDaemon)
    art/runtime/runtime.cc:
    290]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:240)
    art/runtime/runtime.cc:
    290]   - locked <0x0b7e215c> (a java.lang.Daemons$FinalizerWatchdogDaemon)
    art/runtime/runtime.cc:
    290]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:212)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"HeapTrimmerDaemon" prio=5 tid=9 Waiting
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c071c0 self=0xb7c68170
    art/runtime/runtime.cc:
    290]   | sysTid=10398 nice=0 cgrp=default sched=0/0 handle=0xb7dc16f0
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 111542136 13155102 47 ) utm=1 stm=10 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa6398000-0xa639a000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10398/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 001e7f9d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+956)
    art/runtime/runtime.cc:
    290]   native: #03 pc 001e93b1  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
    art/runtime/runtime.cc:
    290]   native: #04 pc 001f5f05  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+82)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:
    290]   - waiting on <0x3c066c65> (a java.lang.Daemons$HeapTrimmerDaemon)
    art/runtime/runtime.cc:
    290]   at java.lang.Daemons$HeapTrimmerDaemon.run(Daemons.java:311)
    art/runtime/runtime.cc:
    290]   - locked <0x3c066c65> (a java.lang.Daemons$HeapTrimmerDaemon)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"GCDaemon" prio=5 tid=10 Waiting
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c07220 self=0xb7dc1938
    art/runtime/runtime.cc:
    290]   | sysTid=10399 nice=0 cgrp=default sched=0/0 handle=0xb7dc1ef0
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 1311160343 174393627 725 ) utm=115 stm=16 core=2 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa6294000-0xa6296000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10399/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 001e7f9d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+956)
    art/runtime/runtime.cc:
    290]   native: #03 pc 001e93b1  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
    art/runtime/runtime.cc:
    290]   native: #04 pc 001f5f05  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+82)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:
    290]   - waiting on <0x3ee11d3a> (a java.lang.Daemons$GCDaemon)
    art/runtime/runtime.cc:
    290]   at java.lang.Daemons$GCDaemon.run(Daemons.java:344)
    art/runtime/runtime.cc:
    290]   - locked <0x3ee11d3a> (a java.lang.Daemons$GCDaemon)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Binder_1" prio=5 tid=11 Native
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c5c0a0 self=0xb7dbb1e8
    art/runtime/runtime.cc:
    290]   | sysTid=10400 nice=0 cgrp=default sched=0/0 handle=0xb7dbafa0
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 19285624 37060419 63 ) utm=1 stm=0 core=1 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa6098000-0xa609a000 stackSize=1012KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10400/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 00039670  /system/lib/libc.so (__ioctl+8)
    art/runtime/runtime.cc:
    290]   native: #01 pc 0003f825  /system/lib/libc.so (ioctl+14)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0001cb3b  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0001d02b  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0001d08d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
    art/runtime/runtime.cc:
    290]   native: #05 pc 00021207  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:
    290]   native: #06 pc 0000eec1  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
    art/runtime/runtime.cc:
    290]   native: #07 pc 0005bddd  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
    art/runtime/runtime.cc:
    290]   native: #08 pc 0000ea31  /system/lib/libutils.so (???)
    art/runtime/runtime.cc:
    290]   native: #09 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #10 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Binder_2" prio=5 tid=12 Native
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c600a0 self=0xb7dbba30
    art/runtime/runtime.cc:
    290]   | sysTid=10401 nice=0 cgrp=default sched=0/0 handle=0xb7dba718
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 17600729 29052553 64 ) utm=0 stm=1 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa5f9a000-0xa5f9c000 stackSize=1012KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10401/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 00039670  /system/lib/libc.so (__ioctl+8)
    art/runtime/runtime.cc:
    290]   native: #01 pc 0003f825  /system/lib/libc.so (ioctl+14)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0001cb3b  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0001d02b  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0001d08d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
    art/runtime/runtime.cc:
    290]   native: #05 pc 00021207  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:
    290]   native: #06 pc 0000eec1  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
    art/runtime/runtime.cc:
    290]   native: #07 pc 0005bddd  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
    art/runtime/runtime.cc:
    290]   native: #08 pc 0000ea31  /system/lib/libutils.so (???)
    art/runtime/runtime.cc:
    290]   native: #09 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #10 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Thread-1576" prio=5 tid=13 Native
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12cd1160 self=0xb7ddab88
    art/runtime/runtime.cc:
    290]   | sysTid=10402 nice=0 cgrp=default sched=0/0 handle=0xb7ddb0e8
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 7564293093 1384955563 14074 ) utm=378 stm=378 core=3 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa5bf4000-0xa5bf6000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10402/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 00039c04  /system/lib/libc.so (recvfrom+20)
    art/runtime/runtime.cc:
    290]   native: #01 pc 00020111  /system/lib/libjavacore.so (???)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0027a99d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_libcore_io_Posix_recvfromBytes__Ljava_io_FileDescriptor_2Ljava_lang_Object_2IIILjava_net_InetSocketAddress_2+176)
    art/runtime/runtime.cc:
    290]   at libcore.io.Posix.recvfromBytes(Native method)
    art/runtime/runtime.cc:
    290]   at libcore.io.Posix.recvfrom(Posix.java:185)
    art/runtime/runtime.cc:
    290]   at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)
    art/runtime/runtime.cc:
    290]   at libcore.io.IoBridge.recvfrom(IoBridge.java:553)
    art/runtime/runtime.cc:
    290]   at java.net.PlainSocketImpl.read(PlainSocketImpl.java:485)
    art/runtime/runtime.cc:
    290]   at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
    art/runtime/runtime.cc:
    290]   at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
    art/runtime/runtime.cc:
    290]   at libcore.io.Streams.readSingleByte(Streams.java:41)
    art/runtime/runtime.cc:
    290]   at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:233)
    art/runtime/runtime.cc:
    290]   at anywheresoftware.b4a.remotelogger.Connector.readData(Connector.java:123)
    art/runtime/runtime.cc:
    290]   at anywheresoftware.b4a.remotelogger.Connector.mainLoop(Connector.java:84)
    art/runtime/runtime.cc:
    290]   at anywheresoftware.b4a.remotelogger.Connector.run(Connector.java:53)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"java.lang.ProcessManager" prio=5 tid=16 Waiting
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12c60280 self=0xb7fa0448
    art/runtime/runtime.cc:
    290]   | sysTid=10405 nice=0 cgrp=default sched=0/0 handle=0xb7fc2568
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 2821042 11524949 10 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa52fa000-0xa52fc000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10405/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 001e7f9d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+956)
    art/runtime/runtime.cc:
    290]   native: #03 pc 001e93b1  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
    art/runtime/runtime.cc:
    290]   native: #04 pc 001f5f05  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
    art/runtime/runtime.cc:
    290]   native: #05 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+82)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:
    290]   - waiting on <0x319d4deb> (a java.util.HashMap)
    art/runtime/runtime.cc:
    290]   at java.lang.ProcessManager.waitForMoreChildren(ProcessManager.java:140)
    art/runtime/runtime.cc:
    290]   - locked <0x319d4deb> (a java.util.HashMap)
    art/runtime/runtime.cc:
    290]   at java.lang.ProcessManager.watchChildren(ProcessManager.java:105)
    art/runtime/runtime.cc:
    290]   at java.lang.ProcessManager.access$000(ProcessManager.java:40)
    art/runtime/runtime.cc:
    290]   at java.lang.ProcessManager$1.run(ProcessManager.java:58)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Binder_3" prio=5 tid=17 Native
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12cd13a0 self=0xb7daaf80
    art/runtime/runtime.cc:
    290]   | sysTid=10407 nice=0 cgrp=default sched=0/0 handle=0xb7e0aa50
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 12784793 24168069 60 ) utm=0 stm=1 core=1 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa51fc000-0xa51fe000 stackSize=1012KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/10407/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 00039670  /system/lib/libc.so (__ioctl+8)
    art/runtime/runtime.cc:
    290]   native: #01 pc 0003f825  /system/lib/libc.so (ioctl+14)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0001cb3b  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0001d02b  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0001d08d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
    art/runtime/runtime.cc:
    290]   native: #05 pc 00021207  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:
    290]   native: #06 pc 0000eec1  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
    art/runtime/runtime.cc:
    290]   native: #07 pc 0005bddd  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
    art/runtime/runtime.cc:
    290]   native: #08 pc 0000ea31  /system/lib/libutils.so (???)
    art/runtime/runtime.cc:
    290]   native: #09 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #10 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"pool-1-thread-1" prio=5 tid=18 Runnable
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12ddb220 self=0xb7f0b3d0
    art/runtime/runtime.cc:
    290]   | sysTid=10409 nice=0 cgrp=default sched=0/0 handle=0xb7fc1af8
    art/runtime/runtime.cc:
    290]   | state=R schedstat=( 47233559658 6197579182 265016 ) utm=1912 stm=2811 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa56c5000-0xa56c7000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes= "abort lock" "mutator lock"(shared held)
    art/runtime/runtime.cc:
    290]   native: #00 pc 000047c0  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
    art/runtime/runtime.cc:
    290]   native: #01 pc 00002fc1  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
    art/runtime/runtime.cc:
    290]   native: #02 pc 002411c9  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
    art/runtime/runtime.cc:
    290]   native: #03 pc 00225591  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+148)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0022e681  /system/lib/libart.so (art::ThreadList::DumpLocked(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+104)
    art/runtime/runtime.cc:
    290]   native: #05 pc 0021598f  /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+238)
    art/runtime/runtime.cc:
    290]   native: #06 pc 00215bd1  /system/lib/libart.so (art::Runtime::Abort()+72)
    art/runtime/runtime.cc:
    290]   native: #07 pc 000a6285  /system/lib/libart.so (art::LogMessage::~LogMessage()+1312)
    art/runtime/runtime.cc:
    290]   native: #08 pc 00156639  /system/lib/libart.so (art::IndirectReferenceTable::Add(unsigned int, art::mirror::Object*)+232)
    art/runtime/runtime.cc:
    290]   native: #09 pc 001ac1ef  /system/lib/libart.so (art::JNI::NewGlobalRef(_JNIEnv*, _jobject*)+286)
    art/runtime/runtime.cc:
    290]   native: #10 pc 00005da3  /data/app/pmt.app.mytest-1/lib/arm/libSmartPosJni.so (GetCallBackHandler+50)
    art/runtime/runtime.cc:
    290]   native: #11 pc 00007a4d  /data/app/pmt.app.mytest-1/lib/arm/libSmartPosJni.so (Java_com_zcs_base_SmartPosJni_sdkMagIfBrush+4)
    art/runtime/runtime.cc:
    290]   native: #12 pc 000839df  /data/dalvik-cache/arm/data@app@pmt.app.mytest-1@base.apk@classes.dex (Java_com_zcs_base_SmartPosJni_sdkMagIfBrush__+82)
    art/runtime/runtime.cc:
    290]   at com.zcs.base.SmartPosJni.sdkMagIfBrush(Native method)
    art/runtime/runtime.cc:
    290]   at com.zcs.sdk.card.MagCard.IsMagBrush(MagCard.java:57)
    art/runtime/runtime.cc:
    290]   at com.zcs.sdk.card.CardReaderManager$1.run(CardReaderManager.java:126)
    art/runtime/runtime.cc:
    290]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    art/runtime/runtime.cc:
    290]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Thread-1599" prio=5 tid=14 Waiting
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12cfcac0 self=0xb82397a0
    art/runtime/runtime.cc:
    290]   | sysTid=12254 nice=0 cgrp=default sched=0/0 handle=0xb7fa64d8
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 1845218407 982745021 5558 ) utm=60 stm=124 core=3 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa55a5000-0xa55a7000 stackSize=1036KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/12254/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 0000f9a8  /system/lib/libc.so (syscall+28)
    art/runtime/runtime.cc:
    290]   native: #01 pc 000a8c4b  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
    art/runtime/runtime.cc:
    290]   native: #02 pc 001e7f9d  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+956)
    art/runtime/runtime.cc:
    290]   native: #03 pc 001e93b1  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
    art/runtime/runtime.cc:
    290]   native: #04 pc 001f5edd  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+36)
    art/runtime/runtime.cc:
    290]   native: #05 pc 0000060b  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+102)
    art/runtime/runtime.cc:
    290]   at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:
    290]   - waiting on <0x3c79f748> (a java.lang.Object)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.parkFor(Thread.java:1220)
    art/runtime/runtime.cc:
    290]   - locked <0x3c79f748> (a java.lang.Object)
    art/runtime/runtime.cc:
    290]   at sun.misc.Unsafe.park(Unsafe.java:299)
    art/runtime/runtime.cc:
    290]   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
    art/runtime/runtime.cc:
    290]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2016)
    art/runtime/runtime.cc:
    290]   at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:373)
    art/runtime/runtime.cc:
    290]   at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
    art/runtime/runtime.cc:
    290]   at java.lang.Thread.run(Thread.java:818)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290"Binder_4" prio=5 tid=19 Native
    art/runtime/runtime.cc:
    290]   | group="" sCount=0 dsCount=0 obj=0x12d44160 self=0xb80d01f0
    art/runtime/runtime.cc:
    290]   | sysTid=12257 nice=0 cgrp=default sched=0/0 handle=0xb820ed40
    art/runtime/runtime.cc:
    290]   | state=S schedstat=( 4499686 1886511 4 ) utm=0 stm=0 core=0 HZ=100
    art/runtime/runtime.cc:
    290]   | stack=0xa49c8000-0xa49ca000 stackSize=1012KB
    art/runtime/runtime.cc:
    290]   | held mutexes=
    art/runtime/runtime.cc:
    290]   kernel: (couldn't read /proc/self/task/12257/stack)
    art/runtime/runtime.cc:290]   native: #00 pc 00039670  /system/lib/libc.so (__ioctl+8)
    art/runtime/runtime.cc:
    290]   native: #01 pc 0003f825  /system/lib/libc.so (ioctl+14)
    art/runtime/runtime.cc:
    290]   native: #02 pc 0001cb3b  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
    art/runtime/runtime.cc:
    290]   native: #03 pc 0001d02b  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
    art/runtime/runtime.cc:
    290]   native: #04 pc 0001d08d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
    art/runtime/runtime.cc:
    290]   native: #05 pc 00021207  /system/lib/libbinder.so (???)
    art/runtime/runtime.cc:
    290]   native: #06 pc 0000eec1  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
    art/runtime/runtime.cc:
    290]   native: #07 pc 0005bddd  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
    art/runtime/runtime.cc:
    290]   native: #08 pc 0000ea31  /system/lib/libutils.so (???)
    art/runtime/runtime.cc:
    290]   native: #09 pc 000132b3  /system/lib/libc.so (__pthread_start(void*)+30)
    art/runtime/runtime.cc:
    290]   native: #10 pc 000111df  /system/lib/libc.so (__start_thread+6)
    art/runtime/runtime.cc:
    290]   (no managed stack frames)
    art/runtime/runtime.cc:
    290]
    art/runtime/runtime.cc:
    290]
    --------- beginning of crash
    Fatal signal 
    6 (SIGABRT), code -6 in tid 10409 (pool-1-thread-1)
     
  4. techknight

    techknight Well-Known Member Licensed User

    Looks like an ART crash thats getting invoked from a native library. and not so much java itself.

    The issue here is a memory leak, as noted by your overflow error.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    This is the relevant error:
    There is a leak of native resources in that library or you are not releasing something that needs to be released.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice