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

मैंने देखा है कि ऊपर से लॉग के साथ Fabric पर कई क्रैश रिपोर्ट्स की सूचना दी गई है, क्या इसे समझने और इसके लिए समाधान खोजने के लिए वैसे भी है? मैंने कई उपकरणों पर परीक्षण किया है लेकिन मैं उपरोक्त लॉग उत्पन्न करने में सक्षम नहीं हूं। 7 दिनों के भीतर Fabric console पर लगभग 300 क्रैश रिपोर्टें हैं। मैंने अभी नए अपडेट में CrashlyticsNdk() सक्षम किया है। क्या कोई मुझे इस मुद्दे की पहचान करने में मदद कर सकता है।देशी कोड

धन्यवाद।

+2

क्या यह क्रैश विशिष्ट उपकरणों तक सीमित है? – jitinsharma

+2

ज्यादातर एंड्रॉइड संस्करण 5 और 6, आप यहां से रिपोर्ट की जांच कर सकते हैं http://crashes.to/s/09273513ec6 –

+2

एआरटी से संबंधित दुर्घटना की तरह दिखता है। यह कुछ फोन पर एक कस्टम एआरटी कार्यान्वयन के कारण हो सकता है। आप एंड्रॉइड बग ट्रैकर पर एक बग बढ़ा सकते हैं: 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'; 
में एक बग पाया है

यह एक सबस्ट्रिंग के लिए आसान लॉगिन है, जहां मैंने स्ट्रिंग आकार को स्ट्रिन की लंबाई के बराबर लिया है जी लेकिन एन + 1 के आकार को अपडेट करने के बाद स्ट्रिंग + 1 की लंबाई है, मैंने अपनी समस्या का समाधान किया है।

+0

अच्छा मैं इसे हल करने की कोशिश कर रहा था –

2

मुझे लगता है कि आपके पास पुराना संस्करण है या फ़ाइल gralloc.rk30board में समस्याएं हैं। इसलिए आपको इसे अपडेट करने की आवश्यकता है। This आज़माएं आशा है कि यह आपकी मदद करेगा। :)

संबंधित मुद्दे