Om *_*ers 7 java-native-interface android android-ndk crashlytics .so
Crashed: .onlineradioapp|
0 gralloc.rk30board.so 0xb4a2d616 bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
1 gralloc.rk30board.so 0xb4a315c9 (Missing)
2 gralloc.rk30board.so 0xb48e2465 art::JValue art::interpreter::ExecuteGotoImpl<true, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
3 gralloc.rk30board.so 0xb4a1349d artInterpreterToInterpreterBridge
4 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
5 gralloc.rk30board.so 0xb48f2fef art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
6 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
7 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
8 gralloc.rk30board.so 0xb48f2c1b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
9 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
10 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
11 gralloc.rk30board.so 0xb4a30de9 (Missing)
12 gralloc.rk30board.so 0xb48f308b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
13 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
14 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
15 gralloc.rk30board.so 0xb48f2c1b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
16 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
17 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
18 gralloc.rk30board.so 0xb48f2c1b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
19 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
20 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
21 gralloc.rk30board.so 0xb48f2c1b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
22 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
23 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
24 gralloc.rk30board.so 0xb48f2c1b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
25 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
26 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
27 gralloc.rk30board.so 0xb48f2c1b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
28 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
29 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
30 gralloc.rk30board.so 0xb48f2c1b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
31 gralloc.rk30board.so 0xb4a133dd artInterpreterToInterpreterBridge
32 gralloc.rk30board.so 0xb4a2d031 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)
33 gralloc.rk30board.so 0xb4a30de9 (Missing)
34 gralloc.rk30board.so 0xb48f308b art::JValue art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)
35 gralloc.rk30board.so 0xb4a131b5 art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*)
36 gralloc.rk30board.so 0xb4c1973b artQuickToInterpreterBridge
37 gralloc.rk30board.so 0xb491d003 (Missing)
38 boot.oat 0x73b4e2bb (Missing)
Run Code Online (Sandbox Code Playgroud)
我已经看到Fabric上面的日志报告了很多崩溃报告,无论如何要了解它并找到它的解决方案?我已在许多设备上进行了测试,但我无法生成上述日志.Fabric console7天内有大约300份崩溃报告.我刚刚启用CrashlyticsNdk()了新的更新.任何人都可以帮我识别问题.
谢谢.
经过长时间调试,我在这里回答我自己的问题,我在我的 JNI 代码中发现了一个错误
旧代码
char signToken[endingNumber - startingNumber];
int at = 0;
for (int i = startingNumber; i < endingNumber; i++) {
signToken[at] = cstr[i];
at++;
}
signToken[at] = '\0';
Run Code Online (Sandbox Code Playgroud)
新代码
char signToken[endingNumber - startingNumber + 1];
int at = 0;
for (int i = startingNumber; i < endingNumber; i++) {
signToken[at] = cstr[i];
at++;
}
signToken[at] = '\0';
Run Code Online (Sandbox Code Playgroud)
这是子字符串的简单登录,其中我采用的字符串大小等于字符串的长度,但在将大小更新为 N+1 后它的长度为字符串+1,我已经解决了我的问题。
| 归档时间: |
|
| 查看次数: |
500 次 |
| 最近记录: |