Open ryanhubbell opened 8 years ago
I've had the similar error. Nexus 6P Android 7.1.2 Steps to reproduce: Start Discovery in onResume of the fragment and then unsubscribe in onPause. Right after the discovery started, if you lock the screen and then unlock it, which causes discovery to start - stop - start, app crahes with this exception.
JNI DETECTED ERROR IN APPLICATION: thread Thread[39,tid=25946,Native,Thread*=0x79c1ea8800,peer=0x12d381f0,"DNS-SD"] using JNIEnv* from thread Thread[39,tid=25946,Native,Thread*=0x79c1ea8800,peer=0x12d381f0,"DNS-SD"]
in call to NewByteArray
from int com.apple.dnssd.DNSSDEmbedded.Loop()
"DNS-SD" daemon prio=10 tid=39 Runnable | group="main" sCount=0 dsCount=0 obj=0x12d381f0 self=0x79c1ea8800 | sysTid=25946 nice=-8 cgrp=default sched=0/0 handle=0x799e7eb450 | state=R schedstat=( 25520315 3362708 49 ) utm=1 stm=0 core=0 HZ=100 | stack=0x799e6e9000-0x799e6eb000 stackSize=1037KB | held mutexes= "mutator lock"(shared held) native: #00 pc 000000000047ef3c /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220)
native: #04 pc 00000000002f0bb4 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+124)
native: #05 pc 0000000000102798 /system/lib64/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+156)
native: #07 pc 00000000000ffce8 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1124)
native: #08 pc 00000000001095f8 /system/lib64/libart.so (_ZN3art8CheckJNI17NewPrimitiveArrayEPKcP7_JNIEnviNS_9Primitive4TypeE+628)
native: #11 pc 00000000000056c8 /data/app/........-3/lib/arm64/libjdns_sd_embedded.so (???)
native: #13 pc 0000000000010250 /data/app/........-3/lib/arm64/libjdns_sd_embedded.so (???) native: #14 pc 000000000002c9fc /data/app/........-3/lib/arm64/libjdns_sd_embedded.so (???)
Hi @andriydruk , do you have any progress about this? Do you get the same error?