https://bugs.winehq.org/show_bug.cgi?id=57547
--- Comment #8 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to T E Dixon from comment #7)
Reproducing the issue with the supplied patch produces a dialogue with this text. Unfortunately the dialogue cannot be interacted with beyond resizing it, so I cannot scroll down for more details, select text, or click the 'Save as...' button. I hope this image provides enough info.
Thank you for working on this, but unfortunately the callstack has no debug symbols.
Maybe you can recompile with such flags to configure: CFLAGS="-Og" CROSSCFLAGS="-Og" or CFLAGS="-g" CROSSCFLAGS="-g"
https://gitlab.winehq.org/wine/wine/-/wikis/Building-Wine#compiler-optimizat...
Because this issue is triggered by some interactive action, you might be able to attach a winedbg to the later failing winedevice.exe. Unfortunately there are three of it, in my environment that one with hidclass.sys loaded is in the "middle".
https://gitlab.winehq.org/wine/wine/-/wikis/Commands/winedbg
Beyond this there is the possibility to add statements like this through the source. TRACE("%d\n", __LINE__); A starting point could be the big loop in hid_device_thread.