[Bug 58686] New: wine crashes on usb mouse plug or unplug
http://bugs.winehq.org/show_bug.cgi?id=58686 Bug ID: 58686 Summary: wine crashes on usb mouse plug or unplug Product: Wine Version: 10.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winex11.drv Assignee: wine-bugs(a)winehq.org Reporter: wine(a)mi.org.ru Distribution: --- when a usb mouse (and possibly other HID devices, but not keyboard though) is connected or disconnected from pc, all apps' windows opened in wine instantly crash with XI_BadDevice (invalid Device parameter) (Major opcode: 131 (XInputExtension) minor opcode: 3 (X_OpenDevice)). I tested this both on ryzen laptop with gentoo (wine-staging v10.8) and intel laptop with arch (wine 10.13). I will test previous versions later and maybe even will be able to track down the specific commit. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58686 mio <wine(a)mi.org.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|winex11.drv |-unknown Version|10.8 |9.5 CC| |leslie_alistair(a)hotmail.com | |, z.figura12(a)gmail.com Product|Wine |Wine-staging --- Comment #1 from mio <wine(a)mi.org.ru> --- so apparently it's a wine-staging-only bug and does not happen on vanilla. i was able to reproduce it on staging-9.5 but not 9.4 so i believe the breaking change was introduced around there. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58686 Oleg Nikulin <owl2@etersoft.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |owl2@etersoft.ru --- Comment #2 from Oleg Nikulin <owl2@etersoft.ru> --- Can confirm this issue. Can be reproduced only with a specific mouse (OKLICK 145M in my case). Steps to reproduce: $ wine notepad While notepad is running, plug the mouse to PC. It will cause wine to shut down with the following message in terminal: 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: 0x11a Serial number of failed request: 160 Current serial number in output stream: 160 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: 0x11a Serial number of failed request: 255 Current serial number in output stream: 255 The bug is indeed related to wine-staging. The "user32-rawinput-mouse" patchset seems to be causing it. Vanilla wine = no bug. Wine-staging patches applied = bug present. Wine-staging patches applied + revert user32-rawinput-mouse patchset = no bug again. "user32-rawinput-mouse" patchset is related to bugs 42631 and 42675 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla