https://bugs.winehq.org/show_bug.cgi?id=47117
Bug ID: 47117 Summary: Terraria stack overflow on launch Product: Wine Version: 4.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gzoli44@gmail.com Distribution: ---
Created attachment 64327 --> https://bugs.winehq.org/attachment.cgi?id=64327 WINEDEBUG=+all logs
Starting Terraria (the 2d game) pops up a window, which freezes, and after a while outputs:
"Process is terminated due to StackOverflowException."
Using: Arch Linux x64 i3wm (maybe this counts) wine-4.7
Attached logs: all: WINEDEBUG=+all: app wont even start dlls: WINEDEBUG=+dlls loaddll: WINEDEBUG=+loaddll installed: installed dll-s with winetricks
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #1 from gzoli44@gmail.com --- Created attachment 64328 --> https://bugs.winehq.org/attachment.cgi?id=64328 WINEDEBUG=+loaddll logs
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #2 from gzoli44@gmail.com --- Created attachment 64329 --> https://bugs.winehq.org/attachment.cgi?id=64329 WINEDEBUG=+dlls logs
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #3 from gzoli44@gmail.com --- Created attachment 64330 --> https://bugs.winehq.org/attachment.cgi?id=64330 installed dll-s
https://bugs.winehq.org/show_bug.cgi?id=47117
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Maybe a WINEDEBUG=+relay,+seh log would be useful (bzip2 it and attach it to bugreport). Thanks
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #5 from gzoli44@gmail.com --- Started with WINEDEBUG=+relay,+seh, stopped when logs got more than 20G (I guess because of stack overflow)
At another run I stopped it earlier, so one bzipped file is 38M, the longer one is 442M.
Forgot to mention that with around wine 3.8 the exact same executable worked flawlessly (with other window manager, not sure how that changes things with wine). Then I remember trying it a few months later with wine 4.? and it said it needed .net libraries, or something like that, haven't tried installing those. Current state is that it throws stack overflow exception. Can't remember the exact version numbers.
Not sure how to post the logs now :|
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- .
Not sure how to post the logs now :|
Well you can put them up somewhere I guess like https://uploadfiles.io/
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #7 from gzoli44@gmail.com --- Created attachment 64356 --> https://bugs.winehq.org/attachment.cgi?id=64356 WINEDEBUG=+relay,+seh
killed after logs were more than 20G
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- The log is _really_ big ... ouch
I had a very quick look at it, no real idea why it crashed
However, I`d suggest to try start over again in fresh WINEPREFIX and install dotnet and XNA with winetricks, and then install the game. Not sure what version it needs from dotnet, threads on gameforum suggest 4.0 or maybe 4.6.1 ? MAybe you could find out somewhere what versions it exctly needs
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #9 from gzoli44@gmail.com --- Tried downgrading wine to 3.8, starting with a fresh wineprefix, but the same thing happened. After this I upgraded to the recent version of wine.
After deleting ~/.wine, and installing wine-mono I tried to install dotnet40, and xna40, but both of them resulted in the installer saying something like "dotnet is already installed". After trying to start the game it didnt even show up, I guess because XNA was not installed.
So I removed wine-mono, and I reinstalled dotnet40 and xna40 on a fresh wineprefix. Unlike with wine-mono the game started, and a window popped up, but it froze right away, and the same thing happened I described previously.
So then got an another idea. Started fresh again, installed wine-mono. Then manually installed xna40, and started the game. It crashed instantly, saying:
"Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application."
Backtrace attached
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #10 from gzoli44@gmail.com --- Created attachment 64407 --> https://bugs.winehq.org/attachment.cgi?id=64407 wine-mono backtrace
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #11 from gzoli44@gmail.com --- Created attachment 64420 --> https://bugs.winehq.org/attachment.cgi?id=64420 Another run after reinstalling everything
https://bugs.winehq.org/show_bug.cgi?id=47117
--- Comment #12 from gzoli44@gmail.com --- Opps, dont mind the last log (" Another run after reinstalling everything "), just forgot to install "lib32-nvidia-utils".
After installing the same thing happened when I tried with wine-mono.