From: Brian M. <br...@ma...> - 2008-03-02 21:46:33
|
Rupert Swarbrick wrote: > So the next question... does anyone know a nice simple way to instrument > sbcl somehow so that we can see where it's hanging with the new version? > (I'm not familiar with sbcl internals and, moreover, since when it hangs > SBCL is immune to SIGTERM, I presume it would be hard to do something > other than emit debug messages every now and again - is there a simple > way to trace large/narrowing chunks of the compiler that will play > nicely with SBCL/maxima's build processes?) > > I guess if nothing else, it might help us work out which of the patches > to glibc broke things and why. At this point it's impossible to say whether it's sbcl or libc which is at fault here. There's two things I'd try. First, try to attach gdb to it when it's hung. It's quite possible that this will just result in a hung gdb, but if it does attach you might be able to see if SBCL is hung up in some libc function. Second, try running sbcl under strace and seeing if it hangs at some particular system call. The call history near the hang may help isolate the problem. Thanks, -- Brian Mastenbrook br...@ma... http://brian.mastenbrook.net/ |