https://bugs.winehq.org/show_bug.cgi?id=52695
Bug ID: 52695 Summary: Titan Quest crashes at start with "0xc0000005 (EXCEPTION_ACCESS_VIOLATION)" Product: Wine Version: 7.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: enni@telsh.de Distribution: ---
Hi! After the latest WINE update to 7.4 the game "Titan Quest" (with or without latest DLCs at latest version from GOG) does not start anymore.
After having had some issues with version 7.3 I did a clean reinstall of the whole WINEPREFIX. Codewise this looks like: $ cd $WINEPREFIX && cd .. $ rm -rf $WINEPREFIX && mkdir $WINEPREFIX
Then I added some fonts and the codec to play the mp3 sound files, in the past I did some tests and these were always needed: $ winetricks corefonts tahoma l3codecx
Then I installed the game and tried to run it. The first chord of the soundtrack is played a couple of times (sounds like an echo) and then the game crashes. The screen stays black all the time, the mouse curser is like in the game.
To check if it would solve the issue I installed a couple of libs/dlls: * dsound * dmusic * directplay * xvid * allcodecs
and changed the sound setting "sound=pulse". Unfortunately nothing solves the issue.
Attached is a dump text file, I would be able to provide the binary/debugger file as well, it's ~2.5 MB large and I wasn't sure if it would be wasted here because the txt file might be sufficient and is easier to read.
Also attached is the output of $ winetricks list-all after the initial installation with the fonts and codec.
And the output of $ WINEDEBUG=+all wine TQ.exe is attached as well.
Thanks alot for your support, I'd love to play this game again and would like to update the wiki entry as well as soon as this is resolved. It looks like somebody else with a Debian/Ubuntu system was able to install the same version and there it works without any issue. So maybe it is related to that "strip" issue that ArchLinux had?
Kind regards, enni
PS: I see that I can only attach one file, will try to add the other files as comment after creation.
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #1 from enni enni@telsh.de --- Created attachment 72039 --> https://bugs.winehq.org/attachment.cgi?id=72039 Dump file of game in text format
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #2 from enni enni@telsh.de --- Created attachment 72040 --> https://bugs.winehq.org/attachment.cgi?id=72040 winetricks settings
https://bugs.winehq.org/show_bug.cgi?id=52695
enni enni@telsh.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #3 from enni enni@telsh.de --- Created attachment 72041 --> https://bugs.winehq.org/attachment.cgi?id=72041 7z archive winedebug of game start
https://bugs.winehq.org/show_bug.cgi?id=52695
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Please, attach a console output with using a fresh wineprefix (no winetricks with dll overrides).
Native dll are barely supported in this bugzilla.
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #5 from enni enni@telsh.de --- Created attachment 72045 --> https://bugs.winehq.org/attachment.cgi?id=72045 console output of install process (with notes added)
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #6 from enni enni@telsh.de --- Created attachment 72046 --> https://bugs.winehq.org/attachment.cgi?id=72046 console output of manual start with "wine TQ.exe"
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #7 from enni enni@telsh.de --- (In reply to joaopa from comment #4)
Please, attach a console output with using a fresh wineprefix (no winetricks with dll overrides).
Native dll are barely supported in this bugzilla.
Hi, thank you very much for the reply and I've added two console outputs: One of the installation and one of the manual start of the game.
Before the installation I rm'ed the WINEPREFIX and re-created the folder. Thinking about it, do you think using "winecfg" once afterwards to create the necessary folders and data makes a difference?
Thanks alot for your support and patience!
Kind regards, enni
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #8 from enni enni@telsh.de --- Created attachment 72048 --> https://bugs.winehq.org/attachment.cgi?id=72048 console log of manual start without winecfg
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #9 from enni enni@telsh.de --- Created attachment 72049 --> https://bugs.winehq.org/attachment.cgi?id=72049 Text dump of the failed start after fresh install of all components
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #10 from enni enni@telsh.de --- Created attachment 72068 --> https://bugs.winehq.org/attachment.cgi?id=72068 List of all lib32-* packages installed with version number
Attached a list of all lib32 packages that are currently installed as I wasn't sure if this could make a difference...
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #11 from enni enni@telsh.de --- Tried out CrossWeaver 21.2 to get the game running and at least the game starts, but after ~30 minutes it crashes again. So I guess CrossWeaver uses WINE <7.3.
It was interesting that during the installation of CrossWeaver some additional 32bit libraries were installed: * lib32-cdparanoia * lib32-libvisual * lib32-gst-plugins-base * lib32-libxslt * lib32-nss-mdns
Unfortunately this does not resolve the issue that the game does not start anymore with wine 7.4. Attaching a console log of the start after the installation of the above libs.
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #12 from enni enni@telsh.de --- Created attachment 72124 --> https://bugs.winehq.org/attachment.cgi?id=72124 Console log after CrossOver installation
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #13 from enni enni@telsh.de --- Created attachment 72125 --> https://bugs.winehq.org/attachment.cgi?id=72125 Game start text dump after CrossOver Installation
There is a subtle difference in the text dump of the game, now it states: TableDepot::Unable to open file (Sounds\xpack\ambient\titlescreen\titlescreen_ambience.wav)
While before it was TableDepot::Unable to open file (XPack3\sounds\ambience\loops\enviroment_tropicjungleloop_day.mp3)
But maybe this is random, checked if other lib32-gst-plugins exist that I could install, but there are none: $ pacman -Ss lib32-gst multilib/lib32-gst-plugins-base 1.20.0-1 [Installiert] GStreamer open-source multimedia framework core library (32-bit) - base multilib/lib32-gst-plugins-base-libs 1.20.0-1 [Installiert] GStreamer open-source multimedia framework core library (32-bit) - base multilib/lib32-gst-plugins-good 1.20.0-1 [Installiert] GStreamer open-source multimedia framework core library (32-bit) - good plugins multilib/lib32-gstreamer 1.20.0-1 [Installiert] GStreamer open-source multimedia framework core library (32-bit) - core
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #14 from enni enni@telsh.de --- Created attachment 72126 --> https://bugs.winehq.org/attachment.cgi?id=72126 Startup WINE 7.5 (git) console log
Tried out WINE 7.5 from git (commit 3c9d2cbaea2039d8ce5d8180ed231b0be6cfa072) and did a standard $ ./configure $ make $ ./wine $WINEPREFIX/<...>/TQ.exe
After the wine config update a message "Game files are corrupted" was shown and the game still does not start.
https://bugs.winehq.org/show_bug.cgi?id=52695
enni enni@telsh.de changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=52643
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #15 from enni enni@telsh.de --- Created attachment 72127 --> https://bugs.winehq.org/attachment.cgi?id=72127 config.log for WINE 7.5 (git)
Found some lines in the config.log that might help to resolve/debug:
1) gcc option "-li386" configure:7531: checking for i386_set_ldt in -li386 configure:7554: gcc -m32 -o conftest -g -O2 conftest.c -li386 >&5 /usr/bin/ld: cannot find -li386: No such file or directory collect2: error: ld returned 1 exit status configure:7554: $? = 1
2) checking for _FILE_OFFSET_BITS value needed for large files conftest.c:16:7: error: variably modified 'off_t_is_large' at file scope 16 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ^~~~~~~~~~~~~~ configure:7665: $? = 1
3) header files missing conftest.c:50:10: fatal error: ApplicationServices/ApplicationServices.h: No such file or directory same for: CL/cl.h: No such file or directory Carbon/Carbon.h: No such file or directory CoreAudio/CoreAudio.h: No such file or directory DiskArbitration/DiskArbitration.h: No such file or directory IOKit/IOKitLib.h: No such file or directory IOKit/hid/IOHIDLib.h: No such file or directory OpenAL/al.h: No such file or directory OpenCL/opencl.h: No such file or directory Security/Security.h: No such file or directory SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h: No such file or directory SystemConfiguration/SCNetworkConfiguration.h: No such file or directory asm/user.h: No such file or directory libproc.h: No such file or directory linux/ucdrom.h: No such file or directory lwp.h: No such file or directory mach-o/loader.h: No such file or directory mach/mach.h: No such file or directory machine/cpu.h: No such file or directory machine/sysarch.h: No such file or directory netinet/tcp_fsm.h: No such file or directory port.h: No such file or directory sys/attr.h: No such file or directory sys/cdio.h: No such file or directory sys/event.h: No such file or directory sys/filio.h: No such file or directory sys/link.h: No such file or directory sys/modem.h: No such file or directory sys/scsiio.h: No such file or directory sys/sockio.h: No such file or directory sys/strtio.h: No such file or directory sys/vnode.h: No such file or directory valgrind/memcheck.h: No such file or directory valgrind/valgrind.h: No such file or directory sys/mkdev.h: No such file or directory sys/conf.h: No such file or directory sys/sysctl.h: No such file or directory net/if_dl.h: No such file or directory net/if_types.h: No such file or directory netinet/in_pcb.h: No such file or directory netinet/ip_var.h: No such file or directory netinet/udp_var.h: No such file or directory netinet/icmp_var.h: No such file or directory netinet/tcp_var.h: No such file or directory linux/ipx.h: No such file or directory linux/irda.h: No such file or directory sys/thr.h: No such file or directory pthread_np.h: No such file or directory libprocstat.h: No such file or directory
ac_nonexistent.h: No such file or directory
4) cross-compiler support configure:10670: checking whether the cross-compiler supports -target i686-windows -fuse-ld=lld -Wl,-subsystem:console configure:10686: clang -o conftest.exe -g -O2 -D__WINE_PE_BUILD -Wall -nostartfiles -nodefaultlibs -target i686-windows -fuse-ld=lld -Wl,-subsystem:console conftest.c >&5 clang-13: error: unable to execute command: Executable "lld-link" doesn't exist!
5) struct/scalar configure:15445: checking for XEvent.xcookie configure:15445: gcc -m32 -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:137:5: error: used struct type value where scalar is required 137 | if (ac_aggr.xcookie) | ^~~~~~~
6) /usr/bin/ld: skipping incompatible It looks like /usr/lib32 is not searched for libs but only /usr/lib is
7) __clear_cache pointers (reason for crash after ~30 minutes?) configure:20754: checking for __clear_cache configure:20771: gcc -m32 -o conftest -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:207:1: error: both arguments to '__builtin___clear_cache' must be pointers 207 | __clear_cache((void*)0, (void*)0); return 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configure:20771: $? = 1
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #16 from enni enni@telsh.de --- Created attachment 72128 --> https://bugs.winehq.org/attachment.cgi?id=72128 Memory usage graph
As the game crashes even when used with CrossOver, I thought that "__clean_cache" might be relevant and recorded some ps output to put it into a graph.
At least that shows that the mem usage is not constantly rising only.
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #17 from enni enni@telsh.de --- WINE 7.5 does not fix the issue.
Is there anything I could do to get this resolved?
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #18 from joaopa jeremielapuree@yahoo.fr --- If the game worked with wine-7.3 and does not work anymore with wine-7.4, your best bet to see the bug fixed is to do a regression test:
https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-9.0-rc5 in a fresh wine prefix?
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #20 from enni enni@telsh.de --- Hi, as I am not able to build wine in that version, feel free to close this bug report.
The documentation does not help me to build and start the testing, so I cannot proceed here and am ready to accept this.
Sorry and thank you very much for taking care nevertheless.
https://bugs.winehq.org/show_bug.cgi?id=52695
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Did you give a try with binary package of wine-9.1?