Re: SIGSEGV shortly after (fork)
Ivan Shmakov <[email protected]>
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "MC" == Marcus Crestani <[email protected]> writes: >>>>> "IS" == Ivan Shmakov <[email protected]> writes: IS> An attempt to run Scheme48 under GDB immediately gave the location IS> of the fault: the call to s48_make_weak_pointer_2 () in make_pid IS> (). Thus, it was no surprise to see: MC> On what system do you see the problems? It's my usual Debian GNU/Linux Etch-based development system. $ uname -om x86_64 GNU/Linux $ MC> On MacOSX 10.5.5, everything works fine: [...] MC> Can you please send me the gdb backtrace you get? As it's quite short, I'm posting it to the list: ... Welcome to Scheme 48 1.9T (made by ivan on Sun Oct 19 19:32:22 NOVST 2008) Copyright (c) 1993-2008 by Richard Kelsey and Jonathan Rees. Please report bugs to [email protected]. Get more information at http://www.s48.org/. Type ,? (comma question-mark) for help. > ,open posix-processes > (integer->process-id 1) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 139646607824592 (LWP 1913)] 0x0000000000425f9b in s48_make_weak_pointer_2 (call=0x2360ea0, value=<value optimized out>) at ../c/external.c:2007 2007 s48_unsafe_stob_set_2(call, ref, 0, value); (gdb) bt #0 0x0000000000425f9b in s48_make_weak_pointer_2 (call=0x2360ea0, value=<value optimized out>) at ../c/external.c:2007 #1 0x00007f01fe991a0a in make_pid (call=0x2360ea0, c_pid=<value optimized out>) at ../c/posix/proc.c:142 #2 0x0000000000428e7e in s48_external_ecall (call=0x234e3b0, sch_proc=139646570631331, proc_name=139646570631347, nargs=1, char_argv=<value optimized out>) at ../c/external.c:426 #3 0x000000000041807c in s48_restart (proc_1100X=<value optimized out>, nargs_1101X=dwarf2_read_address: Corrupted DWARF expression. ) at ../c/scheme48vm-64.c:15241 #4 0x0000000000429dd7 in s48_main (argc=<value optimized out>, argv=0x7fff0a753d70) at ../c/init.c:169 #5 0x00007f0201f6d4ca in __libc_start_main () from /lib/libc.so.6 #6 0x000000000040823a in _start () at ../sysdeps/x86_64/elf/start.S:113 (gdb)