[Bug 51479] winedevice.exe crashes on prefix shutdown
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Aug 16 10:30:17 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51479
Gcenx <gcenx83 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gcenx83 at gmail.com
--- Comment #6 from Gcenx <gcenx83 at gmail.com> ---
This also affe(In reply to Rémi Bernon from comment #5)
> 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.
Strange it got rejected as that also resolved the issue on macOS.
--
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