https://bugs.winehq.org/show_bug.cgi?id=46376
Bug ID: 46376 Summary: Touhou 10 on macOS 10.13.6 (High Sierra) may crash or freeze on startup after Security Update 2018-003 Product: Wine Version: 4.0-rc3 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andrewsuicune@gmail.com
When testing Touhou 10 - Mountain of Faith for the 4.0 release candidates, I noticed that the game began crashing/freezing, mainly during Fullscreen. None of the other games in the series I had tested recently exhibited this issue and this particular installment had never done this kind of behavior. Worse, it was difficult to replicate because a freeze during fullscreen mode required forcefully killing the OS and rebooting the machine since all other I/O other than hard reset are blocked by Wine.
Though this happened on 4.0 rc3, I went back to Wine 3.11 and tried it out again. I was able to freeze the OS simply by selecting Fullscreen and doing *nothing* but wait for the main menu.
On 4.0 rc3 Fullscreen, hitting the down arrow key on the "Press Any Key" screen causes Wine to crash with the following:
wine: Unhandled page fault on read access to 0x1102983d at address 0x7bc40a7b (thread 0061), starting debugger... 0061:err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc406db
~~~~~
I have not classified this as a regression since every other Touhou game I've tested has not exhibited this issue and since the game was working fine (afaik) on 3.11 when I tested it way back then but no longer functions when I run 3.11 now, implying that something other than the Wine updates broke.
My suspicion is that something in the latest macOS High Sierra security update broke something with the way Wine works with this specific application.
If possible, I'd like the following to be tested:
- First, if someone else can replicate the crash on Wine 3.11 using macOS High Sierra 10.13.6 with Security Update 2018-003. - Next, if possible, for the same to be attempted on macOS High Sierra 10.13.6 without Security Update 2018-003 (though this may be difficult or impossible to do)
If the macOS update was what broke the game, then this is *probably* not a Wine bug. If it's broken on Wine 3.11 and pre-Security Update 2018-003 macOS High Sierra, then further investigation may be required as to why the game was working fine back in June but no longer functions now.
Once the game is running (IE if you can actually get through the menus without the game crashing/freezing), things seem to be fine from that point onwards, though I am unable to definitively confirm this.
https://bugs.winehq.org/show_bug.cgi?id=46376
--- Comment #1 from Ken Thomases ken@codeweavers.com --- (In reply to Andrew Fan from comment #0)
Regarding this part:
Worse, it was difficult to replicate because a freeze during fullscreen mode required forcefully killing the OS and rebooting the machine since all other I/O other than hard reset are blocked by Wine.
That shouldn't be the case, unless Wine provoked a kernel hang or GPU restart or something like that (which is, ultimately, a OS bug; no matter what Wine does, it shouldn't be able to lock up the system like that).
If Wine has frozen up while in full-screen mode, a simple Command-Tab might work to get out of it. Wine's main thread is dedicated to Cocoa stuff and is usually not caught up in a hang of the Windows program. And that main thread is what gets you out of full-screen mode on a Command-Tab.
If that doesn't work, the main thread may be stuck, too. Less common, but does happen. Even so, though, you should be able to Force Quit it using the system-wide Force Quit keyboard shortcut: Command-Option-Escape, possibly followed by Return twice.
https://bugs.winehq.org/show_bug.cgi?id=46376
--- Comment #2 from Andrew Fan andrewsuicune@gmail.com --- Those keyboard shortcuts were extremely helpful. However, the console log for a freeze on Wine 3.11 did not seem particularly helpful.
wine: Unhandled page fault on read access to 0x216a403d at address 0x7bc4067b (thread 0057), starting debugger... 0065:err:ntdll:RtlpWaitForCriticalSection section 0x110060 "../../../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0065, blocked by 0057, retrying (60 sec) Terminated: 15
https://bugs.winehq.org/show_bug.cgi?id=46376
--- Comment #3 from Andrew Fan andrewsuicune@gmail.com --- Unable to reproduce bug in Wine 5.0 rc2 on Mojave 10.14.6.
Unsure of how to treat this issue (Resolved or Invalid) since the specific problem and solution are unknown.