Fatal Error basic_string::_S_construct NULL not valid

Fatal Error basic_string::_S_construct NULL not valid

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
aleksey
Posts: 13
Joined: 29 Apr 2011, 07:44

Fatal Error basic_string::_S_construct NULL not valid

Post by aleksey »

Hi.

I keep getting this error message:
Fatal Error basic_string::_S_construct NULL not valid

I'm playing on linux, ubuntu, using the ubuntu packages from http://ppa.launchpad.net/spring/ppa/ubuntu.

I found two threads with the same problem, but they don't help.

First one is here:
http://springrts.com/phpbb/viewtopic.php?f=11&p=459423
The problem was a bad graphics driver. Mine is fine.

The other one is here:
http://springrts.com/phpbb/viewtopic.php?f=11&t=17990
This wasn't resolved, it seems.

It used to work. I was able to play just fine. Then something changed. I don't know what.

I tried removing .spring and .springrc. Problem persists.

I tried compiling from source. Problem persists.

I'm attaching my infolog.txt file.

Please, please, please help. I really like the game, and want to play it again.

Thank you.
Attachments
infolog.txt
(3.81 KiB) Downloaded 149 times
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Fatal Error basic_string::_S_construct NULL not valid

Post by abma »

looks like a bad graphics-driver, too
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Fatal Error basic_string::_S_construct NULL not valid

Post by hoijui »

he found out that it is his indeed a GFX error; compiling Shaders failed. setting Shadows=-1 enabled him to play.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Fatal Error basic_string::_S_construct NULL not valid

Post by abma »

would it make sense to add that:
if (GLSL==NULL)
Shadows=-1

?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Fatal Error basic_string::_S_construct NULL not valid

Post by zerver »

Yup, there is definitely a NULL check missing somewhere. It shouldn't crash like this regardless of how bad the GFX driver is.
Post Reply

Return to “Help & Bugs”