Getting a stack overflow error when trying to run app

Questions about Wine on Linux
Locked
rdpw94
Newbie
Newbie
Posts: 1
Joined: Sun Oct 07, 2018 7:14 pm

Getting a stack overflow error when trying to run app

Post by rdpw94 »

Hey guys,

Trying to run an application for a game and it appears to get getting a stack overflow error when I try to do it. Here's the output:

Code: Select all

[bash@bash ~]$ WINEARCH=win64 WINEPREFIX=~/win64 wine win64/drive_c/TruckersMP\ Launcher/Launcher.exe
002a:err:seh:setup_exception stack overflow 1680 bytes in thread 002a eip 000000007bc6023a esp 0000000000140f80 stack 0x140000-0x141000-0x540000
And it hangs there. I had installed .NET Framework 4.5.2 as the newer ones wouldn't properly install. Currently running wine-3.17 on x86_64 Linux 4.18.12-arch1-1-ARCH.

Hope you can help, let me know if more info is needed.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Getting a stack overflow error when trying to run app

Post by Bob Wya »

rdpw94 wrote:Hey guys,

Trying to run an application for a game and it appears to get getting a stack overflow error when I try to do it. Here's the output:

Code: Select all

[bash@bash ~]$ WINEARCH=win64 WINEPREFIX=~/win64 wine win64/drive_c/TruckersMP\ Launcher/Launcher.exe
002a:err:seh:setup_exception stack overflow 1680 bytes in thread 002a eip 000000007bc6023a esp 0000000000140f80 stack 0x140000-0x141000-0x540000
You're not quite using the correct syntax, for starting an application, with Wine.
It should be something like:

Code: Select all

WINEPREFIX=~/win64 wine start /unix ~/win64/drive_c/TruckersMP\ Launcher/Launcher.exe
See: WineHQ Wiki : Wine User's Guide : 3 Using Wine.
and:

Code: Select all

wine start /?
rdpw94 wrote:And it hangs there. I had installed .NET Framework 4.5.2 as the newer ones wouldn't properly install. Currently running wine-3.17 on x86_64 Linux 4.18.12-arch1-1-ARCH. ...
You probably want: wine-staging-3.17 - this works better at running Windows applications, based on .Net frameworks, in my experience.
This package should be compiled with: -O1 or -O0 gcc optimisations - due to: https://bugs.winehq.org/show_bug.cgi?id=45199.

Bob
Locked