2025-07-21 01:22 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002497Spring engineGfx driver issuespublic2011-11-06 18:50
Reporterburp 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionunable to reproduce 
Product Version0.82.7.1 
Target VersionFixed in Version 
Summary0002497: Crash "Fatal Error basic_string::_S_construct NULL not valid"
DescriptionAfter upgrading from fglrx 11.4 to 11.6 spring crashes on game start:

[f=0000000] Fatal Error basic_string::_S_construct NULL not valid
Warning: Fatal Error
  basic_string::_S_construct NULL not valid

Even with Shadows=-1 (as adviced in the spring forums at http://springrts.com/phpbb/viewtopic.php?f=11&t=25937) it crashes.

I attached my infolog.txt
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (6,064 bytes) 2011-06-25 19:57 -
    LogOutput initialized.
    Spring 0.82.7.1
    Build date/time: Jun 25 2011 19:10:57
    Available log subsystems: Sound, VFS-detail, VFS, ArchiveScanner, unit, CollisionVolume
    Enabled log subsystems: Sound, 
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
      Use "none" to disable the default log subsystems.
    using default configuration source "/home/paladin/.springrc"
    [CMyMath::Init] CPU SSE mask: 888, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  0
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 1,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Linux
    OS: 64bit native mode
    Using read-write data directory: /home/paladin/.spring/
    Using read-only data directory: /usr/local/share/games/spring/
    Scanning: /usr/local/share/games/spring/base
    Scanning: /home/paladin/.spring/maps
    Scanning: /home/paladin/.spring/mods
    Scanning: /home/paladin/.spring/packages
    Supported Video modes: 1680x1050, 1600x900, 1440x900, 1400x1050, 1360x1024, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1024x768, 800x600, 640x480
    Video mode set to 1520x910/32bit (windowed)
    [f=0000000] SDL:  1.2.14
    [f=0000000] GL:   1.4 (2.1 (4.1.10834 Compatibility Profile Context))
    [f=0000000] GL:   ATI Technologies Inc.
    [f=0000000] GL:   ATI Radeon HD 5800 Series  
    [f=0000000] GLSL: (null)
    [f=0000000] GLEW: 1.5.8
    [f=0000000] ATI hacks enabled
    [f=0000000] Joysticks found: 0
    [f=0000000] Joystick 0 not found
    [f=0000000] Connecting to local server
    [f=0000000] Starting GameServer: 5 ms
    [f=0000000] Starting demo recording
    [f=0000000] Using map Tabula-v2
    [f=0000000] Recording demo demos/20110625_195526_Tabula-v2_0.82.7.sdf
    [f=0000000] Using mod Tech Annihilation v2.10
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Vendor:     OpenAL Community
    [f=0000000] [Sound]   Version:    1.1 ALSOFT 1.13
    [f=0000000] [Sound]   Renderer:   OpenAL Soft
    [f=0000000] [Sound]   AL Extensions: AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data AL_SOFT_loop_points
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context
    [f=0000000] [Sound]                   ALC_EXT_EFX found (required for air absorption): yes
    [f=0000000] [Sound]   Device:     ALSA Default
    [f=0000000] [Sound]   Available Devices:  
    [f=0000000] [Sound]                       ALSA Default
    [f=0000000] [Sound]                       No Output
    [f=0000000] [Sound] air absorption enabled: 0.1
    [f=0000000] Using mod archive tech_annihilation_v2.10.sdz
    [f=0000000] Loading client data: 64 ms
    [f=0000000] User number 0 (team 0, allyteam 0)
    [f=0000000] [Sound]  parsed 4 sounds from gamedata/sounds.lua
    [f=0000000] Loading sounds: 0 ms
    [f=0000000] Camera and mouse: 76 ms
    [f=0000000] Parsing unit icons
    [f=0000000] Loading GameData Definitions
    [f=0000000] Loading all definitions:  0.475000
    [f=0000000] Loading GameData Definitions: 556 ms
    [f=0000000] Parsing Map Information
    [f=0000000] Loading SMF
    [f=0000000] Loading Map
    [f=0000000] Calculating smooth height mesh
    [f=0000000] Calculating smooth mesh: 150 ms
    [f=0000000] Number of damage types: 44
    [f=0000000] Creating unit textures
    [f=0000000] Loading weapon definitions
    [f=0000000] Could not load sound from def: lasbladehit
    [f=0000000] Loading unit definitions
    [f=0000000] WARNING: too many unit categories (32), skipping constr
    [f=0000000] WARNING: too many unit categories (33), skipping notstructure
    [f=0000000] WARNING: too many unit categories (34), skipping metal
    [f=0000000] WARNING: too many unit categories (35), skipping ctrl_v
    [f=0000000] WARNING: too many unit categories (36), skipping stealth
    [f=0000000] WARNING: too many unit categories (37), skipping ctrl_w
    [f=0000000] WARNING: too many unit categories (38), skipping ctrl_p
    [f=0000000] WARNING: too many unit categories (39), skipping energy
    [f=0000000] WARNING: too many unit categories (40), skipping level1
    [f=0000000] WARNING: too many unit categories (41), skipping extractor
    [f=0000000] WARNING: too many unit categories (42), skipping defensive
    [f=0000000] WARNING: too many unit categories (43), skipping sonar
    [f=0000000] WARNING: too many unit categories (44), skipping repairpad
    [f=0000000] WARNING: too many unit categories (45), skipping torp
    [f=0000000] Could not load sound from def: varmstop
    [f=0000000] WARNING: too many unit categories (46), skipping kamikaze
    [f=0000000] WARNING: too many unit categories (47), skipping storage
    [f=0000000] Could not load sound from def: kbarmstp
    [f=0000000] Could not load sound from def: hovmdof1
    [f=0000000] Could not load sound from def: hovsmof2
    [f=0000000] Could not load sound from def: hovmdof1
    [f=0000000] Could not load sound from def: hovmdof1
    [f=0000000] WARNING: too many unit categories (48), skipping strategic
    [f=0000000] Could not load sound from def: varmstop
    [f=0000000] Could not load sound from def: kbarmstp
    [f=0000000] Could not load sound from def: kbarmstp
    [f=0000000] WARNING: too many unit categories (49), skipping tport
    [f=0000000] Could not load sound from def: torpok1
    [f=0000000] Could not load sound from def: torpsel1
    [f=0000000] Could not load sound from def: watrjam1
    [f=0000000] WARNING: too many unit categories (50), skipping jam
    [f=0000000] Loading feature definitions
    [f=0000000] Initializing map features
    [f=0000000] Unknown map feature type 
    [f=0000000] Reading Estimate PathCosts [8]
    [f=0000000] Reading Estimate PathCosts [32]
    [f=0000000] [CPathManager] pathing data checksum: 75bb4f8f
    [f=0000000] shadows disabled or required OpenGL extension missing
    [f=0000000] Loading .smt tile-file "maps/Tabula-v2.smt"
    [f=0000000] Loading 52057 tiles from file 1/1
    [f=0000000] Reading tiles
    [f=0000000] Reading tile map
    [f=0000000] generating MipMaps: 6 ms
    [f=0000000] Fatal Error basic_string::_S_construct NULL not valid
    
    txt file icon infolog.txt (6,064 bytes) 2011-06-25 19:57 +

-Relationships
+Relationships

-Notes

~0006805

burp (reporter)

Addition: this problem also occurs at the newest version from git:

[f=0000000] Creating ShadowHandler & DecalHandler
[f=0000000] [CShadowHandler] shadow rendering is disabled (config-value -1)
[f=0000000] Creating GroundDrawer
[f=0000000] Loading Tile Files
[f=0000000] Loading Tile Map
[f=0000000] generating MipMaps: 7 ms
[f=0000000] Path cache hits 0 0%
[f=0000000] Path cache hits 0 0%
[f=0000000] Statistics for local connection:
Received: 218 bytes
Sent: 324 bytes
Spring: Fatal Error Error in main(): basic_string::_S_construct null not valid
Error: Spring: Fatal Error
  Error in main(): basic_string::_S_construct null not valid

~0006807

jK (developer)

looks like a Running Out of Memory

~0006810

burp (reporter)

Can I supply you with further information to solve this issue?

~0006811

zerver (reporter)

I would guess that some glGet*** function returns NULL, and then spring tries to make a string from it. Not sure if there is anything you can do to help us right now.

~0007508

abma (administrator)

please retry with current version of spring (83.0), if it still crashes, please reopen this bug. thanks!
+Notes

-Issue History
Date Modified Username Field Change
2011-06-25 19:57 burp New Issue
2011-06-25 19:57 burp File Added: infolog.txt
2011-06-25 19:57 burp Graphics Card => unknown
2011-06-25 20:58 burp Note Added: 0006805
2011-06-26 01:29 jK Note Added: 0006807
2011-06-26 13:15 burp Note Added: 0006810
2011-06-26 18:23 zerver Note Added: 0006811
2011-11-06 18:50 abma Note Added: 0007508
2011-11-06 18:50 abma Status new => resolved
2011-11-06 18:50 abma Resolution open => unable to reproduce
2011-11-06 18:50 abma Assigned To => abma
+Issue History