Bug#423775: Problems using gdb to debug Xorg.
On Fri, 2007-05-18 at 15:03 +0900, Charles Plessy wrote:
>
> /build/buildd/gdb-6.4.90.dfsg/gdb/linux-nat.c:1025: internal-error:
> linux_nat_attach: Assertion `pid == GET_PID (inferior_ptid) &&
> WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n)
>
> Strangely, after this problem, Xorg became immortal : I had to reboot to
> get rid of it. Obviously I am doing something wrong: can you help me to
> find out what?
Probably nothing, it seems like either the X server process is in a very
weird state or there's a bug in gdb. In some cases like this, I was able
to overcome the problem using older versions of gdb.
BTW, I haven't seen one of my questions answered: When the problem
happens and you kill the X server, does a new X server come up and work
normally?
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
Reply to: