[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#423775: Problems using gdb to debug Xorg.



Dear Julien and Michel,

I rebuilt the xorg-server pacakge as explained, and it seems that the
system noticed that I was spying it because then it did not crash for a
while ;)

But as soon as I relaxed my "save every 5 minutes" policy, the bug
stroke back. I logged in by ssh, but did not manage to use gdb:

gslc12『~』$ cat gdb-pb
gslc12『~』$ sudo gdb -p $(pidof X)
Password:
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "powerpc-linux-gnu".
Attaching to process 3213
/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?

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan



Reply to: