http://bugs.winehq.org/show_bug.cgi?id=8301
vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|wine-misc |wine-loader Ever Confirmed| |1
------- Additional Comments From vitaliy@kievinfo.com 2007-12-05 23:29 ------- I see what's going on. Wine just happily ripps the dinput.dll out of the memory while it still has windows allocated. And I see no way to stop loader from doing that.
dinput creates internal window and of course when it's being unloaded the first message to that winproc will most likely segfault. And I see no attempts being made in the loader or anywhere else to check for such things. And of course nothing even tries to call DllCanUnloadNow().