마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

안드로이드 앱이 몇초 후 꺼지는 현상

0 추천
안녕하세요.

 

안드로이드가 로그인 후 특정 액티비티에 접근했을때 몇초뒤에 자동으로 꺼지는 현상이 있어

질문 드립니다.

오류 원인이 무엇인지 파악이 안되고 디버깅도 안되네요.

 

 

====에러 메시지 =======

2021-04-02 15:59:13.387 27981-27981/? A/DEBUG: Revision: '0'
2021-04-02 15:59:13.387 27981-27981/? A/DEBUG: ABI: 'x86'
2021-04-02 15:59:13.387 27981-27981/? A/DEBUG: Timestamp: 2021-04-02 06:59:13+0000
2021-04-02 15:59:13.387 27981-27981/? A/DEBUG: pid: 27825, tid: 27925, name: RxSchedulerPurg  >>> com.'패키지명'.패키지명.패키지명 <<<
2021-04-02 15:59:13.387 27981-27981/? A/DEBUG: uid: 10211
2021-04-02 15:59:13.387 27981-27981/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2021-04-02 15:59:13.387 27981-27981/? A/DEBUG: Cause: null pointer dereference
2021-04-02 15:59:13.387 27981-27981/? A/DEBUG:     eax 00000000  ebx ddafc1cc  ecx 70683b50  edx 00000000
....중략....
2021-04-02 15:59:13.904 2011-2139/system_process E/InputDispatcher: channel 'f4dfed5 com.'패키지명'.패키지명.패키지명/com.'패키지명'.패키지명.패키지명.activities.MenuActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2021-04-02 15:59:14.206 2691-2747/com.google.android.gms.persistent E/ModuleIdSetter: exception when setting module id
    java.lang.IllegalStateException: Unable to get current module info in ModuleManager created with non-module Context
        at com.google.android.chimera.config.ModuleManager.getCurrentModule(:com.google.android.gms@202414022@20.24.14 (040700-319035315):2)
        at aewd.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):4)
        at aewg.b(:com.google.android.gms@202414022@20.24.14 (040700-319035315):9)
        at aeso.a(Unknown Source:0)
        at rpm.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):0)
        at rlv.c(:com.google.android.gms@202414022@20.24.14 (040700-319035315):1)
        at rlt.b(:com.google.android.gms@202414022@20.24.14 (040700-319035315):1)
        at rok.b(:com.google.android.gms@202414022@20.24.14 (040700-319035315):6)
        at rok.c(:com.google.android.gms@202414022@20.24.14 (040700-319035315):6)
        at rok.b(:com.google.android.gms@202414022@20.24.14 (040700-319035315):10)
        at rok.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):17)
        at rok.g(:com.google.android.gms@202414022@20.24.14 (040700-319035315):3)
        at sdr.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):2)
        at scr.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):10)
        at sci.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):0)
        at scl.handleMessage(:com.google.android.gms@202414022@20.24.14 (040700-319035315):28)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at aekz.a(:com.google.android.gms@202414022@20.24.14 (040700-319035315):2)
        at aekz.dispatchMessage(:com.google.android.gms@202414022@20.24.14 (040700-319035315):14)
        at android.os.Looper.loop(Looper.java:214)
        at android.os.HandlerThread.run(HandlerThread.java:67)
===============
골든레미 (250 포인트) 님이 2021년 4월 2일 질문

1개의 답변

0 추천

혹시  Android NDK를 사용하시나요? 

아랫부분에서 문제가 생기는 것 같은데요.

2021-04-02 15:59:13.904 2011-2139/system_process E/InputDispatcher: channel 'f4dfed5 com.'패키지명'.패키지명.패키지명/com.'패키지명'.패키지명.패키지명.activities.MenuActivity (server)' ~ Channel is unrecoverably broken and will be disposed

스택오버플로우를 찾아보면 아주 오래 전에 관련 질문들이 올라와 있네요. 이유는 memory leak으로 인한 문제이고 해당 버전 이후에 해결이 된 걸로 보입니다. 사용하시는 버전에 대한 버그 리포트를 찾아보시고 관련 이슈가 있었는지 체크하신 다음, 이후 버전의 릴리즈 노트에서 해당 이슈가 해결되었는지 찾아 보세요.

 

spark (227,830 포인트) 님이 2021년 4월 3일 답변
...