https://bugs.winehq.org/show_bug.cgi?id=53032
--- Comment #6 from Artem S. Tashkinov aros@gmx.com --- (In reply to RĂ©mi Bernon from comment #5)
Hi, I built Wine with GCC 12.1 and didn't see anything like that so far. A log with WINEDEBUG=+loaddll,+seh,+process,+ntoskrnl,+service,+winedevice,+plugplay, +hid,+wineusb could be useful.
I doubt this can work as it enables logging for wine, not for its dependent subprocess.
OK, I've run
WINEDEBUG=+loaddll,+seh,+process,+ntoskrnl,+service,+winedevice,+plugplay,+hid,+wineusb /tmp/wine-7.9/wine notepad &> /tmp/wine.log
the last line is all good and fine: 0034:trace:service:main services.exe exited with code 0
Except a couple of seconds later when wineserver decides to shutdown there's a crash. I've no idea where to get logs for it.