Stack overflow error when trying to run dowonline

Questions about Wine on Linux
Locked
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Stack overflow error when trying to run dowonline

Post by Time4Tea »

Hi, I am trying to run an application, dowonline.exe, which is a fan-made replacement of the online multiplayer server for Dawn of War. The game Dawn of War runs fine for me in Wine, but I have not been able to get this MP server application to work. The dowonline application is available here and it says that it needs .Net 4.5. I am using Wine version 6.15 and Mono version 6.3.0 with a 32-bit prefix. When I try to run dowonline, I get the following stack overflow error:

Code: Select all

$ env WINEPREFIX="/home/[user]/.wine32_dow" wine DowOnline.exe
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
wine: Unhandled stack overflow at address 10001037 (thread 0024), starting debugger...
0024:err:virtual:virtual_setup_exception stack overflow 1220 bytes in thread 0024 addr 0x7bc28252 stack 0x120b3c (0x120000-0x121000-0x220000)
I'm just wondering if anyone has had any success running this application, or can think of anything I can try?
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Stack overflow error when trying to run dowonline

Post by JoseskVolpe »

I've got a different issue on Wine 7.1, Wine 6.23-staging didn't worked neither
It seems to be a issue with Wine Mono 7.0.0

Image Image
Last edited by JoseskVolpe on Tue Feb 08, 2022 3:04 am, edited 1 time in total.
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Stack overflow error when trying to run dowonline

Post by JoseskVolpe »

Got it working on Wine 7.1 on a WoW64 wineprefix by using this workaround:

Code: Select all

winetricks dotnet452
Also, update your Wine, your version is very old

I don't have this game to test it properly, so please try it and submit an test report on AppDB ;3

Image
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Stack overflow error when trying to run dowonline

Post by JoseskVolpe »

Bug reported as id 52530
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: Stack overflow error when trying to run dowonline

Post by Time4Tea »

JoseskVolpe wrote: Tue Feb 08, 2022 2:59 am Got it working on Wine 7.1 on a WoW64 wineprefix by using this workaround:

Code: Select all

winetricks dotnet452
Also, update your Wine, your version is very old

I don't have this game to test it properly, so please try it and submit an test report on AppDB ;3
Awesome! Thanks for giving it a try and that's great that you got it working!

Yes, I will update my Wine to 7.1 and try it again with the DoW game. If I can get it working I will submit a report on AppDB :D

(I had tried installing .net 4.5 with my Wine version, but it didn't seem to work. I got quite similar error windows to the ones you showed)
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: Stack overflow error when trying to run dowonline

Post by Time4Tea »

JoseskVolpe wrote: Tue Feb 08, 2022 2:59 am Got it working on Wine 7.1 on a WoW64 wineprefix ...
Sorry, also: what do you mean by a 'WoW64' prefix?
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Stack overflow error when trying to run dowonline

Post by JoseskVolpe »

Time4Tea wrote: Tue Feb 08, 2022 4:16 am Sorry, also: what do you mean by a 'WoW64' prefix?
Wine32 on Wine64, or Windows32 on Windows64, it's basically a 64-Bits Wineprefix with working 32-Bits libraries. This is currently not possible on every operating system as some OSes don't support 32-Bits libraries and a Wine project to make 32-Bits Windows libraries to work with 64-Bits Unix libraries is not currently finished.
If your system is 64-Bits and provides support for 32-Bits Unix libraries, just create a 64-Bits Wineprefix and you have a WoW64 prefix.
I had tried installing .net 4.5 with my Wine version, but it didn't seem to work. I got quite similar error windows to the ones you showed
That's weird, ¿did you got the dotnet installers running or did it not appear?
I also forgot to say that winetricks will set yout Windows version to "Windows 2003", you'll need to set it back to "Windows 10" on winecfg after installing dotnet452
Check if you've used the correct prefix aswell :S

Also, if it's still important.... I would like to note:
That issue
wine: Unhandled stack overflow at address 10001037 (thread 0024), starting debugger...
Seems to be a issue on your system, not with Wine. May be something complex from broken kernel to something very stupid like a missing icon file, so that's needed a investigation to solve the problem.
You can use 'strace' to see what it's trying to do before the stackoverflow error

Code: Select all

strace wine DowOnline.exe
(You don't need to do that if you don't have that issue anymore)



Also, ¿what's your distribution?
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: Stack overflow error when trying to run dowonline

Post by Time4Tea »

JoseskVolpe wrote: Tue Feb 08, 2022 2:59 am I don't have this game to test it properly, so please try it and submit an test report on AppDB ;3
Hi, coming back round to this: I have managed to get the dowonline client application to run by upgrading my Wine to version 7.1 and installing .NET 4.5. The client now opens and I can see the chat and info on currently running games there. However, the server connection doesn't seem to be working within the Dawn of War application. The way it is supposed to work is that you launch the game from the dowonline client and then it should allow the 'LAN' multiplayer mode in-game to create and view games on their server. However, I don't see any open games and if I try to create one, I get an error message saying: "Cannot connect to the server. Connection has timed out."

Any ideas what might be causing that?

Btw, for me dowonline runs fine in a 32-bit Wine prefix. I'm using Arch Linux.

Launching from dowonline is clearly doing something to change the LAN MP mode. If I launch without dowonline, I can create a LAN game (although obviously no-one is available to play on my local LAN).
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Stack overflow error when trying to run dowonline

Post by JoseskVolpe »

Great you could run :3

That connection issue may be a Wine bug, or system-side issues too. I've also noticed, while downloading their client, that their servers are pretty unstable... At least on my side, i don't know how it is on your side.
¿Do you have any firewall service? Sometimes it's the firewall blocking the application to access a port. If you do, i do not recommend disabling firewall, but to allow the application to use the specific port it needs.
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: Stack overflow error when trying to run dowonline

Post by Time4Tea »

JoseskVolpe wrote: Wed Feb 16, 2022 9:23 pm Great you could run :3

That connection issue may be a Wine bug, or system-side issues too. I've also noticed, while downloading their client, that their servers are pretty unstable... At least on my side, i don't know how it is on your side.
¿Do you have any firewall service? Sometimes it's the firewall blocking the application to access a port. If you do, i do not recommend disabling firewall, but to allow the application to use the specific port it needs.
Hi, thanks for your reply. Their server seems a little unstable, but there are usually some games going on when I log on. The only firewall I have is the one built in to my internet router. I have asked and apparently DoW/dowonline shouldn't require any ports to be forwarded for online MP. I did try forwarding the recommended ports anyway, but it didn't seem to help.

I also posted on the dowonline Discord channel to ask if anyone there had any ideas, but unfortunately have had no reply after several days.
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Stack overflow error when trying to run dowonline

Post by JoseskVolpe »

Well, i'm afraid i don't know then :/
Add that on your report, that may (or not) be a Wine bug
Let's hope you, or someone else, have luck next time
but there are usually some games going on when I log on
¿So are you able to join other multiplayer games with their tools?
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: Stack overflow error when trying to run dowonline

Post by Time4Tea »

JoseskVolpe wrote: Thu Feb 17, 2022 3:55 pm Well, i'm afraid i don't know then :/
Add that on your report, that may (or not) be a Wine bug
Let's hope you, or someone else, have luck next time
Ok, I will create an AppDB report and I will link that in your bug report.
JoseskVolpe wrote: Thu Feb 17, 2022 3:55 pm
but there are usually some games going on when I log on
¿So are you able to join other multiplayer games with their tools?
I can see a list of users and games in progress in the dowonline client window (so the connection to their server is clearly working there). However, after I load up the Dawn of War game from there, I am not able to see any open games in the LAN multiplayer lobby or create any myself (I get the 'connection timed out' error).
Locked