native code crash (android)? - android

I'm having android app that heavily uses ffmpeg ported to android. It works pretty well on most devices but crashes on Galaxy Tab 10:
06-20 13:16:36.136 505-561/? D/CrashAnrDetector﹕ Build: samsung/espresso10rfxx/espresso10rf:4.2.2/JDQ39/P5100XXDMJ2:user/release-keys
Hardware: piranha
Revision: 9
Bootloader: unknown
Radio: unknown
Kernel: Linux version 3.0.31-1919150 (se.infra#SEP-107) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 SMP PREEMPT Fri Oct 18 15:31:19 KST 2013
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/espresso10rfxx/espresso10rf:4.2.2/JDQ39/P5100XXDMJ2:user/release-keys'
Revision: '9'
pid: 22003, tid: 22003, name: om.company.project >>> com.company.project <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
r0 00000027 r1 deadbaad r2 401b5258 r3 00000000
r4 00000000 r5 bebb936c r6 00000004 r7 40d63400
r8 00000000 r9 409d81b0 sl 4000c0d8 fp 00000001
ip 62675144 sp bebb9368 lr 4018854d pc 40184be2 cpsr 60000030
d0 65706d666662696c d1 732e6e6f656e2d67
d2 732e30323763692e d3 2f322d6c6f6f6863
d4 ff00edc0e4c09680 d5 000c000c000c000c
d6 03fc0378033000e0 d7 3f8000003f800000
d8 41c0000000000000 d9 000000a13f000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 00ffffffffffffff d17 004c481a004aca6e
d18 004f4372004dc5c6 d19 00523eca0050c11e
d20 00f5403e00ef803c d21 0101404100fb403f
d22 0000004400000042 d23 0000004700000045
d24 010d404401074042 d25 0119404701134045
d26 0000004300000041 d27 0000004600000044
d28 00f5400000ef8000 d29 0101400000fb4000
d30 0000000100000001 d31 0000000100000001
scr 60000010
backtrace:
#00 pc 0001abe2 /system/lib/libc.so
#01 pc 00018208 /system/lib/libc.so (abort+4)
#02 pc 0066b8e0 /data/app-lib/com.company.project-2/libffmpeg-neon.so
#03 pc 000032b3 /system/bin/linker
#04 pc 0000510b /system/bin/linker
#05 pc 0004f973 /system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+186)
#06 pc 0006681d /system/lib/libdvm.so
#07 pc 000276e0 /system/lib/libdvm.so
#08 pc 0002b5c4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#09 pc 0005fc79 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
#10 pc 0005fca3 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#11 pc 0006ad49 /system/lib/libdvm.so (dvmInitClass+1036)
#12 pc 000225dc /system/lib/libdvm.so (dvmAsmSisterStart+412)
#13 pc 0002b5c4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 0005ff4f /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)
#15 pc 00067879 /system/lib/libdvm.so
#16 pc 000276e0 /system/lib/libdvm.so
#17 pc 0002b5c4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#18 pc 0005fc79 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
#19 pc 00049a43 /system/lib/libdvm.so
#20 pc 00047f43 /system/lib/libandroid_runtime.so
#21 pc 000492df /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)
#22 pc 00000db7 /system/bin/app_process
#23 pc 0001287f /system/lib/libc.so (__libc_init+38)
#24 pc 00000ae8 /system/bin/app_process
stack:
bebb9328 f930001d
bebb932c 5f7a1cc8
bebb9330 4015bcf8 /system/bin/linker
bebb9334 4015bf40 /system/bin/linker
bebb9338 4015c4f4
bebb933c 4015b0ac /system/bin/linker
bebb9340 401b2254 /system/lib/libc.so
bebb9344 401b21b4 /system/lib/libc.so
bebb9348 00000000
bebb934c 4018854d /system/lib/libc.so (_fwalk+32)
bebb9350 00000001
bebb9354 bebb936c [stack]
bebb9358 00000004
bebb935c 40d63400 [heap]
bebb9360 df0027ad
bebb
Since no app symbols are in output (no my methods in JNI code) how can i understand what's wrong? Is it missing .so lib that should be loaded before loading libffmpeg.so ?

Look at the address- DEADBAAD. Notice its in english? That means it was set that way purposely (the odds against it are astronomical). In particular its a value used by the JVM to overwrite pointers inside Java references that are no longer valid. So you're passing a value to C code that is no longer valid, or the C code is holding onto a reference without properly telling the VM it's doing so by incrementing its reference count. This can frequently be a result of a race condition if your code is multithreaded.

You can utilize ndk-stack tool provided by Android NDK.
The details can be found from NDK doc:
android-ndk-r10d\docs\Programmers_Guide\html\md_3__key__topics__debugging__n_d_k-_s_t_a_c_k.htm
This tool basically helps you convert the content in the memory into human-readable debug information. Sometimes, it is extremely helpful.
The following is copied from the NDK document:
The tool can convert the following information
I/DEBUG ( 31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 31): Build fingerprint: 'generic/google_sdk/generic/:2.2/FRF91/43546:eng/test-keys'
I/DEBUG ( 31): pid: 351, tid: 351 %gt;%gt;%gt; /data/local/ndk-tests/crasher <<<
I/DEBUG ( 31): signal 11 (SIGSEGV), fault addr 0d9f00d8
I/DEBUG ( 31): r0 0000af88 r1 0000a008 r2 baadf00d r3 0d9f00d8
I/DEBUG ( 31): r4 00000004 r5 0000a008 r6 0000af88 r7 00013c44
I/DEBUG ( 31): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 31): ip 0000959c sp be956cc8 lr 00008403 pc 0000841e cpsr 60000030
I/DEBUG ( 31): #00 pc 0000841e /data/local/ndk-tests/crasher
I/DEBUG ( 31): #01 pc 000083fe /data/local/ndk-tests/crasher
I/DEBUG ( 31): #02 pc 000083f6 /data/local/ndk-tests/crasher
I/DEBUG ( 31): #03 pc 000191ac /system/lib/libc.so
I/DEBUG ( 31): #04 pc 000083ea /data/local/ndk-tests/crasher
I/DEBUG ( 31): #05 pc 00008458 /data/local/ndk-tests/crasher
I/DEBUG ( 31): #06 pc 0000d362 /system/lib/libc.so
I/DEBUG ( 31):
into the more readable output:
********** Crash dump: **********
Build fingerprint: 'generic/google_sdk/generic/:2.2/FRF91/43546:eng/test-keys'
pid: 351, tid: 351 >>> /data/local/ndk-tests/crasher <<<
signal 11 (SIGSEGV), fault addr 0d9f00d8
Stack frame #00 pc 0000841e /data/local/ndk-tests/crasher : Routine zoo in /tmp/foo/crasher/jni/zoo.c:13
Stack frame #01 pc 000083fe /data/local/ndk-tests/crasher : Routine bar in /tmp/foo/crasher/jni/bar.c:5
Stack frame #02 pc 000083f6 /data/local/ndk-tests/crasher : Routine my_comparison in /tmp/foo/crasher/jni/foo.c:9
Stack frame #03 pc 000191ac /system/lib/libc.so
Stack frame #04 pc 000083ea /data/local/ndk-tests/crasher : Routine foo in /tmp/foo/crasher/jni/foo.c:14
Stack frame #05 pc 00008458 /data/local/ndk-tests/crasher : Routine main in /tmp/foo/crasher/jni/main.c:19
Stack frame #06 pc 0000d362 /system/lib/libc.so

Related

Cordova android app crashes on Galaxy S3 ?

I am creating new android app using cordova. My app was crashed on Galaxy S3 device. If i click link button on home page, it will crashed. Here i added the issue details. How to solve this issue. Please guide me.
I am using cordova version is 3.6.4.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/d2tmo/d2tmo:4.3/JSS15J/T999UVUENC2:user/release-keys'
Revision: '16'
pid: 18307, tid: 18320, name: WebViewCoreThre >>> com.rcs.rcs <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
Abort message: '### ABORTING: heap corruption detected by tmalloc_large'
r0 00000027 r1 00000000 r2 00000008 r3 deadbaad
r4 00000000 r5 5e8c0754 r6 5f752340 r7 5f752340
r8 417dc000 r9 00000001 sl 000020ef fp 5e8c0c84
ip 00000001 sp 5e8c0750 lr 400e4497 pc 400e19b8 cpsr 60000030
d0 524f424120404040 d1 6568203a474e4954
d2 7572726f63207061 d3 6564206e6f697470
d4 4061db6db7281fda d5 000002d044870000
d6 4434000044340000 d7 4499c000000004ce
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 bf847ae147ae147b d19 0000000500000009
d20 0000000100000001 d21 0000000000000000
d22 42ea000042ea0000 d23 41500000441c8000
d24 0000381f0000381f d25 00003aed00003b86
d26 3a3b38383a3b3d39 d27 262928282a2b2c26
d28 1b1d19191b1a1b16 d29 ffffffffffffffff
d30 00008800ffff4d00 d31 e92d4000ffff1d80
scr 60000013
backtrace:
#00 pc 0001e9b8 /system/lib/libc.so
#01 pc 0001c914 /system/lib/libc.so (abort+4)
#02 pc 00012495 /system/lib/libc.so
#03 pc 0000ebb9 /system/lib/libc.so
#04 pc 0000fa87 /system/lib/libc.so (dlmalloc+606)
#05 pc 0000dc53 /system/lib/libc.so (malloc+10)
#06 pc 0000091b /system/lib/libstdc++.so (operator new(unsigned int)+2)
#07 pc 00291b79 /system/lib/libwebcore.so
#08 pc 00291c41 /system/lib/libwebcore.so
#09 pc 00291c79 /system/lib/libwebcore.so
#10 pc 00020b4c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#11 pc 000516ab /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#12 pc 00029fe0 /system/lib/libdvm.so
#13 pc 0002e9a4 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 0006382d /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+292)
#15 pc 00063857 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#16 pc 000585bb /system/lib/libdvm.so
#17 pc 0000cc60 /system/lib/libc.so (__thread_entry+72)
#18 pc 0000cddc /system/lib/libc.so (pthread_create+208)
code around pc:
400e1998 461ce00b 2b006823 e026d1fb b12468e4
400e19a8 21014a18 6011447a 4b1247a0 24002027
400e19b8 f7fc7018 2106edcc e832f7fe 5180f04f
400e19c8 a9029104 94022006 9403460a ebcef7fd
400e19d8 46224629 f7fd2002 f7fcebda 2106edb8
400e19e8 e81ef7fe f7fc2001 6960ea64 d1dc2800
400e19f8 bf00e7d4 deadbaad 00029660 ffffff9c
400e1a08 0002c904 0002c8e8 2400b510 aa04b088
400e1a18 46699002 94014620 94039400 eb1cf7fd
400e1a28 db0642a0 b1139b07 1c419806 98069106
400e1a38 4620e000 bd10b008 4b1eb40e b082b5f0
400e1a48 447b491d f107af00 585e021c f8522101
400e1a58 68354b04 f852607d 31015b04 d1fa2d00
400e1a68 320e008a 0507f022 0220f107 0d05ebad
400e1a78 f107603a 46690224 9400466d 4c04f852
400e1a88 f8453204 2c004f04 f8dfd1f8 f853c030
code around lr:
400e4474 4a0e4b0d e92d447b 260041f0 4680589c
400e4484 686768a5 f9b5e007 2b00300c 4628dd02
400e4494 430647c0 3f013554 6824d5f5 d1ef2c00
400e44a4 e8bd4630 bf0081f0 00026b5c ffffffc4
400e44b4 43f0e92d fb01461e 4b16f502 4916460f
400e44c4 447bb087 aa014614 20019001 95029203
400e44d4 90049505 681a585b b1124698 f0094630
400e44e4 4630fd4a f7ffa903 4681fe9c 0000f8d8
400e44f4 4630b110 fd4cf009 0f00f1b9 9c05d005
400e4504 1b284639 ec4ef017 46204604 e8bdb007
400e4514 bf0083f0 00026b0e ffffff60 46036842
400e4524 60411e51 da012900 bbbcf000 f8126802
400e4534 601a0b01 00004770 4a104b0f b570447b
400e4544 589b4604 461e6819 f009b109 6860fd14
400e4554 60651e45 da042d00 f0004620 4605fba3
400e4564 6822e003 5b01f812 68336022 4620b113

Android Native crash at /system/lib/libskia.so (Bitmap processing)

I need help resolving a bug affecting an app on the play store.
Crash report on Play Developer Console:
This crash is only limited to certain Android 4.4 devices
The crash can't be reproduced on an emulator
Stack trace occurs on native code (not Java), so it's really hard to see where this error is invoked
Research suggests it has something to do with Bitmap processing
I would really appreciate, if someone who has seen this before can shed some light.
Below is the crash report:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
UUID: ec6885dc-b4c9-43e8-8e07-d7e3ecb47b15
Build fingerprint: 'Sony/C6903/C6903:4.4.2/14.3.A.0.757/Cv1_jg:user/release-keys'
Revision: '0'
pid: 15177, tid: 15177, name: za.co.gometro >>> za.co.gometro <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000019
r0 00000001 r1 783a5010 r2 7744eb74 r3 0000000a
r4 00000001 r5 7744eb70 r6 00000001 r7 00000000
r8 784b1cd4 r9 00000001 sl 40bdaa90 fp be81e2fc
ip 40bdafe0 sp be81dee8 lr 40bd018d pc 404beb22 cpsr 00030030
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0000000000000000 d5 0000000000000000
d6 0000000000000000 d7 437f00003f800000
d8 3f80000043d28000 d9 40c0000040c00000
d10 43d280004475c000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000019c00000438
d18 4010789444756f88 d19 408543d34475c1d2
d20 40d000004475e000 d21 445120004475e000
d22 4451b5794475c1d2 d23 44522f8844756f88
d24 bf29e7f85171d4e7 d25 3fd18bc451eed100
d26 3fd18bc451eed100 d27 bf56a47c07dc3459
d28 3febb67ae46c0827 d29 bfdffffffd0c5e81
d30 3fb33dc61a93ea8e d31 3ef99342e0ee5069
scr 60000013
backtrace:
#00 pc 000beb22 /system/lib/libskia.so (SkPixelRef::getGenerationID() const+3)
#01 pc 0002b189 /system/lib/libhwui.so
#02 pc 0002b7a1 /system/lib/libhwui.so
#03 pc 00029cf9 /system/lib/libhwui.so
#04 pc 0001e43b /system/lib/libhwui.so
#05 pc 00021ad1 /system/lib/libhwui.so
#06 pc 00021d8f /system/lib/libhwui.so
#07 pc 00022371 /system/lib/libhwui.so
#08 pc 00017049 /system/lib/libhwui.so
#09 pc 000148ab /system/lib/libhwui.so
#10 pc 0001479f /system/lib/libhwui.so
#11 pc 0001d4cb /system/lib/libhwui.so
#12 pc 000671d9 /system/lib/libandroid_runtime.so
#13 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#14 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#15 pc 000297e0 /system/lib/libdvm.so
#16 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#17 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#18 pc 00063719 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#19 pc 0006b6e7 /system/lib/libdvm.so
#20 pc 000297e0 /system/lib/libdvm.so
#21 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#22 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#23 pc 00063435 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#24 pc 0004cbb7 /system/lib/libdvm.so
#25 pc 0004da37 /system/lib/libandroid_runtime.so
#26 pc 0004e75b /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#27 pc 0000105b /system/bin/app_process
#28 pc 0000e4d3 /system/lib/libc.so (__libc_init+50)
#29 pc 00000d7c /system/bin/app_process
code around pc:
404beb00 6a816820 47884620 612560e5 f7e6a801
404beb10 bd3ef949 6803b508 47886ad9 b510bd08
404beb20 69834604 f7ffb913 61a0ff55 bd1069a0
404beb30 61832300 23014770 3020f880 68034770
404beb40 42526842 000ce881 e8904770 600b000c
404beb50 604b4253 b5104770 1a10ee06 2a90ee06
404beb60 7ac6eeb8 3a10ee01 0a02ed9d 23039c03
404beb70 eb001822 eef80144 ed807ae6 eef87a00
404beb80 edc00ac0 ed827a01 fb037a00 eef80004
404beb90 edc21ac1 edc10a01 edc10a01 edc01a00
404beba0 edc01a00 bd107a01 edddb530 9c047a03
404bebb0 18256001 edc56042 60297a01 0144eb00
404bebc0 7a01edc1 2103600b 0004fb01 60426003
404bebd0 ed90bd30 eeb17a01 edd00a47 edc17a00
404bebe0 ed817a01 47700a00 7a00edd0 0a67eeb1
404bebf0 7a01ed90 7a00ed81 0a01ed81 ed904770
code around lr:
40bd016c 1020f895 d0f92900 2025f894 0608f002
40bd017c 2800b2f0 80e7f000 4620e7f0 ea0ef7e2
40bd018c 60a84a73 612b69e3 61696a21 b002f85a
40bd019c f7e24658 486ffca6 3000f85a a000f8d3
40bd01ac f1ba9305 d1090f00 7031f44f eacaf7e1
40bd01bc f7e74682 9905f885 a000f8c1 f7fe4658
40bd01cc 4650f85a f7e66869 f894fe00 1e9a3024
40bd01dc d8722a04 f002e8df 5c205c03 f640003f
40bd01ec 210140f5 eb2cf7e1 f8946928 69692026
40bd01fc 900069a3 0e62ea4f f2416920 91014201
40bd020c f30efa23 46319202 f6419003 46401206
40bd021c fee9f7ff e01c2301 40f5f640 1026f894
40bd022c eb0ef7e1 3026f894 f248692a 69683163
40bd023c 0c63ea4f 920069a3 90016922 f30cfa23
40bd024c 46409102 46319203 1207f641 fecbf7ff
40bd025c 732b2300 f894e038 f6401026 f7e140f5

Android - Native crash at /system/lib/libRScpp.so

I've just published my app onto google play... and the first person to download it was my brother... but the app crashes immediately on his Samsang Galaxy Tab S. The app works on the emulator (tried both ARM and x86) and no problems on my test devices at home (HTC M8, HTC desire, and ASUS Nexus 7 2012 and 2013).
Anway... the error report comes back;
"Native crash at /system/lib/libRScpp.so"
What does this mean? and how do I investigate further? My app certainly has native functions - but not in the splash screen and menu activities (where it crashes on my brother's device).
There is a "stack trace" as follows...
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/chagallwifixx/chagallwifi:4.4.2/KOT49H/T800XXU1ANFB:user/release-keys'
Revision: '7'
pid: 7819, tid: 7819, name: et.pokerprophet >>> darwi.net.pokerprophet <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000028
r0 beec3d0c r1 00000000 r2 42200000 r3 00000002
r4 beec3d0c r5 beec3d44 r6 beec3d9c r7 7aac69c8
r8 00000132 r9 00000780 sl 7bcef020 fp 00000014
ip 40ceec50 sp beec3d00 lr 415d071f pc 415ce9c2 cpsr 600f0030
d0 646e756f62206c65 d1 7869702035322d30
d2 7665727020796229 d3 7272652073756f3a
d4 0000000000000000 d5 0000000000100000
d6 0000000000100000 d7 4220000041c80000
d8 0000001400000106 d9 4491200043ae8000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 0000000000100000 d19 0000000000000000
d20 000000000003fb10 d21 ff0000000000003f
d22 000000000003fb00 d23 0000000000000001
d24 00000000000002b8 d25 0000000000000001
d26 000000007ba91b80 d27 000000007ba91b81
d28 0000000000000000 d29 0000000000000000
d30 0000000000000000 d31 0000000000000000
scr 20000010
backtrace:
#00 pc 0000b9c2 /system/lib/libRScpp.so
#01 pc 0000d71b /system/lib/libRScpp.so (android::RSC::ScriptIntrinsicBlur::setInput(android::RSC::sp<android::RSC::Allocation>)+10)
#02 pc 00011a29 /system/lib/libhwui.so
#03 pc 00011c15 /system/lib/libhwui.so
#04 pc 0002cf15 /system/lib/libhwui.so
#05 pc 0002057b /system/lib/libhwui.so
#06 pc 000221d7 /system/lib/libhwui.so
#07 pc 00017fbd /system/lib/libhwui.so
#08 pc 0001568d /system/lib/libhwui.so
#09 pc 000154ff /system/lib/libhwui.so
#10 pc 0001e27f /system/lib/libhwui.so
#11 pc 0006c94d /system/lib/libandroid_runtime.so
#12 pc 0001eb0c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#13 pc 0004f08b /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#14 pc 00027f20 /system/lib/libdvm.so
#15 pc 0002ef54 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#16 pc 0002c5b8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#17 pc 0006176d /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#18 pc 00069b0f /system/lib/libdvm.so
#19 pc 00027f20 /system/lib/libdvm.so
#20 pc 0002ef54 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#21 pc 0002c5b8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#22 pc 00061489 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#23 pc 0004ac73 /system/lib/libdvm.so
#24 pc 0005251b /system/lib/libandroid_runtime.so
#25 pc 00053aaf /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#26 pc 0000105b /system/bin/app_process
#27 pc 0000e45f /system/lib/libc.so (__libc_init+50)
#28 pc 00000d7c /system/bin/app_process
code around pc:
415ce9a0 bd104620 000075e0 ffffffd8 4604b510
415ce9b0 ffeaf7ff f7fb4620 4620ea12 b510bd10
415ce9c0 6a884604 b1106020 f7fc3004 4620fe69
415ce9d0 0000bd10 1a90ee07 4603b507 eef59101
415ce9e0 eef17ac0 dd0cfa10 7a09eeb3 7ac7eef4
415ce9f0 fa10eef1 2100d805 2304aa01 fe4af7ff
415cea00 4a03e005 68d82101 f7fc447a bd0efa9f
415cea10 00005077 2310460a f7ff2101 460abe3b
415cea20 21002340 be36f7ff 4a00eeb7 ed9fb500
415cea30 edd11a1d b0917a00 0a01ed91 0a02edd1
415cea40 7a03ed91 1a04edd1 2a05ed91 2a06edd1
415cea50 3a07ed91 3a08edd1 edcd4669 ed8d7a00
415cea60 edcd0a01 ed8d0a02 ed8d1a03 edcd7a04
415cea70 ed8d1a05 ed8d2a06 edcd1a07 ed8d2a08
415cea80 edcd3a09 ed8d3a0a ed8d1a0b ed8d1a0c
415cea90 ed8d1a0d ed8d1a0e f7ff4a0f b011ffc0
code around lr:
415d06fc aa032101 ffa2f7fd f7faa803 bd7ffd03
415d070c 00003418 4604b57f a801460d f7fe6809
415d071c a802f950 f7fd9901 9e02fa78 0128f104
415d072c f7fba803 a903f90d f7fb4630 4606f8bd
415d073c f7faa803 a802fce7 fce4f7fa f7faa801
415d074c b936fce1 21034a09 447a68e0 fbf8f7fa
415d075c 4629e00b f7fba803 4620f8f3 aa032101
415d076c ff6cf7fd f7faa803 bd7ffccd 000034e2
415d077c 4604b57f a801460d f7fe6809 a802f91a
415d078c f7fd9901 9e02fa42 0128f104 f7fba803
415d079c a903f8d7 f7fb4630 4606f887 f7faa803
415d07ac a802fcb1 fcaef7fa 4a0fb926 68e02103
415d07bc e006447a 6b189b01 4a0cb930 68e02101
415d07cc f7fa447a e00bfbbd a8034629 f8b8f7fb
415d07dc 21004620 f7fdaa03 a803ff31 fc92f7fa
415d07ec f7faa801 bd7ffc8f 0000349a 000034a8
I am probably way out of my depth here... what is the best way for a noob to approach this?
This bug report mentions disabling font shadows. https://code.google.com/p/android/issues/detail?id=72068
From the ticket:
If I remove:
android:shadowColor="#color/brown_light"
android:shadowRadius="30"
The problem disappears.

Native crash at /system/lib/libhwui.so

I keep getting numerous crash reports via google play store. All crashes occur on Samsung Galaxy S4 running on Android Version 4.4.
I do not work with the Android NDK.
According to one user the app crashes when you take a picture. Currently I have no S4 to reproduce the problem.
I have tested the App via Samsungs RemoteTestLab on a S4 with Andorid 4.4 but all seems to work fine.
Is there a way to contact Samsung developer?
All reports look similar:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/jfltexx/jflte:4.4.2/KOT49H/I9505XXUFNB8:user/release-keys'
Revision: '11'
pid: 21062, tid: 21062, name: ktwas.appjobber >>> de.werdenktwas.appjobber <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 3f800010
r0 bee2bf4c r1 00000000 r2 00000001 r3 00000000
r4 3f800000 r5 79391398 r6 00000000 r7 795de140
r8 00000000 r9 40ee8274 sl bee2c380 fp bee2c31c
ip 00000001 sp bee2bf40 lr 40eda315 pc 40eda322 cpsr 200f0030
d0 3f80000033d6bf95 d1 0000000000000000
d2 3f80000000000000 d3 33d6bf953f800000
d4 0000000000000000 d5 3f80000000000000
d6 3f80000000000000 d7 0000000000000000
d8 448e800043870000 d9 445980004428c000
d10 0000000043ca8000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 2820657275747865
d18 0000000000000000 d19 0000000000000000
d20 0000000000000000 d21 0000000000000000
d22 3f80000000000000 d23 00000000bf800000
d24 bf29ef9c59f8249e d25 bfdb0c2dc0e71a39
d26 3fd7e1cb6ac20e40 d27 bf56ad0de153a4f7
d28 4012d97c7f3321d2 d29 3fdbecdeaeef4ba0
d30 3fc1d2cda3115147 d31 40000e9980000000
scr 28000012
backtrace:
#00 pc 0002b322 /system/lib/libhwui.so
#01 pc 0001f329 /system/lib/libhwui.so
#02 pc 00020525 /system/lib/libhwui.so
#03 pc 000207b7 /system/lib/libhwui.so
#04 pc 00021d03 /system/lib/libhwui.so
#05 pc 00017bb7 /system/lib/libhwui.so
#06 pc 00015463 /system/lib/libhwui.so
#07 pc 00015357 /system/lib/libhwui.so
#08 pc 0001e08b /system/lib/libhwui.so
#09 pc 0006c299 /system/lib/libandroid_runtime.so
#10 pc 00020bcc /system/lib/libdvm.so (dvmPlatformInvoke+112)
#11 pc 00051927 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#12 pc 0002a060 /system/lib/libdvm.so
#13 pc 00031510 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#14 pc 0002eba8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#15 pc 00064159 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
#16 pc 0006c18f /system/lib/libdvm.so
#17 pc 0002a060 /system/lib/libdvm.so
#18 pc 00031510 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#19 pc 0002eba8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#20 pc 00063e75 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#21 pc 0004d457 /system/lib/libdvm.so
#22 pc 00051f0f /system/lib/libandroid_runtime.so
#23 pc 000534a3 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
#24 pc 0000105b /system/bin/app_process
#25 pc 0000e4f3 /system/lib/libc.so (__libc_init+50)
#26 pc 00000d7c /system/bin/app_process
code around pc:
40eda300 8000f8d3 0201f108 f7e5601a 4641f9cf
40eda310 fb08f7e7 40acf8d5 60acf8c5 d04f2c00
40eda320 edd4a803 ed947a04 eef80a05 eeb88a67
40eda330 f7f18a40 4628f81d 464aa903 fd44f7ff
40eda340 f8d54628 462120b0 30b4f8d5 fd28f7ff
40eda350 f6406820 910151e1 6101f242 460a4633
40eda360 68c59600 47a84620 46384918 f7fd4479
40eda370 4641fc5c ea1cf7e2 46384915 f7fd4479
40eda380 ab03fc54 21014632 eb62f7e2 46384911
40eda390 f7fd4479 eef7fc4a eec00a00 ee808aa8
40eda3a0 ee181a88 ee111a90 f7e22a10 7e23ed3e
40eda3b0 4620b133 fbd8f000 46206822 47886851
40eda3c0 ecbdb015 e8bd8b02 bf0083f0 00009576
40eda3d0 00009574 00009571 ed2db5f8 46048b02
40eda3e0 8a1eed9f ed802500 60058a06 8a07ed80
40eda3f0 ed806045 60858a08 8a09ed80 f10460c5
code around lr:
40eda2f4 4691b095 9b1e4605 2600460f 8000f8d3
40eda304 0201f108 f7e5601a 4641f9cf fb08f7e7
40eda314 40acf8d5 60acf8c5 d04f2c00 edd4a803
40eda324 ed947a04 eef80a05 eeb88a67 f7f18a40
40eda334 4628f81d 464aa903 fd44f7ff f8d54628
40eda344 462120b0 30b4f8d5 fd28f7ff f6406820
40eda354 910151e1 6101f242 460a4633 68c59600
40eda364 47a84620 46384918 f7fd4479 4641fc5c
40eda374 ea1cf7e2 46384915 f7fd4479 ab03fc54
40eda384 21014632 eb62f7e2 46384911 f7fd4479
40eda394 eef7fc4a eec00a00 ee808aa8 ee181a88
40eda3a4 ee111a90 f7e22a10 7e23ed3e 4620b133
40eda3b4 fbd8f000 46206822 47886851 ecbdb015
40eda3c4 e8bd8b02 bf0083f0 00009576 00009574
40eda3d4 00009571 ed2db5f8 46048b02 8a1eed9f
40eda3e4 ed802500 60058a06 8a07ed80 ed806045
Found a solution in Android Issue 67282 report, please check the solution in #11.
Use software acceleration can fix this issue. You can try it.
mTextView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); // WORKS on API Level 19 (OpenGL ES 3.0)

Crash in android pollOnce

We are blocked because our Android service crashes in the native part, but we are unable to figure out what exactly is happening. Can someone shed some light on this?
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'generic/sdk/generic:4.2.2/JB_MR1.1/576024:eng/test-keys'
Revision: '0'
pid: 3351, tid: 3351, name: UNKNOWN >>> org.qeo.android.service <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000001
r0 ffffffff r1 00000000 r2 00000000 r3 00000000
r4 2a189fd0 r5 ffffffff r6 00000001 r7 00000000
r8 00000000 r9 00000014 sl 2a00bbb8 fp beec5694
ip 00000000 sp beec5648 lr 400c0c3b pc 400c0cfe cpsr 60000030
d0 3f8000003f800000 d1 003d09003fc00000
d2 00000001000f4240 d3 bf62cda764a98eab
d4 000f424000000000 d5 3ff0000000000000
d6 4000000000000000 d7 3ff000003f800000
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
scr 60000010
backtrace:
#00 pc 00014cfe /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+77)
#01 pc 0005ed3f /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
#02 pc 0001e290 /system/lib/libdvm.so (dvmPlatformInvoke+112)
#03 pc 0004d1f9 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+392)
#04 pc 00038b45 /system/lib/libdvm.so (dvmCheckCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+8)
#05 pc 000276a0 /system/lib/libdvm.so
#06 pc 0002b540 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#07 pc 0005fcab /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374)
#08 pc 000674c1 /system/lib/libdvm.so
#09 pc 000276a0 /system/lib/libdvm.so
#10 pc 0002b540 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#11 pc 0005f9d5 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
#12 pc 0004984b /system/lib/libdvm.so
#13 pc 0003ce9b /system/lib/libdvm.so
#14 pc 00046871 /system/lib/libandroid_runtime.so
#15 pc 00047533 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)
#16 pc 00000db7 /system/bin/app_process
#17 pc 000126f7 /system/lib/libc.so (__libc_init+38)
#18 pc 00000ae8 /system/bin/app_process

Categories

Resources