https://bugs.winehq.org/show_bug.cgi?id=48335
Bug ID: 48335 Summary: Serious Sam Classic TFE/TSE crash on saving the game Product: Wine Version: 5.0-rc2 Hardware: x86 URL: https://archive.org/download/SeriousSamDemo/SeriousSam Demo.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
Created attachment 66067 --> https://bugs.winehq.org/attachment.cgi?id=66067 terminal output
The classic versions of Serious Sam (The First Encounter, The Second Encounter) both crash when trying to perform a manual save from the menu. Autosave and quicksave (F6) functions work properly.
Workaround: the game comes bundled with it's own version of msvcrt.dll. The crash doesn't occur when using native msvcrt.
Can be reproduced with the demo version: start a single-player game, press <Esc> after the game started and click on <Save> in the menu.
I tested the game with old versions of Wine and found that the crash occurs since https://source.winehq.org/git/wine.git/commit/22962616004e9419568808eff0bf79...
SeriousSamDemo.exe (79M) md5sum: ef1eb16e29941e140f4ac8fc8aac5dbc
https://bugs.winehq.org/show_bug.cgi?id=48335
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |piotr.caban@gmail.com Regression SHA1| |22962616004e9419568808eff0b | |f799b33282bcf
https://bugs.winehq.org/show_bug.cgi?id=48335
--- Comment #1 from Piotr Caban piotr.caban@gmail.com --- The regression is caused by 2d4b48a58d8a4a79eaf922f6b9c0375a38bce9b9.
This commit assumes that the nested_trylevel contains catchblock trylevel (that the nested exception raised from). While in current wine it contains current frame trylevel (or 0 if there's no nested exception). Anyway current code doesn't make sense.
https://bugs.winehq.org/show_bug.cgi?id=48335
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |6babdb5508bd2f1b659218483f5 | |df76859898712 Status|NEW |RESOLVED
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Thank you Piotr for fixing this bug.
https://bugs.winehq.org/show_bug.cgi?id=48335
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=48335
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Regression SHA1|22962616004e9419568808eff0b |2d4b48a58d8a4a79eaf922f6b9c |f799b33282bcf |0375a38bce9b9