eclipsesource / J2V8

Java Bindings for V8
2.54k stars 355 forks source link

when i quic switch two web pages, crash #539

Closed foolishgao closed 3 years ago

foolishgao commented 3 years ago

01-30 16:36:15.017 12697 13064 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 13064 (Dimina V8 Task ), pid 12697 (e.dimina.sample) 01-30 16:36:15.047 12697 12697 I Dimina : MessageTransferSubJSBridge ddInvokeJS: {"command":"WebView_AppService","event":"custom_event_vdSync","data":[32,[21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]],"invokeId":"","webViewId":1} 01-30 16:36:15.049 12697 12885 I Dimina : webview interceptReq2, url===https://pt-starimg.didistatic.com/static/starimg/img/sQeDxSxdXE1609660415774.png 01-30 16:36:15.050 12697 12697 I HybridLog: https://pt-starimg.didistatic.com/static/starimg/img/sQeDxSxdXE1609660415774.png| onLoadResource加载成功 01-30 16:36:15.051 12697 12885 I Dimina : webview interceptReq2, url===https://pt-starimg.didistatic.com/static/starimg/img/SdlvneDnKe1600845967819.gif 01-30 16:36:15.051 12697 12697 I HybridLog: https://pt-starimg.didistatic.com/static/starimg/img/SdlvneDnKe1600845967819.gif| onLoadResource加载成功 01-30 16:36:15.059 12697 12697 I Dimina : MessageTransferSubJSBridge ddInvokeJS: {"command":"WebView_AppService","event":"custom_event_vdSyncBatch","data":[[64,{},"0.11809060598069832-1611995773935"],[64,[{"id":"","dataset":{},"left":0,"right":0,"top":141,"bottom":141,"width":0,"height":0},{"id":"","dataset":{},"left":0,"right":1,"top":93,"bottom":94,"width":1,"height":1},{"id":"","dataset":{},"scrollLeft":0,"scrollTop":0,"scrollWidth":360,"scrollHeight":694}],"0.14079716533016495-1611995773942"]],"invokeId":"","webViewId":1} 01-30 16:36:15.061 12697 12697 I Dimina : MessageTransferSubJSBridge ddInvokeJS: {"command":"WebView_AppService","event":"custom_event_vdSync","data":[32,[43,44]],"invokeId":"","webViewId":1} 01-30 16:36:15.166 13100 13100 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone 01-30 16:36:15.167 919 919 I /system/bin/tombstoned: received crash request for pid 12697 01-30 16:36:15.168 13100 13100 I crash_dump32: performing dump of process 12697 (target tid = 13064) 01-30 16:36:15.168 13100 13100 F DEBUG : 01-30 16:36:15.168 13100 13100 F DEBUG : Build fingerprint: 'Xiaomi/dipper/dipper:8.1.0/OPM1.171019.026/V10.0.9.0.OEACNFH:user/release-keys' 01-30 16:36:15.168 13100 13100 F DEBUG : Revision: '0' 01-30 16:36:15.168 13100 13100 F DEBUG : ABI: 'arm' 01-30 16:36:15.168 13100 13100 F DEBUG : pid: 12697, tid: 13064, name: Dimina V8 Task >>> com.didi.bike.dimina.sample <<< 01-30 16:36:15.168 13100 13100 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 01-30 16:36:15.173 13100 13100 F DEBUG : Abort message: 'java_vm_ext.cc:534] JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x59' 01-30 16:36:15.173 13100 13100 F DEBUG : r0 00000000 r1 00003308 r2 00000006 r3 00000008 01-30 16:36:15.173 13100 13100 F DEBUG : r4 00003199 r5 00003308 r6 d4fd0c2c r7 0000010c 01-30 16:36:15.173 13100 13100 F DEBUG : r8 00000000 r9 d4fd0c79 sl 0000000a fp d4fd0c78 01-30 16:36:15.173 13100 13100 F DEBUG : ip cc23f7c0 sp d4fd0c18 lr f4577043 pc f4570a2c cpsr 200f0030 01-30 16:36:15.176 13100 13100 F DEBUG : 01-30 16:36:15.176 13100 13100 F DEBUG : backtrace: 01-30 16:36:15.176 13100 13100 F DEBUG : #00 pc 0001aa2c /system/lib/libc.so (abort+63) 01-30 16:36:15.176 13100 13100 F DEBUG : #01 pc 0036020f /system/lib/libart.so (art::Runtime::Abort(char const)+262) 01-30 16:36:15.176 13100 13100 F DEBUG : #02 pc 00420e5d /system/lib/libart.so (android::base::LogMessage::~LogMessage()+452) 01-30 16:36:15.176 13100 13100 F DEBUG : #03 pc 0024efa1 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const, char const)+1232) 01-30 16:36:15.176 13100 13100 F DEBUG : #04 pc 0024f197 /system/lib/libart.so (art::JavaVMExt::JniAbortF(char const, char const, ...)+66) 01-30 16:36:15.176 13100 13100 F DEBUG : #05 pc 00382e51 /system/lib/libart.so (art::Thread::DecodeJObject(_jobject) const+296) 01-30 16:36:15.176 13100 13100 F DEBUG : #06 pc 000d5dad /system/lib/libart.so (art::ScopedCheck::CheckInstance(art::ScopedObjectAccess&, art::ScopedCheck::InstanceKind, _jobject, bool)+44) 01-30 16:36:15.176 13100 13100 F DEBUG : #07 pc 000d550f /system/lib/libart.so (art::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::JniValueType)+226) 01-30 16:36:15.176 13100 13100 F DEBUG : #08 pc 000d4da1 /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const, art::JniValueType)+600) 01-30 16:36:15.176 13100 13100 F DEBUG : #09 pc 000c916f /system/lib/libart.so (art::CheckJNI::IsInstanceOf(_JNIEnv, _jobject, _jclass)+454) 01-30 16:36:15.176 13100 13100 F DEBUG : #10 pc 00383d4b /data/app/com.didi.bike.dimina.sample-RZx6oiLJZCv77NfuyCn6vA==/lib/arm/libj2v8.so (throwExecutionException(_JNIEnv, char const, int, v8::String::Value, v8::String::Value, int, int, char const, long long)+154) 01-30 16:36:15.176 13100 13100 F DEBUG : #11 pc 0037d4f7 /data/app/com.didi.bike.dimina.sample-RZx6oiLJZCv77NfuyCn6vA==/lib/arm/libj2v8.so (throwExecutionException(_JNIEnv, v8::Local const&, v8::Isolate, v8::TryCatch, long long)+310) 01-30 16:36:15.176 13100 13100 F DEBUG : #12 pc 0037de2b /data/app/com.didi.bike.dimina.sample-RZx6oiLJZCv77NfuyCn6vA==/lib/arm/libj2v8.so (Java_com_eclipsesource_v8_V8__1executeScript+202) 01-30 16:36:15.176 13100 13100 F DEBUG : #13 pc 000ac1e9 /data/app/com.didi.bike.dimina.sample-RZx6oiLJZCv77NfuyCn6vA==/oat/arm/base.odex (offset 0x5b000) 01-30 16:36:15.194 1408 1824 D NtpTrustedTime: currentTimeMillis() cache hit 01-30 16:36:15.216 1408 1824 D NtpTrustedTime: currentTimeMillis() cache hit 01-30 16:36:15.209 632 632 W Binder:632_2: type=1400 audit(0.0:32381): avc: denied { add_name } for name="globalAlert" scontext=u:r:netd:s0 tcontext=u:object_r:proc_net:s0 tclass=dir permissive=0