Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't start on Android KitKat using ART runtime #98

Open
jackbenny opened this issue Nov 27, 2013 · 3 comments
Open

Won't start on Android KitKat using ART runtime #98

jackbenny opened this issue Nov 27, 2013 · 3 comments

Comments

@jackbenny
Copy link

Agit works just fine in KitKat on Nexus 4 using the default Dalvik runtime, but not when switching to ART. I don't know if this is to be classified as a bug or not, since ART is still experimental.

@rtyley
Copy link
Owner

rtyley commented Nov 28, 2013

Thanks for reporting this @jackbenny - I was able to reproduce it on my Nexus 5 (logcat below).

It's kind of interesting to me that -in my case at least - the Agit managed to start up, but died after identifying available repos. The stacktrace might indicate that there's something going wrong with the async stuff.

Unfortunately it looks like there's quite a few bugs with ART at the moment, so for the short term I won't be devoting a lot of effort to getting Agit to work under it. There's a chance that some of the possible upcoming refactorings (for instance, using Rx) might incidentally fix this problem. I'll leave the bug open, and review it after ART has had some time to mature.

D/ReposDataSource( 5837): Found 5 repos, 0 missing repos
F/libc    ( 5837): Fatal signal 11 (SIGSEGV) at 0x00000818 (code=1), thread 5866 (ModernAsyncTask)
F/libc    ( 5837): Fatal signal 11 (SIGSEGV) at 0x00000818 (code=1), thread 5867 (ModernAsyncTask)
I/DEBUG   ( 5589): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 5589): Build fingerprint: 'google/hammerhead/hammerhead:4.4/KRT16M/893803:user/release-keys'
I/DEBUG   ( 5589): Revision: '11'
I/DEBUG   ( 5589): pid: 5837, tid: 5866, name: ModernAsyncTask  >>> com.madgag.agit <<<
I/DEBUG   ( 5589): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000818
I/DEBUG   ( 5589):     r0 0000000c  r1 00000000  r2 655f7d20  r3 00000100
I/DEBUG   ( 5589):     r4 00000346  r5 655f7528  r6 0000000c  r7 00000100
I/DEBUG   ( 5589):     r8 657f9410  r9 48ae1288  sl 65835338  fp 000000ff
I/DEBUG   ( 5589):     ip 00000100  sp 48bfd150  lr 4889df1f  pc 4889df68  cpsr 20020030
I/DEBUG   ( 5589):     d0  0000000000000000  d1  0000000000000000
I/DEBUG   ( 5589):     d2  0000000000000000  d3  0000000000000000
I/DEBUG   ( 5589):     d4  0000000000000404  d5  0000058000000000
I/DEBUG   ( 5589):     d6  528f8c7700000000  d7  528f8c7700000000
I/DEBUG   ( 5589):     d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 5589):     d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 5589):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 5589):     d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 5589):     d16 0000000000000000  d17 4171f058654759b0
I/DEBUG   ( 5589):     d18 0000000000000004  d19 0000000000000000
I/DEBUG   ( 5589):     d20 0000000000000000  d21 0000001b0000001b
I/DEBUG   ( 5589):     d22 0000000000000000  d23 0000000000000000
I/DEBUG   ( 5589):     d24 0000000000000000  d25 0002aaa80002aaa8
I/DEBUG   ( 5589):     d26 0707070703030303  d27 1f0000001f000000
I/DEBUG   ( 5589):     d28 1f0000001f000000  d29 0001000000010000
I/DEBUG   ( 5589):     d30 0061c000005f4000  d31 0067400000648000
I/DEBUG   ( 5589):     scr 20000010
I/DEBUG   ( 5589): 
I/DEBUG   ( 5589): backtrace:
I/DEBUG   ( 5589):     #00  pc 0030df68  /data/dalvik-cache/data@app@com.madgag.agit-1.apk@classes.dex
I/DEBUG   ( 5589):     #01  pc 0030df1d  /data/dalvik-cache/data@app@com.madgag.agit-1.apk@classes.dex
I/DEBUG   ( 5589): 
I/DEBUG   ( 5589): stack:
I/DEBUG   ( 5589):          48bfd110  65910110  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd114  65835338  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd118  00000000  
I/DEBUG   ( 5589):          48bfd11c  4150b52f  /system/lib/libart.so (art_quick_resolution_trampoline+14)
I/DEBUG   ( 5589):          48bfd120  65910110  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd124  657f9410  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd128  0000000c  
I/DEBUG   ( 5589):          48bfd12c  00000000  
I/DEBUG   ( 5589):          48bfd130  213b07ee  
I/DEBUG   ( 5589):          48bfd134  000003fc  
I/DEBUG   ( 5589):          48bfd138  655f7528  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd13c  000000ff  
I/DEBUG   ( 5589):          48bfd140  657f9410  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd144  65835338  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd148  000003fc  
I/DEBUG   ( 5589):          48bfd14c  4889df1f  /data/dalvik-cache/data@app@com.madgag.agit-1.apk@classes.dex
I/DEBUG   ( 5589):     #00  48bfd150  65835338  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          ........  ........
I/DEBUG   ( 5589):     #01  48bfd150  65835338  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd154  65541a98  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd158  657f9440  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd15c  48ae1288  [anon:libc_malloc]
I/DEBUG   ( 5589):          48bfd160  00000400  
I/DEBUG   ( 5589):          48bfd164  65541a98  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd168  00000002  
I/DEBUG   ( 5589):          48bfd16c  4169ba0b  /system/lib/libart.so
I/DEBUG   ( 5589):          48bfd170  657f9410  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd174  00000400  
I/DEBUG   ( 5589):          48bfd178  65541b30  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd17c  4150b02f  /system/lib/libart.so (art_quick_initialize_static_storage+14)
I/DEBUG   ( 5589):          48bfd180  60a6a770  /data/dalvik-cache/system@framework@boot.art@classes.dex
I/DEBUG   ( 5589):          48bfd184  213b07ee  
I/DEBUG   ( 5589):          48bfd188  657f9440  /dev/ashmem/dalvik-alloc space (deleted)
I/DEBUG   ( 5589):          48bfd18c  00000069  

@jackbenny
Copy link
Author

Thanks for your very quick reply! Yes, it's the same for me, I can see Agit starting up, but right after it dies. I forgot to mention this in the issue. I should really learn to use the Development tools so I can attach logcat outputs aswell. Yeah I've seen some reports that things are still a bit buggy in ART.

@jackbenny
Copy link
Author

Just wanted to let you know that I tried Agit today on Android 4.4.2 using ART, and still no go I'm afraid. I don't know what's updated in ART since 4.4.2 though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants