Page 1 of 1

Fatal Error basic_string::_S_construct NULL not valid

Posted: 29 Apr 2011, 07:56
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.

Re: Fatal Error basic_string::_S_construct NULL not valid

Posted: 04 May 2011, 01:54
by abma
looks like a bad graphics-driver, too

Re: Fatal Error basic_string::_S_construct NULL not valid

Posted: 04 May 2011, 09:26
by hoijui
he found out that it is his indeed a GFX error; compiling Shaders failed. setting Shadows=-1 enabled him to play.

Re: Fatal Error basic_string::_S_construct NULL not valid

Posted: 07 May 2011, 08:49
by abma
would it make sense to add that:
if (GLSL==NULL)
Shadows=-1

?

Re: Fatal Error basic_string::_S_construct NULL not valid

Posted: 08 May 2011, 02:17
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.