https://bugs.winehq.org/show_bug.cgi?id=29384
--- Comment #79 from testator@protonmail.ch --- Created attachment 76294 --> https://bugs.winehq.org/attachment.cgi?id=76294 WoW64-musl-CEFsegfault-trace.log
I took kimball's advice and tried wine-staging-9.6 without the staged ntdll-writecopy patches but with WIP patch 20240407-2. Here is the results https://pastebin.com/Lc0VEHt8 . Still segfaulting but this time without the error message, most likely related to using WoW64.
I tried installing battle.net again with WINEDEBUG=all with said staging and WIP patch and it displays the window without segfault and gets stuck at "downloading new files.... (5%)" I got a 422MB tracelog from that which I don't think is appropriate to upload but searching through it for function names and warnings from the patch turns up nothing. So I grepped VPROT and found the last used instance of it. Small snippet here https://pastebin.com/WDpVMEF5 .
Finally I tried a simpler CEF app, JagexLauncher.exe available after installing https://cdn.jagex.com/Jagex%20Launcher%20Installer.exe, on an old prefix using WINEDEBUG=ALL and wine segfaults with a huge tracelog. I tried grepping through the log for relevant function names from the patch to no avail. Without WINEDEBUG=ALL it also segfaults. Here's a snippet of the last 2MB from the segfault from the CEF app as attached to this comment.