https://bugs.winehq.org/show_bug.cgi?id=57808
Bug ID: 57808 Summary: crash when switching linux virtual consoles: XI_BadDevice Product: Wine-staging Version: 9.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: forestix@nom.one CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Whenever I switch away from the current virtual console on linux (using Control+Alt+F2 etc.) wine processes crash with output like this:
X Error of failed request: XI_BadDevice (invalid Device parameter) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 3 (X_OpenDevice) Device id in failed request: 0xXXXXXXX Serial number of failed request: 251 Current serial number in output stream: 251 X Error of failed request: XI_BadDevice (invalid Device parameter) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 3 (X_OpenDevice) Device id in failed request: 0xXXX Serial number of failed request: 222 Current serial number in output stream: 222
(I have replaced the actual device IDs with X characters above.)
As far as I have seen, it affects all applications. Even winecfg crashes on VC switch.
The problem occurs only in wine-staging; not in wine-devel or wine-stable. The problem is present in versions 9.4, 9.8, 10.0, and presumably all versions in between. The problem is not present in version 9.3. Tested with official debian builds from dl.winehq.org.
This looks similar to bug 57123. I opened a new report instead of commenting in that one because in my case, no devices are unplugged or plugged in to cause the crash, and because I have no easy way to test that scenario.