[Bug 44163] Far Cry crashes when opening the save game menu

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 13 07:16:00 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=44163

Bernhard Übelacker <bernhardu at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhardu at mailbox.org

--- Comment #1 from Bernhard Übelacker <bernhardu at mailbox.org> ---
Created attachment 59928
  --> https://bugs.winehq.org/attachment.cgi?id=59928
Minimal test case.

It looks like FarCry executes these steps:
- open some file (_wfsopen)
- get fd for this file (_fileno)
- open this file again via the fd (_wfdopen)
- closing second file pointer.
- closing first file pointer - crashes as it thinks the file is already closed.

Attached test program tries to show this.
In wine it crashes like FarCry, on Windows no crash happens.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list