[racket] segmentation fault while compiling mzscheme 4.2.5 on Xen environment

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Fri Jun 18 15:22:57 EDT 2010

On Fri, Jun 18, 2010 at 3:20 PM, Eli Barzilay <eli at barzilay.org> wrote:
> On Jun 18, Danny Yoo wrote:
>> What other debugging information can I provide?
>
> Create a core dump, then use gdb to get a stack trace.

Ok, here's what I'm seeing:

dyoo at go:~/local/plt-4.2.5/src/mzscheme/gc2$ gdb ../mzschemecgc core.29109
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/i686/nosegneg/libdl.so.2...done.
Loaded symbols for /lib/i686/nosegneg/libdl.so.2
Reading symbols from /lib/i686/nosegneg/libm.so.6...done.
Loaded symbols for /lib/i686/nosegneg/libm.so.6
Reading symbols from /lib/i686/nosegneg/libpthread.so.0...done.
Loaded symbols for /lib/i686/nosegneg/libpthread.so.0
Reading symbols from /lib/i686/nosegneg/libc.so.6...done.
Loaded symbols for /lib/i686/nosegneg/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Failed to read a valid object file image from memory.
Core was generated by `../mzschemecgc -cqu ./xform.ss --setup . --cpp
gcc -E -I./.. -I./../include -pt'.
Program terminated with signal 11, Segmentation fault.
[New process 29109]
[New process 29110]
#0  0x080c0a62 in scheme_jit_longjmp (b=0xbfb75ed8, v=1) at ./jit.c:12814
12814	  while (stack_cache_stack_pos
(gdb) bt
#0  0x080c0a62 in scheme_jit_longjmp (b=0xbfb75ed8, v=1) at ./jit.c:12814
#1  0x08088d71 in scheme_do_eval (obj=0x1731e0, num_rands=1,
rands=0xeccd0, get_value=-1) at ./eval.c:9101
#2  0x0808a4a9 in _scheme_apply_multi_from_native (rator=0xe, argc=1,
argv=0xbfb75e9c) at ./schnapp.inc:84
#3  0xb7f7e44a in ?? ()
#4  0x00177930 in ?? ()
#5  0x00000001 in ?? ()
#6  0xbfb75e9c in ?? ()
#7  0x000edaf0 in ?? ()
#8  0xbfb7001d in ?? ()
#9  0x000c1488 in ?? ()
#10 0x00000000 in ?? ()


Posted on the users mailing list.