On Thu, 2007-01-25 at 11:17 +0000, Calum Mackay wrote: > > > It would be nice if you could attach gdb to the X server and get a > > backtrace with that (you can only do this from a remote login). > > I finally got around to trying this, but no luck; see below. > > Am I doing something wrong?
/usr/bin/X isn't the binary of the X server itself but of the Xwrapper. Generally, there's a couple of gotchas when starting the X server from gdb, so I usually attach to the X server after startup with something like sudo gdb -p $(pidof X) > [Since logging the bug I've had half-a-dozen more crashes, all in > miSetShape()] It'll hopefully be easy to reproduce with gdb attached then. :) -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer