UDP crash on Andriod (via Unity)

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

abush
Posts: 12
Joined: 11 Feb 2016, 18:40

UDP crash on Andriod (via Unity)

Postby abush » 11 Jan 2017, 18:26

I've running into an issue with my unity app where on all Andriod devices if the UDP connection fails to establish the app crashes. The last log statement is from somewhere internal to the smartfox.dll, although I don't see anything in the crash stacks to indicate the origin of the failed static method call.

This is using Unity 5.4.3p1 with the version 1.7.1.0 of the SmartFox2X dll (the same issue was occurring using 1.6.2.1). The log is from a Nexus 7 running android 6.0.1, however the behaviour is consistent across multiple devices and OS versions.

Code: Select all

01-10 17:05:42.441 21238 21959 D Unity   : [17:05:42 PM][INFO][] [SFS INFO] Data written: Binary Size: 246
01-10 17:05:42.441 21238 21959 D Unity   : 12 00 03 00 01 63 02 01 00 01 61 03 00 0d 00 01      .....c....a.....
01-10 17:05:42.441 21238 21959 D Unity   : 70 12 00 03 00 01 63 08 00 0e 65 6e 63 72 79 70      p.....c...encryp
01-10 17:05:42.441 21238 21959 D Unity   : 74 69 6f 6e 2e 67 65 74 00 01 72 04 00 00 00 13      tion.get..r.....
01-10 17:05:42.441 21238 21959 D Unity   : 00 01 70 12 00 02 00 03 70 6b 6d 08 00 ac 79 72      ..p.....pkm...yr
01-10 17:05:42.441 21238 21959 D Unity   : 36 4f 65 67 46 47 70 55 32 38 66 6b 4d 58 74 76      6OegFGpU28fkMXtv
01-10 17:05:42.441 21238 21959 D Unity   : 32 30 65 41 74 2b 34 44 63 75 31 74 65 51 6e 50      20eAt+4Dcu1teQnP
01-10 17:05:42.441 21238 21959 D Unity   : 35 2f 35 77 61 71 4a 52 32 77 4c 6c 41 62 44 53      5/5waqJR2wLlAbDS
01-10 17:05:42.441 21238 21959 D Unity   : 41 6c 77 51 37 41 2f 46 78 68 4b 57 65 4b 55 4a      AlwQ7A/FxhKWeKUJ
01-10 17:05:42.441 21238 21959 D Unity   : 4f 66 6c 50 6a 36 79 4a 68 70 4a 58 4d 2f 64 34      OflPj6yJhpJXM/d4
01-10 17:05:42.441 21238 21959 D Unity   : 77 34 7a 73 53 6c 31 6b 35 4c 61 49 6a 62 74 47      w4zsSl1k5LaIjbtG
01-10 17:05:42.441 21238 21959 D Unity   : 62 56 38 5a 49 77 42 5a 67 78 56 66 36 70 50 6c      bV8ZIwBZgxVf6pPl
01-10 17:05:42.441 21238 21959 D Unity   : 34 31 73 47 43 69 50 4f 76 79 6b 76 39 4f 4c 6a      41sGCiPOvykv9OLj
01-10 17:05:42.441 21238 21959 D Unity   : 71 44 57 70 72 55 78 30 75 63 67 52 41 4e 64 32      qDWprUx0ucgRANd2
01-10 17:05:42.441 21238 21959 D Unity   : 59 62 4d 57 30 73 56 65 43 51 4c 4d 32 4c 66
01-10 17:05:42.441 21238 21959 D Unity   :
01-10 17:05:42.512 21238 21959 D Unity   : [SFS - INFO] Data Read: Binary Size: 243
01-10 17:05:42.512 21238 21959 D Unity   : c0 00 f0 15 9e 6e 2a e3 a4 af 11 eb c7 d2 1c 0f      .....n*.........
01-10 17:05:42.512 21238 21959 D Unity   : 85 b8 d5 f9 80 dc d2 e1 98 6a 00 15 c0 67 39 f1      .........j...g9.
01-10 17:05:42.512 21238 21959 D Unity   : e0 d6 f1 f6 9e d4 4a f4 8a b3 43 86 8b 6c a0 e7      ......J...C..l..
01-10 17:05:42.512 21238 21959 D Unity   : a0 f3 e6 50 d3 d4 95 8c e6 51 6a 05 df db 0f 45      ...P.....Qj....E
01-10 17:05:42.512 21238 21959 D Unity   : 47 46 f2 b8 35 a8 1d d3 df 2f 35 ad a7 9f 94 a5      GF..5..../5.....
01-10 17:05:42.512 21238 21959 D Unity   : 3b 73 14 4e 60 e3 cd 85 4e 72 76 6a c9 d2 d9 da      ;s.N`...Nrvj....
01-10 17:05:42.512 21238 21959 D Unity   : f2 59 3e 9a 41 90 94 d9 3c 87 dd 1b e6 23 27 de      .Y>.A...<....#'.
01-10 17:05:42.512 21238 21959 D Unity   : b4 4a 7c 29 da 45 d8 f5 1b 4a f3 5c 76 3c 33 8d      .J|).E...J.\v<3.
01-10 17:05:42.512 21238 21959 D Unity   : f5 a1 35 a1 0d 25 72 6d 3c 24 62 6e 8e 4d 9b 19      ..5..%rm<$bn.M..
01-10 17:05:42.512 21238 21959 D Unity   : cf 46 24 69 a8 a6 48 9e 32 2a 84 e6 b9 3b 49 7b      .F$i..H.2*...;I{
01-10 17:05:42.512 21238 21959 D Unity   : 6d b8 bb 43 6b 42 dc 7a 7e 96 9b 7a ea 67 21 b1      m..CkB.z~..z.g!.
01-10 17:05:42.512 21238 21959 D Unity   : 71 1f 54 8e d1 f1 3b 2d 07 06 9e 96 4e 0c 26 63      q.T...;-....N.&c
01-10 17:05:42.512 21238 21959 D Unity   : 07 e8 33 f0 d9 cc 80 98 b1 0c ab 4e 2c b5 a9 35      ..3........N,..5
01-10 17:05:42.512 21238 21959 D Unity   : 40 1d 2e 45 8c 17 24 00 be 20 42 3d 30 2b 63 fc      @..E..$...B=0+c.
01-10 17:05:42.512 21238 21959 D Unity   : 8c 76 6e ea 68 5e 0e a6 a7 cc de 6a 19 a7 c0 8d      .vn.h^...
01-10 17:05:42.512 21238 21959 D Unity   :
01-10 17:05:42.517 21238 21959 D Unity   : [SFS - INFO] { Message id: 13 }
01-10 17:05:42.517 21238 21959 D Unity   : { Dump: }
01-10 17:05:42.517 21238 21959 D Unity   :
01-10 17:05:42.517 21238 21959 D Unity   :      (sfs_object) p:
01-10 17:05:42.517 21238 21959 D Unity   :              (utf_string) ek: FWkrVYbVOQBmtPOLBly7tZLMs5wsZA+0iNIr/PrawrouHdBt/InEDDPO+tunojgfpSHvdkQgDGWHpGl7+cb9XRxTc7HQkPuXjQ3GHIgz2DvjpSXAJ2eEDAO2wc/iMC/JY5VGhpcGf6IUsvB81FUZGpjWeHVFax+ISq8MKUqua7M=
01-10 17:05:42.517 21238 21959 D Unity   :
01-10 17:05:42.517 21238 21959 D Unity   :      (int) r: 19
01-10 17:05:42.517 21238 21959 D Unity   :      (utf_string) c: encryption.get
01-10 17:05:42.518 21238 21959 D Unity   :
01-10 17:05:42.692 21238 21959 D Unity   : [17:05:42 PM][DEBUG][] Received room encryption key from server
01-10 17:05:42.692 21238 21959 D Unity   :
01-10 17:05:42.711 21238 21292 D Unity   : [17:05:42 PM][INFO][] Calling InitUDP
01-10 17:05:42.711 21238 21292 D Unity   :
01-10 17:05:42.765 21238 21292 D Unity   : [17:05:42 PM][INFO][] Returned from InitUDP
01-10 17:05:42.765 21238 21292 D Unity   :
01-10 17:05:42.815 21238 21959 D Unity   : [SFS - ERROR] [UDPSocketLayer] Error reading data from socket: Connection refused
01-10 17:05:42.815 21238 21959 D Unity   :
01-10 17:05:42.822 21238 21959 D Unity   : > AndroidJNI_CUSTOM_INTERNAL_CALL_NewStringUTF()
01-10 17:05:42.823 21238 21959 D Unity   : > AndroidJNI_CUSTOM_INTERNAL_CALL_ExceptionOccurred()
01-10 17:05:42.824 21238 21959 D Unity   : > AndroidJNI_CUSTOM_INTERNAL_CALL_NewStringUTF()
01-10 17:05:42.825 21238 21959 D Unity   : > AndroidJNI_CUSTOM_INTERNAL_CALL_ExceptionOccurred()
01-10 17:05:42.826 21238 21959 D Unity   : > AndroidJNI_CUSTOM_INTERNAL_CALL_CallStaticObjectMethod(00200782, b4c95718
01-10 17:05:42.826 21238 21959 D Unity   : >                    , 00100766
01-10 17:05:42.826 21238 21959 D Unity   : >                    , 00200001
01-10 17:05:42.826 21238 21959 D Unity   : >                    , 00200001
01-10 17:05:42.826 21238 21959 D Unity   : >                    , 00000001
01-10 17:05:42.826 21238 21959 D Unity   : >                    )
01-10 17:05:42.826 21238 21959 E art     : JNI ERROR (app bug): accessed stale local reference 0x200001 (index 0 in a table of size 0)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x200001
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410] "Thread-1803" prio=5 tid=36 Runnable
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   | group="main" sCount=0 dsCount=0 obj=0x12d0fb80 self=0x7e725b00
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   | sysTid=21959 nice=0 cgrp=default sched=0/0 handle=0x6548f930
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   | state=R schedstat=( 0 0 0 ) utm=98 stm=2 core=0 HZ=100
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   | stack=0x65391000-0x65393000 stackSize=1022KB
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   | held mutexes= "mutator lock"(shared held)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #00 pc 00370e01  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+160)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #01 pc 0035046f  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+150)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #02 pc 0025a725  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+740)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #03 pc 0025ae7b  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+74)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #04 pc 00351231  /system/lib/libart.so (_ZNK3art6Thread13DecodeJObjectEP8_jobject+708)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #05 pc 0032bd43  /system/lib/libart.so (_ZN3art17InvokeWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+402)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #06 pc 002727c5  /system/lib/libart.so (_ZN3art3JNI23CallStaticObjectMethodAEP7_JNIEnvP7_jclassP10_jmethodIDP6jvalue+340)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #07 pc 0011000f  /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodAEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDP6jvalueNS_9Primitive4TypeENS_10InvokeTypeE+1794)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #08 pc 001104ab  /system/lib/libart.so (_ZN3art8CheckJNI23CallStaticObjectMethodAEP7_JNIEnvP7_jclassP10_jmethodIDP6jvalue+34)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #09 pc 00ab3930  /data/app/local.test-2/lib/arm/libunity.so (_Z54AndroidJNI_CUSTOM_INTERNAL_CALL_CallStaticObjectMethodPvS_P9MonoArrayRS_+480)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   native: #10 pc 000158d4   (???)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]   (no managed stack frames)
01-10 17:05:42.897 21238 21959 F art     : art/runtime/java_vm_ext.cc:410]
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366] Runtime aborting...
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366] Aborting thread:
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366] "Thread-1803" prio=5 tid=36 Native
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=0 dsCount=0 obj=0x12d0fb80 self=0x7e725b00
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21959 nice=0 cgrp=default sched=0/0 handle=0x6548f930
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=R schedstat=( 0 0 0 ) utm=99 stm=8 core=1 HZ=100
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0x65391000-0x65393000 stackSize=1022KB
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes= "abort lock"
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 00370e01  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+160)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 0035046f  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+150)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 00333827  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+26)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 00333abf  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+562)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 000f45fb  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0025aa4f  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1550)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #06 pc 0025ae7b  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+74)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #07 pc 00351231  /system/lib/libart.so (_ZNK3art6Thread13DecodeJObjectEP8_jobject+708)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #08 pc 0032bd43  /system/lib/libart.so (_ZN3art17InvokeWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+402)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #09 pc 002727c5  /system/lib/libart.so (_ZN3art3JNI23CallStaticObjectMethodAEP7_JNIEnvP7_jclassP10_jmethodIDP6jvalue+340)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #10 pc 0011000f  /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodAEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDP6jvalueNS_9Primitive4TypeENS_10InvokeTypeE+1794)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #11 pc 001104ab  /system/lib/libart.so (_ZN3art8CheckJNI23CallStaticObjectMethodAEP7_JNIEnvP7_jclassP10_jmethodIDP6jvalue+34)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #12 pc 00ab3930  /data/app/local.test-2/lib/arm/libunity.so (_Z54AndroidJNI_CUSTOM_INTERNAL_CALL_CallStaticObjectMethodPvS_P9MonoArrayRS_+480)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #13 pc 000158d4   (???)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   (no managed stack frames)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366] Dumping all threads without appropriate locks held: thread list lock mutator lock
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366] All threads:
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366] DALVIK THREADS (41):
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366] "Thread-1803" prio=5 tid=36 Runnable
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=0 dsCount=0 obj=0x12d0fb80 self=0x7e725b00
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21959 nice=0 cgrp=default sched=0/0 handle=0x6548f930
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=R schedstat=( 0 0 0 ) utm=103 stm=10 core=1 HZ=100
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0x65391000-0x65393000 stackSize=1022KB
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes= "abort lock" "mutator lock"(shared held)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 00370e01  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+160)
01-10 17:05:44.913 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 0035046f  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+150)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 0035a373  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+442)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 0035af31  /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+212)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 0035b45f  /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+142)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 00333a35  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+424)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #06 pc 000f45fb  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #07 pc 0025aa4f  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1550)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #08 pc 0025ae7b  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+74)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #09 pc 00351231  /system/lib/libart.so (_ZNK3art6Thread13DecodeJObjectEP8_jobject+708)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #10 pc 0032bd43  /system/lib/libart.so (_ZN3art17InvokeWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+402)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #11 pc 002727c5  /system/lib/libart.so (_ZN3art3JNI23CallStaticObjectMethodAEP7_JNIEnvP7_jclassP10_jmethodIDP6jvalue+340)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #12 pc 0011000f  /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodAEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDP6jvalueNS_9Primitive4TypeENS_10InvokeTypeE+1794)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #13 pc 001104ab  /system/lib/libart.so (_ZN3art8CheckJNI23CallStaticObjectMethodAEP7_JNIEnvP7_jclassP10_jmethodIDP6jvalue+34)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #14 pc 00ab3930  /data/app/local.test-2/lib/arm/libunity.so (_Z54AndroidJNI_CUSTOM_INTERNAL_CALL_CallStaticObjectMethodPvS_P9MonoArrayRS_+480)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #15 pc 000158d4   (???)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   (no managed stack frames)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366] "main" prio=5 tid=1 Native
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x73ba8fa0 self=0xb4d36500
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21238 nice=-4 cgrp=default sched=0/0 handle=0xb6f24b34
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=133 stm=41 core=1 HZ=100
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xbe3f9000-0xbe3fb000 stackSize=8MB
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 00040894  /system/lib/libc.so (__epoll_pwait+20)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 00019e6f  /system/lib/libc.so (epoll_pwait+26)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 00019e7d  /system/lib/libc.so (epoll_wait+6)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 00012c57  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+102)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 00012ed3  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+130)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 00081d05  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #06 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   at android.os.MessageQueue.nativePollOnce(Native method)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   at android.os.MessageQueue.next(MessageQueue.java:323)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   at android.os.Looper.loop(Looper.java:135)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   at android.app.ActivityThread.main(ActivityThread.java:5417)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.reflect.Method.invoke!(Native method)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366] "Signal Catcher" prio=5 tid=2 WaitingInMainSignalCatcherLoop
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12cf60a0 self=0xaedd1000
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21241 nice=0 cgrp=default sched=0/0 handle=0xb43f1930
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb42f5000-0xb42f7000 stackSize=1014KB
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 00040b68  /system/lib/libc.so (__rt_sigtimedwait+12)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 0001c963  /system/lib/libc.so (sigwait+22)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 0033a725  /system/lib/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+76)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 0033b887  /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+218)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 0003f45f  /system/lib/libc.so (_ZL15__pthread_startPv+30)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 00019b43  /system/lib/libc.so (__start_thread+6)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   (no managed stack frames)
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366] "JDWP" prio=5 tid=3 WaitingInMainDebuggerLoop
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12cf90a0 self=0xacb48e00
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21244 nice=0 cgrp=default sched=0/0 handle=0xb42f2930
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb41f6000-0xb41f8000 stackSize=1014KB
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.914 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 00041948  /system/lib/libc.so (recvmsg+8)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 0040115f  /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ReceiveClientFdEv+94)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 00401921  /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState6AcceptEv+104)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 00266dfb  /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+238)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 00267cc5  /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+16)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0003f45f  /system/lib/libc.so (_ZL15__pthread_startPv+30)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #06 pc 00019b43  /system/lib/libc.so (__start_thread+6)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   (no managed stack frames)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366] "ReferenceQueueDaemon" prio=5 tid=4 Waiting
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12ceee20 self=0xacb4a700
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21246 nice=0 cgrp=default sched=0/0 handle=0xb41f3930
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=1 core=1 HZ=100
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb40f1000-0xb40f3000 stackSize=1038KB
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e4  /system/lib/libc.so (syscall+28)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6b49  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 002bec89  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 002bf9e7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 002d123b  /system/lib/libart.so (_ZN3artL11Object_waitEP7_JNIEnvP8_jobject+38)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0000037f  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+74)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   - waiting on <0x0b6c2114> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:147)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   - locked <0x0b6c2114> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366] "FinalizerDaemon" prio=5 tid=5 Waiting
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12ceee80 self=0xacb4ac00
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21247 nice=0 cgrp=default sched=0/0 handle=0xb40e9930
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=6 stm=0 core=0 HZ=100
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb3fe7000-0xb3fe9000 stackSize=1038KB
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e4  /system/lib/libc.so (syscall+28)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6b49  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 002bec89  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 002bf9e7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 002d1275  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+44)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   - waiting on <0x08965dbd> (a java.lang.ref.ReferenceQueue)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait(Object.java:423)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   - locked <0x08965dbd> (a java.lang.ref.ReferenceQueue)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366] "FinalizerWatchdogDaemon" prio=5 tid=6 Waiting
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12ceeee0 self=0xacb4b100
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21248 nice=0 cgrp=default sched=0/0 handle=0xb3fdf930
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb3edd000-0xb3edf000 stackSize=1038KB
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e4  /system/lib/libc.so (syscall+28)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6b49  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 002bec89  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144)
01-10 17:05:44.915 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 002bf9e7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 002d123b  /system/lib/libart.so (_ZN3artL11Object_waitEP7_JNIEnvP8_jobject+38)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0000037f  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+74)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   - waiting on <0x05c3afb2> (a java.lang.Daemons$FinalizerWatchdogDaemon)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:255)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   - locked <0x05c3afb2> (a java.lang.Daemons$FinalizerWatchdogDaemon)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:227)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366] "HeapTaskDaemon" prio=5 tid=7 Blocked
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12ceef40 self=0xacb4b600
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21249 nice=0 cgrp=default sched=0/0 handle=0xb3ed5930
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=65 stm=7 core=1 HZ=100
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb3dd3000-0xb3dd5000 stackSize=1038KB
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e4  /system/lib/libc.so (syscall+28)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6b49  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 001d73f5  /system/lib/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+104)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 001d7929  /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+72)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 0000037f  /data/dalvik-cache/arm/system@framework@boot.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+74)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   at dalvik.system.VMRuntime.runHeapTasks(Native method)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   - waiting to lock an unknown object
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:355)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366] "Binder_1" prio=5 tid=8 Native
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12cff0a0 self=0xaedd2400
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21250 nice=0 cgrp=default sched=0/0 handle=0xb3ccf930
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=4 stm=4 core=1 HZ=100
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb3bd3000-0xb3bd5000 stackSize=1014KB
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000409bc  /system/lib/libc.so (__ioctl+8)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 00047439  /system/lib/libc.so (ioctl+14)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 0001e909  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 0001edf7  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+6)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 0001ee95  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 000237e1  /system/lib/libbinder.so (???)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #06 pc 0001006d  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #07 pc 0005ee23  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #08 pc 0003f45f  /system/lib/libc.so (_ZL15__pthread_startPv+30)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #09 pc 00019b43  /system/lib/libc.so (__start_thread+6)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   (no managed stack frames)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366] "Binder_2" prio=5 tid=9 Native
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12d040a0 self=0xacb4bb00
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21251 nice=0 cgrp=default sched=0/0 handle=0xb3bcb930
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=0 stm=7 core=2 HZ=100
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb3acf000-0xb3ad1000 stackSize=1014KB
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000409bc  /system/lib/libc.so (__ioctl+8)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 00047439  /system/lib/libc.so (ioctl+14)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 0001e909  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 0001edf7  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+6)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 0001ee95  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 000237e1  /system/lib/libbinder.so (???)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #06 pc 0001006d  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
01-10 17:05:44.916 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #07 pc 0005ee23  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #08 pc 0003f45f  /system/lib/libc.so (_ZL15__pthread_startPv+30)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #09 pc 00019b43  /system/lib/libc.so (__start_thread+6)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   (no managed stack frames)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366] "Thread-1647" prio=5 tid=10 TimedWaiting
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12da8a60 self=0xacbb7700
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21253 nice=0 cgrp=default sched=0/0 handle=0xb387b930
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=2 stm=1 core=1 HZ=100
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xb3779000-0xb377b000 stackSize=1038KB
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+32)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6dc9  /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+120)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 002be9df  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+462)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 002bf9e7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 002d1275  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+44)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   - waiting on <0x09863b03> (a java.lang.Object)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait(Object.java:423)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.comscore.utils.task.TaskThread.a(unavailable:-1)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   - locked <0x09863b03> (a java.lang.Object)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.comscore.utils.task.TaskThread.d(unavailable:-1)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.comscore.utils.task.TaskThread.run(unavailable:-1)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366] "UnityMain" prio=5 tid=11 Native
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12da8dc0 self=0xacbb8b00
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21292 nice=0 cgrp=default sched=0/0 handle=0xaecbf930
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=9694 stm=1204 core=0 HZ=100
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xaebbd000-0xaebbf000 stackSize=1038KB
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e4  /system/lib/libc.so (syscall+28)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6b49  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 00106d25  /system/lib/libart.so (_ZN3art8CheckJNI14ExceptionCheckEP7_JNIEnv+636)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 00b656f8  /data/app/local.test-2/lib/arm/libunity.so (_ZN3jni22CheckForExceptionErrorEP7_JNIEnv+28)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.unity3d.player.UnityPlayer.nativeRender(Native method)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.unity3d.player.UnityPlayer.a(unavailable:-1)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.unity3d.player.UnityPlayer$b$1.handleMessage(unavailable:-1)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at android.os.Handler.dispatchMessage(Handler.java:98)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at android.os.Looper.loop(Looper.java:148)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   at com.unity3d.player.UnityPlayer$b.run(unavailable:-1)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366] "AsyncTask #1" prio=5 tid=12 Waiting
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12cf6100 self=0xb4d36f00
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21294 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0xab469930
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=2 stm=0 core=1 HZ=100
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0xab367000-0xab369000 stackSize=1038KB
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e4  /system/lib/libc.so (syscall+28)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6b49  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 002bec89  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144)
01-10 17:05:44.917 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 002bf9e7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 002d1275  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+44)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   - waiting on <0x0b743a80> (a java.lang.Object)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.parkFor$(Thread.java:1220)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   - locked <0x0b743a80> (a java.lang.Object)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at sun.misc.Unsafe.park(Unsafe.java:299)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366] "pool-1-thread-1" prio=5 tid=13 Waiting
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   | group="" sCount=1 dsCount=0 obj=0x12cf6460 self=0xb4d37400
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   | sysTid=21297 nice=0 cgrp=default sched=0/0 handle=0x9fc10930
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   | stack=0x9fb0e000-0x9fb10000 stackSize=1038KB
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   | held mutexes=
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #00 pc 000175e4  /system/lib/libc.so (syscall+28)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #01 pc 000f6b49  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #02 pc 002bec89  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #03 pc 002bf9e7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #04 pc 002d1275  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+44)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Object.wait!(Native method)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   - waiting on <0x095018b9> (a java.lang.Object)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.parkFor$(Thread.java:1220)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   - locked <0x095018b9> (a java.lang.Object)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at sun.misc.Unsafe.park(Unsafe.java:299)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]   at java.lang.Thread.run(Thread.java:818)
01-10 17:05:44.918 21238 21959 F art     : art/runtime/runtime.cc:366]


UDP is working as expected for me in the Unity editor and on iOS devices.
User avatar
Lapo
Site Admin
Posts: 19434
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: UDP crash on Andriod (via Unity)

Postby Lapo » 12 Jan 2017, 09:21

Hi,
thanks for reporting.
Unfortunately we're not able to even reproduce this. I've tested in the BlueStacks emulator and on a Samsung phone (running Android 4.4) and didn't find any issues when initUDP fails.

To be honest the exception you have reported looks like a C++ pointer issue which is out of our control, since Unity runs the C# bytecode on Android via an ARM-based Mono interpreter. In another words it's a different runtime.

In any case, I would like you to test with the same application we used for testing, just in case and if the exception doesn't show up we could try to narrow down the problem.

We used this basic connector application, which you can download from here.

Please give it a try on a couple of devices, if possible, and let us know if you have problems.
Lapo
--
gotoAndPlay()
...addicted to flash games
abush
Posts: 12
Joined: 11 Feb 2016, 18:40

Re: UDP crash on Andriod (via Unity)

Postby abush » 13 Jan 2017, 01:23

Thanks Lapo,

I'm not able to reproduce a crash in your test project, but calling InitUDP() is definitely the catalyst for a 100% crash issue in my full project.

I'll continue to build up your test project / simplify my project until I find a solution and let you know if I do.

The one major difference between the 2 projects is that mine has ThreadSafeMode disabled. I've tried calling InitUDP from both the main Unity thread and the SFS callback thread without resolution, and I've turned the test project into a multi threaded one without seeing issues. The crash is asynchronous with the InitUDP call, but is there any reason this call (or it's internal handlers) wouldn't be thread safe?

Allan
User avatar
Lapo
Site Admin
Posts: 19434
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: UDP crash on Andriod (via Unity)

Postby Lapo » 13 Jan 2017, 09:13

Hi,
I think the issue is likely to be the ThreadSafeMode. In Unity it must be kept turned on, otherwise nothing will work, pretty much :)

You can turn it off if you're developing in another environment such as Mono or .Net, but in Unity this means that you're potentially holding the main rendering thread in Unity for network stuff and this will cause issues.

My recommendation is not to change that setting. You can still run your own custom threads if you want, but let the SFS API operate the way they are intended to.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 4 guests