locked
Crashes on Samsung Galaxy S5 RRS feed

  • Question

  • User34374 posted

    Dear Forum,

    I recently experience a lot of crashes in the mono runtime while testing my App on a Samsung Galaxy S5 (This doesn’t happen on a Asus Nexus 7 or in the emulator):

    F/libc (16954): monodroid-glue.c:1037: gccleanupafterjavacollection: assertion "sccs [i]->isalive" failed F/libc (16954): Fatal signal 6 (SIGABRT) at 0x0000423a (code=-6), thread 17324 (eam.UIPrototype) I/DEBUG ( 252): * * * * * * * * * * * * * * * * I/DEBUG ( 252): Build fingerprint: 'samsung/kltexx/klte:4.4.2/KOT49H/G900FXXU1ANG2:user/release-keys' I/DEBUG ( 252): Revision: '14' I/DEBUG ( 252): pid: 16954, tid: 17324, name: eam.UIPrototype >>> AppName.UIPrototype <<< I/DEBUG ( 252): signal 6 (SIGABRT), code -6 (SITKILL), fault addr -------- I/DEBUG ( 252): Abort message: 'monodroid-glue.c:1037: gccleanupafterjavacollection: assertion "sccs [i]->is_alive" failed'

    This crashes seem to happen randomly but very often while scrolling trough a list. I searched google for this error and unfortunately got no results.

    Information about our Xamarin version: Xamarin 3.8.150.0 Xamarin.Android 4.20.0.28

    Information about the phone and it’s software: Samsung SM-G900F Android 4.4.2 Kernel 3.4.0-2089850 Build: KOT49H.G900FXXU1ANG2

    Additional information: There is a AV-Scanner installed on this phone (Avast Mobile Security V.: 4.0.7875) which causes the complete OS to hang after the above crash (My app-process + the avast process eating up nearly all kernel-time). When the scanner is disabled, the crashes also happen but don’t cause the complete device to hang.

    Thanks in advance

    Friday, January 23, 2015 12:53 PM

All replies

  • User34374 posted

    01-23 13:49:52.203: I/DEBUG(249): backtrace: 01-23 13:49:52.203: I/DEBUG(249): #00 pc 00022194 /system/lib/libc.so (tgkill+12) 01-23 13:49:52.203: I/DEBUG(249): #01 pc 000131e9 /system/lib/libc.so (pthreadkill+48) 01-23 13:49:52.203: I/DEBUG(249): #02 pc 000133fd /system/lib/libc.so (raise+10) 01-23 13:49:52.203: I/DEBUG(249): #03 pc 00012133 /system/lib/libc.so 01-23 13:49:52.203: I/DEBUG(249): #04 pc 00021a48 /system/lib/libc.so (abort+4) 01-23 13:49:52.203: I/DEBUG(249): #05 pc 00012c19 /system/lib/libc.so 01-23 13:49:52.203: I/DEBUG(249): #06 pc 00012191 /system/lib/libc.so (assert2+20) 01-23 13:49:52.203: I/DEBUG(249): #07 pc 000063b8 /data/app-lib/APPNAME.UIPrototype-1/libmonodroid.so 01-23 13:49:52.203: I/DEBUG(249): stack: 01-23 13:49:52.203: I/DEBUG(249): bef865f0 416ae4c8 01-23 13:49:52.203: I/DEBUG(249): bef865f4 6d638c48 01-23 13:49:52.203: I/DEBUG(249): bef865f8 00000000 01-23 13:49:52.203: I/DEBUG(249): bef865fc bef866bc [stack] 01-23 13:49:52.203: I/DEBUG(249): bef86600 00000000 01-23 13:49:52.203: I/DEBUG(249): bef86604 41713f9f /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::valist)+346) 01-23 13:49:52.203: I/DEBUG(249): bef86608 00000000 01-23 13:49:52.203: I/DEBUG(249): bef8660c 00000000 01-23 13:49:52.203: I/DEBUG(249): bef86610 4177ed88 01-23 13:49:52.203: I/DEBUG(249): bef86614 42764e50 /dev/ashmem/dalvik-heap (deleted) 01-23 13:49:52.203: I/DEBUG(249): bef86618 bef86634 [stack] 01-23 13:49:52.203: I/DEBUG(249): bef8661c 429f88d0 /dev/ashmem/dalvik-heap (deleted) 01-23 13:49:52.203: I/DEBUG(249): bef86620 6da66cf0 /dev/ashmem/dalvik-LinearAlloc (deleted) 01-23 13:49:52.213: I/DEBUG(249): bef86624 429f88d0 /dev/ashmem/dalvik-heap (deleted) 01-23 13:49:52.213: I/DEBUG(249): bef86628 e3a070ad 01-23 13:49:52.213: I/DEBUG(249): bef8662c ef9000ad 01-23 13:49:52.213: I/DEBUG(249): #00 bef86630 00000006 01-23 13:49:52.213: I/DEBUG(249): bef86634 0000000b 01-23 13:49:52.213: I/DEBUG(249): bef86638 000026c1 01-23 13:49:52.213: I/DEBUG(249): bef8663c 00000000 01-23 13:49:52.213: I/DEBUG(249): bef86640 00000000 01-23 13:49:52.213: I/DEBUG(249): bef86644 4004b1ed /system/lib/libc.so (pthread_kill+52) 01-23 13:49:52.213: I/DEBUG(249): #01 bef86648 00000006 01-23 13:49:52.213: I/DEBUG(249): bef8664c 00000000 01-23 13:49:52.213: I/DEBUG(249): bef86650 726d2dc0 /data/app-lib/APPNAME.UIPrototype-1/libmonodroid.so 01-23 13:49:52.213: I/DEBUG(249): bef86654 4004b401 /system/lib/libc.so (raise+14) 01-23 13:49:52.213: I/DEBUG(249): #02 bef86658 bef86664 [stack] 01-23 13:49:52.213: I/DEBUG(249): bef8665c 4004a137 /system/lib/libc.so

    Friday, January 23, 2015 12:54 PM
  • User34374 posted

    Tested the app with a S5 mini with the same results:

    01-23 14:43:37.486: I/DEBUG(1918): Build fingerprint: 'samsung/kminiltexx/kminilte:4.4.2/KOT49H/G800FXXU1ANL1:user/release-keys' 01-23 14:43:37.486: I/DEBUG(1918): Revision: '6' 01-23 14:43:37.486: I/DEBUG(1918): pid: 451, tid: 740, name: eam.UIPrototype >>> APPNAME.UIPrototype <<< 01-23 14:43:37.486: I/DEBUG(1918): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 01-23 14:43:37.486: I/DEBUG(1918): Abort message: 'monodroid-glue.c:1057: gc_cleanup_after_java_collection: assertion "!sccs [i]->is_alive" failed' 01-23 14:43:37.736: I/DEBUG(1918): r0 00000000 r1 000002e4 r2 00000006 r3 00000000 01-23 14:43:37.736: I/DEBUG(1918): r4 00000006 r5 00000002 r6 000002e4 r7 0000010c 01-23 14:43:37.736: I/DEBUG(1918): r8 00000001 r9 77f54d28 sl 0000000c fp 801ff68c 01-23 14:43:37.736: I/DEBUG(1918): ip 00000001 sp 801ff5b0 lr 4003f11d pc 4004e310 cpsr 08000010 01-23 14:43:37.736: I/DEBUG(1918): d0 64656c6961662022 d1 6c615f73693e2d5d 01-23 14:43:37.741: I/DEBUG(1918): d2 42ad47ac0000006e d3 0000005600004020 01-23 14:43:37.741: I/DEBUG(1918): d4 0000000000000001 d5 0000000000000000 01-23 14:43:37.741: I/DEBUG(1918): d6 4c3659a000000000 d7 42c800000d000000 01-23 14:43:37.741: I/DEBUG(1918): d8 0000000000000000 d9 0000000000000000 01-23 14:43:37.741: I/DEBUG(1918): d10 0000000000000000 d11 0000000000000000 01-23 14:43:37.741: I/DEBUG(1918): d12 0000000000000000 d13 0000000000000000 01-23 14:43:37.741: I/DEBUG(1918): d14 0000000000000000 d15 0000000000000000 01-23 14:43:37.741: I/DEBUG(1918): d16 0000000000000001 d17 0000000000000000 01-23 14:43:37.741: I/DEBUG(1918): d18 0000000000000000 d19 0000000000000001 01-23 14:43:37.741: I/DEBUG(1918): d20 0000000000004000 d21 0000000000000000 01-23 14:43:37.741: I/DEBUG(1918): d22 0000000000004000 d23 0000000000000001 01-23 14:43:37.741: I/DEBUG(1918): d24 0000000000000000 d25 411e848000000000 01-23 14:43:37.741: I/DEBUG(1918): d26 3ff0000000000000 d27 411e848000000000 01-23 14:43:37.741: I/DEBUG(1918): d28 4018000000000000 d29 4156e36000000000 01-23 14:43:37.741: I/DEBUG(1918): d30 4008000000000000 d31 0000000000004000 01-23 14:43:37.741: I/DEBUG(1918): scr 88000010 01-23 14:43:37.746: I/DEBUG(1918): backtrace: 01-23 14:43:37.746: I/DEBUG(1918): #00 pc 00022310 /system/lib/libc.so (tgkill+12) 01-23 14:43:37.746: I/DEBUG(1918): #01 pc 00013119 /system/lib/libc.so (pthread_kill+48) 01-23 14:43:37.746: I/DEBUG(1918): #02 pc 0001332d /system/lib/libc.so (raise+10) 01-23 14:43:37.746: I/DEBUG(1918): #03 pc 00012061 /system/lib/libc.so 01-23 14:43:37.746: I/DEBUG(1918): #04 pc 00021bc4 /system/lib/libc.so (abort+4) 01-23 14:43:37.746: I/DEBUG(1918): #05 pc 00012b49 /system/lib/libc.so 01-23 14:43:37.746: I/DEBUG(1918): #06 pc 000120c1 /system/lib/libc.so (__assert2+20) 01-23 14:43:37.746: I/DEBUG(1918): #07 pc 0000657c /data/app-lib/APPNAME.UIPrototype-1/libmonodroid.so 01-23 14:43:37.751: I/DEBUG(1918): stack: 01-23 14:43:37.751: I/DEBUG(1918): 801ff570 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff574 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff578 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff57c 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff580 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff584 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff588 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff58c 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff590 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff594 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff598 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff59c 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff5a0 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff5a4 00000000 01-23 14:43:37.751: I/DEBUG(1918): 801ff5a8 e3a070ad 01-23 14:43:37.751: I/DEBUG(1918): 801ff5ac ef9000ad 01-23 14:43:37.751: I/DEBUG(1918): #00 801ff5b0 00000006 01-23 14:43:37.751: I/DEBUG(1918): 801ff5b4 00000002 01-23 14:43:37.751: I/DEBUG(1918): 801ff5b8 000002e4 01-23 14:43:37.751: I/DEBUG(1918): 801ff5bc 00000001 01-23 14:43:37.751: I/DEBUG(1918): 801ff5c0 00000001 01-23 14:43:37.756: I/DEBUG(1918): 801ff5c4 4003f11d /system/lib/libc.so (pthread_kill+52) 01-23 14:43:37.756: I/DEBUG(1918): #01 801ff5c8 00000006 01-23 14:43:37.756: I/DEBUG(1918): 801ff5cc 00000421 01-23 14:43:37.756: I/DEBUG(1918): 801ff5d0 77c6adc0 /data/app-lib/APPNAME.UIPrototype-1/libmonodroid.so 01-23 14:43:37.756: I/DEBUG(1918): 801ff5d4 4003f331 /system/lib/libc.so (raise+14) 01-23 14:43:37.756: I/DEBUG(1918): #02 801ff5d8 801ff5e4 [stack:740] 01-23 14:43:37.756: I/DEBUG(1918): 801ff5dc 4003e065 /system/lib/libc.so 01-23 14:43:37.756: I/DEBUG(1918): memory near r9: 01-23 14:43:37.756: I/DEBUG(1918): 77f54d08 7aee9360 7aee9270 7aee8e68 7aee8f18 01-23 14:43:37.756: I/DEBUG(1918): 77f54d18 75816370 7aee8fc0 75815220 7aee95a8 01-23 14:43:37.756: I/DEBUG(1918): 77f54d28 00004000 00000000 00000000 00000001 01-23 14:43:37.761: I/DEBUG(1918): 77f54d38 00000001 77f3a960 00000000 77e12ce0 01-23 14:43:37.761: I/DEBUG(1918): 77f54d48 77e1421c 77e16de4 77e16d34 77e14210 01-23 14:43:37.761: I/DEBUG(1918): 77f54d58 77e13a08 00000000 00000000 00000000 01-23 14:43:37.761: I/DEBUG(1918): 77f54d68 00000000 77e16d28 00000000 77e1616c 01-23 14:43:37.761: I/DEBUG(1918): 77f54d78 77e15f00 77e16164 77e12a4c 77e11fcc 01-23 14:43:37.761: I/DEBUG(1918): 77f54d88 77e12a8c 77e165d0 77e11b78 00000000 01-23 14:43:37.761: I/DEBUG(1918): 77f54d98 77e11adc 77e165cc 77e11a8c 77e1276c 01-23 14:43:37.761: I/DEBUG(1918): 77f54da8 77e11ae0 77e11a9c 77e12750 77e16e38 01-23 14:43:37.761: I/DEBUG(1918): 77f54db8 77e11ab4 77e12274 77e1191c 77e118c8 01-23 14:43:37.761: I/DEBUG(1918): 77f54dc8 77e11ca4 77e11b64 77e12b64 77e1224c
    01-23 14:43:37.761: I/DEBUG(1918): 77f54dd8 00000000 77e11c90 00000000 00000000 01-23 14:43:37.761: I/DEBUG(1918): 77f54de8 00000000 77e119f4 77e11d40 00000000 01-23 14:43:37.761: I/DEBUG(1918): 77f54df8 00000000 77e11bd4 000416a4 00000000 01-23 14:43:37.761: I/DEBUG(1918): memory near fp: 01-23 14:43:37.761: I/DEBUG(1918): 801ff66c 85287810 00000115 000005a7 00000002 01-23 14:43:37.761: I/DEBUG(1918): 801ff67c 0000014f 77f3ab08 cf11b7e5 801ff6cc 01-23 14:43:37.761: I/DEBUG(1918): 801ff68c 77c59918 7d19c010 cf129156 7d19c010 01-23 14:43:37.761: I/DEBUG(1918): 801ff69c 0000032d 8119a008 00000583 77f39c88 01-23 14:43:37.761: I/DEBUG(1918): 801ff6ac 7eda3980 cf11b7e5 801ff798 00000001 01-23 14:43:37.761: I/DEBUG(1918): 801ff6bc 00000001 77f54d28 77f3ab08 801ff9c8 01-23 14:43:37.761: I/DEBUG(1918): 801ff6cc 77e18e98 0000000c 801ff700 7edd1618 01-23 14:43:37.761: I/DEBUG(1918): 801ff6dc 77f36c1c cf11b7e5 801ff798 00000001 01-23 14:43:37.766: I/DEBUG(1918): 801ff6ec 000855ad 00000000 77f36c1c 77f44a80 01-23 14:43:37.766: I/DEBUG(1918): 801ff6fc 77f36c1c cf11b7e5 801ff798 00000001 01-23 14:43:37.766: I/DEBUG(1918): 801ff70c 000855ad 0000000c 77e358d4 00005836 01-23 14:43:37.766: I/DEBUG(1918): 801ff71c 77f3a3e8 77f3aadc 801ff750 77e934e4 01-23 14:43:37.766: I/DEBUG(1918): 801ff72c cf09742b 77f54d28 77e934e4 77e934e4 01-23 14:43:37.766: I/DEBUG(1918): 801ff73c 00003948 77f54d28 00000000 801ff9c8 01-23 14:43:37.766: I/DEBUG(1918): 801ff74c 77e18458 00006b0d 29987086 00000001 01-23 14:43:37.766: I/DEBUG(1918): 801ff75c 77f36c1c 00000001 77f3a3f4 00003948 01-23 14:43:37.766: I/DEBUG(1918): memory near sp: 01-23 14:43:37.766: I/DEBUG(1918): 801ff590 00000000 00000000 00000000 00000000 01-23 14:43:37.766: I/DEBUG(1918): 801ff5a0 00000000 00000000 e3a070ad ef9000ad 01-23 14:43:37.766: I/DEBUG(1918): 801ff5b0 00000006 00000002 000002e4 00000001 01-23 14:43:37.766: I/DEBUG(1918): 801ff5c0 00000001 4003f11d 00000006 00000421 01-23 14:43:37.766: I/DEBUG(1918): 801ff5d0 77c6adc0 4003f331 801ff5e4 4003e065 01-23 14:43:37.766: I/DEBUG(1918): 801ff5e0 7eda3980 ffffffdf 801ff604 440946c8 01-23 14:43:37.766: I/DEBUG(1918): 801ff5f0 801ff798 440946c8 cf11b7e5 77c6fdc8 01-23 14:43:37.766: I/DEBUG(1918): 801ff600 00000421 4004dbc8 daa79d7e 4003eb4d 01-23 14:43:37.766: I/DEBUG(1918): 801ff610 4006c4a7 801ff624 00000421 4003e0c5
    01-23 14:43:37.766: I/DEBUG(1918): 801ff620 4006c4a7 77c6adc0 00000421 77c6fdc8 01-23 14:43:37.766: I/DEBUG(1918): 801ff630 77c6ae4c 00000421 77c6fdc8 77c59580 01-23 14:43:37.766: I/DEBUG(1918): 801ff640 00000000 8119a008 00000583 7eda3980 01-23 14:43:37.766: I/DEBUG(1918): 801ff650 418ba4c8 00000000 00000000 00000000 01-23 14:43:37.766: I/DEBUG(1918): 801ff660 7e0c4d48 6dae6f98 87700001 85287810 01-23 14:43:37.771: I/DEBUG(1918): 801ff670 00000115 000005a7 00000002 0000014f 01-23 14:43:37.771: I/DEBUG(1918): 801ff680 77f3ab08 cf11b7e5 801ff6cc 77c59918 01-23 14:43:37.771: I/DEBUG(1918): code around pc: 01-23 14:43:37.771: I/DEBUG(1918): 4004e2f0 e8bd00f0 e3700a01 912fff1e e2600000 01-23 14:43:37.771: I/DEBUG(1918): 4004e300 ea006e7e e92d50f0 e3a07f43 ef000000 01-23 14:43:37.771: I/DEBUG(1918): 4004e310 e8bd50f0 e3700a01 912fff1e e2600000 01-23 14:43:37.771: I/DEBUG(1918): 4004e320 ea006e76 e92d50f0 e3a070ee ef000000 01-23 14:43:37.771: I/DEBUG(1918): 4004e330 e8bd50f0 e3700a01 912fff1e e2600000 01-23 14:43:37.771: I/DEBUG(1918): 4004e340 ea006e6e e1520003 8a00008c f5d1f040 01-23 14:43:37.771: I/DEBUG(1918): 4004e350 e92d4001 e3520010 3a000024 e2603000 01-23 14:43:37.771: I/DEBUG(1918): 4004e360 e213300f 0a00000e e0422003 e1b0cf83 01-23 14:43:37.771: I/DEBUG(1918): 4004e370 44d1e001 44c0e001 24d1c001 24d1e001 01-23 14:43:37.771: I/DEBUG(1918): 4004e380 24c0c001 24c0e001 e1b0ce83 aa000001 01-23 14:43:37.771: I/DEBUG(1918): 4004e390 f4a1030d f480031d 3a000001 f421070d 01-23 14:43:37.771: I/DEBUG(1918): 4004e3a0 f400071d e2522040 3a000006 f421020d 01-23 14:43:37.776: I/DEBUG(1918): 4004e3b0 f421420d f5d1f100 e2522040 f400022d 01-23 14:43:37.776: I/DEBUG(1918): 4004e3c0 f400422d 2afffff8 e2922020 3a000002 01-23 14:43:37.776: I/DEBUG(1918): 4004e3d0 f421020d e2422020 f400022d e2822020 01-23 14:43:37.776: I/DEBUG(1918): 4004e3e0 e3120010 0a000001 f4210a0d f4000a2d 01-23 14:43:37.776: I/DEBUG(1918): code around lr: 01-23 14:43:37.776: I/DEBUG(1918): 4003f0fc 447b4b13 42b3e010 4812d10e 44786a1e 01-23 14:43:37.776: I/DEBUG(1918): 4003f10c ec94f7fb ea40f00d 46224631 e8f4f00f 01-23 14:43:37.776: I/DEBUG(1918): 4003f11c d00a3001 e00b2400 2b00681b 480ad1eb 01-23 14:43:37.776: I/DEBUG(1918): 4003f12c 44782403 ec82f7fb f001e002 6804fa87 01-23 14:43:37.776: I/DEBUG(1918): 4003f13c fa84f001 46206005 bf00bd70 0003b2a6 01-23 14:43:37.776: I/DEBUG(1918): 4003f14c 0003b29a 0003b292 0003b26e bf7ef7ff 01-23 14:43:37.776: I/DEBUG(1918): 4003f15c 43f0e92d 4a3d4b3c 589c447b 6823b08b 01-23 14:43:37.776: I/DEBUG(1918): 4003f16c 460d4606 f0019309 46a1fa69 8000f8d0 01-23 14:43:37.781: I/DEBUG(1918): 4003f17c d0482d00 f00f4628 280fffc5 d8444604 01-23 14:43:37.781: I/DEBUG(1918): 4003f18c ffe4f7ff d1064286 4629200f e90af00d 01-23 14:43:37.781: I/DEBUG(1918): 4003f19c d03c2800 482ee02e f7fb4478 482debc6 01-23 14:43:37.781: I/DEBUG(1918): 4003f1ac e0154478 d11342b0 482b6a06 f7fb4478 01-23 14:43:37.781: I/DEBUG(1918): 4003f1bc 4a2aec3e 447a2120 a8014633 fb32f013 01-23 14:43:37.781: I/DEBUG(1918): 4003f1cc a8012101 fe34f01a 46061c42 e011d104 01-23 14:43:37.781: I/DEBUG(1918): 4003f1dc 28006800 e02cd1e6 46294630 f00d4622 01-23 14:43:37.781: I/DEBUG(1918): 4003f1ec 1c43e946 d11e4607 fa28f001 29046801

    On the S5 mini the crash happens a lot earlier than on the regulart S5 (most likely because the GC kicks in earlier because oft he smaller RAM?). Anyone a clue what could cause this error? I think the S5 is in widespread use and find it a bit strange that I just can’t find anything about this error on the internet.

    If you need more information, just let me know.

    Friday, January 23, 2015 2:01 PM
  • User312301 posted

    Fix crashes by following method. It will be work for specific application. If still issue exists then check Samsung S5 Manual for advanced options. * Turn off the device. * Press and hold the following three buttons at the same time: Volume Up key, Home key, Power key * When the phone vibrates, let go of the Power key but continue to press and hold the Volume Up key and the Home key. * When the Android System Recovery screen appears, release the Volume Up and Home keys. * Press the Volume Down key to highlight ‘wipe cache partition.’ * Press the Power key to select. * When the wipe cache partition is complete, ‘Reboot system now’ is highlighted. * Press the Power key to restart the device.

    Wednesday, May 3, 2017 10:06 AM