2.1版本android XMLHttp 请求崩溃

斯塔林Starlin
Thu, 20 Dec 2018 16:21:48 +0000

如题 XMLHttp请求内网就崩溃 回调都还没到，请求外网就没事
2018-12-21 00 26.309 756-827/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/scsi_host/host0/…/…/…/clkscale_enable with 1
return value 2
2018-12-21 00 26.310 729-9567/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2018-12-21 00 26.330 729-9567/? I/chatty: uid=1041(audioserver) writer identical 1 line
2018-12-21 00 26.351 729-9567/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2018-12-21 00 26.360 7647-7757/com.hzlysss.herodash D/JniHelper: JniHelper::getJavaVM(), pthread_self() = 526130869488

--------- beginning of crash

2018-12-21 00 26.369 7647-7681/com.hzlysss.herodash A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 7681 (GLThread 4026)
2018-12-21 00 26.371 729-9567/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2018-12-21 00 26.432 729-9567/? I/chatty: uid=1041(audioserver) writer identical 3 lines
2018-12-21 00 26.453 729-9567/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2018-12-21 00 26.455 7761-7761/? I/crash_dump64: obtaining output fd from tombstoned
2018-12-21 00 26.456 947-947/? I//system/bin/tombstoned: received crash request for pid 7647
2018-12-21 00 26.458 7761-7761/? I/crash_dump64: performing dump of process 7647 (target tid = 7681)
2018-12-21 00 26.460 7761-7761/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2018-12-21 00 26.460 7761-7761/? A/DEBUG: Build fingerprint: ‘Xiaomi/sagit/sagit:8.0.0/OPR1.170623.027/V10.0.2.0.OCACNFH:user/release-keys’
2018-12-21 00 26.460 7761-7761/? A/DEBUG: Revision: ‘0’
2018-12-21 00 26.460 7761-7761/? A/DEBUG: ABI: ‘arm64’
2018-12-21 00 26.460 7761-7761/? A/DEBUG: pid: 7647, tid: 7681, name: GLThread 4026 >>> com.hzlysss.herodash <<<
2018-12-21 00 26.460 7761-7761/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2018-12-21 00 26.460 7761-7761/? A/DEBUG: Cause: null pointer dereference
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x0 0000000000000000 x1 0000000000000000 x2 0000000000000016 x3 0000000000000050
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x4 0000000000000000 x5 0000000040100401 x6 0000000000000012 x7 0000007ab4602da9
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x8 0101010101010101 x9 0000007ab4602dc8 x10 0000007ab40b87d9 x11 0000000000000000
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x12 0000000000000020 x13 0000007ab4602dc8 x14 0000000000000080 x15 aaaaaaaaaaaaaaab
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x16 0000007ab4484458 x17 0000007acf3e8350 x18 0000000000000014 x19 0000007ace317c00
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x20 0000007acf947cf8 x21 0000007ace317c00 x22 0000007ab460453c x23 0000007ab4bd31f6
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x24 0000000000000000 x25 0000007ace317c98 x26 0000000000000000 x27 0000000000000000
2018-12-21 00 26.460 7761-7761/? A/DEBUG: x28 0000007ab4604290 x29 0000007ab4601920 x30 0000007ab31d7284
2018-12-21 00 26.460 7761-7761/? A/DEBUG: sp 0000007ab4601910 pc 0000007acf3e8360 pstate 0000000080000000
2018-12-21 00 26.474 729-9567/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2018-12-21 00 26.477 7761-7761/? A/DEBUG: backtrace:
2018-12-21 00 26.477 7761-7761/? A/DEBUG: #00 pc 000000000001d360 /system/lib64/libc.so (strlen+16)
2018-12-21 00 26.477 7761-7761/? A/DEBUG: #01 pc 0000000000315280 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (_ZNSt6__ndk111char_traitsIcE6lengthEPKc+20)
2018-12-21 00 26.477 7761-7761/? A/DEBUG: #02 pc 0000000000457548 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so
2018-12-21 00 26.477 7761-7761/? A/DEBUG: #03 pc 0000000000570c10 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (_ZN14XMLHttpRequest9getHeaderERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE+9212)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #04 pc 0000000000572de4 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (_ZN14XMLHttpRequest10onResponseEPN7cocos2d7network10HttpClientEPNS1_12HttpResponseE+3428)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #05 pc 0000000000589af4 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (ZNSt6__ndk128__invoke_void_return_wrapperIvE6__callIJRNS_6__bindIM14XMLHttpRequestFvPN7cocos2d7network10HttpClientEPNS6_12HttpResponseEEJPS4_RKNS_12placeholders4__phILi1EEERKNSF_ILi2EEEEEES8_SA_EEEvDpOT+700)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #06 pc 0000000000589698 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (ZNSt6__ndk110__function6__funcINS_6__bindIM14XMLHttpRequestFvPN7cocos2d7network10HttpClientEPNS5_12HttpResponseEEJPS3_RKNS_12placeholders4__phILi1EEERKNSE_ILi2EEEEEENS_9allocatorISL_EEFvS7_S9_EEclEOS7_OS9+68)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #07 pc 000000000078f4c0 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (ZNKSt6__ndk18functionIFvPN7cocos2d7network10HttpClientEPNS2_12HttpResponseEEEclES4_S6+100)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #08 pc 0000000000797638 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #09 pc 00000000007975c4 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #10 pc 0000000000797414 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #11 pc 0000000000363978 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (_ZNKSt6__ndk18functionIFvvEEclEv+56)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #12 pc 0000000000479a80 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (_ZN7cocos2d9Scheduler6updateEf+1216)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #13 pc 000000000035e710 /data/app/com.hzlysss.herodash-ny_2kJz5Pew-jASwECfK9A==/lib/arm64/libcocos2djs.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeRender+820)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #14 pc 0000000000517700 /system/lib64/libart.so (art_quick_generic_jni_trampoline+144)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #15 pc 000000000050e638 /system/lib64/libart.so (art_quick_invoke_static_stub+600)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #16 pc 00000000000d8e80 /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+260)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #17 pc 0000000000283490 /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+352)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #18 pc 000000000027db60 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+672)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #19 pc 00000000004f7218 /system/lib64/libart.so (MterpInvokeStatic+468)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #20 pc 00000000004fff94 /system/lib64/libart.so (ExecuteMterpImpl+14612)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #21 pc 000000000025e8dc /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #22 pc 0000000000264fdc /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #23 pc 000000000027db40 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #24 pc 00000000004f6c40 /system/lib64/libart.so (MterpInvokeInterface+1732)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #25 pc 0000000000500014 /system/lib64/libart.so (ExecuteMterpImpl+14740)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #26 pc 000000000025e8dc /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #27 pc 0000000000264fdc /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #28 pc 000000000027db40 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #29 pc 00000000004f6f60 /system/lib64/libart.so (MterpInvokeDirect+504)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #30 pc 00000000004fff14 /system/lib64/libart.so (ExecuteMterpImpl+14484)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #31 pc 000000000025e8dc /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #32 pc 00000000004e9b7c /system/lib64/libart.so (artQuickToInterpreterBridge+1468)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #33 pc 000000000051781c /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #34 pc 000000000050e384 /system/lib64/libart.so (art_quick_invoke_stub+580)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #35 pc 00000000000d8e44 /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #36 pc 00000000004322f0 /system/lib64/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+104)
2018-12-21 00 26.478 7761-7761/? A/DEBUG: #37 pc 000000000043347c /system/lib64/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+432)
2018-12-21 00 26.479 7761-7761/? A/DEBUG: #38 pc 000000000045c9f4 /system/lib64/libart.so (_ZN3art6Thread14CreateCallbackEPv+1112)
2018-12-21 00 26.479 7761-7761/? A/DEBUG: #39 pc 00000000000666cc /system/lib64/libc.so (_ZL15__pthread_startPv+36)
2018-12-21 00 26.479 7761-7761/? A/DEBUG: #40 pc 000000000001f1e4 /system/lib64/libc.so (__start_thread+68)

阅读整个主题