I am completely not aware that which part of my code makes this crash.
I use photoview, picasso, google analytics, FAB appcompat, cardview, libraries in my app. A single clue that I have is it occurs only in below Samsung tablet kinda devices.
Samsung Galaxy Tab4 10.0
Samsung Galaxy Note Pro 12.2
Samsung Galaxy Tab Pro 12.2
Samsung Galaxy TabS 10.5
Please help me on this issue. Thanks in advance.
Crash logs are below:
Build fingerprint: 'samsung/chagallltevl/chagallltecan:4.4.2/KOT49H/T805WVLU1ANG6:user/release-keys'
Revision: '7'
pid: 17790, tid: 17790, name: com.companyname.product >>> com.companyname.product <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 0000457e r2 00000006 r3 00000000
r4 00000006 r5 0000000c r6 0000457e r7 0000010c
r8 bef6c368 r9 417a5bf0 sl 418a8038 fp bef6c37c
ip 402a62c4 sp bef6c2c0 lr 4013a0e1 pc 401492d0 cpsr 000e0010
d0 746f626f522f7372 d1 616c756765522d2e
d2 7461642f3a706974 d3 6f632f7070612f74
d4 8000000000000000 d5 44954000422c0000
d6 0000000000000000 d7 422c00000000002b
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 3ff0000000000000
d18 0000000000000000 d19 3ff0000000000000
d20 0000000000000000 d21 0000000000000000
d22 0000000000000000 d23 0000000000000000
d24 0000000000000000 d25 0000000000000000
d26 3ff0000000000000 d27 0000000000000000
d28 3ff0000000000000 d29 0000000000000000
d30 0000000000000000 d31 0000000000000000
scr 60000013
backtrace:
#00 pc 000222d0 /system/lib/libc.so (tgkill+12)
#01 pc 000130dd /system/lib/libc.so (pthread_kill+48)
#02 pc 000132f1 /system/lib/libc.so (raise+10)
#03 pc 00012027 /system/lib/libc.so
#04 pc 00021b84 /system/lib/libc.so (abort+4)
#05 pc 00000921 /system/lib/libstdc++.so (operator new(unsigned int)+8)
#06 pc 0000cfd5 /system/lib/libandroidfw.so (android::_CompressedAsset::getBuffer(bool)+12)
#07 pc 00085339 /system/lib/libandroid_runtime.so
#08 pc 0001eacc /system/lib/libdvm.so (dvmPlatformInvoke+112)
#09 pc 0004f04b /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#10 pc 00027ee0 /system/lib/libdvm.so
#11 pc 0002ef14 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#12 pc 0002c578 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#13 pc 0006172d /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#14 pc 00069acf /system/lib/libdvm.so
#15 pc 00027ee0 /system/lib/libdvm.so
#16 pc 0002ef14 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#17 pc 0002c578 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#18 pc 00061449 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#19 pc 0004ac33 /system/lib/libdvm.so
#20 pc 0005251b /system/lib/libandroid_runtime.so
#21 pc 00053aaf /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#22 pc 0000105b /system/bin/app_process
#23 pc 0000e45f /system/lib/libc.so (__libc_init+50)
#24 pc 00000d7c /system/bin/app_process
code around pc:
401492b0 e8bd00f0 e3700a01 912fff1e e2600000
401492c0 ea006e86 e92d50f0 e3a07f43 ef000000
401492d0 e8bd50f0 e3700a01 912fff1e e2600000
401492e0 ea006e7e e92d50f0 e3a070ee ef000000
401492f0 e8bd50f0 e3700a01 912fff1e e2600000
40149300 ea006e76 e1520003 8a00008c f5d1f040
40149310 e92d4001 e3520010 3a000024 e2603000
40149320 e213300f 0a00000e e0422003 e1b0cf83
40149330 44d1e001 44c0e001 24d1c001 24d1e001
40149340 24c0c001 24c0e001 e1b0ce83 aa000001
40149350 f4a1030d f480031d 3a000001 f421070d
40149360 f400071d e2522040 3a000006 f421020d
40149370 f421420d f5d1f100 e2522040 f400022d
40149380 f400422d 2afffff8 e2922020 3a000002
40149390 f421020d e2422020 f400022d e2822020
401493a0 e3120010 0a000001 f4210a0d f4000a2d
code around lr:
4013a0c0 447b4b13 42b3e010 4812d10e 44786a1e
4013a0d0 ec90f7fb ea42f00d 46224631 e8f2f00f
4013a0e0 d00a3001 e00b2400 2b00681b 480ad1eb
4013a0f0 44782403 ec7ef7fb f001e002 6804fa87
4013a100 fa84f001 46206005 bf00bd70 0003b2e2
4013a110 0003b2d6 0003b2ce 0003b2aa bf7ef7ff
4013a120 4a3e4b3d 43f0e92d 4606b08b 447b460d
4013a130 6823589c 930946a1 fa68f001 8000f8d0
4013a140 d0482d00 f00f4628 280fffc3 d8444604
4013a150 ffe4f7ff d1064286 4629200f e90cf00d
4013a160 d03c2800 482ee02e f7fb4478 482debc2
4013a170 e0154478 d11342b0 482b6a06 f7fb4478
4013a180 4a2aec3a 46332120 447aa801 fb44f013
4013a190 a8012101 fe46f01a 46061c42 e011d104
4013a1a0 28006800 e02cd1e6 46294630 f00d4622
4013a1b0 1c43e948 d11e4607 fa28f001 29046801
I found the root cause of the issue. I am using custom font in my app. So whenever I initialize the custom font, I should have added the code like
if(robotoRegularTypeFace == null)
{
robotoRegularTypeFace = Typeface.createFromAsset(context.getAssets(), "fonts/Roboto-Regular.ttf");
}
If I didn't add this if check, the memory will be leaked.
Related
I have just put my first app on Google Play (a simple game with Libgdx) and recieved a first crash report. But I don't know how to analyze it. I have searched google and found a few guides but they are quite advanced and they don't really tell how to know what went wrong. I imagined that crash reports would include an exception type and a line number in which error happend, like in adb. But obviously, they don't. Here is my crash report:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/I9100XWMS2:user/release-keys'
Revision: '11'
pid: 6133, tid: 6133, name: com.mbostic >>> com.mbostic <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 4003b7e8 r1 00000080 r2 fffffd76 r3 00000000
r4 4003b7e8 r5 4003b7d8 r6 fffffd76 r7 000000f0
r8 00000004 r9 4cab82b0 sl 00000000 fp 416db9f0
ip 00000000 sp be9345a0 lr 4013bfa8 pc 4014e9d0 cpsr 600b0010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0000000000000000 d5 3f80000000000000
d6 0000000000000000 d7 0000000000000000
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000002968 d17 0000000014d20903
d18 0000000014d1df9b d19 0000000000000000
d20 0000000000000000 d21 0000000000000000
d22 0000000000000000 d23 bff0000000000000
d24 3f71111120000000 d25 8000000000000000
d26 3ff0000000000000 d27 bf9b4e81c0000000
d28 8000000000000000 d29 0000000000000000
d30 0000000000000000 d31 0000000000000000
scr 20000013
backtrace:
#00 pc 000219d0 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000efa4 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f004 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 000542eb /system/lib/libdvm.so
#04 pc 00068e29 /system/lib/libdvm.so
#05 pc 00027f20 /system/lib/libdvm.so
#06 pc 0002f418 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#07 pc 0002cabc /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#08 pc 00061e05 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#09 pc 00069fc3 /system/lib/libdvm.so
#10 pc 00027f20 /system/lib/libdvm.so
#11 pc 0002f418 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#12 pc 0002cabc /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#13 pc 00061b23 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+338)
#14 pc 0004b287 /system/lib/libdvm.so
#15 pc 00051b83 /system/lib/libandroid_runtime.so
#16 pc 000528a7 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#17 pc 0000105b /system/bin/app_process
#18 pc 0000e42b /system/lib/libc.so (__libc_init+50)
#19 pc 00000d7c /system/bin/app_process
code around pc:
4014e9b0 e5900000 e2601000 e0100001 116f0f10
4014e9c0 12600020 e12fff1e e1a0c007 e3a070f0
4014e9d0 ef000000 e1a0700c e12fff1e eafffff9
4014e9e0 e1a0c007 e1a03002 e1a02001 e3a01000
4014e9f0 e3a070f0 ef000000 e1a0700c e12fff1e
4014ea00 e1a0c007 e1a02001 e3a01001 e3a070f0
4014ea10 ef000000 e1a0700c e12fff1e e1a0000d
4014ea20 e12fff1e e92d50f0 e3a07025 ef000000
4014ea30 e8bd50f0 e3700a01 912fff1e e2600000
4014ea40 ea006ff9 f5d0f000 f5d1f000 e1500001
4014ea50 13520000 03a00000 012fff1e e1a03000
4014ea60 e352000c 5a000008 f5d0f020 f5d1f020
4014ea70 e0d300b2 e0d1c0b2 e050000c 112fff1e
4014ea80 e2522001 1afffff9 e12fff1e e92d4010
4014ea90 e3130002 0a000005 e0d300b2 e0d1c0b2
4014eaa0 e2422001 e050000c 18bd4010 112fff1e
code around lr:
4013bf88 e5946000 ebfffe8a e5941000 e1a03007
4013bf98 e1a02006 e1a00004 e2011001 ebfffd5f
4013bfa8 e1a04000 e1a00005 ebfffe40 e374006e
4013bfb8 03a0006e 13a00000 e8bd80f8 e3520000
4013bfc8 e92d4030 e1a05000 e24dd00c e1a04001
4013bfd8 0a000007 e1a01002 e1a0000d e1a02003
4013bfe8 ebfffd12 e3500000 b3a0006e ba000003
4013bff8 e1a0200d e1a00005 e1a01004 ebffffda
4013c008 e28dd00c e8bd8030 e3a03000 eaffffea
4013c018 e3a02000 eafffffb e3a03001 eaffffe6
4013c028 eaffffd1 e304cdd3 e92d4010 e341c062
4013c038 e1a0e002 e084329c e3043240 e340300f
4013c048 e24dd008 e1a0200d e1a0c324 e3a04ffa
4013c058 e06eec94 e58dc000 e0030e93 e58d3004
4013c068 ebffffc1 e28dd008 e8bd8010 e5903000
4013c078 e92d4070 e1a04000 e1a05001 e3130002
I am getting crash reports from Google Play. And all those error occur only on Android v4.4.2.
I don't known what is causing the crash and how do i fix it.
Hope someone can help me.
Log:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/ja3gxx/ja3g:4.4.2/KOT49H/I9500XXUFNI2:user/release-keys'
Revision: '10'
pid: 28579, tid: 28587, name: FinalizerDaemon >>> com.iam.nearer.app <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'heap corruption detected by dlfree'
r0 00000000 r1 00006fab r2 00000006 r3 00000000
r4 00000006 r5 00000000 r6 00006fab r7 0000010c
r8 00000000 r9 72822f48 sl 7282c108 fp 72a90b24
ip 00000016 sp 72a909b8 lr 401090e1 pc 401182d0 cpsr 000f0010
d0 65746564206e6f64 d1 207962206465746c
d2 6dba675800000066 d3 0000010000000072
d4 8000000000000000 d5 0000000000000000
d6 4b83075000000000 d7 42c8000000000003
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 0000000000000000 d19 8000000000000000
d20 0000000000004000 d21 0000000000000000
d22 0000000000004000 d23 8000000000000000
d24 0000000000000000 d25 4008000000000000
d26 3fc2f112df3e5244 d27 0000000000000001
d28 00000000000000e6 d29 00000000000000e5
d30 0000000000000001 d31 0000000000004000
scr 80000010
backtrace:
#00 pc 000222d0 /system/lib/libc.so (tgkill+12)
#01 pc 000130dd /system/lib/libc.so (pthread_kill+48)
#02 pc 000132f1 /system/lib/libc.so (raise+10)
#03 pc 00012027 /system/lib/libc.so
#04 pc 00021b84 /system/lib/libc.so (abort+4)
#05 pc 00012b0d /system/lib/libc.so
#06 pc 0000f22d /system/lib/libc.so
#07 pc 000117ef /system/lib/libc.so (dlfree+1222)
#08 pc 0000dd1f /system/lib/libc.so (free+10)
#09 pc 000af60b /system/lib/libskia.so (SkMallocPixelRef::~SkMallocPixelRef()+10)
#10 pc 0008e1b1 /system/lib/libskia.so
#11 pc 0008e211 /system/lib/libskia.so (SkPixelRef::globalUnref()+20)
#12 pc 000915cf /system/lib/libskia.so (SkBitmap::freePixels()+36)
#13 pc 000915fb /system/lib/libskia.so (SkBitmap::setPixelRef(SkPixelRef*, unsigned int)+26)
#14 pc 0009168f /system/lib/libskia.so (SkBitmap::setPixels(void*, SkColorTable*)+16)
#15 pc 000bfe93 /system/lib/libskia.so (SkPixelRef::unlockPixels()+32)
#16 pc 000915c9 /system/lib/libskia.so (SkBitmap::freePixels()+30)
#17 pc 000917af /system/lib/libskia.so (SkBitmap::~SkBitmap()+4)
#18 pc 0002a5db /system/lib/libhwui.so (android::uirenderer::ResourceCache::destructorLocked(SkBitmap*)+50)
#19 pc 0002a613 /system/lib/libhwui.so (android::uirenderer::ResourceCache::destructor(SkBitmap*)+20)
#20 pc 0001e84c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#21 pc 0004f28b /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#22 pc 00027c60 /system/lib/libdvm.so
#23 pc 0002ec9c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#24 pc 0002c300 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#25 pc 000618f1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#26 pc 00061915 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#27 pc 00056603 /system/lib/libdvm.so
#28 pc 0000d280 /system/lib/libc.so (__thread_entry+72)
#29 pc 0000d418 /system/lib/libc.so (pthread_create+240)
code around pc:
401182b0 e8bd00f0 e3700a01 912fff1e e2600000
401182c0 ea006fce e92d50f0 e3a07f43 ef000000
401182d0 e8bd50f0 e3700a01 912fff1e e2600000
401182e0 ea006fc6 e92d50f0 e3a070ee ef000000
401182f0 e8bd50f0 e3700a01 912fff1e e2600000
40118300 ea006fbe e1520003 8a000102 f5d1f040
40118310 e92d4001 e3520010 3a00003f e3520d0d
40118320 aa00004c e2603000 e213300f 0a00000e
40118330 e0422003 e1b0cf83 44d1e001 44c0e001
40118340 24d1c001 24d1e001 24c0c001 24c0e001
40118350 e1b0ce83 aa000001 f4a1030d f480031d
40118360 3a000001 f421070d f400071d e2522080
40118370 3a000014 f4210acd f4000acd f4210acd
40118380 f4000acd f4210acd f4000acd f4210acd
40118390 f4000acd f4210acd f4000acd f4210acd
401183a0 f4000acd f4210acd f4000acd f4210acd
code around lr:
401090c0 447b4b13 42b3e010 4812d10e 44786a1e
401090d0 ec90f7fb ea42f00d 46224631 e8f2f00f
401090e0 d00a3001 e00b2400 2b00681b 480ad1eb
401090f0 44782403 ec7ef7fb f001e002 6804fa87
40109100 fa84f001 46206005 bf00bd70 0003c2e2
40109110 0003c2d6 0003c2ce 0003c2aa bf7ef7ff
40109120 4a3e4b3d 43f0e92d 4606b08b 447b460d
40109130 6823589c 930946a1 fa68f001 8000f8d0
40109140 d0482d00 f0104628 280ff8af d8444604
40109150 ffe4f7ff d1064286 4629200f e90cf00d
40109160 d03c2800 482ee02e f7fb4478 482debc2
40109170 e0154478 d11342b0 482b6a06 f7fb4478
40109180 4a2aec3a 46332120 447aa801 fdd4f013
40109190 a8012101 f8d6f01b 46061c42 e011d104
401091a0 28006800 e02cd1e6 46294630 f00d4622
401091b0 1c43e948 d11e4607 fa28f001 29046801
Similar errors have occurred for other apps, which are caused by Android OS bugs.
Remove your bitmap.recycle() calls and set all your bitmaps = null when your done using them. Let the GC clear the bitmaps.
using Retrofit 1.6.0 I get the following errors on devices (not emulators) that updated to Android 4.4.2
Current Configuration
compile('com.squareup.okhttp:okhttp-urlconnection:1.6.0')
compile('com.squareup.okhttp:okhttp:1.6.0')
compile('com.squareup.retrofit:retrofit:1.6.0')
Error Log
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/hlltexx/hllte:4.4.2/KOT49H/N7505XXUCNG5:user/release-keys'
Revision: '10'
pid: 30127, tid: 30197, name: Retrofit-Idle >>> cz.cisla <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 000075f5 r2 00000006 r3 00000000
r4 00000006 r5 00000073 r6 000075f5 r7 0000010c
r8 7afaab10 r9 7ad6fbe8 sl 7a6e03d8 fp 7afaab24
ip 77b3a034 sp 7afaa850 lr 4003f121 pc 4004e310 cpsr 000f0010
d0 74726f6261204d56 d1 6f72646e41246d6e
d2 696f72646e412475 d3 75722e312432246c
d4 6164416570795465 d5 7463614672657470
d6 427465672e79726f d7 6c656946646e756f
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 000000000000001c d17 0000000000000007
d18 0000000000001185 d19 0000000008000000
d20 0000000000ffffff d21 0000000000000000
d22 0000000009000000 d23 000000000009f000
d24 0000000000000e00 d25 0000000033000000
d26 ffffffffffffffff d27 ffffffffffffffff
d28 0000000000000002 d29 0000000000000002
d30 0000007a6d651000 d31 0000000000ffffff
scr 60000010
backtrace:
#00 pc 00022310 /system/lib/libc.so (tgkill+12)
#01 pc 0001311d /system/lib/libc.so (pthread_kill+48)
#02 pc 00013331 /system/lib/libc.so (raise+10)
#03 pc 00012067 /system/lib/libc.so
#04 pc 00021bc4 /system/lib/libc.so (abort+4)
#05 pc 00046c33 /system/lib/libdvm.so (dvmAbort+78)
#06 pc 0004b543 /system/lib/libdvm.so (dvmDecodeIndirectRef(Thread*, _jobject*)+146)
#07 pc 0004e2fd /system/lib/libdvm.so
#08 pc 0006886d /system/lib/libdvm.so (Java_java_lang_Class_getDex(_JNIEnv*, _jclass*)+144)
#09 pc 0001eb0c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#10 pc 0004f08b /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#11 pc 00027f20 /system/lib/libdvm.so
#12 pc 0002ef54 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#13 pc 0002c5b8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 00061489 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#15 pc 000614ad /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#16 pc 0005619b /system/lib/libdvm.so
#17 pc 0000d280 /system/lib/libc.so (__thread_entry+72)
#18 pc 0000d418 /system/lib/libc.so (pthread_create+240)
code around pc:
4004e2f0 e8bd00f0 e3700a01 912fff1e e2600000
4004e300 ea006e86 e92d50f0 e3a07f43 ef000000
4004e310 e8bd50f0 e3700a01 912fff1e e2600000
4004e320 ea006e7e e92d50f0 e3a070ee ef000000
4004e330 e8bd50f0 e3700a01 912fff1e e2600000
4004e340 ea006e76 e1520003 8a00008c f5d1f040
4004e350 e92d4001 e3520010 3a000024 e2603000
4004e360 e213300f 0a00000e e0422003 e1b0cf83
4004e370 44d1e001 44c0e001 24d1c001 24d1e001
4004e380 24c0c001 24c0e001 e1b0ce83 aa000001
4004e390 f4a1030d f480031d 3a000001 f421070d
4004e3a0 f400071d e2522040 3a000006 f421020d
4004e3b0 f421420d f5d1f100 e2522040 f400022d
4004e3c0 f400422d 2afffff8 e2922020 3a000002
4004e3d0 f421020d e2422020 f400022d e2822020
4004e3e0 e3120010 0a000001 f4210a0d f4000a2d
code around lr:
4003f100 447b4b13 42b3e010 4812d10e 44786a1e
4003f110 ec90f7fb ea42f00d 46224631 e8f2f00f
4003f120 d00a3001 e00b2400 2b00681b 480ad1eb
4003f130 44782403 ec7ef7fb f001e002 6804fa87
4003f140 fa84f001 46206005 bf00bd70 0003b2a2
4003f150 0003b296 0003b28e 0003b26a bf7ef7ff
4003f160 4a3e4b3d 43f0e92d 4606b08b 447b460d
4003f170 6823589c 930946a1 fa68f001 8000f8d0
4003f180 d0482d00 f00f4628 280fffc3 d8444604
4003f190 ffe4f7ff d1064286 4629200f e90cf00d
4003f1a0 d03c2800 482ee02e f7fb4478 482debc2
4003f1b0 e0154478 d11342b0 482b6a06 f7fb4478
4003f1c0 4a2aec3a 46332120 447aa801 fb44f013
4003f1d0 a8012101 fe46f01a 46061c42 e011d104
4003f1e0 28006800 e02cd1e6 46294630 f00d4622
4003f1f0 1c43e948 d11e4607 fa28f001 29046801
Do you have any idea how to solve this? I will try to update to the latest version (currently 1.7.0) and also increase the version of okHttp. I don't have any hints where this bug is happening as on my device and simulator it is working fine. Maybe it is of some help that Retrofit-Idle is a thread.
Okey, so the problem is with Apk Protect and not with Retrofit.
Currently, the ApkProtect supports only versions 2.1-4.2.
http://www.apkprotect.com/apkprotectpc.html
I've got a fairly popular app on Google Play which recently have been stormed by some native crashes on libwebviewchromium.so. The webview in question has no fancy stuff, only a small login form with scrolling disabled.
Naturally this only happens on Android 4.4+ (WebViews started to be based on Chromium ). There's a dump of a crash:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'motorola/ghost_repw/ghost:4.4.2/KXA20.16-1.24-1.12/12:user/release-keys'
Revision: 'p300'
pid: 22986, tid: 22986
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 000059ca r2 00000006 r3 00000000
r4 00000006 r5 0000000b r6 000059ca r7 0000010c
r8 6015d758 r9 57735070 sl 57619830 fp 57734ee0
ip 40121384 sp bef3a088 lr 400e60bd pc 400f5068 cpsr 00060010
d0 4373746e65746e6f d1 697242746e65696c
d2 756f68732e656764 d3 69727265764f646c
d4 616f4c6c72556564 d5 43774128676e6964
d6 4373746e65746e6f d7 697242746e65696c
d8 00000000438e8000 d9 0000000043956b80
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 2e6c616e7265746e d17 746f67795a2e736f
d18 616d2e74696e4965 d19 746f67795a286e69
d20 616a2e74696e4965 d21 0a293130363a6176
d22 766c616420746109 d23 65747379732e6b69
d24 0000000000000000 d25 0000000000000000
d26 0000000000000000 d27 0000000000000000
d28 0000000000000000 d29 0000000000000000
d30 0000000000000000 d31 0000000000000000
scr 68000013
backtrace:
#00 pc 00022068 /system/lib/libc.so (tgkill+12)
#01 pc 000130b9 /system/lib/libc.so (pthread_kill+48)
#02 pc 000132cd /system/lib/libc.so (raise+10)
#03 pc 00012003 /system/lib/libc.so
#04 pc 0002191c /system/lib/libc.so (abort+4)
#05 pc 001c46b1 /system/lib/libwebviewchromium.so
#06 pc 001c1c4b /system/lib/libwebviewchromium.so
#07 pc 00196ebd /system/lib/libwebviewchromium.so
#08 pc 0018bd73 /system/lib/libwebviewchromium.so
#09 pc 0018bb8d /system/lib/libwebviewchromium.so
#10 pc 0018bc0d /system/lib/libwebviewchromium.so
#11 pc 008e6c29 /system/lib/libwebviewchromium.so
#12 pc 008e6bcd /system/lib/libwebviewchromium.so
#13 pc 001cf1ef /system/lib/libwebviewchromium.so
#14 pc 001cfcf1 /system/lib/libwebviewchromium.so
#15 pc 001cfe4f /system/lib/libwebviewchromium.so
#16 pc 001dfc57 /system/lib/libwebviewchromium.so
#17 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#18 pc 00050e6b /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#19 pc 000297e0 /system/lib/libdvm.so
#20 pc 00030ae8 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#21 pc 0002e180 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#22 pc 00063751 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#23 pc 0006b713 /system/lib/libdvm.so
#24 pc 000297e0 /system/lib/libdvm.so
#25 pc 00030ae8 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#26 pc 0002e180 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#27 pc 0006346d /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#28 pc 0004ca37 /system/lib/libdvm.so
#29 pc 0004d0f7 /system/lib/libandroid_runtime.so
#30 pc 0004de1b /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#31 pc 0000105b /system/bin/app_process
code around pc:
400f5048 e8bd00f0 e3700a01 912fff1e e2600000
400f5058 ea006e4c e92d50f0 e3a07f43 ef000000
400f5068 e8bd50f0 e3700a01 912fff1e e2600000
400f5078 ea006e44 e92d50f0 e3a070ee ef000000
400f5088 e8bd50f0 e3700a01 912fff1e e2600000
400f5098 ea006e3c f200429a bf0080b9 f040f891
400f50a8 4001e92d f2c02a04 2a1080a5 8093f2c0
400f50b8 f2c02a20 2a408088 ea4fdb7f f1bc1c92
400f50c8 dd6c0f0a 0600e92d 0f40f1bc f500dd4a
400f50d8 f5016e80 ebae7920 ea4f0e09 ea4f5e4e
400f50e8 f50e5e5e ebbc7e20 dd3b1f9e f04fbfc4
400f50f8 ebd9090a dd35199e 0a0eeb01 0a3ff02a
400f5108 1c9eebac bfd245e1 0c09ebac f04f46e1
400f5118 f8910c00 f891f240 f921f280 f921028d
400f5128 f8da428d f1b93000 f9000901 f900028d
400f5138 f10a428d d1ee0a40 0f00f1bc f5bcd02b
code around lr:
400e609c 447b4b13 42b3e010 6a1ed10e 44784811
400e60ac ec80f7fb ea0ef00d 46224631 efd0f00e
400e60bc d00a3001 e00b2400 2b00681b 480ad1eb
400e60cc 44782403 ec6ef7fb f001e002 6804fa23
400e60dc fa20f001 46206005 bf00bd70 0003b306
400e60ec 0003b2fa 0003b2f2 0003b2ce bf7ef7ff
400e60fc 4a3e4b3d e92d447b b08b43f0 4606589c
400e610c 6823460d 930946a1 fa04f001 8000f8d0
400e611c d0482d00 f0104628 280ff88b d8444604
400e612c ffe4f7ff d1064286 4629200f e8d8f00d
400e613c d03c2800 482ee02e f7fb4478 482debb2
400e614c e0154478 d11342b0 482b6a06 f7fb4478
400e615c 4a2aec2a 46332120 a801447a f9eef013
400e616c a8012101 fd08f01a 46061c42 e011d104
400e617c 28006800 e02cd1e6 46294630 f00d4622
400e618c 1c43e914 d11e4607 f9c4f001 29046801
Unfortunately, i've not been able to replicate this problem neither on actual devices or emulators, and user feedback is not helpful. No clue why this crash happens.
I've learned to use the NDK tools to interpret the stack trace, but I still need a version of libwebviewchromium.so with debug symbols (and preferably the exact same version that is running on each of the users devices).
So, the questions:
Am I missing something? / Did anyone came across something similar?
Assuming that I can find the version of libwebviewchromium.so in use, is it possible to find builds with debug symbols, or will I need to compile them from scratch?
Thanks!
This could be caused from a graphic memory bug, so you can try to disable some CSS using any -CSS webkit-transform like " -webkit-transform: rotate(0deg) scaleX(1) scaleY(1); ". (I saw this same bug on iOS if you load too many data in GPU memory).
I have an app on google play on my phone sometimes when I open my app it waits more time on white screen and doesnot open then turn black screen and give error.(it does not say wait or force close) When I report that bug to google play. I copy and paste error log below,(there is no any hint to understand what happens)
Thanks in advance!
(my app calls webservice in the beginning is this a problem ? I mean if a network connection is weak then this occurs for that?)
Native Crash
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'lge/g2_open_com/g2:4.4.2/KOT49I.D80220a/D802**a.13***70**0:user/release-keys'
Revision: '10'
pid: 9780, tid: 9780, name: ub.twostrangers >>> com.wub.twostrangers <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 417bd3b0 r1 00000080 r2 ffffd1b4 r3 00000000
r4 417bd3b0 r5 417bd3a0 r6 ffffd1b4 r7 000000f0
r8 00000000 r9 00000000 sl 00000000 fp 438443d0
ip 00000000 sp beec73d0 lr 4005f0d8 pc 40071b38 cpsr 680f0010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 412e848000000000 d5 3ff0000000000000
d6 412e848000000000 d7 4000000000000000
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 3ff0000000000000 d19 412e848000000000
d20 4f494e5520617461 d21 fffffffffffffffe
d22 4000000000000000 d23 412e848000000000
d24 43e0000000000000 d25 3ff0000000000000
d26 3ff0000000000000 d27 0000000500000000
d28 547d42aea2879f2e d29 0000000100000001
d30 4024000000000000 d31 3ff0000000000000
scr 80000012
backtrace:
#00 pc 00021b38 /system/lib/libc.so (__futex_syscall3+8)
#01 pc 0000f0d4 /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
#02 pc 0000f134 /system/lib/libc.so (__pthread_cond_timedwait+64)
#03 pc 00055f77 /system/lib/libdvm.so
#04 pc 0006a8b1 /system/lib/libdvm.so
#05 pc 00029960 /system/lib/libdvm.so
#06 pc 00030ec8 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#07 pc 0002e560 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#08 pc 00063a79 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#09 pc 0006b943 /system/lib/libdvm.so
#10 pc 00029960 /system/lib/libdvm.so
#11 pc 00030ec8 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#12 pc 0002e560 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#13 pc 00063795 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#14 pc 0004ce97 /system/lib/libdvm.so
#15 pc 0004decf /system/lib/libandroid_runtime.so
#16 pc 0004ec27 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#17 pc 0000109b /system/bin/app_process
#18 pc 0000e55b /system/lib/libc.so (__libc_init+50)
#19 pc 00000db0 /system/bin/app_process
code around pc:
40071b18 e5900000 e2601000 e0100001 116f0f10
40071b28 12600020 e12fff1e e1a0c007 e3a070f0
40071b38 ef000000 e1a0700c e12fff1e eafffff9
40071b48 e1a0c007 e1a03002 e1a02001 e3a01000
40071b58 e3a070f0 ef000000 e1a0700c e12fff1e
40071b68 e1a0c007 e1a02001 e3a01001 e3a070f0
40071b78 ef000000 e1a0700c e12fff1e e1a0000d
40071b88 e12fff1e e92d50f0 e3a07025 ef000000
40071b98 e8bd50f0 e3700a01 912fff1e e2600000
40071ba8 ea006fc5 f5d0f000 f5d1f000 e1500001
40071bb8 13520000 03a00000 012fff1e e1a03000
40071bc8 e352000c 5a000008 f5d0f020 f5d1f020
40071bd8 e0d300b2 e0d1c0b2 e050000c 112fff1e
40071be8 e2522001 1afffff9 e12fff1e e92d4010
40071bf8 e3130002 0a000005 e0d300b2 e0d1c0b2
40071c08 e2422001 e050000c 18bd4010 112fff1e
code around lr:
4005f0b8 e1a07002 ebfffe8b e5941000 e1a03007
4005f0c8 e1a02006 e2011001 e1a00004 ebfffd5f
4005f0d8 e1a04000 e1a00005 ebfffe41 e374006e
4005f0e8 03a0006e 13a00000 e8bd80f8 e3520000
4005f0f8 e92d4030 e1a05000 e24dd00c e1a04001
4005f108 0a000007 e1a01002 e1a0000d e1a02003
4005f118 ebfffd12 e3500000 b3a0006e ba000003
4005f128 e1a0200d e1a00005 e1a01004 ebffffda
4005f138 e28dd00c e8bd8030 e3a03000 eaffffea
4005f148 e3a02000 eafffffb e3a03001 eaffffe6
4005f158 eaffffd1 e304cdd3 e341c062 e92d4010
4005f168 e1a0e002 e084329c e3043240 e340300f
4005f178 e24dd008 e1a0200d e1a0c324 e3a04ffa
4005f188 e58dc000 e06eec94 e0030e93 e58d3004
4005f198 ebffffc1 e28dd008 e8bd8010 e5903000
4005f1a8 e92d4070 e3130002 e1a04000 e1a05001
You are performing a long-running task in the main thread. Sometimes that task finishes before timeout and your application unfreezes, sometimes it does not and system kills your application.
You should move that task into a separate thread or into an AsyncTask. You should read Processes and Threads section as the starting point.