c - Boehm GC android sigsegv on load_gc -
i'm having odd crash in boehm on android x86 (but arm works fine); it's crashing on:
deferred = *(word *)limit; with:
logcat: i/debug ( 6453): signal 11 (sigsegv), code 1 (segv_maperr), fault addr 0xa31f8
it's same address (0xa31f8) fails at; i'm doing wrong. custom language , i'm linking libc.so. possibly cause this?
log:
logcat: i/bdwgc ( 7930): grow heap 64 kib after 0 bytes allocated
logcat: d/bdwgc ( 7930): creating thread 0xb7795160
logcat: d/bdwgc ( 7930): stopping world 0xb7795160
logcat: d/bdwgc ( 7930): world stopped 0xb7795160
logcat: d/bdwgc ( 7930): pushing stacks thread 0xb7795160
logcat: d/bdwgc ( 7930): stack thread 0xb7795160 = [0xbf90be1c,0xbf90f000) logcat: f/libc ( 7930): fatal signal 11 (sigsegv), code 1, fault addr 0xa31f8 in tid 7930 (ksample.oxygene)
backtrace:
(gdb) bt
#0 0xa502c9ad in gc_mark_from (mark_stack_top=0xb8b30010, mark_stack=0xb8b30000, mark_stack_limit=0xb8b38000) @ mark.c:853
#1 0xa502c1d0 in gc_mark_some (cold_gc_frame=0xbf90beec "l¿\220¿hò\001¥ì¾\220¿") @ mark.c:409
#2 0xa501f248 in gc_stopped_mark (stop_func=0xa501e420 ) @ alloc.c:702
#3 0xa501eed2 in gc_try_to_collect_inner (stop_func=0xa501e420 ) @ alloc.c:488
#4 0xa50254ff in gc_init () @ misc.c:1288
Comments
Post a Comment