Forum OpenACS Q&A: Re: Mozilla 4.0 kills openacs?

Posted by Andrew Piskorski on
Koala, it's not particularly stupid, if you've never used it before there is definitely some learning curve to gdb. (Using it is actually pretty easy, but it is not obvious; you have to learn how.)

I think you are attaching gdb to the running process, which then gets killed. You can probably make that work too (I don't remember, it's been a long time since I used gdb much), but for just getting a backtrace that's not necessary. Instead, just run gdb on the core file which is written out after the process crashes:

In Emacs, do: M-x gdb-core and answer it's questions. It will ask you for the path to the AOLserver executable, and for the path to the core file. Once gdb starts up, just try "bt". Some additional gdb commands that might help give you more info are:

(gdb) dir /web/aol4-src/aolserver
(gdb) dir /web/aol4-src/aolserver/nsd
(gdb) set height 0
(gdb) show directories
Of course, change the path names above to point to your source trees for AOLserver.