StarCraft 2 r6034 c++ runtime error

Questions about Wine on Linux
Locked
christo
Newbie
Newbie
Posts: 4
Joined: Wed Feb 13, 2013 1:05 am

StarCraft 2 r6034 c++ runtime error

Post by christo » Wed Feb 13, 2013 1:28 am

The game quits and gives this error message.
This happens randomly. Sometimes 5 minutes after being ingame, but sometimes after 30 minutes.

Using playonlinux with 1.5.10 wine and mscoree (native), msvcr80 (native, builtin) libraries.

It's a little bit suspicious to me when logging into the game after authorizing, the initializing time skipped and suddenly loads the menu. There are some unloaded textures sometimes in the game, like black icons, or totally black units.

Using Ubuntu 12.04, newest version of playonlinux, ati videocard.

Can U suggest something?

User avatar
dimesio
Moderator
Moderator
Posts: 12919
Joined: Tue Mar 25, 2008 10:30 pm

Re: StarCraft 2 r6034 c++ runtime error

Post by dimesio » Wed Feb 13, 2013 9:07 am

Your Wine version is old and nothing in the AppDB suggests that native mscoree or msvcr80 are needed for this game.

Retest in a clean wineprefix using the latest development release of plain Wine--no POL, no native dlls.

christo
Newbie
Newbie
Posts: 4
Joined: Wed Feb 13, 2013 1:05 am

Re: StarCraft 2 r6034 c++ runtime error

Post by christo » Wed Feb 13, 2013 10:35 am

So I changed wine version to 1.5.23 and removed the libraries. But this time this happens more often. Many times even when I start the game.

But I didnt mention that was a site which helped:
http://www.playonlinux.com/en/topic-9260.html

If I dont use this command:
"echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope"
Then the game even wont start. So Im using this. Of course every time I try to start the game without this, but without success.

User avatar
dimesio
Moderator
Moderator
Posts: 12919
Joined: Tue Mar 25, 2008 10:30 pm

Re: StarCraft 2 r6034 c++ runtime error

Post by dimesio » Wed Feb 13, 2013 12:22 pm

christo wrote: If I dont use this command:
"echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope"
Then the game even wont start. So Im using this. Of course every time I try to start the game without this, but without success.
That's an issue that appeared in Ubuntu beginning with 12.04. AFAIK, a workaround has been incorporated into the Ubuntu Wine packages for some time, so you should not have to run that command if you are using the packages from the Ubuntu Wine PPA.

As for Starcraft 2 crashing on start, there's a bug already filed for that: http://bugs.winehq.org/show_bug.cgi?id=32132.

christo
Newbie
Newbie
Posts: 4
Joined: Wed Feb 13, 2013 1:05 am

Re: StarCraft 2 r6034 c++ runtime error

Post by christo » Thu Feb 14, 2013 3:24 pm

Okey, so I did what you suggested. Removed the libraries, and using the newest wine version (1.5.23). But if I dont use that command the game cant even start. It happens the same like on your link: http://bugs.winehq.org/show_bug.cgi?id=32132

Btw this "bug" is only filed as you said, but not solved.

If I run that command, the game can start, but sometimes exits with the same error.

christo
Newbie
Newbie
Posts: 4
Joined: Wed Feb 13, 2013 1:05 am

Re: StarCraft 2 r6034 c++ runtime error

Post by christo » Sat Feb 16, 2013 1:56 pm

Btw this was a very helpful comment to me:
http://www.codeweavers.com/support/tick ... _id=903562

Locked