Race VT+X11 on -current

Hans Petter Selasky hps at selasky.org
Fri May 8 04:33:37 UTC 2015


Hi,

I have a fix, attached.

I'll just throw this in if nobody objects. Seems like a trivial issue:

Prevent switching to NULL or own window in the "vt_proc_window_switch"
function. This fixes an issue where X11 keyboard input can appear
stuck. The cause of the problem is a duplicate TTY device window
switch IOCTL during boot, which leaves the "vt_switch_timer" running,
because the current window is already selected. While at it factor out
some NULL checks.

PR:		200032
Reported by:	multiple people
MFC after:	1 week

--HPS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vt.diff
Type: text/x-diff
Size: 1621 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150508/4ae2fc81/attachment.diff>


More information about the freebsd-current mailing list