Re: SIGSEGV shortly after (fork)
Ivan Shmakov <[email protected]>
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "IS" == Ivan Shmakov <[email protected]> writes: IS> It seems that Scheme48 (as of [1]) contains one more IS> SIGSEGV-raising issue: > Welcome to Scheme 48 1.9T (made by ivan on Sun Oct 19 18:08:32 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. > > ,new-package > 263> ,structure foo (export) > foo> ,open posix-processes > foo> (cond ((fork) => (lambda (pid) pid)) > (else (exec "date" "+%s"))) > 1224414847 > Process scheme segmentation fault An attempt to run Scheme48 under GDB immediately gave the location of the fault: the call to s48_make_weak_pointer_2 () in make_pid (). Thus, it was no surprise to see: 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. > ,new-package 263> ,structure foo (export) foo> ,open posix-processes foo> (integer->process-id 123) Process scheme segmentation fault ... foo> (integer->signal 123) Process scheme segmentation fault [...]