SIGSEGV shortly after (fork)
Ivan Shmakov <[email protected]>
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
It seems that Scheme48 (as of [1]) contains one more 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 (The previous version I've built [2] also happens to have the problem.) Apparently, the problem doesn't appear in 1.8: Welcome to Scheme 48 1.8 (made by ivan on Wed Apr 16 18:18:15 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 252> ,structure foo (export) foo> ,open posix-processes foo> (cond ((fork) => (lambda (pid) pid)) (else (exec "date" "+%s"))) #{Process-id 30160} foo> 1224414864 ,exit Process scheme finished I've built the binary as usual: $ hg clone -r09c568f76cfc5 ... scheme48-09c568f76cfc5-1 requesting all changes adding changesets adding manifests adding file changes added 1231 changesets with 9999 changes to 1554 files 922 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd scheme48-09c568f76cfc5-1/ $ ACLOCAL="aclocal -I m4" autoreconf -i ... $ mkdir +build-0 +build-1 $ cd +build-0/ $ ../configure --prefix="$HOME" ... $ LC_ALL=C nice -n+19 nohup /usr/bin/time make \ ../build/filenames.make i-know-what-i-am-doing \ c/scheme48.h ../build/initial.image-{32,64} & ... $ cd ../+build-1/ $ ../configure --prefix="$HOME" ... $ LC_ALL=C nice -n+19 nohup /usr/bin/time make & ... $ [1] http://www.deinprogramm.de/cgi-bin/hgs48.cgi/rev/09c568f76cfc5595dc9eeb98bac9bb9847cbe8bf [2] http://www.deinprogramm.de/cgi-bin/hgs48.cgi/rev/f6856f11c6f344204839e016e6bbf8836254f86f