Re: SIGSEGV shortly after (fork)
Marcus Crestani <[email protected]>
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
>>>>>"IS" == Ivan Shmakov <[email protected]> writes: IS> An attempt to run Scheme48 under GDB immediately gave the IS> location of the fault: the call to s48_make_weak_pointer_2 () in IS> make_pid (). Thus, it was no surprise to see: On what system do you see the problems? On MacOSX 10.5.5, everything works fine: crestani@izoard [~/src/s48-ffi] hg tip changeset: 1230:09c568f76cfc tag: tip user: Marcus Crestani <[email protected]> date: Mon Oct 13 13:54:48 2008 +0200 summary: Install Scheme source files for networking. crestani@izoard [~/src/s48-ffi] gdb scheme48vm GNU gdb 6.3.50-20050815 (Apple version gdb-960) (Sun May 18 18:38:33 UTC 2008) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ... done (gdb) run Starting program: /Users/crestani/src/s48-ffi/scheme48vm Reading symbols for shared libraries ++. done Welcome to Scheme 48 1.9T (made by crestani on Sun Oct 19 14:57:41 MST 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 Reading symbols for shared libraries . done > (cond ((fork) => (lambda (pid) pid)) (else (exec "date" "+%s"))) #{process-id 41424} > 1224421277 (integer->process-id 123) #{process-id 123} > (integer->signal 123) #{signal 123} > Can you please send me the gdb backtrace you get? -- Marcus