system locks up when running "strace gdmsetup"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I found this really strange but reproducible bug:
1. boot live CD (I used jaunty x86 alpha5 on a x64 machine)
2. open a terminal and run "sudo su"
3. run "strace gdmsetup"
4. if it succeeds without locking up the system, close gdmsetup with the close button and then re-run the command. the bug triggers about 1 out of 5 times I run this command.
I can still ssh into the box so kernel seems reasonably undamaged. If I connect gdb to X then the stack looks like a normal health X.org stack so it's probably not a video driver lockup (I got a intel X4500HD card btw, with G45-chipset). I also attached to compiz.real and that looks fine as well. However, even though X and compiz both look like they are working, the machine is completely unresponsive. I cant move any windows, start any program or anything, the mouse cursor doesnt even turn back to normal it just stays in the "" (I can move the mouse though). Even the CPU graph for the gnome system monitor applet and conky etc stop updating when I repro this on my installed system (without the live cd).
If I "sudo killall -9 strace" from the network ssh session (connected from another working box), I can resume using the machine.
I've also been able to repro this on a much older desktop machine which has an ATI radeon card attached over AGP. However, on this machine I had to re-run "strace gdmsetup" around 15 times before it froze the machine. I think it's a kernel issue.
When the machine was hung I attached gdb to strace and saw this stack: i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6
#0 0xb7f9c430 in __kernel_vsyscall ()
#1 0xb7ef2e83 in write () from /lib/tls/
#2 0xb7e89cdc in _IO_file_write () from /lib/tls/
#3 0xb7e8ae57 in _IO_do_write () from /lib/tls/
#4 0xb7e8a6fa in _IO_file_sync () from /lib/tls/
#5 0xb7e7e4d9 in fflush () from /lib/tls/
#6 0x0804d0fd in ?? ()
#7 0x0804c1c5 in ?? ()
#8 0xb7e35775 in __libc_start_main () from /lib/tls/
#9 0x080497a1 in ?? ()