likuai2010 / ClashMeta

半成品
446 stars 56 forks source link

添加url之后点击保存按钮闪退了,打断点看起来是nativeFetchAndValid这个函数拉起子线程后没进fetchAndValid的逻辑,参数传成了空指针 #30

Open shinetata opened 1 hour ago

shinetata commented 1 hour ago

Fingerprint:2f60c4a7ba1e952cdc06db75a16d0d862186d22853a78834ba0550f052ea5cf7 Module name:com.xiaobai.clash Version:1.3.2 VersionCode:103002 PreInstalled:No Foreground:Yes Timestamp:2024-11-19 20:32:49.246 Pid:19317 Uid:20020191 Process name:com.xiaobai.clash Process life time:10s Reason:Signal:SIGSEGV(SEGV_MAPERR)@000000000000000000 probably caused by NULL pointer dereference Fault thread info: Tid:19661, Name:m.xiaobai.clash

00 pc 0000000000000000 Not mapped

01 pc 0000000000018754 /data/storage/el1/bundle/libs/arm64/libentry.so(ce3912a21613d0973f3fbbef4b6ecc150b809f4c)

02 pc 0000000000018648 /data/storage/el1/bundle/libs/arm64/libentry.so(ce3912a21613d0973f3fbbef4b6ecc150b809f4c)

03 pc 00000000000185bc /data/storage/el1/bundle/libs/arm64/libentry.so(ce3912a21613d0973f3fbbef4b6ecc150b809f4c)

04 pc 0000000000017fe4 /data/storage/el1/bundle/libs/arm64/libentry.so(ce3912a21613d0973f3fbbef4b6ecc150b809f4c)

05 pc 00000000001ba900 /system/lib/ld-musl-aarch64.so.1(start+236)(ec44c498ff1525a6f5d1a1a23c105a8b)

Registers: x0:0000005baa0987a0 x1:0000005aa34488a0 x2:0000005aa35b6d00 x3:0000000000000001 x4:0000005bad04f8cc x5:0000000036363931 x6:0000000036363931 x7:3a6b636174735f6c x8:0000000000000000 x9:0000000000000001 x10:0000000000000018 x11:000000007fffffff x12:0000000000000000 x13:0000000000000000 x14:0000000000000000 x15:0000000000000000 x16:0000005baa0aae40 x17:0000005a0a3ff9b0 x18:0000000000000005 x19:0000005bad04f978 x20:0000005bad04f968 x21:0000005a0b56f1e0 x22:0000000000000000 x23:0000005bad04f9a8 x24:0000005a0a642000 x25:0000005bad04f988 x26:0000005bad04f978 x27:0000005bad04f968 x28:0000005a0a641840 x29:0000005bad04f870 lr:0000005baa098758 sp:0000005bad04f830 pc:0000000000000000 Other thread info: Tid:19317, Name:m.xiaobai.clash

00 pc 00000000001b61c0 /system/lib/ld-musl-aarch64.so.1(__timedwait_cp+192)(ec44c498ff1525a6f5d1a1a23c105a8b)

01 pc 00000000001bc354 /system/lib/ld-musl-aarch64.so.1(__pthread_mutex_timedlock_inner+592)(ec44c498ff1525a6f5d1a1a23c105a8b)

02 pc 00000000001d9004 /system/lib/ld-musl-aarch64.so.1(PauseMainThreadHandler+76)(ec44c498ff1525a6f5d1a1a23c105a8b)

03 pc 0000000000001a0c [shmm]

04 pc 0000000000001468 [shmm]

05 pc 00000000001bb244 /system/lib/ld-musl-aarch64.so.1(__pthread_join+124)(ec44c498ff1525a6f5d1a1a23c105a8b)

06 pc 00000000000d3b20 /data/storage/el1/bundle/libs/arm64/libc++_shared.so(std::__n1::thread::join()+28)(cdf97be9396a35e8f4806f252f90a11320d26ec6)

07 pc 0000000000014358 /data/storage/el1/bundle/libs/arm64/libentry.so(ce3912a21613d0973f3fbbef4b6ecc150b809f4c)

08 pc 000000000003cdc8 /system/lib64/platformsdk/libace_napi.z.so(panda::JSValueRef ArkNativeFunctionCallBack(panda::JsiRuntimeCallInfo*)+216)(dc293a22b36a4db17dc689ff9413b64e)

09 pc 00000000003f4eac /system/lib64/module/arkcompiler/stub.an(RTStub_PushCallRangeAndDispatchNative+140)

10 at anonymous (entry/src/main/ets/entryability/ProfileViewModel.ets:109:7)

11 pc 00000000003a3020 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::InterpreterAssembly::Execute(panda::ecmascript::EcmaRuntimeCallInfo*)+216)(a3d1ba664de66d31faed07d711ee1299)

12 pc 000000000026dd00 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::builtins::BuiltinsPromise::PromiseConstructor(panda::ecmascript::EcmaRuntimeCallInfo*)+316)(a3d1ba664de66d31faed07d711ee1299)

13 pc 00000000003f4cf8 /system/lib64/module/arkcompiler/stub.an(RTStub_PushCallNewAndDispatchNative+136)

14 at download (entry/src/main/ets/entryability/ProfileViewModel.ets:108:12)

15 at addProfile (entry/src/main/ets/entryability/ProfileViewModel.ets:83:28)

16 pc 00000000003a3268 /system/lib64/platformsdk/libark_jsruntime.so

shinetata commented 1 hour ago

20241119203700