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

Tôi đã thấy nhiều báo cáo sự cố được báo cáo trên Fabric với nhật ký ở trên, có cách nào để hiểu và tìm giải pháp cho nó? Tôi đã thử nghiệm trên nhiều thiết bị nhưng tôi không thể sản xuất trên nhật ký. Có khoảng 300 báo cáo sự cố trên Fabric console trong vòng 7 ngày. Tôi vừa kích hoạt CrashlyticsNdk() trong bản cập nhật mới. Có ai có thể giúp tôi xác định vấn đề không.Ứng dụng gặp sự cố với mã gốc

Cảm ơn bạn.

+2

Sự cố này có bị giới hạn đối với các thiết bị cụ thể không? – jitinsharma

+2

chủ yếu là phiên bản Android 5 và 6, bạn có thể kiểm tra báo cáo từ đây http://crashes.to/s/09273513ec6 –

+2

Trông giống như vụ tai nạn liên quan đến ART. Điều này có thể là do triển khai ART tùy chỉnh trên một số điện thoại nhất định. Bạn có thể gây ra lỗi trên trình theo dõi lỗi của Android: https://issuetracker.google.com/issues/new – jitinsharma

Trả lời

3

đây tôi trả lời câu hỏi của riêng tôi sau khi gỡ lỗi lâu, tôi đã tìm thấy một lỗi trong mã JNI tôi đang

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

mã mới

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

đăng nhập đơn giản cho chuỗi con, trong đó tôi đã lấy kích thước chuỗi bằng chiều dài của strin g nhưng chiều dài của chuỗi + 1 sau khi cập nhật kích thước thành N + 1, tôi đã giải quyết được vấn đề của mình.

+0

tốt đẹp tôi đã cố gắng để giải quyết cùng –

2

Tôi nghĩ bạn có phiên bản cũ hơn hoặc gặp sự cố trong tệp gralloc.rk30board.so bạn cần cập nhật nó. thử This Hy vọng điều này sẽ giúp bạn. :)

Các vấn đề liên quan