2017-12-05 19 views
7
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) 

多くのクラッシュレポートは上記のログで報告されていますが、それを理解し解決する方法はありますか?私は多くのデバイスでテストしましたが、上記ログを生成することはできません。 7日以内にFabric consoleに約300件のクラッシュレポートがあります。新しいアップデートでCrashlyticsNdk()を有効にしました。 問題の特定に誰も助けてくれますか?アプリケーションがネイティブコードでクラッシュする

ありがとうございます。

+2

このクラッシュは特定のデバイスに限定されていますか? – jitinsharma

+2

主にアンドロイドバージョン5と6、ここからレポートを確認できますhttp://crashes.to/s/09273513ec6 –

+2

ART関連のクラッシュのようです。これは、特定の電話機でのカスタムARTの実装が原因である可能性があります。あなたはAndroidのバグトラッカーでバグを起こす可能性があります:https://issuetracker.google.com/issues/new – jitinsharma

答えて

3

は、私は私のJNIコード

古いコード

char signToken[endingNumber - startingNumber]; 
    int at = 0; 
    for (int i = startingNumber; i < endingNumber; i++) { 
     signToken[at] = cstr[i]; 
     at++; 
    } 
    signToken[at] = '\0'; 

新しいコード

char signToken[endingNumber - startingNumber + 1]; 
    int at = 0; 
    for (int i = startingNumber; i < endingNumber; i++) { 
     signToken[at] = cstr[i]; 
     at++; 
    } 
    signToken[at] = '\0'; 
にバグを発見しました

部分文字列の単純なログインです。ここでは、文字列サイズをstrinの長さと同じにしていますgがN + 1にサイズを更新した後の文字列+ 1の長さですが、私は問題を解決しました。

+0

私は同じことを解決しようとしていた –

2

古いバージョンを持っているとか、gralloc.rk30board.soファイルに問題があると思うので、それを更新する必要があります。 try This これがあなたを助けてくれることを願っています。 :)私は長い間、デバッグ後に自分の質問に答えるのですここ

関連する問題