"Luís Oliveira" luismbo@gmail.com writes:
On Mon, May 26, 2008 at 9:23 PM, Rupert Swarbrick rswarbrick@googlemail.com wrote:
However, I tried starting up sbcl with gdb and it was a bit too unpleasant - gdb reported about 5 [1] segfaults per line in the repl, but everything carried on working (well until I loaded my test2.lisp file [2]).
http://sbcl-internals.cliki.net/gdb contains some (possibly outdated) tips. Also, I noticed that libsane seems to have a lot of debug statements along its code. I suggest you build a version of libsane with those enabled. Since your program is segfaulting very quickly, that should help in identifying the problem.
Thank you very much for the help. I'm going to try that tonight. Sorry for the late reply - programming got put on hold rather while I sat some university exams.
Anyway, I'll see if I can work out what's going on and hopefully let you know.
Rupert