2017-12-05 2 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

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 파일에 문제가 있다고 생각되면 업데이트해야합니다. 시도하십시오 This 희망이 도움이 될 것입니다. :) 나는 긴 디버깅 후 내 자신의 질문에 대답하고 여기

관련 문제