pockethub / PocketHub

PocketHub Android App
Apache License 2.0
9.39k stars 3.46k forks source link

App crash after device rotation #1222

Closed calbee633810 closed 6 years ago

calbee633810 commented 6 years ago

Description

In the login page opened by WebView, rotation makes the app crash

Versions and device

What version of the app does this happen on?\ 0.4.0 Was the version downloaded from the Play Store?\ 0.4.0 on Google Play What version of Android does it happen on?\ Android 23 What model of phone does it happen on? Android 23

Steps to Reproduce

  1. Open app and click LOG IN to open WebView
  2. Rotating my device twice (sometimes 3 or 4 times) will make the app crash.

Maybe a memory leak caused by WebView?

Logs

// CRASH: com.github.pockethub.android (pid 3819)

// Short Msg: Native crash

// Long Msg: Native crash: Aborted

// Build Label: Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/4660549:userdebug/test-keys

// Build Changelist: 4660549

// Build Time: 1521237221000

//

// Build fingerprint: 'Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/4660549:userdebug/test-keys'

// Revision: '0'

// ABI: 'x86'

// pid: 3819, tid: 3819, name: ckethub.android >>> com.github.pockethub.android <<<

// signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

// Abort message: '[FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report

// '

// eax 00000000 ebx 00000eeb ecx 00000eeb edx 00000006

// esi b7770c50 edi 0000000b

// xcs 00000073 xds 0000007b xes 0000007b xfs 00000007 xss 0000007b

// eip b7339a56 ebp 00000eeb esp bfa16310 flags 00200206

//

// backtrace:

// #00 pc 00083a56 /system/lib/libc.so (tgkill+22)

// #01 pc 00081608 /system/lib/libc.so (pthread_kill+70)

// #02 pc 00027205 /system/lib/libc.so (raise+36)

// #03 pc 000209e4 /system/lib/libc.so (abort+80)

// #04 pc 0037328a /system/app/webview/webview.apk (offset 0x7ea000)

// #05 pc 000009a3 /data/misc/shared_relro/libwebviewchromium32.relro

//