https://bugs.winehq.org/show_bug.cgi?id=44163
Bug ID: 44163 Summary: Far Cry crashes when opening the save game menu Product: Wine Version: 2.22 Hardware: x86 URL: http://www.gamershell.com/download_4929.shtml OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: piotr.caban@gmail.com Regression SHA1: 67926ec8c344db4250f1e74a5943d0b8a536e950 Distribution: ---
Created attachment 59922 --> https://bugs.winehq.org/attachment.cgi?id=59922 terminal output
Similar to bug #44091 except the crash still occurs in current git (wine-3.0-rc1-17-g162e6c1e40). Can be reproduced with the demo version.
The game crashes when I open the save game menu.
To reproduce the problem in the demo: 1. install and launch the demo, in the main menu select <Launch demo>. The game always performs an autosave once the demo level is loaded. 2. press <ESC> which should bring up the save game menu but the game crashes here, showing only a blank window titled "Exception". Sorry, but couldn't produce a backtrace, probably the game's own exception handler is hijacking winedbg or something.
Reverting the following commit on top of git fixes the crash:
commit 67926ec8c344db4250f1e74a5943d0b8a536e950 Author: Piotr Caban piotr@codeweavers.com Date: Tue Nov 28 19:48:33 2017 +0100
msvcrt: Set errno when close() is called on already closed fd.
Tested and reproduced with the GOG.com version of the game as well as with the original demo version.
DemoFarCry.zip (497M) md5sum: d5f389d6b99c1d69f0491c3e03e50877
wine-3.0-rc1-17-g162e6c1e40