[racket-dev] internal error during gc

From: Philippe Meunier (meunier at ccs.neu.edu)
Date: Wed Dec 17 07:56:12 EST 2014

Hello,

I just tried building racket from scratch on OpenBSD 5.6 after cloning
the github repository, and raco setup failed:

[...]
raco setup: rendering: <pkgs>/html-doc/html/html.scrbl
raco setup: rendering: <pkgs>/images-doc/images/scribblings/images.scrbl
unmap failed: d94000, 278528, 22
unmap failed: d94000, 278528, 22
Seg fault (internal error during gc) at 0xd94004
*** Signal SIGABRT in . (Makefile:62 'plain-in-place')
*** Error 1 in /home/meunier/lang/racket.new (Makefile:44 'in-place')

Running gdb on the core file gives:

(gdb) bt
#0  0x04c5bb01 in kill () at <stdin>:2
#1  0x04cc67f6 in raise (s=6) at /usr/src/lib/libc/gen/raise.c:39
#2  0x04cc6740 in abort () at /usr/src/lib/libc/stdlib/abort.c:53
#3  0x17a72afc in fault_handler () from /home/meunier/lang/racket.new/racket/bin/racket
#4  <signal handler called>
#5  memcpy () at /usr/src/lib/libc/arch/i386/string/bcopy.S:66
#6  0x17a79379 in GC_mark2 () from /home/meunier/lang/racket.new/racket/bin/racket
#7  0x17a49c5e in scheme_init_thread () from /home/meunier/lang/racket.new/racket/bin/racket
#8  0x17a79a14 in GC_mark_variable_stack () from /home/meunier/lang/racket.new/racket/bin/racket
#9  0x17a79b1d in GC_mark_variable_stack () from /home/meunier/lang/racket.new/racket/bin/racket
#10 0x17a76666 in GC_register_new_thread () from /home/meunier/lang/racket.new/racket/bin/racket
#11 0x17a78cb4 in GC_dump () from /home/meunier/lang/racket.new/racket/bin/racket
#12 0x17a79cca in GC_mark_variable_stack () from /home/meunier/lang/racket.new/racket/bin/racket
#13 0x17a79df2 in GC_mark_variable_stack () from /home/meunier/lang/racket.new/racket/bin/racket
#14 0x17a7b810 in GC_malloc_one_tagged () from /home/meunier/lang/racket.new/racket/bin/racket
#15 0x1784acc8 in scheme_malloc_fail_ok () from /home/meunier/lang/racket.new/racket/bin/racket
#16 0x17953875 in scheme_alloc_flvector () from /home/meunier/lang/racket.new/racket/bin/racket
#17 0x179544ee in scheme_integer_length () from /home/meunier/lang/racket.new/racket/bin/racket
#18 0x09800fe7 in ?? ()
#19 0x9794ed58 in ?? ()
#20 0x9794ed58 in ?? ()
#21 0x7dff6308 in ?? ()
#22 0xbc34be90 in ?? ()
#23 0x9794ed84 in ?? ()
#24 0x0373e1b4 in ?? ()
#25 0x9794ed84 in ?? ()
#26 0xbc34be68 in ?? ()
#27 0x0000000d in ?? ()
#28 0x9794ee14 in ?? ()
#29 0xb81537a8 in ?? ()
#30 0x9794ed74 in ?? ()
#31 0xcfbdf450 in ?? ()
#32 0x0d46dc40 in ?? ()
#33 0x0cdcefa8 in ?? ()
#34 0x9fbfa530 in ?? ()
#35 0x00000004 in ?? ()
#36 0x050049cf in ?? ()
#37 0xa0b12d78 in ?? ()
#38 0x9794edbc in ?? ()
#39 0x11073456 in ?? ()
#40 0x4074ce41 in ?? ()
#41 0x00000000 in ?? ()

Philippe



Posted on the dev mailing list.