Android端native方法appWillTerminate报错

po1xiao 2021-7-6 680

...

07 pc 0000000000012ed4 /apex/com.android.art/lib64/libart.so [arm64-v8a::57ee1747ddfb5bbdbf7894d4ed857868]

08 pc 00000000000097e8 /apex/com.android.art/lib64/libart.so [arm64-v8a::57ee1747ddfb5bbdbf7894d4ed857868]

09 pc 000000000006deb0 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+232) [arm64-v8a::57ee1747ddfb5bbdbf7894d4ed857868]

10 pc 00000000001e10d8 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame, unsigned short, art::JValue)+376) [arm64-v8a::57ee1747ddfb5bbdbf7894d4ed857868]

11 pc 00000000001dc1f0 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, art::JValue)+884) [arm64-v8a::57ee1747ddfb5bbdbf7894d4ed857868]

12 pc 0000000000511890 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) [arm64-v8a::57ee1747ddfb5bbdbf7894d4ed857868]

13 pc 0000000000003994 /apex/com.android.art/lib64/libart.so [arm64-v8a::57ee1747ddfb5bbdbf7894d4ed857868]

14 pc 00000000000bfffc

java:

cn.wildfirechat.client.ClientService.resetProto(ClientService.java:2594)

cn.wildfirechat.client.ClientService.onDestroy(ClientService.java:2547)

...

这个问题我看你们也注意到了,在ClientService中有个try-catch捕获了,但是try-catch捕获不到native的报错,请问是否可以再native层处理下,再发布个新版本呢?

最新回复 (0)
返回