Bus error in 9.9.2 - unless crapping out
Posted: Sat Sep 20, 2008 6:17 pm
I'm running newlisp like this:
Visiting localhost:8080 and getting this error on the command line:
line 1 contains:
I was able to find out what the problem was. In upgrading my templating system to use 9.9.2 stuff, I had changed this code:
To this code:
Code: Select all
newlisp -w . -d 8080 -http
Code: Select all
sh: line 1: 8513 Bus error ./index.cgi > /tmp/nl497f6f194365e8400d
Code: Select all
#!/usr/bin/newlisp
Code: Select all
; file util.lsp (included several times)
(define (load-once:load-once)
(doargs (file)
(if-not (find file load-once:_loaded)
(begin
(push file load-once:_loaded)
(load file)
)
)
)
)
(context MAIN)
Code: Select all
; file util.lsp (included several times)
(define (load-once:load-once)
(doargs (file)
(unless (find file load-once:_loaded)
(push file load-once:_loaded)
(load file)
)
)
)
(context MAIN)