Closed jaripekkala closed 5 years ago
Any ideas @dinuchiriac? The wrapper is version controlled so changes to listeners shouldn't affect operation
looks like you are trying to do a UI job outside of UiThread. This is most likely happening in one of the callbacks. Not sure how Dart implements the SDK @joextodd but can you share the code you are trying to run in the callbacks @jaripekkala ?
This line explains the issue:
Abort message: 'java_vm_ext.cc:542] JNI DETECTED ERROR IN APPLICATION: JNI NewByteArray called with pending exception java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: Thread-4'
Thank you guys for the quick response.
Let me clarify that this is happening on Android devices flutter run
ning the example app. iOS runs just fine.
Listeners in the _setChirpCallbacks
method have this problem.
https://github.com/chirp/chirp-flutter/blob/master/example/lib/main.dart#L56
The app crashes even with empty listener callbacks so the setState
s aren't the cause.
I am also having this or a similar problem. I am using the main.dart of the example, correct permissions, on Android Q on a Pixel 3 (real device).
Initially the app did not work even though I granted the mic permission. It showed a read error. On second start, all looked good. But I played a chirp on my mac via chirp-send -u 01 and suddenly the app crashed.
Funnily, also sending a chipr crashes the app.
Debug log after using chirp-send -u 01
on my mac with the app running on the pixel 3 Android Q:
F/.chirpyproduct(17268): java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: Thread-6
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread() (FlutterJNI.java:807)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.flutter.embedding.engine.FlutterJNI.dispatchPlatformMessage(java.lang.String, java.nio.ByteBuffer, int, int) (FlutterJNI.java:697)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.flutter.embedding.engine.dart.DartMessenger.send(java.lang.String, java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (DartMessenger.java:80)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.flutter.embedding.engine.dart.DartExecutor.send(java.lang.String, java.nio.ByteBuffer) (DartExecutor.java:172)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.flutter.view.FlutterNativeView.send(java.lang.String, java.nio.ByteBuffer) (FlutterNativeView.java:117)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler$EventSinkImplementation.success(java.lang.Object) (EventChannel.java:226)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.chirp.chirpsdk.StateStreamHandler.send(int, int) (ChirpsdkPlugin.kt:174)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.chirp.chirpsdk.ChirpsdkPlugin$onMethodCall$5.invoke(io.chirp.connect.models.ChirpConnectState, io.chirp.connect.models.ChirpConnectState) (ChirpsdkPlugin.kt:106)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at java.lang.Object io.chirp.chirpsdk.ChirpsdkPlugin$onMethodCall$5.invoke(java.lang.Object, java.lang.Object) (ChirpsdkPlugin.kt:20)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at java.lang.Object io.chirp.connect.c$i.invoke(java.lang.Object, java.lang.Object) ((null):-1)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.chirp.connect.ChirpConnectNative.MWuESyTUiGWXY(int, int) ((null):-1)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at int io.chirp.connect.ChirpConnectNative.TtwblYTmEvVRy(byte[], int) ((null):-2)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at int io.chirp.connect.ChirpConnectNativeInterface.TtwblYTmEvVRy(byte[], int) ((null):-1)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at java.lang.Object io.chirp.connect.c$l.invoke(java.lang.Object) ((null):-1)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at java.lang.Object io.chirp.a.c$a.invoke() ((null):-1)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void io.chirp.a.d$a.onPeriodicNotification(android.media.AudioRecord) ((null):-1)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void android.media.AudioRecord$NativeEventHandler.handleMessage(android.os.Message) (AudioRecord.java:1879)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:107)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void android.os.Looper.loop() (Looper.java:214)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at java.lang.Object io.chirp.a.c$c.invoke() ((null):-1)
F/.chirpyproduct(17268): java_vm_ext.cc:570] at void kotlin.concurrent.ThreadsKt$thread$thread$1.run() (Thread.kt:30)
F/.chirpyproduct(17268): java_vm_ext.cc:570]
F/.chirpyproduct(17268): java_vm_ext.cc:570] in call to FindClass
F/.chirpyproduct(17268): java_vm_ext.cc:570] from int io.chirp.connect.ChirpConnectNative.TtwblYTmEvVRy(byte[], int)
F/.chirpyproduct(17268): runtime.cc:630] Runtime aborting...
F/.chirpyproduct(17268): runtime.cc:630] Dumping all threads without mutator lock held
F/.chirpyproduct(17268): runtime.cc:630] All threads:
F/.chirpyproduct(17268): runtime.cc:630] DALVIK THREADS (30):
F/.chirpyproduct(17268): runtime.cc:630] "Thread-6" prio=5 tid=32 Runnable
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=0 dsCount=0 flags=0 obj=0x12c74530 self=0x784b815000
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17327 nice=0 cgrp=default sched=0/0 handle=0x7834332d50
F/.chirpyproduct(17268): runtime.cc:630] | state=R schedstat=( 270657186 28034693 208 ) utm=25 stm=1 core=5 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x7834230000-0x7834232000 stackSize=1039KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes= "abort lock" "mutator lock"(shared held)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 000000000040c23c /apex/com.android.runtime/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 00000000004f1290 /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+508)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 000000000050b664 /apex/com.android.runtime/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+820)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000504704 /apex/com.android.runtime/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+456)
F/.chirpyproduct(17268): runtime.cc:630] native: #04 pc 0000000000503b5c /apex/com.android.runtime/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool)+1816)
F/.chirpyproduct(17268): runtime.cc:630] native: #05 pc 00000000004b1b74 /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+1456)
F/.chirpyproduct(17268): runtime.cc:630] native: #06 pc 000000000000c5b4 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+608)
F/.chirpyproduct(17268): runtime.cc:630] native: #07 pc 0000000000373490 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1592)
F/.chirpyproduct(17268): runtime.cc:630] native: #08 pc 0000000000373644 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+108)
F/.chirpyproduct(17268): runtime.cc:630] native: #09 pc 0000000000365bc0 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+136)
F/.chirpyproduct(17268): runtime.cc:630] native: #10 pc 0000000000364648 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+1144)
F/.chirpyproduct(17268): runtime.cc:630] native: #11 pc 0000000000363a14 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+624)
F/.chirpyproduct(17268): runtime.cc:630] native: #12 pc 000000000034aa70 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::FindClass(_JNIEnv*, char const*)+672)
F/.chirpyproduct(17268): runtime.cc:630] native: #13 pc 0000000000004f90 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (on_receiving_callback+104)
F/.chirpyproduct(17268): runtime.cc:630] native: #14 pc 00000000000b4370 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (???)
F/.chirpyproduct(17268): runtime.cc:630] native: #15 pc 0000000000085484 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (???)
F/.chirpyproduct(17268): runtime.cc:630] native: #16 pc 00000000000b66ec /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (chirp_connect_process_input+212)
F/.chirpyproduct(17268): runtime.cc:630] native: #17 pc 00000000000056f0 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (Java_io_chirp_connect_ChirpConnectNative_TtwblYTmEvVRy+104)
F/.chirpyproduct(17268): runtime.cc:630] native: #18 pc 000000000013f350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144)
F/.chirpyproduct(17268): runtime.cc:630] native: #19 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
F/.chirpyproduct(17268): runtime.cc:630] native: #20 pc 000000000014506c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
F/.chirpyproduct(17268): runtime.cc:630] native: #21 pc 00000000002df75c /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
F/.chirpyproduct(17268): runtime.cc:630] native: #22 pc 00000000002daa3c /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912)
F/.chirpyproduct(17268): runtime.cc:630] native: #23 pc 0000000000598204 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+648)
F/.chirpyproduct(17268): runtime.cc:630] native: #24 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #25 pc 0000000000100e26 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.connect.ChirpConnectNativeInterface.TtwblYTmEvVRy+14)
F/.chirpyproduct(17268): runtime.cc:630] native: #26 pc 0000000000598514 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432)
F/.chirpyproduct(17268): runtime.cc:630] native: #27 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #28 pc 0000000000102f42 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.connect.c$l.invoke+102)
F/.chirpyproduct(17268): runtime.cc:630] native: #29 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740)
F/.chirpyproduct(17268): runtime.cc:630] native: #30 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #31 pc 00000000000feb64 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.a.c$a.invoke+64)
F/.chirpyproduct(17268): runtime.cc:630] native: #32 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740)
F/.chirpyproduct(17268): runtime.cc:630] native: #33 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #34 pc 00000000000fefe4 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.a.d$a.onPeriodicNotification+4)
F/.chirpyproduct(17268): runtime.cc:630] native: #35 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740)
F/.chirpyproduct(17268): runtime.cc:630] native: #36 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #37 pc 00000000001a1baa /system/framework/framework.jar (android.media.AudioRecord$NativeEventHandler.handleMessage+102)
F/.chirpyproduct(17268): runtime.cc:630] native: #38 pc 0000000000598514 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432)
F/.chirpyproduct(17268): runtime.cc:630] native: #39 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #40 pc 00000000002f5866 /system/framework/framework.jar (android.os.Handler.dispatchMessage+38)
F/.chirpyproduct(17268): runtime.cc:630] native: #41 pc 0000000000598514 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432)
F/.chirpyproduct(17268): runtime.cc:630] native: #42 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #43 pc 0000000000319f9e /system/framework/framework.jar (android.os.Looper.loop+466)
F/.chirpyproduct(17268): runtime.cc:630] native: #44 pc 000000000059b0b0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
F/.chirpyproduct(17268): runtime.cc:630] native: #45 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #46 pc 00000000000fec66 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.a.c$c.invoke+98)
F/.chirpyproduct(17268): runtime.cc:630] native: #47 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740)
F/.chirpyproduct(17268): runtime.cc:630] native: #48 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #49 pc 000000000016324c [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (kotlin.concurrent.ThreadsKt$thread$thread$1.run+4)
F/.chirpyproduct(17268): runtime.cc:630] native: #50 pc 00000000002b03a8 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1226891089136915484+240)
F/.chirpyproduct(17268): runtime.cc:630] native: #51 pc 000000000058980c /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1012)
F/.chirpyproduct(17268): runtime.cc:630] native: #52 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
F/.chirpyproduct(17268): runtime.cc:630] native: #53 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
F/.chirpyproduct(17268): runtime.cc:630] native: #54 pc 000000000014506c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
F/.chirpyproduct(17268): runtime.cc:630] native: #55 pc 00000000004a9b0c /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
F/.chirpyproduct(17268): runtime.cc:630] native: #56 pc 00000000004aaba0 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
F/.chirpyproduct(17268): runtime.cc:630] native: #57 pc 00000000004ea93c /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176)
F/.chirpyproduct(17268): runtime.cc:630] native: #58 pc 00000000000e1100 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/.chirpyproduct(17268): runtime.cc:630] native: #59 pc 0000000000083ab0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/.chirpyproduct(17268): runtime.cc:630] at io.chirp.connect.ChirpConnectNative.TtwblYTmEvVRy(Native method)
F/.chirpyproduct(17268): runtime.cc:630] at io.chirp.connect.ChirpConnectNativeInterface.TtwblYTmEvVRy(unavailable:-1)
F/.chirpyproduct(17268): runtime.cc:630] at io.chirp.connect.c$l.invoke(unavailable:-1)
F/.chirpyproduct(17268): runtime.cc:630] at io.chirp.a.c$a.invoke(unavailable:-1)
F/.chirpyproduct(17268): runtime.cc:630] at io.chirp.a.d$a.onPeriodicNotification(unavailable:-1)
F/.chirpyproduct(17268): runtime.cc:630] at android.media.AudioRecord$NativeEventHandler.handleMessage(AudioRecord.java:1879)
F/.chirpyproduct(17268): runtime.cc:630] at android.os.Handler.dispatchMessage(Handler.java:107)
F/.chirpyproduct(17268): runtime.cc:630] at android.os.Looper.loop(Looper.java:214)
F/.chirpyproduct(17268): runtime.cc:630] at io.chirp.a.c$c.invoke(unavailable:-1)
F/.chirpyproduct(17268): runtime.cc:630] at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "main" prio=5 tid=1 Native
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x729e9d98 self=0x794f1a8000
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17268 nice=-10 cgrp=default sched=0/0 handle=0x7950704ed0
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 272100479 12622925 401 ) utm=22 stm=4 core=4 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x7ff8f59000-0x7ff8f5b000 stackSize=8192KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17268/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 00000000000cc748 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 0000000000017a8c /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 000000000001795c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+56)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000135cdc /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
F/.chirpyproduct(17268): runtime.cc:630] at android.os.MessageQueue.nativePollOnce(Native method)
F/.chirpyproduct(17268): runtime.cc:630] at android.os.MessageQueue.next(MessageQueue.java:336)
F/.chirpyproduct(17268): runtime.cc:630] at android.os.Looper.loop(Looper.java:174)
F/.chirpyproduct(17268): runtime.cc:630] at android.app.ActivityThread.main(ActivityThread.java:7356)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.reflect.Method.invoke(Native method)
F/.chirpyproduct(17268): runtime.cc:630] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
F/.chirpyproduct(17268): runtime.cc:630] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "Jit thread pool worker thread 0" prio=5 tid=2 Native
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0220 self=0x78be600000
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17274 nice=0 cgrp=default sched=0/0 handle=0x78bf94cd40
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 43960628 929531 106 ) utm=3 stm=0 core=4 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bf84e000-0x78bf850000 stackSize=1023KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17274/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 000000000007f23c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000014af34 /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 000000000050d0bc /apex/com.android.runtime/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+260)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 000000000050c44c /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Run()+144)
F/.chirpyproduct(17268): runtime.cc:630] native: #04 pc 000000000050bf10 /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148)
F/.chirpyproduct(17268): runtime.cc:630] native: #05 pc 00000000000e1100 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/.chirpyproduct(17268): runtime.cc:630] native: #06 pc 0000000000083ab0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/.chirpyproduct(17268): runtime.cc:630] (no managed stack frames)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "Signal Catcher" prio=5 tid=7 WaitingInMainSignalCatcherLoop
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0298 self=0x78b9b45400
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17279 nice=0 cgrp=default sched=0/0 handle=0x78bf847d50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 290991 8750 10 ) utm=0 stm=0 core=7 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bf751000-0x78bf753000 stackSize=991KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17279/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 00000000000cc9c8 /apex/com.android.runtime/lib64/bionic/libc.so (__rt_sigtimedwait+8)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000008e830 /apex/com.android.runtime/lib64/bionic/libc.so (sigwait+68)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 00000000004d3430 /apex/com.android.runtime/lib64/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+392)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 00000000004d2194 /apex/com.android.runtime/lib64/libart.so (art::SignalCatcher::Run(void*)+268)
F/.chirpyproduct(17268): runtime.cc:630] native: #04 pc 00000000000e1100 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/.chirpyproduct(17268): runtime.cc:630] native: #05 pc 0000000000083ab0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/.chirpyproduct(17268): runtime.cc:630] (no managed stack frames)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "ADB-JDWP Connection Control Thread" prio=5 tid=8 WaitingInMainDebuggerLoop
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0310 self=0x78be64a800
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17280 nice=0 cgrp=default sched=0/0 handle=0x78bf74ad50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 400677 111043 14 ) utm=0 stm=0 core=7 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bf654000-0x78bf656000 stackSize=991KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17280/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 00000000000cc8c8 /apex/com.android.runtime/lib64/bionic/libc.so (__ppoll+8)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000008c364 /apex/com.android.runtime/lib64/bionic/libc.so (poll+88)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 0000000000008c08 /apex/com.android.runtime/lib64/libadbconnection.so (adbconnection::AdbConnectionState::RunPollLoop(art::Thread*)+824)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000007024 /apex/com.android.runtime/lib64/libadbconnection.so (adbconnection::CallbackFunction(void*)+1076)
F/.chirpyproduct(17268): runtime.cc:630] native: #04 pc 00000000000e1100 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/.chirpyproduct(17268): runtime.cc:630] native: #05 pc 0000000000083ab0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/.chirpyproduct(17268): runtime.cc:630] (no managed stack frames)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "HeapTaskDaemon" prio=5 tid=9 WaitingForTaskProcessor
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0970 self=0x794f1a6400
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17281 nice=4 cgrp=default sched=0/0 handle=0x78bf64dd50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 6645991 182709 16 ) utm=0 stm=0 core=4 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bf54b000-0x78bf54d000 stackSize=1039KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17281/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 000000000007f23c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000014af34 /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 000000000028c058 /apex/com.android.runtime/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+444)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 000000000028c8f0 /apex/com.android.runtime/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+92)
F/.chirpyproduct(17268): runtime.cc:630] at dalvik.system.VMRuntime.runHeapTasks(Native method)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:523)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Thread.run(Thread.java:919)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "ReferenceQueueDaemon" prio=5 tid=10 Waiting
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0388 self=0x794f1a9c00
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17282 nice=4 cgrp=default sched=0/0 handle=0x78bf544d50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 463699 145002 13 ) utm=0 stm=0 core=7 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bf442000-0x78bf444000 stackSize=1039KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17282/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 000000000007f23c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000014af34 /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 00000000004076f4 /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+620)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000409158 /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+284)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Native method)
F/.chirpyproduct(17268): runtime.cc:630] - waiting on <0x02ef5298> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Object.java:442)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Object.java:568)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:215)
F/.chirpyproduct(17268): runtime.cc:630] - locked <0x02ef5298> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Thread.run(Thread.java:919)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "FinalizerDaemon" prio=5 tid=11 Waiting
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0400 self=0x794f1ab800
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17283 nice=4 cgrp=default sched=0/0 handle=0x78bf183d50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 470366 146198 12 ) utm=0 stm=0 core=4 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bf081000-0x78bf083000 stackSize=1039KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17283/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 000000000007f23c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000014af34 /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 00000000004076f4 /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+620)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000409158 /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+284)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Native method)
F/.chirpyproduct(17268): runtime.cc:630] - waiting on <0x04a0aaf1> (a java.lang.Object)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Object.java:442)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:190)
F/.chirpyproduct(17268): runtime.cc:630] - locked <0x04a0aaf1> (a java.lang.Object)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:211)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:271)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Thread.run(Thread.java:919)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "FinalizerWatchdogDaemon" prio=5 tid=12 Waiting
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0478 self=0x794f1ad400
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17284 nice=4 cgrp=default sched=0/0 handle=0x78bf07ad50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 750104 2039479 12 ) utm=0 stm=0 core=4 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bef78000-0x78bef7a000 stackSize=1039KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17284/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 000000000007f23c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000014af34 /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 00000000004076f4 /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+620)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000409158 /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+284)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Native method)
F/.chirpyproduct(17268): runtime.cc:630] - waiting on <0x03e466d6> (a java.lang.Daemons$FinalizerWatchdogDaemon)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Object.java:442)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object.wait(Object.java:568)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:339)
F/.chirpyproduct(17268): runtime.cc:630] - locked <0x03e466d6> (a java.lang.Daemons$FinalizerWatchdogDaemon)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:319)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Thread.run(Thread.java:919)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "Binder:17268_1" prio=5 tid=13 Native
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc04f0 self=0x78b9b61c00
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17285 nice=0 cgrp=default sched=0/0 handle=0x78bee73d50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 558073 132552 10 ) utm=0 stm=0 core=6 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bed7d000-0x78bed7f000 stackSize=991KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17285/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 00000000000cc884 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000008a38c /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 000000000005829c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+256)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000058470 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
F/.chirpyproduct(17268): runtime.cc:630] native: #04 pc 0000000000058c30 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
F/.chirpyproduct(17268): runtime.cc:630] native: #05 pc 000000000007ec9c /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
F/.chirpyproduct(17268): runtime.cc:630] native: #06 pc 0000000000013600 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+288)
F/.chirpyproduct(17268): runtime.cc:630] native: #07 pc 00000000000c1748 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
F/.chirpyproduct(17268): runtime.cc:630] native: #08 pc 00000000000e1100 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/.chirpyproduct(17268): runtime.cc:630] native: #09 pc 0000000000083ab0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/.chirpyproduct(17268): runtime.cc:630] (no managed stack frames)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] "Binder:17268_2" prio=5 tid=14 Native
F/.chirpyproduct(17268): runtime.cc:630] | group="" sCount=1 dsCount=0 flags=1 obj=0x12fc0568 self=0x78be65c000
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17286 nice=0 cgrp=default sched=0/0 handle=0x78bed76d50
F/.chirpyproduct(17268): runtime.cc:630] | state=S schedstat=( 6991095 4581875 25 ) utm=0 stm=0 core=6 HZ=100
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x78bec80000-0x78bec82000 stackSize=991KB
F/.chirpyproduct(17268): runtime.cc:630] | held mutexes=
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17286/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #00 pc 00000000000cc884 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000008a38c /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132)
F/.chirpyproduct(17268): runtime.cc:630] native: #03 pc 0000000000058470 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17314/stack)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17317/stack)
F/.chirpyproduct(17268): runtime.cc:630] native: #06 pc 0000000000013600 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+288)
F/.chirpyproduct(17268): runtime.cc:630] "AudioTrack" prio=5 tid=24 Native
F/.chirpyproduct(17268): runtime.cc:630] native: #06 pc 00000000000e1100 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/.chirpyproduct(17268): runtime.cc:630] native: #02 pc 000000000036f850 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::ReleasePrimitiveArrayElements(char const*, art::Primitive::Type, _JNIEnv*, _jarray*, void*, int)+476)
F/.chirpyproduct(17268): runtime.cc:630] native: #06 pc 000000000004f49c /system/lib64/libaudioclient.so (android::AudioRecord::processAudioBuffer()+876)
F/.chirpyproduct(17268): runtime.cc:630] native: #07 pc 000000000014508c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
F/.chirpyproduct(17268): runtime.cc:630] native: #13 pc 000000000059b908 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualRange+1056)
F/.chirpyproduct(17268): runtime.cc:630] native: #19 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740)
F/.chirpyproduct(17268): runtime.cc:630] native: #32 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20)
F/.chirpyproduct(17268): runtime.cc:630] native: #39 pc 00000000000ea918 /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
F/.chirpyproduct(17268): runtime.cc:630] at okio.RealBufferedSource.require(RealBufferedSource.java:61)
F/.chirpyproduct(17268): runtime.cc:630] "OkHttp ConnectionPool" prio=5 tid=28 TimedWaiting
F/.chirpyproduct(17268): runtime.cc:630] at okhttp3.ConnectionPool$1.run(ConnectionPool.java:67)
F/.chirpyproduct(17268): runtime.cc:630] "OkHttp auth.chirp.io Writer" prio=5 tid=29 Waiting
F/.chirpyproduct(17268): runtime.cc:630] kernel: (couldn't read /proc/self/task/17323/stack)
F/.chirpyproduct(17268): runtime.cc:630] at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Thread.run(Thread.java:919)
F/.chirpyproduct(17268): runtime.cc:630] at sun.misc.Unsafe.park(Native method)
F/.chirpyproduct(17268): runtime.cc:630] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
F/.chirpyproduct(17268): runtime.cc:630] native: #01 pc 000000000014b36c /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+168)
F/.chirpyproduct(17268): runtime.cc:630] at okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:312)
F/.chirpyproduct(17268): runtime.cc:630] | sysTid=17328 nice=0 cgrp=default sched=0/0 handle=0x7833229d50
F/.chirpyproduct(17268): runtime.cc:630] at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
F/.chirpyproduct(17268): runtime.cc:630] | stack=0x7842239000-0x784223b000 stackSize=1039KB
F/.chirpyproduct(17268): runtime.cc:630] native: #10 pc 000000000059dc1c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStaticRange+236)
F/.chirpyproduct(17268): runtime.cc:630] native: #16 pc 0000000000598514 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432)
F/.chirpyproduct(17268): runtime.cc:630] native: #22 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740)
F/.chirpyproduct(17268): runtime.cc:630] native: #35 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20)
F/.chirpyproduct(17268): runtime.cc:630] at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
F/.chirpyproduct(17268): runtime.cc:630]
F/.chirpyproduct(17268): runtime.cc:630] native: #17 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
F/.chirpyproduct(17268): runtime.cc:630] native: #34 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20)
F/.chirpyproduct(17268): runtime.cc:630] at android.media.AudioRecord$NativeEventHandler.handleMessage(AudioRecord.java:1879)
F/.chirpyproduct(17268): runtime.cc:630] at void io.chirp.chirpsdk.StateStreamHandler.send(int, int) (ChirpsdkPlugin.kt:174)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object io.chirp.connect.c$l.invoke(java.lang.Object) ((null):-1)
F/.chirpyproduct(17268): runtime.cc:630] at java.lang.Object io.chirp.a.c$c.invoke() ((null):-1)
F/.chirpyproduct(17268): runtime.cc:638] JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: Thread-6
F/.chirpyproduct(17268): runtime.cc:638] at void io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread() (FlutterJNI.java:807)
F/.chirpyproduct(17268): runtime.cc:638] at java.lang.Object io.chirp.a.c$c.invoke() ((null):-1)
F/libc (17268): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 17327 (Thread-6), pid 17268 (.chirpyproducts)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/blueline/blueline:10/QP1A.190711.020/5800535:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2019-09-13 13:24:26+0200
pid: 17268, tid: 17327, name: Thread-6 >>> com.example.chirpyproducts <<<
uid: 10305
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: Thread-6
at void io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread() (FlutterJNI.java:807)
at void io.flutter.embedding.engine.FlutterJNI.dispatchPlatformMessage(java.lang.String, java.nio.ByteBuffer, int, int) (FlutterJNI.java:697)
at void io.flutter.embedding.engine.dart.DartMessenger.send(java.lang.String, java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (DartMessenger.java:80)
at void io.flutter.embedding.engine.dart.DartExecutor.send(java.lang.String, java.nio.ByteBuffer) (DartExecutor.java:172)
at void io.flutter.view.FlutterNativeView.send(java.lang.String, java.nio.ByteBuffer) (FlutterNativeView.java:117)
at void io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler$EventSinkImplementation.success(java.lang.Object) (EventChannel.java:226)
at void io.chirp.chirpsdk.StateStreamHandler.send(int, int) (ChirpsdkPlugin.kt:174)
at void io.chirp.chirpsdk.ChirpsdkPlugin$onMethodCall$5.invoke(io.chirp.connect.models.ChirpConnectState, io.chirp.connect.models.ChirpConnectState) (ChirpsdkPlugin.kt:106)
at java.lang.Object io.chirp.chirpsdk.ChirpsdkPlugin$onMethodCall$5.invoke(java.lang.Object, java.lang.Object) (ChirpsdkPlugin.kt:20)
at java.lang.Object io.chirp.connect.c$i.invoke(java.lang.Object, java.lang.Object) ((null):-1)
at void io.chirp.connect.ChirpConnectNative.MWuESyTUiGWXY(int, int) ((null):-1)
at int io.chirp.connect.ChirpConnectNative.TtwblYTmEvVRy(byte[], int) ((null):-2)
at int io.chirp.connect.ChirpConnectNativeInterface.TtwblYTmEvVRy(byte[], int) ((null):-1)
at java.lang.Object io.chirp.connect.c$l.invoke(java.lang.Object) ((null):-1)
at java.lang.Object io.chirp.a.c$a.invoke() ((null):-1)
at void io.chirp.a.d$a.onPeriodicNotification(android.media.AudioRecord) ((null):-1)
at void android.media.AudioRecord$NativeEventHandler.handleMessage(android.os.Message) (AudioRecord.java:1879)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:107)
at void android.os.Looper.loop() (Looper.java:214)
at java.lang.Object io.chirp.a.c$c.invoke() ((null):-1)
at void kotlin.concurrent.ThreadsKt$thread$thread$1.run() (Thread.kt:30)
in call to FindClass
from int io.chirp.connect.ChirpConnectNative.TtwblYTmEvVRy(byte[], int)'
x0 0000000000000000 x1 00000000000043af x2 0000000000000006 x3 0000007834330af0
x4 fefeff784b212f97 x5 fefeff784b212f97 x6 fefeff784b212f97 x7 7f7f7f7f7f7f7fff
x8 00000000000000f0 x9 0432965452515f2c x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 0000000007aef158 x14 0000000000000004 x15 ffffffffffffffff
x16 000000794b4778c0 x17 000000794b455100 x18 00000078641f2088 x19 0000000000004374
x20 00000000000043af x21 00000000ffffffff x22 0000007848b44200 x23 00000078c9ead555
x24 00000078c9ecf012 x25 0000000000000001 x26 00000078caab8258 x27 000000794f23c1c0
x28 0000000000000000 x29 0000007834330b90
sp 0000007834330ad0 lr 000000794b409f48 pc 000000794b409f74
backtrace:
#00 pc 0000000000081f74 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 676a709a0ee633ec9cf6ab05ec6410ae)
#01 pc 00000000004b1ea0 /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2268) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#02 pc 000000000000c5b4 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+608) (BuildId: 9b1ba30f299c594bb54939a36936205f)
#03 pc 0000000000373490 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1592) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#04 pc 0000000000373644 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+108) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#05 pc 0000000000365bc0 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+136) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#06 pc 0000000000364648 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+1144) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#07 pc 0000000000363a14 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+624) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#08 pc 000000000034aa70 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::FindClass(_JNIEnv*, char const*)+672) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#09 pc 0000000000004f90 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (on_receiving_callback+104) (BuildId: d810d19d161956470f899bb75465486aa1e92464)
#10 pc 00000000000b4370 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (BuildId: d810d19d161956470f899bb75465486aa1e92464)
#11 pc 0000000000085484 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (BuildId: d810d19d161956470f899bb75465486aa1e92464)
#12 pc 00000000000b66ec /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (chirp_connect_process_input+212) (BuildId: d810d19d161956470f899bb75465486aa1e92464)
#13 pc 00000000000056f0 /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/lib/arm64/libchirp-connect-native.so (Java_io_chirp_connect_ChirpConnectNative_TtwblYTmEvVRy+104) (BuildId: d810d19d161956470f899bb75465486aa1e92464)
#14 pc 000000000013f350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#15 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#16 pc 000000000014506c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#17 pc 00000000002df75c /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#18 pc 00000000002daa3c /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#19 pc 0000000000598204 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+648) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#20 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#21 pc 0000000000100e26 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.connect.ChirpConnectNativeInterface.TtwblYTmEvVRy+14)
#22 pc 0000000000598514 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#23 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#24 pc 0000000000102f42 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.connect.c$l.invoke+102)
#25 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#26 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#27 pc 00000000000feb64 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.a.c$a.invoke+64)
#28 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#29 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#30 pc 00000000000fefe4 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.a.d$a.onPeriodicNotification+4)
#31 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#32 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#33 pc 00000000001a1baa /system/framework/framework.jar (android.media.AudioRecord$NativeEventHandler.handleMessage+102)
#34 pc 0000000000598514 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#35 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#36 pc 00000000002f5866 /system/framework/framework.jar (android.os.Handler.dispatchMessage+38)
#37 pc 0000000000598514 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#38 pc 0000000000130814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#39 pc 0000000000319f9e /system/framework/framework.jar (android.os.Looper.loop+466)
#40 pc 000000000059b0b0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#41 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#42 pc 00000000000fec66 [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (io.chirp.a.c$c.invoke+98)
#43 pc 0000000000599d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#44 pc 0000000000130a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#45 pc 000000000016324c [anon:dalvik-classes.dex extracted in memory from /data/app/com.example.chirpyproducts-1kh6g5w_IhDpAoTyLXcPSA==/base.apk] (kotlin.concurrent.ThreadsKt$thread$thread$1.run+4)
#46 pc 00000000002b03a8 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1226891089136915484+240) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#47 pc 000000000058980c /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1012) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#48 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#49 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#50 pc 000000000014506c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#51 pc 00000000004a9b0c /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#52 pc 00000000004aaba0 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#53 pc 00000000004ea93c /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 243710f887ec9b55aa75c326bf215ac4)
#54 pc 00000000000e1100 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 676a709a0ee633ec9cf6ab05ec6410ae)
#55 pc 0000000000083ab0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 676a709a0ee633ec9cf6ab05ec6410ae)
Lost connection to device.
Exited (sigterm)
Anyone got it fixed or working?
JNI NewByteArray called with pending exception java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Getting this error
We have a full release schedule for this week, so will hopefully get time to looks at this on Thursday. This is an open source project, so feel free to make a contribution if you get to the bottom of it before then 👍
@jaripekkala it seems that other people are experiencing a similar issue, see https://github.com/flutter/flutter/issues/34993#issue-459900986
Whilst we work on a fix, you can downgrade your version of flutter to fix this.
The example provided in the package source code fails after the message has been sent. It has something to do with the listeners as it works again if you comment out line 99 from the
main.dart
.Pixel 2 API 28.