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
Related
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.
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.
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).
we have an app in beta testing. On one of the devices we received a crash in Play:
Native crash at /system/lib/libc.so
In the fault message below there are several important things to notice:
The problem component is IntentService (but android not ours, we don't have such class)
signal 6 (SIGABRT)
device is XIAOMI and it is rooted (very possible it is the root of this crash...)
OS version is 4.4
Here is the fault message:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/cancro/cancro:4.4.4/KTU84P/4.8.22:user/release-keys'
Revision: '0'
pid: 25073, tid: 25116, name: IntentService[C >>> org.final <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 0000621c r2 00000006 r3 00000000
r4 00000006 r5 00000000 r6 0000621c r7 0000010c
r8 77415b10 r9 770ffd2c sl 76e900a8 fp 77415b24
ip 719a3034 sp 77415850 lr 400da169 pc 400e910c cpsr 000f0010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 fe8000003f000001 d5 000122e800000000
d6 0000000000000000 d7 00000000000022ec
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 5472656c646e6148 d17 616a2e6461657268
d18 00310020002c0031 d19 0020002c00300032
d20 0020002c00300031 d21 0020002c00380034
d22 0020002c00310035 d23 0020002c00340035
d24 bf29e90ee4c465e7 d25 3fd0c84cbbcf4669
d26 3fd0c84cbbcf4669 d27 bf56a5b479c28218
d28 3febe5311169afed d29 bfdffffffd0c5e81
d30 3fb19a64f765cb80 d31 3ef99342e0ee5069
scr 60000012
backtrace:
#00 pc 0002210c /system/lib/libc.so (tgkill+12)
#01 pc 00013165 /system/lib/libc.so (pthread_kill+48)
#02 pc 00013379 /system/lib/libc.so (raise+10)
#03 pc 000120a3 /system/lib/libc.so
#04 pc 000219c0 /system/lib/libc.so (abort+4)
#05 pc 00048b1f /system/lib/libdvm.so (dvmAbort+78)
#06 pc 0004d487 /system/lib/libdvm.so (dvmDecodeIndirectRef(Thread*, _jobject*)+146)
#07 pc 0005023f /system/lib/libdvm.so
#08 pc 0006a469 /system/lib/libdvm.so (Java_java_lang_Class_getDex(_JNIEnv*, _jclass*)+144)
#09 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#10 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#11 pc 000297e0 /system/lib/libdvm.so
#12 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#13 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#15 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#16 pc 00058133 /system/lib/libdvm.so
#17 pc 0000d248 /system/lib/libc.so (__thread_entry+72)
#18 pc 0000d3e0 /system/lib/libc.so (pthread_create+240)
code around pc:
400e90ec e8bd00f0 e3700a01 912fff1e e2600000
400e90fc ea006df3 e92d50f0 e3a07f43 ef000000
400e910c e8bd50f0 e3700a01 912fff1e e2600000
400e911c ea006deb e92d50f0 e3a070ee ef000000
400e912c e8bd50f0 e3700a01 912fff1e e2600000
400e913c ea006de3 f200429a bf0080b9 f040f891
400e914c 4001e92d f2c02a04 2a1080a5 8093f2c0
400e915c f2c02a20 2a408088 ea4fdb7f f1bc1c92
400e916c dd6c0f0a 0600e92d 0f40f1bc f500dd4a
400e917c f5016e80 ebae7920 ea4f0e09 ea4f5e4e
400e918c f50e5e5e ebbc7e20 dd3b1f9e f04fbfc4
400e919c ebd9090a dd35199e 0a0eeb01 0a3ff02a
400e91ac 1c9eebac bfd245e1 0c09ebac f04f46e1
400e91bc f8910c00 f891f240 f921f280 f921028d
400e91cc f8da428d f1b93000 f9000901 f900028d
400e91dc f10a428d d1ee0a40 0f00f1bc f5bcd02b
code around lr:
400da148 447b4b13 42b3e010 6a1ed10e 44784811
400da158 ec7ef7fb ea0af00d 46224631 efccf00e
400da168 d00a3001 e00b2400 2b00681b 480ad1eb
400da178 44782403 ec6cf7fb f001e002 6804fa23
400da188 fa20f001 46206005 bf00bd70 0003b26a
400da198 0003b25e 0003b256 0003b232 bf7ef7ff
400da1a8 4a3e4b3d e92d447b b08b43f0 4606589c
400da1b8 6823460d 930946a1 fa04f001 8000f8d0
400da1c8 d0482d00 f0104628 280ff919 d8444604
400da1d8 ffe4f7ff d1064286 4629200f e8d4f00d
400da1e8 d03c2800 482ee02e f7fb4478 482debb0
400da1f8 e0154478 d11342b0 482b6a06 f7fb4478
400da208 4a2aec28 46332120 a801447a f990f013
400da218 a8012101 fcaef01a 46061c42 e011d104
400da228 28006800 e02cd1e6 46294630 f00d4622
400da238 1c43e910 d11e4607 f9c4f001 29046801
I have searched through lots of posts. This problem appeared only once but it can appear... What is the cause to this? How to prevent it? Thank you for any guidance.
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 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.