Hello list,
I've compiled sbcl with threads as described in the section 2.2 of
INSTALL. However, it seems that it have some problems with threads:
when I try to run PortableAllegroServe (that's my main reason for
compiling SBCL with threads) example, it launches web-server, works
for some time and than dies with "Illegal instruction" error. To get
this error, the should visit the web-page (localhost:2003 in this
case) and wait several seconds after that - no further activity is
necessary. My guess is that it's related to threads on Intel Mac OS
X, as on linux all PortableAllegroServe examples works fine.
* (aserve-example::start-server :port 2003)
#<NET.ASERVE:WSERVER port 2003 {117428A9}>
* 127.0.0.1 - - [Sat, 04 Nov 2006 22:24:06 GMT] "GET / HTTP/1.1" 200 -1
127.0.0.1 - - [Sat, 04 Nov 2006 22:24:06 GMT] "GET /aservelogo.gif
HTTP/1.1" 200 2322
127.0.0.1 - - [Sat, 04 Nov 2006 22:24:06 GMT] "GET /favicon.ico HTTP/
1.1" 404 -1
Illegal instruction
When I'm trying to run tests related to threading:
victor-kryukovs-computer:~/Downloads/sbcl-0.9.18/tests victor$ sh run-
tests.sh *thread*.lisp
I'm receiving the following (full output is attached):
locking test done
................................................................//
Running impure tests (#<FUNCTION RUN-TESTS::CLOAD-TEST>)
// Running impure tests (#<FUNCTION RUN-TESTS::SH-TEST>)
Finished running tests.
Status:
Invalid exit status: threads.impure.lisp
test failed, expected 104 return code, got 1
If anybody could clarify things for me, I would really appreciate that.
Victor.
|