Page 1 of 1
Error: basic_string::_S_construct NULL not valid
Posted: 24 Nov 2010, 20:56
by fruehling
Hey,
I just installed Spring on debian Lenny, but from experimental. So I'm using spring 0.82.6.1.
When I want to start a mod in springlobby, it opens up, starts loading, but then crashes and says: basic_string::_S_construct NULL not valid ... and I'm back in lobby-
I tried the stable ca, ba and spring1944 mods.
I have sent the debug files via the normal dialog. I searched the forums for this message but found nothing ...
Is there anything else i can do?
Re: Error: basic_string::_S_construct NULL not valid
Posted: 24 Nov 2010, 21:06
by zerver
A bug somewhere that tries to create a string from a NULL pointer.
Try running it through GDB and hopefully your will get a stack trace.
Re: Error: basic_string::_S_construct NULL not valid
Posted: 24 Nov 2010, 21:11
by fruehling
zerver wrote:A bug somewhere that tries to create a string from a NULL pointer.
Try running it through GDB and hopefully your will get a stack trace.
Could you please explain how to do that for a noob?
Re: Error: basic_string::_S_construct NULL not valid
Posted: 24 Nov 2010, 22:28
by hoijui
install the debug symbol packages for spring too. then recreate the error, and attach infolog.txt to your next post, as file attachment.
if that does not help, we may instruct you to use gdb.
Re: Error: basic_string::_S_construct NULL not valid
Posted: 24 Nov 2010, 22:52
by fruehling
Thanks for the help, here you go.
Re: Error: basic_string::_S_construct NULL not valid
Posted: 24 Nov 2010, 23:08
by jK
[ 0] GL: 1.4 (2.1 Mesa 7.0.4)
[ 0] GL: Mesa project:
www.mesa3d.org
[ 0] GL: Mesa GLX Indirect
[ 0] GLSL: (null)
install/setup a real gfx driver for your gpu
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 00:14
by fruehling
jK wrote:[ 0] GL: 1.4 (2.1 Mesa 7.0.4)
[ 0] GL: Mesa project:
http://www.mesa3d.org
[ 0] GL: Mesa GLX Indirect
[ 0] GLSL: (null)
install/setup a real gfx driver for your gpu
lspci says:
VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650
What kind of gfx driver would you recommend? I remember I tried to install one a year ago, but ended up with a black display ...
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 15:35
by zerver
Before installing that driver, plz help us find where this crash occurs.
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 15:41
by fruehling
zerver wrote:Before installing that driver, plz help us find where this crash occurs.
Okay, what can I do for you?
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 15:59
by hoijui
are these last few lines from the infolog not enough already?
Code: Select all
[ 0] [myGL::CheckParseErrors] Shader compilation error at index 41 (near "ARB_fragment_program_shadow;") when loading fragment-program file ARB/GroundDecalsSMF.fp:
(null)
[ 0] Fatal Error basic_string::_S_construct NULL not valid
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 16:57
by jK
hoijui wrote:are these last few lines from the infolog not enough already?
Code: Select all
[ 0] [myGL::CheckParseErrors] Shader compilation error at index 41 (near "ARB_fragment_program_shadow;") when loading fragment-program file ARB/GroundDecalsSMF.fp:
(null)
[ 0] Fatal Error basic_string::_S_construct NULL not valid
Yup, I assume it is a bug in Mesa Shader emulation code (which is experimental AFAIK), which is passed to Spring via dwarf2.
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 17:53
by fruehling
Okay, as this issue seems to be cleared ... any held here?
lspci says:
VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650
What kind of gfx driver would you recommend? I remember I tried to install one a year ago, but ended up with a black display ...
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 22:41
by zerver
hoijui wrote:are these last few lines from the infolog not enough already?
Code: Select all
[ 0] [myGL::CheckParseErrors] Shader compilation error at index 41 (near "ARB_fragment_program_shadow;") when loading fragment-program file ARB/GroundDecalsSMF.fp:
(null)
[ 0] Fatal Error basic_string::_S_construct NULL not valid
Oh sry, yes they are, I will fix the bug.
Edit:
https://github.com/spring/spring/commit ... bcf0c0d530
Re: Error: basic_string::_S_construct NULL not valid
Posted: 25 Nov 2010, 23:17
by hoijui
spring uses OpenGL, and best OpenGL support/performance for ATI under linux is usually achieved with the fglrx drivers (ATI proprietary one), try to get it working with that (use google). if that wont work, or if pages you find tell you it will not work for your card and X-server or something, try the open-source ATI driver (forgot the name.. but you will sure find it in your search).
in case you do not know already...
if you want to use OpenGL under linux.. try to get Nvidia for your next system. no, i do not get money for saying this.. it is simply much much nicer for you as a user.
Re: Error: basic_string::_S_construct NULL not valid
Posted: 29 Nov 2010, 10:04
by fruehling
hoijui wrote:spring uses OpenGL, and best OpenGL support/performance for ATI under linux is usually achieved with the fglrx drivers (ATI proprietary one), try to get it working with that (use google). if that wont work, or if pages you find tell you it will not work for your card and X-server or something, try the open-source ATI driver (forgot the name.. but you will sure find it in your search).
in case you do not know already...
if you want to use OpenGL under linux.. try to get Nvidia for your next system. no, i do not get money for saying this.. it is simply much much nicer for you as a user.
Okay, thanks a lot, I will try. :)