The GC thread is crashed in dalvik lib when doing dvmHeapBitmapScanWalk

263 views
Skip to first unread message

CCKevin

unread,
May 28, 2015, 1:06:19 AM5/28/15
to android-...@googlegroups.com
Hello,

I met a problem. The GC thread is crashed in dalvik lib when doing
dvmHeapBitmapScanWalk.
Have you met such problems? Do you have any idea about how to debug
it? Thanks a lot!
Below is the tombstone file.

pid: 32324, tid: 32328, name: GC  >>> com.sina.weibo <<<
signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 77b5e365
    r0 77b5e365  r1 416036b0  r2 41e5d698  r3 00000002
    r4 41e5d698  r5 41e5d698  r6 00000001  r7 416036b0
    r8 80000000  r9 4163e410  sl 416036b0  fp 41e5d700
    ip 00000000  sp 71433ca8  lr 4163e16c  pc 4163e354  cpsr 200f0010
    d0  0000000000000000  d1  0000000000000000
    d2  0000000000000000  d3  0000000000000000
    d4  0000000000000000  d5  0000000000000000
    d6  0000000000000000  d7  0000000000000000
    d8  0000000000000000  d9  0000000000000000
    d10 0000000000000000  d11 0000000000000000
    d12 0000000000000000  d13 0000000000000000
    d14 0000000000000000  d15 0000000000000000
    d16 1111111111111111  d17 1111111111111111
    d18 2220888210004200  d19 0000000010000000
    d20 0000000000000000  d21 0000000000000000
    d22 0000000000000000  d23 0000000000000000
    d24 3fc74721cad6b0ed  d25 3fc2f112df3e5244
    d26 40026bb1bbb55516  d27 401e000000000000
    d28 3ff0000000000000  d29 3fb0f4a31edab38b
    d30 3ff0000000000000  d31 4000000000000000
    scr 20000010

backtrace:
    #00  pc 0003a354  /system/lib/libdvm.so
    #01  pc 0002bac0  /system/lib/libdvm.so (dvmHeapBitmapScanWalk(HeapBitmap*, void (*)(Object*, void*, void*), void*)+100)
    #02  pc 0003a6a4  /system/lib/libdvm.so (dvmHeapScanMarkedObjects()+44)
    #03  pc 0002bfa4  /system/lib/libdvm.so (dvmCollectGarbageInternal(GcSpec const*)+348)
    #04  pc 0007571d  /system/lib/libdvm.so
    #05  pc 000578e1  /system/lib/libdvm.so
    #06  pc 0000d230  /system/lib/libc.so (__thread_entry+72)
    #07  pc 0000d3c8  /system/lib/libc.so (pthread_create+240)

Liu Xin

unread,
May 28, 2015, 10:51:21 AM5/28/15
to android-...@googlegroups.com
That problem usually happens for less popular architectures. Synchronization issue lurks for davik's concurrent GC. 
ARMv7 is world-spread and should be verified. is it possible you use in-house armv7 CPU implementation? 

thanks,
--lx




--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.

CCKevin

unread,
May 29, 2015, 12:32:28 PM5/29/15
to android-...@googlegroups.com
Hi LX,

Thanks for your reply. I am afraid it is very difficult for me to implement your suggested method.
Do you have any idea about what kind of other way can be used to debug such problem?
Thanks a lot!

BR, Kevin
Reply all
Reply to author
Forward
0 new messages