On Tue, Mar  1, 2011 at 21:26:46 -0500, Jeremy wrote:

> Okay, so here's what happens:
> 
> I CTRL-ALT-F1.... log in.... su to root terminal
> 
> #gdb attach 2526  (which is the PID of Xorg)
> then it goes through a bunch of
> 
> "reading symbols...loaded symbols"
> 
> Finally, it outputs:
> 
> 0xaddress    in __Select_nocancel () at
> ../sysdeps/unix.syscall-template.S:82
> 82                ../sysdeps/unix/syscall-template.S: No such file or
> directory.
>                     in ../sysdeps/unix/syscall-template.S
> 
> I then type
> 
> (gdb) handle SIGPIPE nostop
> *output here*
> (gdb)cont
> Continuing.
> 
> I then press CTRL-ALT-F7 and it freezes.
> 
That's expected.  The VT switch requires the cooperation of the X
server, but it's blocked waiting for input in gdb (because it involves
sending SIGUSR1 to X).  And even handle SIGUSR1 nostop won't be enough,
since once you've crashed X you'll want to get back to gdb, which
involves a new VT switch with X blocked waiting for input in gdb.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to