>The attached patch fixes a couple of race conditions in selection.c.
Don't suppose there's any chance of this causing a 'locked virtual
terminal'? I've experienced two of them with 2.1.99 in the past week.
Symptoms include a perfectly functioning system but the virtual terminal
cannot change. ALT+Fxx does nothing, A program to change terminals stalls
on ioctl(x, VT_WAITACTIVE, x).
It shows:
open("/dev/console", O_WRONLY) = 3
ioctl(3, VT_ACTIVATE, 0x1) = 0
ioctl(3, VT_WAITACTIVE, 0x1) <hangs here until CTRL+C>
I experienced it while I was switching between a rapidly scrolling terminal
(running C program in full debug output) and one that had a static screen
(the source code). X wasn't running (I shut it down 30 minutes
earlier), I was using gpm, and a small program written to do:
open("/dev/console", O_WRONLY) = 3
ioctl(3, VT_UNLOCKSWITCH, 0x1) = 0
didn't work to allow switching, although it reported success.
-George
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu