art-gc intrdouce a native crash

89 views
Skip to first unread message

Jiuxian Chu

unread,
May 22, 2019, 11:04:26 AM5/22/19
to android-platform
Hi guys, 

I just met a native crash, I paste the log below.

I think it happens when Art did a gc, and it is not easy to reproduce. 

Dose anyone know if this is an known issue?


signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc
    r0 710bf358  r1 63d8f3a8  r2 63d8f3ac  r3 4345a31c
    r4 000015aa  r5 00000003  r6 13144800  r7 63d8f3a8
    r8 00000000  r9 42c45400  sl 43458e7c  fp 63d8f430
    ip 00000002  sp 63d8f370  lr 4319292d  pc 43192684  cpsr 80070030

backtrace:
    #00 pc 001a0684  /system/lib/libart.so (_ZN3art6mirror6Object15VisitReferencesILb0ELNS_17VerifyObjectFlagsE0ENS_2gc9collector17MarkObjectVisitorENS5_29DelayReferenceReferentVisitorEEEvRKT1_RKT2_+43)
    #01 pc 001a0929  /system/lib/libart.so (_ZN3art2gc9collector9MarkSweep16ProcessMarkStackEb+112)
    #02 pc 001a1b2b  /system/lib/libart.so (_ZN3art2gc9collector9MarkSweep12MarkingPhaseEv+170)
    #03 pc 001a1ddf  /system/lib/libart.so (_ZN3art2gc9collector9MarkSweep9RunPhasesEv+574)
    #04 pc 00197305  /system/lib/libart.so (_ZN3art2gc9collector16GarbageCollector3RunENS0_7GcCauseEb+284)
    #05 pc 001bb0bf  /system/lib/libart.so (_ZN3art2gc4Heap22CollectGarbageInternalENS0_9collector6GcTypeENS0_7GcCauseEb+1490)
    #06 pc 001bc6b9  /system/lib/libart.so (_ZN3art2gc4Heap16ConcurrentGCTask3RunEPNS_6ThreadE+104)
    #07 pc 001d7b05  /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+52)
    #08 pc 736b137f  /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x215f000)


Thank you.

Muaaz Mazari

unread,
Jul 29, 2019, 12:51:22 PM7/29/19
to android-platform
Ok

Steve

unread,
Aug 16, 2019, 8:43:24 AM8/16/19
to android-platform
I got a similar question, here is my log

DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
DEBUG   : ABI: 'arm64'
DEBUG   : pid: 15921, tid: 15931, name: HeapTaskDaemon  >>> com.xxx.xxx <<<
DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
DEBUG   :     x0   0000000000000000  x1   0000007fa2da2fc8  x2   0000000012c3cbf8  x3   0000000000000000
DEBUG   :     x4   0000007fa8dbe570  x5   0000000000000000  x6   0000007fa45dc9b0  x7   0000007fa45c8f30
DEBUG   :     x8   0000000000000005  x9   000000559c591974  x10  000000559c3ba009  x11  000000559c3ba00b
DEBUG   :     x12  0000000000000001  x13  0000000000000000  x14  0000000000000000  x15  0000000012c3cbf0
DEBUG   :     x16  fffffffffffffff8  x17  0000000000000023  x18  0000000000000020  x19  0000007fa368d780
DEBUG   :     x20  0000000000000000  x21  0000007fa368d798  x22  0000007fa2da2fc8  x23  0000000012c3cbc0
DEBUG   :     x24  0000007fa368d788  x25  0000000012c3cc20  x26  0000000000000038  x27  000000559c3b87e0
DEBUG   :     x28  0000000012c3cbc0  x29  0000007fa368d670  x30  0000000000000018
DEBUG   :     sp   0000007fa368d670  pc   0000007fa4120b48  pstate 0000000020000000
DEBUG   : 
DEBUG   : backtrace:
DEBUG   :     #00 pc 0000000000168b48  /system/lib64/libart.so (_ZN3art6mirror5Class16VisitNativeRootsINS_19BufferedRootVisitorILm128EEEEEvRT_m+428)
DEBUG   :     #01 pc 00000000001772f8  /system/lib64/libart.so (_ZN3art11ClassLinker15VisitClassRootsEPNS_11RootVisitorENS_14VisitRootFlagsE+424)
DEBUG   :     #02 pc 0000000000177724  /system/lib64/libart.so (_ZN3art11ClassLinker10VisitRootsEPNS_11RootVisitorENS_14VisitRootFlagsE+356)
DEBUG   :     #03 pc 0000000000432d54  /system/lib64/libart.so (_ZN3art7Runtime20VisitConcurrentRootsEPNS_11RootVisitorENS_14VisitRootFlagsE+52)
DEBUG   :     #04 pc 00000000002203cc  /system/lib64/libart.so (_ZN3art2gc9collector9MarkSweep13PreCleanCardsEv.part.148+336)
DEBUG   :     #05 pc 00000000002205e8  /system/lib64/libart.so (_ZN3art2gc9collector9MarkSweep12MarkingPhaseEv+280)
DEBUG   :     #06 pc 0000000000220928  /system/lib64/libart.so (_ZN3art2gc9collector9MarkSweep9RunPhasesEv+732)
DEBUG   :     #07 pc 0000000000212a98  /system/lib64/libart.so (_ZN3art2gc9collector16GarbageCollector3RunENS0_7GcCauseEb+296)
DEBUG   :     #08 pc 0000000000243d6c  /system/lib64/libart.so (_ZN3art2gc4Heap22CollectGarbageInternalENS0_9collector6GcTypeENS0_7GcCauseEb+2056)
DEBUG   :     #09 pc 00000000002455d8  /system/lib64/libart.so (_ZN3art2gc4Heap16ConcurrentGCTask3RunEPNS_6ThreadE+152)
DEBUG   :     #10 pc 0000000000268f1c  /system/lib64/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+80)
DEBUG   :     #11 pc 0000000073e070ac  /data/dalvik-cache/arm64/system@framework@boot.oat (offset 0x226d000)
DEBUG   : 
DEBUG   : AM write failed: Broken pipe 
Reply all
Reply to author
Forward
0 new messages