[racket-dev] racket segfaults during raco setup on OpenBSD

From: Philippe Meunier (meunier at ccs.neu.edu)
Date: Wed Sep 18 14:27:33 EDT 2013

Philippe Meunier wrote:
>I just tried it and it failed the same way as before.
>I'll install the devel/libffi package tomorrow and see how that goes.

It turns out that devel/libffi was already installed on my computer
(as a dependency of other stuff I had installed before) but it was
still an old version from February, before the bug in it was fixed.
So I just ran configure with --disable-libffi and after that raco
setup was able to make <pkgs>/drracket/gui-debugger without problem.
So the patch seems to work.

Now raco setup just crashes later:

raco setup: making: <pkgs>/racket-test/tests/racket/stress
raco setup:  in <pkgs>/racket-test/tests/racket/stress
*** Signal SIGILL in . (Makefile:53 'plain-in-place')
*** Error 1 in /home/meunier/lang/plt (Makefile:41 'in-place')

GDB gives:

(gdb) bt
#0  0x1c06d3c0 in scheme_eqv_hash_key2 ()
#1  0x1c06e2bb in scheme_equal_hash_key ()
#2  0x1c06e4ba in scheme_hash_tree_get ()
#3  0x1c06e66c in scheme_hash_tree_equal_rec ()
#4  0x1c023ee8 in scheme_eqv ()
#5  0x1c024601 in scheme_equal ()
#6  0x1c0c9bc8 in scheme_hash_table_iterate_start ()
#7  0x1c06eaa5 in scheme_hash_key ()
#8  0x1c06f1af in scheme_bucket_or_null_from_table ()
#9  0x1c06f1e0 in scheme_bucket_from_table ()
#10 0x1c1b231c in scheme_stx_phase_shift_as_rename ()
#11 0x1c1bea6c in scheme_stx_extract_marks ()
#12 0x1c1c51b7 in scheme_syntax_to_datum ()
#13 0x1c1c549a in scheme_stx_module_eq3 ()
#14 0x1c1c5610 in scheme_stx_module_eq3 ()
#15 0x03ac2f9c in ?? ()
#16 0x8044497c in ?? ()
#17 0x8044497c in ?? ()
#18 0xcf7fe7ac in ?? ()
#19 0xcf7fe790 in ?? ()
#20 0xcf7fe784 in ?? ()
#21 0x01f13b76 in ?? ()
#22 0x00000030 in ?? ()
#23 0x00000000 in ?? ()
(gdb)

Philippe



Posted on the dev mailing list.