https://bugs.winehq.org/show_bug.cgi?id=38304
Bug ID: 38304 Summary: Genesis Rising crashes when loading a saved game Product: Wine Version: 1.7.29 Hardware: x86 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: matellanesivan@gmail.com Regression SHA1: 5077d8c1371fe3e8e263119a6cc05d0e9766cdba Distribution: ---
Created attachment 51138 --> https://bugs.winehq.org/attachment.cgi?id=51138 terminal output
The game has an auto-save feature, it saves games between each mission (no manual save available). Saving the game works properly, but the game crashes when I try to load a previously saved game. Native msvcr80.dll is a workaround (winetricks vcrun2005).
Loading a saved game used to work in Wine 1.7.28, this is a regression introduced by
5077d8c1371fe3e8e263119a6cc05d0e9766cdba is the first bad commit commit 5077d8c1371fe3e8e263119a6cc05d0e9766cdba Author: Iván Matellanes matellanesivan@gmail.com Date: Wed Oct 15 16:47:07 2014 +0200
msvcrt: Added _fseeki64_nolock implementation.
wine-1.7.39-173-gf6a341c
https://bugs.winehq.org/show_bug.cgi?id=38304
--- Comment #1 from Iván Matellanes matellanesivan@gmail.com --- Hi, could you upload a +tid,+seh,+relay,+msvcrt log?
Thanks, Iván
https://bugs.winehq.org/show_bug.cgi?id=38304
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Iván Matellanes from comment #1)
Hi, could you upload a +tid,+seh,+relay,+msvcrt log?
Thanks, Iván
Such log is over 20 GB and the game doesn't crash.
https://bugs.winehq.org/show_bug.cgi?id=38304
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #3 from Piotr Caban piotr.caban@gmail.com --- Is it possible to reproduce the problem with demo version of the game?
https://bugs.winehq.org/show_bug.cgi?id=38304
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Piotr Caban from comment #3)
Is it possible to reproduce the problem with demo version of the game?
Nope, looks like the demo is missing the save/load feature.
https://bugs.winehq.org/show_bug.cgi?id=38304
--- Comment #5 from Piotr Caban piotr.caban@gmail.com --- Is it still not working (in wine 1.7.45)?
(I have recently finished implementing fd level locking, it may affect this application)
https://bugs.winehq.org/show_bug.cgi?id=38304
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 51692 --> https://bugs.winehq.org/attachment.cgi?id=51692 terminal output Wine 1.7.45
The crash remains in 1.7.45
https://bugs.winehq.org/show_bug.cgi?id=38304
--- Comment #7 from Béla Gyebrószki gyebro69@gmail.com --- It seems the bug occurs with certain compiler optimization levels. I used to compile Wine with '-O2 -g -gdwarf-2' and this was the commit that broke the game with -O2. Now I compiled Wine with different optimization levels: -O2: crashes -O1: crashes -O0: works -Og: works
On Fedora the default optimization level is -O2: $ rpm --eval %optflags -O2 -g -march=i386 -mtune=i686
Currently I have GCC 5.1.1 installed, but it was GCC 4.9.x when I opened this bug report.
$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/5.1.1/lto-wrapper Target: i686-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch=i686 --build=i686-redhat-linux Thread model: posix gcc version 5.1.1 20150612 (Red Hat 5.1.1-3) (GCC)
https://bugs.winehq.org/show_bug.cgi?id=38304
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | Status|NEW |RESOLVED Resolution|--- |INVALID Regression SHA1|5077d8c1371fe3e8e263119a6cc | |05d0e9766cdba |
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- I can't reproduce this bug on my current system.
I keep earlier Wine versions in their source dirs, the strange is that the game still crashes when running with any of those versions. For example 1.7.43 was compiled with gcc 4.9.2, 1.7.45 was compiled with gcc 5.1.1-1 (20150422) back in that time. The game crashes when trying to load a saved game with both Wine versions. I downgraded to gcc 5.1.1 (20150422) and compiled gcc 4.9.2 from source and recompiled those 2 versions (1.7.43 and .45), but can't reproduce the crash any more.
Marking invalid and removing regression keyword.
Fedora 22 32-bit gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)
https://bugs.winehq.org/show_bug.cgi?id=38304
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com --- Closing.