https://bugs.winehq.org/show_bug.cgi?id=57155
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 77063 --> https://bugs.winehq.org/attachment.cgi?id=77063 add missing ordinal 136
Hi, from your debuglog:
Just before the crash is
022c:Ret uxtheme.135() retval=00000000 ret=6fffdc83dc02 022c:Call dwmapi.DwmSetWindowAttribute(000200e6,00000013,7ffffe1fa870,00000004) ret=6fffdc83dc43 022c:fixme:dwmapi:DwmSetWindowAttribute (00000000000200E6, 13, 00007FFFFE1FA870, 4) stub 022c:Ret dwmapi.DwmSetWindowAttribute() retval=00000000 ret=6fffdc83dc43 022c:trace:seh:dispatch_exception code=c0000005 flags=0 addr=0000000000000000 ip=0
It look's like it's using the semi undocumented uxtheme api for dark mode And a couple of lines before that:
022c:Call KERNEL32.GetProcAddress(6ffffb3e0000,00000088) ret=6fffdc838940 022c:Ret KERNEL32.GetProcAddress() retval=00000000 ret=6fffdc838940 022c:Call KERNEL32.GetProcAddress(6ffffb3e0000,00000087) ret=6fffdc83898b 022c:Ret KERNEL32.GetProcAddress() retval=6ffffb3e1f20 ret=6fffdc83898b
As a guess I woud say those first two lines could be the cause of the crash; ordinal 136 (0000088) is missing in wine. Google says it's FlushMenuThemes()
Could you try if the attached patch changes anything?