[68725 Open] Cannot debug on ART runtime

App actually does run fine on ART outside of a debug session but consistently fails when started from a Fire Debug session (not tried with VS). I’m aware ART is developer only etc etc but rumours are that it will be default on 5.0.

LogCat: W/ActivityThread(20454): Application the_app_that_keeps_on_giving is waiting for the debugger on port 8100…
LogCat: I/art (20454): Debugger is active
LogCat: I/System.out(20454): Debugger has connected
LogCat: I/System.out(20454): waiting for debugger to settle…
LogCat: I/System.out(20454): waiting for debugger to settle…
LogCat: I/System.out(20454): waiting for debugger to settle…
LogCat: I/System.out(20454): waiting for debugger to settle…
LogCat: I/System.out(20454): waiting for debugger to settle…
LogCat: I/System.out(20454): waiting for debugger to settle…
LogCat: I/System.out(20454): waiting for debugger to settle…
LogCat: I/System.out(20454): debugger has settled (1420)
LogCat: F/libc (20454): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 20464 (JDWP)
LogCat: I/DEBUG ( 170): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LogCat: I/DEBUG ( 170): Build fingerprint: 'google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys’
LogCat: I/DEBUG ( 170): Revision: '11’
LogCat: I/DEBUG ( 170): pid: 20454, tid: 20464, name: JDWP >>> the_app_that_keeps_on_giving <<<
LogCat: I/DEBUG ( 170): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
LogCat: I/DEBUG ( 170): r0 00000000 r1 00000000 r2 c5c052a0 r3 00000000
LogCat: I/DEBUG ( 170): r4 47bf9a04 r5 00000000 r6 41726cac r7 4010f384
LogCat: I/DEBUG ( 170): r8 47bf9a38 r9 41726cac sl 441d4a30 fp 41769a20
LogCat: I/DEBUG ( 170): ip 41726cd4 sp 47bf99f0 lr 415941c1 pc 400e3fd8 cpsr 60070030
LogCat: I/DEBUG ( 170): d0 614d656c6946496e d1 0000000000000061
LogCat: I/DEBUG ( 170): d2 0000000000000067 d3 0000000000000065
LogCat: I/DEBUG ( 170): d4 63656a624f6d6552 d5 41726565422f7374
LogCat: I/DEBUG ( 170): d6 422f796d6568636c d7 552f74694b726565
LogCat: I/DEBUG ( 170): d8 0000000000000000 d9 0000000000000000
LogCat: I/DEBUG ( 170): d10 0000000000000000 d11 0000000000000000
LogCat: I/DEBUG ( 170): d12 0000000000000000 d13 0000000000000000
LogCat: I/DEBUG ( 170): d14 0000000000000000 d15 0000000000000000
LogCat: I/DEBUG ( 170): d16 000000000000019e d17 0000000000000000
LogCat: I/DEBUG ( 170): d18 0000000000000000 d19 0000000000000000
LogCat: I/DEBUG ( 170): d20 0000000000000032 d21 0002000200020002
LogCat: I/DEBUG ( 170): d22 0010001000100010 d23 0000000000000000
LogCat: I/DEBUG ( 170): d24 0003000000030000 d25 0003000000030000
LogCat: I/DEBUG ( 170): d26 0707070703030303 d27 000000300000002f
LogCat: I/DEBUG ( 170): d28 0001000000010000 d29 0001000000010000
LogCat: I/DEBUG ( 170): d30 00b6800000b38000 d31 00bc800000b98000
LogCat: I/DEBUG ( 170): scr 80000010
LogCat: I/DEBUG ( 170):
LogCat: I/DEBUG ( 170): backtrace:
LogCat: I/DEBUG ( 170): #00 pc 00022fd8 /system/lib/libc.so (strlen+83)
LogCat: I/DEBUG ( 170): #01 pc 000811bd /system/lib/libart.so (art::Dbg::GetSourceFile(unsigned long long, std::string&)+104)
LogCat: I/DEBUG ( 170): #02 pc 000e737b /system/lib/libart.so
LogCat: I/DEBUG ( 170): #03 pc 000e9adf /system/lib/libart.so (art::JDWP::JdwpState::ProcessRequest(art::JDWP::Request&, art::JDWP::ExpandBuf*)+386)
LogCat: I/DEBUG ( 170): #04 pc 000eb3f9 /system/lib/libart.so (art::JDWP::JdwpState::HandlePacket()+36)
LogCat: I/DEBUG ( 170): #05 pc 001d6fa7 /system/lib/libart.so (art::JDWP::JdwpAdbState::ProcessIncoming()+1138)
LogCat: I/DEBUG ( 170): #06 pc 000eb5ef /system/lib/libart.so (art::JDWP::JdwpState::Run()+378)
LogCat: I/DEBUG ( 170): #07 pc 000ec86b /system/lib/libart.so
LogCat: I/DEBUG ( 170): #08 pc 0000d170 /system/lib/libc.so (__thread_entry+72)
LogCat: I/DEBUG ( 170): #09 pc 0000d308 /system/lib/libc.so (pthread_create+240)
LogCat: I/DEBUG ( 170):
LogCat: I/DEBUG ( 170): stack:
LogCat: I/DEBUG ( 170): 47bf99b0 00000000
LogCat: I/DEBUG ( 170): 47bf99b4 0000019e
LogCat: I/DEBUG ( 170): 47bf99b8 441a3690 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf99bc 417699b0 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf99c0 4745dd70 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf99c4 441d4a30 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf99c8 441a368e [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf99cc 441a3678 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf99d0 00000000
LogCat: I/DEBUG ( 170): 47bf99d4 c5c052a0
LogCat: I/DEBUG ( 170): 47bf99d8 00000000
LogCat: I/DEBUG ( 170): 47bf99dc 47bf9a04 [stack:20464]
LogCat: I/DEBUG ( 170): 47bf99e0 00000000
LogCat: I/DEBUG ( 170): 47bf99e4 41726cac /system/lib/libart.so
LogCat: I/DEBUG ( 170): 47bf99e8 4010f384
LogCat: I/DEBUG ( 170): 47bf99ec 415941bb /system/lib/libart.so (art::Dbg::GetSourceFile(unsigned long long, std::string&)+102)
LogCat: I/DEBUG ( 170): #00 47bf99f0 00000000
LogCat: I/DEBUG ( 170): … …
LogCat: I/DEBUG ( 170): #01 47bf99f0 00000000
LogCat: I/DEBUG ( 170): 47bf99f4 64e14f48 /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 170): 47bf99f8 441adbc8 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf99fc 00000000
LogCat: I/DEBUG ( 170): 47bf9a00 64e69840 /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 170): 47bf9a04 41512e00 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf9a08 00000136
LogCat: I/DEBUG ( 170): 47bf9a0c c5c052a0
LogCat: I/DEBUG ( 170): 47bf9a10 00000000
LogCat: I/DEBUG ( 170): 47bf9a14 47bf9a04 [stack:20464]
LogCat: I/DEBUG ( 170): 47bf9a18 47bf9a04 [stack:20464]
LogCat: I/DEBUG ( 170): 47bf9a1c c5c052a0
LogCat: I/DEBUG ( 170): 47bf9a20 47bf9a38 [stack:20464]
LogCat: I/DEBUG ( 170): 47bf9a24 4010f384
LogCat: I/DEBUG ( 170): 47bf9a28 00000000
LogCat: I/DEBUG ( 170): 47bf9a2c 441d4a30 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): … …
LogCat: I/DEBUG ( 170): #02 47bf9a38 416f3e00 /system/lib/libart.so
LogCat: I/DEBUG ( 170): 47bf9a3c 4010f384
LogCat: I/DEBUG ( 170): 47bf9a40 41726cac /system/lib/libart.so
LogCat: I/DEBUG ( 170): 47bf9a44 c5c052a0
LogCat: I/DEBUG ( 170): 47bf9a48 47bf9a38 [stack:20464]
LogCat: I/DEBUG ( 170): 47bf9a4c 47bf9a38 [stack:20464]
LogCat: I/DEBUG ( 170): 47bf9a50 0000000b
LogCat: I/DEBUG ( 170): 47bf9a54 c5c052a0
LogCat: I/DEBUG ( 170): 47bf9a58 47bf9b5c [stack:20464]
LogCat: I/DEBUG ( 170): 47bf9a5c 415fa351 /system/lib/libart.so
LogCat: I/DEBUG ( 170): 47bf9a60 4745dd70 [anon:libc_malloc]
LogCat: I/DEBUG ( 170): 47bf9a64 41727b80 /system/lib/libart.so
LogCat: I/DEBUG ( 170): 47bf9a68 47bf9b5c [stack:20464]
LogCat: I/DEBUG ( 170): 47bf9a6c 415fcae1 /system/lib/libart.so (art::JDWP::JdwpState::ProcessRequest(art::JDWP::Request&, art::JDWP::ExpandBuf*)+388)
LogCat: I/DEBUG ( 170):

Thanks, logged as bugs://68725: Fire: Cannot debug on ART runtime

Can you try with the next beta? It works now for me (art on Nexus7)

bugs://68725 got closed as fixed for release Fire

Sadly not fixed. Fire crashes on launch of the app. There’s no crash dump apart from:

19/07/2014 16:36:32.291 com.apple.launchd.peruser.501[161]: (com.remobjects.oxygene.Fire.219328[48459]) Exited with code: 255

…in the Console. The target app that Fire installed on the device runs outside of Fire.

This is on Android 4.4.4 on a Nexus 4 using the ART runtime.

OK, It’s working on Dalvik (from Fire). I’m going to switch back to ART to double check.

I will say however that this release seems more crash prone than before. If the debugger goes down it usually takes Fire with it.

I can confirm it’s definitely still not working on ART. I see a load of ClassNotFound Exception warnings (pretty usual) and then Fire crashes.

I don’t know if the cause is the same but VS also fails to run the app under ART. Here’s the log from VS:

An exception of type: java.lang.ClassNotFoundException occurred
An exception of type: java.lang.ClassNotFoundException occurred
An exception of type: java.lang.ClassNotFoundException occurred
An exception of type: java.lang.ClassNotFoundException occurred
LogCat: F/libc (12447): Fatal signal 6 (SIGABRT) at 0x0000309f (code=-6), thread 12457 (JDWP)
LogCat: I/DEBUG ( 173): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LogCat: I/DEBUG ( 173): Build fingerprint: 'google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys’
LogCat: I/DEBUG ( 173): Revision: '11’
LogCat: I/DEBUG ( 173): pid: 12447, tid: 12457, name: JDWP >>> com.kentplacesoftware.the-app <<<
LogCat: I/DEBUG ( 173): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
LogCat: I/DEBUG ( 173): r0 00000000 r1 000030a9 r2 00000006 r3 00000000
LogCat: I/DEBUG ( 173): r4 00000006 r5 00000000 r6 000030a9 r7 0000010c
LogCat: I/DEBUG ( 173): r8 00000000 r9 47c0e890 sl 4174bcac fp 00000000
LogCat: I/DEBUG ( 173): ip 41785670 sp 47c0e808 lr 400f8fe5 pc 40107f90 cpsr 00070010
LogCat: I/DEBUG ( 173): d0 0000000000000164 d1 0000000000000065
LogCat: I/DEBUG ( 173): d2 0000000000000071 d3 0000000000000075
LogCat: I/DEBUG ( 173): d4 63656a624f6d6552 d5 41726565425c7374
LogCat: I/DEBUG ( 173): d6 425c796d6568636c d7 555c74694b726565
LogCat: I/DEBUG ( 173): d8 0000000000000000 d9 0000000000000000
LogCat: I/DEBUG ( 173): d10 0000000000000000 d11 0000000000000000
LogCat: I/DEBUG ( 173): d12 0000000000000000 d13 0000000000000000
LogCat: I/DEBUG ( 173): d14 0000000000000000 d15 0000000000000000
LogCat: I/DEBUG ( 173): d16 41783e4844200bf8 d17 0000000000000000
LogCat: I/DEBUG ( 173): d18 0000000000000000 d19 0000000000000000
LogCat: I/DEBUG ( 173): d20 0000000000000032 d21 0002000200020002
LogCat: I/DEBUG ( 173): d22 0010001000100010 d23 0000000000000000
LogCat: I/DEBUG ( 173): d24 0003000000030000 d25 0003000000030000
LogCat: I/DEBUG ( 173): d26 0707070703030303 d27 000000300000002f
LogCat: I/DEBUG ( 173): d28 0001000000010000 d29 0001000000010000
LogCat: I/DEBUG ( 173): d30 00b6800000b38000 d31 00bc800000b98000
LogCat: I/DEBUG ( 173): scr 80000010
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): backtrace:
LogCat: I/DEBUG ( 173): #00 pc 00021f90 /system/lib/libc.so (tgkill+12)
LogCat: I/DEBUG ( 173): #01 pc 00012fe1 /system/lib/libc.so (pthread_kill+48)
LogCat: I/DEBUG ( 173): #02 pc 000131f5 /system/lib/libc.so (raise+10)
LogCat: I/DEBUG ( 173): #03 pc 00011f2b /system/lib/libc.so
LogCat: I/DEBUG ( 173): #04 pc 00021844 /system/lib/libc.so (abort+4)
LogCat: I/DEBUG ( 173): #05 pc 00017621 /system/lib/libstlport.so (std::__stl_throw_overflow_error(char const*)+6)
LogCat: I/DEBUG ( 173): #06 pc 0019b09b /system/lib/libart.so
LogCat: I/DEBUG ( 173): #07 pc 0019b813 /system/lib/libart.so (art::StackVisitor::WalkStack(bool)+314)
LogCat: I/DEBUG ( 173): #08 pc 00077c61 /system/lib/libart.so (art::Dbg::GetThreadFrameCount(unsigned long long, unsigned int&)+808)
LogCat: I/DEBUG ( 173): #09 pc 000e6853 /system/lib/libart.so
LogCat: I/DEBUG ( 173): #10 pc 000e9adf /system/lib/libart.so (art::JDWP::JdwpState::ProcessRequest(art::JDWP::Request&, art::JDWP::ExpandBuf*)+386)
LogCat: I/DEBUG ( 173): #11 pc 000eb3f9 /system/lib/libart.so (art::JDWP::JdwpState::HandlePacket()+36)
LogCat: I/DEBUG ( 173): #12 pc 001d6fa7 /system/lib/libart.so (art::JDWP::JdwpAdbState::ProcessIncoming()+1138)
LogCat: I/DEBUG ( 173): #13 pc 000eb5ef /system/lib/libart.so (art::JDWP::JdwpState::Run()+378)
LogCat: I/DEBUG ( 173): #14 pc 000ec86b /system/lib/libart.so
LogCat: I/DEBUG ( 173): #15 pc 0000d170 /system/lib/libc.so (__thread_entry+72)
LogCat: I/DEBUG ( 173): #16 pc 0000d308 /system/lib/libc.so (pthread_create+240)
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): stack:
LogCat: I/DEBUG ( 173): 47c0e7c8 6e6f6320 /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 173): 47c0e7cc 746e6574
LogCat: I/DEBUG ( 173): 47c0e7d0 206e6f69
LogCat: I/DEBUG ( 173): 47c0e7d4 74206e6f
LogCat: I/DEBUG ( 173): 47c0e7d8 61657268 /data/dalvik-cache/system@framework@boot.oat
LogCat: I/DEBUG ( 173): 47c0e7dc 75732064
LogCat: I/DEBUG ( 173): 47c0e7e0 6e657073 /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 173): 47c0e7e4 6f632064 /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 173): 47c0e7e8 20746e75
LogCat: I/DEBUG ( 173): 47c0e7ec 6b636f6c /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 173): 47c0e7f0 776f2820
LogCat: I/DEBUG ( 173): 47c0e7f4 2072656e
LogCat: I/DEBUG ( 173): 47c0e7f8 3a646974
LogCat: I/DEBUG ( 173): 47c0e7fc 35323120
LogCat: I/DEBUG ( 173): 47c0e800 401301d8 /system/lib/libc.so
LogCat: I/DEBUG ( 173): 47c0e804 44b98008 [anon:libc_malloc]
LogCat: I/DEBUG ( 173): #00 47c0e808 00000006
LogCat: I/DEBUG ( 173): 47c0e80c 00000000
LogCat: I/DEBUG ( 173): 47c0e810 000030a9
LogCat: I/DEBUG ( 173): 47c0e814 41785670 [anon:libc_malloc]
LogCat: I/DEBUG ( 173): 47c0e818 41785670 [anon:libc_malloc]
LogCat: I/DEBUG ( 173): 47c0e81c 400f8fe5 /system/lib/libc.so (pthread_kill+52)
LogCat: I/DEBUG ( 173): #01 47c0e820 00000006
LogCat: I/DEBUG ( 173): 47c0e824 00000000
LogCat: I/DEBUG ( 173): 47c0e828 00000000
LogCat: I/DEBUG ( 173): 47c0e82c 400f91f9 /system/lib/libc.so (raise+14)
LogCat: I/DEBUG ( 173): #02 47c0e830 47c0e83c [stack:12457]
LogCat: I/DEBUG ( 173): 47c0e834 400f7f2f /system/lib/libc.so
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): memory near r1:
LogCat: I/DEBUG ( 173): 00003088 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003098 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030a8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030b8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030c8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030d8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030e8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030f8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003108 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003118 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003128 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003138 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003148 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003158 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003168 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003178 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): memory near r6:
LogCat: I/DEBUG ( 173): 00003088 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003098 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030a8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030b8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030c8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030d8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030e8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 000030f8 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003108 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003118 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003128 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003138 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003148 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003158 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003168 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173): 00003178 ffffffff ffffffff ffffffff ffffffff
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): memory near r9:
LogCat: I/DEBUG ( 173): 47c0e870 41718ee0 ffffffff 00000000 00000000
LogCat: I/DEBUG ( 173): 47c0e880 41785670 41785670 417856e8 41753504
LogCat: I/DEBUG ( 173): 47c0e890 41718ee0 00000040 47c0e9fc 441d7944
LogCat: I/DEBUG ( 173): 47c0e8a0 00000001 441d7944 00000000 416d3817
LogCat: I/DEBUG ( 173): 47c0e8b0 417841e8 400f6e01 41718ed8 40134384
LogCat: I/DEBUG ( 173): 47c0e8c0 001006db 40134384 00000001 4174cd50
LogCat: I/DEBUG ( 173): 47c0e8d0 44206dc8 4173a94c 4173ab40 4173a980
LogCat: I/DEBUG ( 173): 47c0e8e0 4173ab28 4173ab34 4173a94c 44206dc8
LogCat: I/DEBUG ( 173): 47c0e8f0 44200bf8 44200bf8 0010010e 00000043
LogCat: I/DEBUG ( 173): 47c0e900 41783e70 600bcc28 4174cc00 415f9391
LogCat: I/DEBUG ( 173): 47c0e910 44206dc8 600bcc28 0010010e 4174bcac
LogCat: I/DEBUG ( 173): 47c0e920 40134384 41718e64 41718df0 41718eac
LogCat: I/DEBUG ( 173): 47c0e930 47c0ea50 416d9331 00000002 64e6ea68
LogCat: I/DEBUG ( 173): 47c0e940 44200bf8 41783e48 00000000 44206dc8
LogCat: I/DEBUG ( 173): 47c0e950 44200bf8 8c18fb2f 47c0ea50 00000000
LogCat: I/DEBUG ( 173): 47c0e960 41537ea8 4174bcac 41537e70 441d7930
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): memory near sl:
LogCat: I/DEBUG ( 173): 4174bc8c 4170c1d9 415784c1 41577c91 41577cf1
LogCat: I/DEBUG ( 173): 4174bc9c 41577cd1 41577d31 41577cb1 41577d11
LogCat: I/DEBUG ( 173): 4174bcac 00000000 00000000 00000000 4010e799
LogCat: I/DEBUG ( 173): 4174bcbc 4010e6a5 40107fcd 40107978 40141927
LogCat: I/DEBUG ( 173): 4174bccc 4012165c 40141931 40108f85 402d6cc5
LogCat: I/DEBUG ( 173): 4174bcdc 40141919 402dd3ed 402d6c2d 401080dc
LogCat: I/DEBUG ( 173): 4174bcec 402eabe1 402d6f41 402dd367 402d6c73
LogCat: I/DEBUG ( 173): 4174bcfc 402dd37b 402dd3fd 402dd437 402d561b
LogCat: I/DEBUG ( 173): 4174bd0c 402eabdd 402de765 400f9415 400f3900
LogCat: I/DEBUG ( 173): 4174bd1c 400f7ef5 4011ff07 4010eab1 400dc2bd
LogCat: I/DEBUG ( 173): 4174bd2c 401063f8 4010c109 401062dc 40107f50
LogCat: I/DEBUG ( 173): 4174bd3c 400fa449 40105d5c 40107b70 4011ff0f
LogCat: I/DEBUG ( 173): 4174bd4c 4010928c 4010e535 40141919 40141927
LogCat: I/DEBUG ( 173): 4174bd5c 40120810 401215c8 401592c4 40106324
LogCat: I/DEBUG ( 173): 4174bd6c 401062fc 40106abc 4010670c 4010676c
LogCat: I/DEBUG ( 173): 4174bd7c 401062bc 40106390 40113745 40106480
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): memory near ip:
LogCat: I/DEBUG ( 173): 41785650 00000000 00000000 00000000 00000000
LogCat: I/DEBUG ( 173): 41785660 00000000 00000000 00000000 00000000
LogCat: I/DEBUG ( 173): 41785670 441db9e0 60080ef0 41577f07 00000136
LogCat: I/DEBUG ( 173): 41785680 70707500 00000000 60080ef0 41577f07
LogCat: I/DEBUG ( 173): 41785690 0000011c 62697300 00000000 60080ef0
LogCat: I/DEBUG ( 173): 417856a0 41577f07 00000102 4a746100 00000000
LogCat: I/DEBUG ( 173): 417856b0 6007b7f0 41577f07 000000dc 696c6900
LogCat: I/DEBUG ( 173): 417856c0 00000000 60080ef0 41577f07 000000ce
LogCat: I/DEBUG ( 173): 417856d0 6c6c6500 00000000 60080ef0 41577f07
LogCat: I/DEBUG ( 173): 417856e0 000000b4 41780000 417857d8 2f617661
LogCat: I/DEBUG ( 173): 417856f0 676e616c 7274532f 3b676e69 616a4c5b
LogCat: I/DEBUG ( 173): 41785700 6c2f6176 2f676e61 69727453 4c3b676e
LogCat: I/DEBUG ( 173): 41785710 6176616a 6e616c2f 74532f67 676e6972
LogCat: I/DEBUG ( 173): 41785720 616a4c3b 692f6176 69462f6f 6544656c
LogCat: I/DEBUG ( 173): 41785730 69726373 726f7470 616a4c3b 692f6176
LogCat: I/DEBUG ( 173): 41785740 69462f6f 6544656c 69726373 726f7470
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): memory near sp:
LogCat: I/DEBUG ( 173): 47c0e7e8 20746e75 6b636f6c 776f2820 2072656e
LogCat: I/DEBUG ( 173): 47c0e7f8 3a646974 35323120 401301d8 44b98008
LogCat: I/DEBUG ( 173): 47c0e808 00000006 00000000 000030a9 41785670
LogCat: I/DEBUG ( 173): 47c0e818 41785670 400f8fe5 00000006 00000000
LogCat: I/DEBUG ( 173): 47c0e828 00000000 400f91f9 47c0e83c 400f7f2f
LogCat: I/DEBUG ( 173): 47c0e838 4178edd8 ffffffdf 00000002 00000000
LogCat: I/DEBUG ( 173): 47c0e848 4173a934 00000005 40126e45 441d6a50
LogCat: I/DEBUG ( 173): 47c0e858 fffffffd 40107848 000030a9 402d5625
LogCat: I/DEBUG ( 173): 47c0e868 00000000 416d309f 41718ee0 ffffffff
LogCat: I/DEBUG ( 173): 47c0e878 00000000 00000000 41785670 41785670
LogCat: I/DEBUG ( 173): 47c0e888 417856e8 41753504 41718ee0 00000040
LogCat: I/DEBUG ( 173): 47c0e898 47c0e9fc 441d7944 00000001 441d7944
LogCat: I/DEBUG ( 173): 47c0e8a8 00000000 416d3817 417841e8 400f6e01
LogCat: I/DEBUG ( 173): 47c0e8b8 41718ed8 40134384 001006db 40134384
LogCat: I/DEBUG ( 173): 47c0e8c8 00000001 4174cd50 44206dc8 4173a94c
LogCat: I/DEBUG ( 173): 47c0e8d8 4173ab40 4173a980 4173ab28 4173ab34
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): code around pc:
LogCat: I/DEBUG ( 173): 40107f70 e8bd00f0 e3700a01 912fff1e e2600000
LogCat: I/DEBUG ( 173): 40107f80 ea006d81 e92d50f0 e3a07f43 ef000000
LogCat: I/DEBUG ( 173): 40107f90 e8bd50f0 e3700a01 912fff1e e2600000
LogCat: I/DEBUG ( 173): 40107fa0 ea006d79 e92d50f0 e3a070ee ef000000
LogCat: I/DEBUG ( 173): 40107fb0 e8bd50f0 e3700a01 912fff1e e2600000
LogCat: I/DEBUG ( 173): 40107fc0 ea006d71 f200429a bf008069 f040f891
LogCat: I/DEBUG ( 173): 40107fd0 4001e92d d3412a10 0300f1c0 030ff013
LogCat: I/DEBUG ( 173): 40107fe0 eba2d01d ea5f0203 bf447cc3 eb01f811
LogCat: I/DEBUG ( 173): 40107ff0 eb01f800 f811bf21 f811cb01 f800eb01
LogCat: I/DEBUG ( 173): 40108000 f800cb01 ea5feb01 da037c43 030df9a1
LogCat: I/DEBUG ( 173): 40108010 031df980 f921d303 f900070d 3a40071d
LogCat: I/DEBUG ( 173): 40108020 f921d30b f921020d f891420d 3a40f100
LogCat: I/DEBUG ( 173): 40108030 022df900 422df900 3220d2f3 f921d305
LogCat: I/DEBUG ( 173): 40108040 f1a2020d f9000220 f102022d f0120220
LogCat: I/DEBUG ( 173): 40108050 d0030f10 0a0df921 0a2df900 7c42ea5f
LogCat: I/DEBUG ( 173): 40108060 f921d303 f900070d da03070d 030df9a1
LogCat: I/DEBUG ( 173):
LogCat: I/DEBUG ( 173): code around lr:
LogCat: I/DEBUG ( 173): 400f8fc4 447b4b13 42b3e010 6a1ed10e 44784811
LogCat: I/DEBUG ( 173): 400f8fd4 ec84f7fb ea0ef00d 46224631 efd0f00e
LogCat: I/DEBUG ( 173): 400f8fe4 d00a3001 e00b2400 2b00681b 480ad1eb
LogCat: I/DEBUG ( 173): 400f8ff4 44782403 ec72f7fb f001e002 6804fa23
LogCat: I/DEBUG ( 173): 400f9004 fa20f001 46206005 bf00bd70 0003b3de
LogCat: I/DEBUG ( 173): 400f9014 0003b3d2 0003b3ca 0003b3a6 bf7ef7ff
LogCat: I/DEBUG ( 173): 400f9024 4a3e4b3d e92d447b b08b43f0 4606589c
LogCat: I/DEBUG ( 173): 400f9034 6823460d 930946a1 fa04f001 8000f8d0
LogCat: I/DEBUG ( 173): 400f9044 d0482d00 f00f4628 280fff9b d8444604
LogCat: I/DEBUG ( 173): 400f9054 ffe4f7ff d1064286 4629200f e8d8f00d
LogCat: I/DEBUG ( 173): 400f9064 d03c2800 482ee02e f7fb4478 482debb6
LogCat: I/DEBUG ( 173): 400f9074 e0154478 d11342b0 482b6a06 f7fb4478
LogCat: I/DEBUG ( 173): 400f9084 4a2aec2e 46332120 a801447a f83af013
LogCat: I/DEBUG ( 173): 400f9094 a8012101 fb54f01a 46061c42 e011d104
LogCat: I/DEBUG ( 173): 400f90a4 28006800 e02cd1e6 46294630 f00d4622
LogCat: I/DEBUG ( 173): 400f90b4 1c43e914 d11e4607 f9c4f001 29046801
LogCat: I/BootReceiver( 582): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
LogCat: W/ActivityManager( 582): Force finishing activity com.kentplacesoftware.the-app/.MainActivity
The program ‘com.kentplacesoftware.the-app.apk: com.kentplacesoftware.the-app’ has exited with code 0 (0x0).

Yes it is. What (project) did you use to reproduce this?

@ck Errrr…well it wasn’t working on the last but one beta. I don’t know about this week’s. The project was the one I sent you at the weekend for the internal error. I think that drop of the project builds and runs for Android so maybe you could try it with that? As I say I’ve not tried running on ART for over a week.

Oke. This is a different one from the one in http://talk.remobjects.com/t/cooper-debugger-automatically-exit-in-art-mode-is-not-fixed/4658. However I managed to reproduce it locally.

I’m uploading a new build (preview for fridays build); can you try it with this one? (should be up in ~5 minutes after this post)

@ck I’ll have a look asap tomorrow.

Still crashing for me with the original trace:

An exception of type: java.lang.ClassNotFoundException occurred
An exception of type: java.lang.ClassNotFoundException occurred
LogCat: F/libc (22446): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 22456 (JDWP)
LogCat: I/DEBUG ( 171): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LogCat: I/DEBUG ( 171): Build fingerprint: 'google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys’
LogCat: I/DEBUG ( 171): Revision: '11’
LogCat: I/DEBUG ( 171): pid: 22446, tid: 22456, name: JDWP >>> com.kentplacesoftware.beeralchemy <<<
LogCat: I/DEBUG ( 171): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
LogCat: I/DEBUG ( 171): r0 00000000 r1 00000000 r2 b023f43d r3 00000000
LogCat: I/DEBUG ( 171): r4 47bd1a04 r5 00000000 r6 4170ecac r7 400f7384
LogCat: I/DEBUG ( 171): r8 47bd1a38 r9 4170ecac sl 441c0bc8 fp 41752018
LogCat: I/DEBUG ( 171): ip 4170ecd4 sp 47bd19f0 lr 4157c1c1 pc 400cbfd8 cpsr 60070030
LogCat: I/DEBUG ( 171): d0 65637845746e6570 d1 7567724172616774
LogCat: I/DEBUG ( 171): d2 0000000000000069 d3 000000000000006f
LogCat: I/DEBUG ( 171): d4 63656a624f6d6552 d5 41726565425c7374
LogCat: I/DEBUG ( 171): d6 425c796d6568636c d7 555c74694b726565
LogCat: I/DEBUG ( 171): d8 0000000000000000 d9 0000000000000000
LogCat: I/DEBUG ( 171): d10 0000000000000000 d11 0000000000000000
LogCat: I/DEBUG ( 171): d12 0000000000000000 d13 0000000000000000
LogCat: I/DEBUG ( 171): d14 0000000000000000 d15 0000000000000000
LogCat: I/DEBUG ( 171): d16 00000000000001c4 d17 0000000000000000
LogCat: I/DEBUG ( 171): d18 0000000000000000 d19 0000000000000000
LogCat: I/DEBUG ( 171): d20 0000000000000064 d21 0002000200020002
LogCat: I/DEBUG ( 171): d22 0010001000100010 d23 0000000000000000
LogCat: I/DEBUG ( 171): d24 0003000000030000 d25 0003000000030000
LogCat: I/DEBUG ( 171): d26 0707070703030303 d27 000000300000002f
LogCat: I/DEBUG ( 171): d28 0001000000010000 d29 0001000000010000
LogCat: I/DEBUG ( 171): d30 00b6800000b38000 d31 00bc800000b98000
LogCat: I/DEBUG ( 171): scr 80000010
LogCat: I/DEBUG ( 171):
LogCat: I/DEBUG ( 171): backtrace:
LogCat: I/DEBUG ( 171): #00 pc 00022fd8 /system/lib/libc.so (strlen+83)
LogCat: I/DEBUG ( 171): #01 pc 000811bd /system/lib/libart.so (art::Dbg::GetSourceFile(unsigned long long, std::string&)+104)
LogCat: I/DEBUG ( 171): #02 pc 000e737b /system/lib/libart.so
LogCat: I/DEBUG ( 171): #03 pc 000e9adf /system/lib/libart.so (art::JDWP::JdwpState::ProcessRequest(art::JDWP::Request&, art::JDWP::ExpandBuf*)+386)
LogCat: I/DEBUG ( 171): #04 pc 000eb3f9 /system/lib/libart.so (art::JDWP::JdwpState::HandlePacket()+36)
LogCat: I/DEBUG ( 171): #05 pc 001d6fa7 /system/lib/libart.so (art::JDWP::JdwpAdbState::ProcessIncoming()+1138)
LogCat: I/DEBUG ( 171): #06 pc 000eb5ef /system/lib/libart.so (art::JDWP::JdwpState::Run()+378)
LogCat: I/DEBUG ( 171): #07 pc 000ec86b /system/lib/libart.so
LogCat: I/DEBUG ( 171): #08 pc 0000d170 /system/lib/libc.so (__thread_entry+72)
LogCat: I/DEBUG ( 171): #09 pc 0000d308 /system/lib/libc.so (pthread_create+240)
LogCat: I/DEBUG ( 171):
LogCat: I/DEBUG ( 171): stack:
LogCat: I/DEBUG ( 171): 47bd19b0 00000000
LogCat: I/DEBUG ( 171): 47bd19b4 000001c4
LogCat: I/DEBUG ( 171): 47bd19b8 417481f0 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd19bc 47446cb8 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd19c0 47444e10 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd19c4 441c0bc8 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd19c8 417481ee [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd19cc 417481d0 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd19d0 00000000
LogCat: I/DEBUG ( 171): 47bd19d4 b023f43d
LogCat: I/DEBUG ( 171): 47bd19d8 00000000
LogCat: I/DEBUG ( 171): 47bd19dc 47bd1a04 [stack:22456]
LogCat: I/DEBUG ( 171): 47bd19e0 00000000
LogCat: I/DEBUG ( 171): 47bd19e4 4170ecac /system/lib/libart.so
LogCat: I/DEBUG ( 171): 47bd19e8 400f7384
LogCat: I/DEBUG ( 171): 47bd19ec 4157c1bb /system/lib/libart.so (art::Dbg::GetSourceFile(unsigned long long, std::string&)+102)
LogCat: I/DEBUG ( 171): #00 47bd19f0 00000000
LogCat: I/DEBUG ( 171): … …
LogCat: I/DEBUG ( 171): #01 47bd19f0 00000000
LogCat: I/DEBUG ( 171): 47bd19f4 64e14e58 /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 171): 47bd19f8 4419a240 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd19fc 00000000
LogCat: I/DEBUG ( 171): 47bd1a00 64e6ff08 /dev/ashmem/dalvik-alloc space (deleted)
LogCat: I/DEBUG ( 171): 47bd1a04 414fae00 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd1a08 0000017b
LogCat: I/DEBUG ( 171): 47bd1a0c b023f43d
LogCat: I/DEBUG ( 171): 47bd1a10 00000000
LogCat: I/DEBUG ( 171): 47bd1a14 47bd1a04 [stack:22456]
LogCat: I/DEBUG ( 171): 47bd1a18 47bd1a04 [stack:22456]
LogCat: I/DEBUG ( 171): 47bd1a1c b023f43d
LogCat: I/DEBUG ( 171): 47bd1a20 47bd1a38 [stack:22456]
LogCat: I/DEBUG ( 171): 47bd1a24 400f7384
LogCat: I/DEBUG ( 171): 47bd1a28 00000000
LogCat: I/DEBUG ( 171): 47bd1a2c 441c0bc8 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): … …
LogCat: I/DEBUG ( 171): #02 47bd1a38 416dbe00 /system/lib/libart.so
LogCat: I/DEBUG ( 171): 47bd1a3c 400f7384
LogCat: I/DEBUG ( 171): 47bd1a40 4170ecac /system/lib/libart.so
LogCat: I/DEBUG ( 171): 47bd1a44 b023f43d
LogCat: I/DEBUG ( 171): 47bd1a48 47bd1a38 [stack:22456]
LogCat: I/DEBUG ( 171): 47bd1a4c 47bd1a38 [stack:22456]
LogCat: I/DEBUG ( 171): 47bd1a50 0000000b
LogCat: I/DEBUG ( 171): 47bd1a54 b023f43d
LogCat: I/DEBUG ( 171): 47bd1a58 47bd1b5c [stack:22456]
LogCat: I/DEBUG ( 171): 47bd1a5c 415e2351 /system/lib/libart.so
LogCat: I/DEBUG ( 171): 47bd1a60 47444e10 [anon:libc_malloc]
LogCat: I/DEBUG ( 171): 47bd1a64 4170fb80 /system/lib/libart.so
LogCat: I/DEBUG ( 171): 47bd1a68 47bd1b5c [stack:22456]
LogCat: I/DEBUG ( 171): 47bd1a6c 415e4ae1 /system/lib/libart.so (art::JDWP::JdwpState::ProcessRequest(art::JDWP::Request&, art::JDWP::ExpandBuf*)+388)

Thats with the build I uploaded for you on personal downloads?

Yes, that build. I also did a clean build and deleted the previous build of the app off of the device. It crashes pretty much within a second or two of launch.

hrmm. It’s not actually the app that fails, what’s happening is that android’s ART debug server implementation isn’t thread safe. The protocol states that it should be, but it isn’t. I locked down all places I could think of that do two things at once, and I couldn’t reproduce the issue after that anymore so it’s strange that it still happens for you.

Android components that don’t do what they say they do? Never! :wink:

Which Android OS are you testing with? I’m on 4.4.4 on a Nexus 4. I could try a Nexus 7 later if that’s what you test on.

@ck If there’s anything more I can do to help let me know.

Can you try again (uploaded a new build with teh same version nr)? I think I got it. You’ll need to manually compile Sugar and use a project ref to it.