[Bug 51479] winedevice.exe crashes on prefix shutdown
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Aug 9 03:52:29 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51479
--- Comment #5 from Rémi Bernon <rbernon at codeweavers.com> ---
The problem is that the device get removed twice, once in each individual PDO
IRP_MN_REMOVE_DEVICE, and then in the FDO IRP_MN_REMOVE_DEVICE, which again
closes device from the device list. The PDO IRP_MN_REMOVE_DEVICE doesn't remove
the entry from the list, so the devices are closed twice.
I think it didn't happen before the change because ntoskrnl was blocked on exit
on hidclass device removal and was then killed after a bit, waiting forever for
the hid reading thread to exit, and so didn't even tried to remove wineusb
devices. Or something along those lines.
A patch to address this has been proposed
(https://source.winehq.org/patches/data/210666), but rejected.
--
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.
More information about the wine-bugs
mailing list