2025-07-21 10:20 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001966Spring engineGeneralpublic2010-06-28 19:48
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version0.81.2+git 
Target VersionFixed in Version0.81.0.0+git 
Summary0001966: Crash in spring/master Testgame: in float3::operator* (this=0x7fff439c162b, f=0spring/rts/System/float3.h:213)
DescriptionIn a testgame spring crashes with a Segmentation fault, i had only KAIK as opponet.




TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • ? file icon backtrace (1,890 bytes) 2010-06-28 14:50 -
    #0  0x00007f1c75d1a48d in waitpid () from /lib/libpthread.so.0
    #1  0x0000000000d9c5c5 in X_MessageBox (
        msg=0x75ef438 "Segmentation fault (SIGSEGV)", 
        caption=0x71026b8 "Spring crashed", flags=0)
        at /home/matze/svn/spring/rts/System/Platform/Linux/X_MessageBox.cpp:85
    #2  0x0000000000d9b5df in ErrorMessageBox (
        msg=0x75ef438 "Segmentation fault (SIGSEGV)", 
        caption=0x71026b8 "Spring crashed", flags=0)
        at /home/matze/svn/spring/rts/System/Platform/errorhandler.cpp:46
    #3  0x00000000007b3873 in ErrorMessageBox (msg=..., caption=..., flags=0)
        at /home/matze/svn/spring/rts/System/Platform/errorhandler.h:43
    #4  0x0000000000d9639b in CrashHandler::HandleSignal (signal=11)
        at /home/matze/svn/spring/rts/System/Platform/CrashHandler.cpp:445
    #5  <signal handler called>
    #6  0x000000000070aa78 in float3::operator* (this=0x7fff439c162b, f=0)
        at /home/matze/svn/spring/rts/System/float3.h:213
    #7  0x0000000000a26af6 in CUnitDrawer::UpdateDrawPos (this=0x7f1c630b14d0, 
        u=0x7e68d40) at /home/matze/svn/spring/rts/Rendering/UnitDrawer.cpp:2121
    #8  0x0000000000a219ba in CUnitDrawer::Update (this=0x7f1c630b14d0)
        at /home/matze/svn/spring/rts/Rendering/UnitDrawer.cpp:315
    #9  0x000000000073c5e1 in CGame::Draw (this=0x7f1c60178600)
        at /home/matze/svn/spring/rts/Game/Game.cpp:3136
    #10 0x0000000000d5db1c in SpringApp::Update (this=0x7fffb45f2c90)
    ---Type <return> to continue, or q <return> to quit---
        at /home/matze/svn/spring/rts/System/SpringApp.cpp:949
    #11 0x0000000000d5ddcd in SpringApp::Run (this=0x7fffb45f2c90, argc=2, 
        argv=0x7fffb45f2dd8)
        at /home/matze/svn/spring/rts/System/SpringApp.cpp:1057
    #12 0x0000000000d7ec27 in Run (argc=2, argv=0x7fffb45f2dd8)
        at /home/matze/svn/spring/rts/System/Main.cpp:110
    #13 0x0000000000d7ec7f in main (argc=2, argv=0x7fffb45f2dd8)
        at /home/matze/svn/spring/rts/System/Main.cpp:126
    
    
    
    ? file icon backtrace (1,890 bytes) 2010-06-28 14:50 +
  • txt file icon infolog.txt (14,714 bytes) 2010-06-28 14:51 -
    LogOutput initialized.
    Spring 0.81+.0.0 (Debug)
    Build date/time: Jun 24 2010 19:38:34
    Available log subsystems: CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
    Enabled log subsystems: Sound
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
    using default configuration source "/home/matze/.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
    Adding /home/matze/.spring/ to directories
    Skipping already added directory /home/matze/.spring/
    Adding /home/matze/local/share/games/spring/ to directories
    Using read-write data directory: /home/matze/.spring/
    Using read-only data directory: /home/matze/local/share/games/spring/
    Scanning: /home/matze/local/share/games/spring/base
    Scanning: /home/matze/.spring/maps
    Scanning: /home/matze/.spring/base
    Scanning: /home/matze/.spring/mods
    Scanning: /home/matze/.spring/packages
    Supported Video modes: 1680x1050, 1600x1200, 1440x900, 1400x1050, 1366x768, 1360x768, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1152x648, 1024x768, 800x600, 720x480, 640x480
    Video mode set to 1680x1050/32bit
    [      0] SDL:  1.2.14
    [      0] GL:   3.2.9756 Compatibility Profile Context
    [      0] GL:   ATI Technologies Inc.
    [      0] GL:   ATI Radeon HD 4200
    [      0] GLSL: 1.50
    [      0] GLEW: 1.5.2
    [      0] Joysticks found: 0
    [      0] Joystick 0 not found
    [      0] Connecting to local server
    [      0] Starting GameServer: 8 ms
    [      0] Starting demo recording
    [      0] Using map Castles
    [      0] Recording demo demos/20100628_143458_Castles_0.81+.0.sdf
    [      0] Using mod Balanced Annihilation V7.12
    [      0] Using mod archive 6808a1c99bd99d6796470493cf070f3d.sdp
    [      0] Loading client data: 29 ms
    [      0] User number 0 (team 0, allyteam 0)
    [      0] Sound: OpenAL info:
    [      0] Sound:   Vendor:     OpenAL Community
    [      0] Sound:   Version:    1.1 ALSOFT 1.12.854
    [      0] Sound:   Renderer:   OpenAL Soft
    [      0] Sound:   AL Extensions: AL_EXTX_buffer_sub_data 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_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
    [      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context
    [      0] Sound:                   ALC_EXT_EFX found (required for air absorption): yes
    [      0] Sound:   Device:     PulseAudio Software
    [      0] Sound:   Available Devices:  
    [      0] Sound:                       PulseAudio Software
    [      0] Sound: air absorption enabled: 0.1
    [      0] Sound:  parsed 25 sounds from gamedata/sounds.lua
    [      0] Loading sounds: 2 ms
    [      0] Camera and mouse: 36 ms
    [      0] Parsing unit icons
    [      0] Loading GameData Definitions
    [      0] Loading all definitions:  0.432000
    [      0] Loading GameData Definitions: 473 ms
    [      0] Parsing Map Information
    [      0] Loading SMF
    [      0] Loading Map
    [      0] Calculating smooth height mesh
    [      0] Calculating smooth mesh: 3165 ms
    [      0] Number of damage types: 40
    [      0] Creating unit textures
    [      0] Loading weapon definitions
    [      0] Loading unit definitions
    [      0] Loading feature definitions
    [      0] Initializing map features
    [      0] Reading estimate path costs
    [      0] [CPathManager] pathing data checksum: e12b0c08
    [      0] Loading .smt tile-file "maps/Castles.smt"
    [      0] Loading 4645 tiles from file 1/1
    [      0] Reading tiles
    [      0] Reading tile map
    [      0] generating MipMaps: 21 ms
    [      0] Creating Projectile Textures
    [      0] Creating sky
    [      0] Loading console: 0 ms
    [      0] Loading LuaRules
    [      0] Loaded gadget:  No Self-D           <unit_prevent_share_selfd.lua>
    [      0] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
    [      0] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
    [      0] Loaded gadget:  DirectControl       <unit_direct_control.lua>
    [      0] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
    [      0] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
    [      0] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
    [      0] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
    [      0] Loaded gadget:  Napalm              <lups_napalm.lua>
    [      0] Loaded gadget:  No Land Damage      <unit_no_land_damage.lua>
    [      0] Loaded gadget:  No Self Pwn         <unit_noselfpwn.lua>
    [      0] Loaded gadget:  NoCost              <cmd_nocost.lua>
    [      0] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
    [      0] Loaded gadget:  Prevent Lab Hax     <unit_prevent_lab_hax.lua>
    [      0] Loaded gadget:  Prevent Load Hax    <unit_prevent_load_hax.lua>
    [      0] Loaded gadget:  Prevent Range Hax   <unit_prevent_range_hax.lua>
    [      0] Loaded gadget:  Prevent Strange Orders  <unit_prevent_strange_orders.lua>
    [      0] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
    [      0] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
    [      0] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
    [      0] Loaded gadget:  Spawn               <game_spawn.lua>
    [      0] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
    [      0] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
    [      0] Loaded gadget:  lups_wrapper.lua    <lups_wrapper.lua>
    [      0] Loaded gadget:  Area Attack         <areaattack.lua>
    [      0] Loaded gadget:  C Is For Control    <comiscontrol.lua>
    [      0] Loaded gadget:  Team Com Ends       <teamcomends.lua>
    [      0] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
    [      0] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [      0] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
    [      0] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
    [      0] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
    [      0] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
    [      0] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
    [      0] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
    [      0] Loaded gadget:  Napalm              <lups_napalm.lua>
    [      0] Loaded gadget:  NoCost              <cmd_nocost.lua>
    [      0] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
    [      0] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
    [      0] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
    [      0] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
    [      0] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
    [      0] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
    [      0] Loaded gadget:  mo_enemywrecks      <mo_enemywrecks.lua>
    [      0] Loaded gadget:  mo_greenfields      <mo_greenfields.lua>
    [      0] Loaded gadget:  mo_noowner          <mo_noowner.lua>
    [      0] Loaded gadget:  mo_noshare          <mo_noshare.lua>
    [      0] Loaded gadget:  mo_nowrecks         <mo_nowrecks.lua>
    [      0] Loaded gadget:  Area Attack         <areaattack.lua>
    [      0] Loaded gadget:  C Is For Control    <comiscontrol.lua>
    [      0] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
    [      0] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [      0] Loaded gadget:  Lups                <lups_wrapper.lua>
    [      0] Loading LuaGaia
    [      0] Loading LuaUI
    [      0] Using LUAUI_DIRNAME = LuaUI/
    [      0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
    [      0] LuaUI: bound F11 to the widget selector
    [      0] LuaUI: bound CTRL+F11 to tweak mode
    [      0] Hardware is incompatible with Xray shader requirements
    [      0] Failed to load: gui_advplayerslist.lua  (duplicate name)
    [      0] Failed to load: gui_attack_aoe.lua  (duplicate name)
    [      0] Failed to load: gui_build_eta.lua  (duplicate name)
    [      0] Failed to load: gui_defenserange.lua  (duplicate name)
    [      0] Hardware is incompatible with Xray shader requirements
    [      0] Failed to load: unit_improved_metal_maker.lua  (duplicate name)
    [      0] Loaded widget from mod:   Red_UI_Framework    <red_ui_framework.lua>
    [      0] blur api: your hardware does not support shaders
    [      0] Loaded widget from mod:   BlurApi             <api_gfx_blur.lua>
    [      0] Loaded widget from mod:   MexUpg Helper       <helper.lua>
    [      0] Loaded widget from mod:   Red Tooltip         <gui_red_tooltip.lua>
    [      0] Loaded widget from mod:   HealthBars          <unit_healthbars.lua>
    [      0] Loaded widget from mod:   Ally Resource Bars  <gui_ally_res.lua>
    [      0] Loaded widget from user:  AdvPlayersList      <gui_advplayerslist.lua>
    [      0] Loaded widget from user:  CommanderEnds       <gui_comm_ends.lua>
    [      0] Loaded widget from user:  BuildETA            <gui_build_eta.lua>
    [      0] Loaded widget from mod:   Auto First Build Facing  <autofirstbuildfacing.lua>
    [      0] Loaded widget from mod:   Autoquit            <autoquit.lua>
    [      0] Loaded widget from mod:   CustomIcons         <unit_customicons.lua>
    [      0] Loaded widget from mod:   Point Tracker       <gui_point_tracker.lua>
    [      0] Loaded widget from mod:   MoreSounds          <unit_more_sounds.lua>
    [      0] Loaded widget from mod:   ReclaimInfo         <gui_reclaiminfo.lua>
    [      0] Loaded widget from user:  ImmobileBuilder     <unit_immobile_buider.lua>
    [      0] Loaded widget from mod:   Pause Screen        <gui_pausescreen.lua>
    [      0] Loaded widget from mod:   Transporting        <gui_transporting.lua>
    [      0] Loaded widget from user:  OnlyFightersPatrol  <unit_only_fighters_patrol.lua>
    [      0] Loaded widget from user:  IdleBuildersNEW     <gui_idle_builders_new.lua>
    [      0] Loaded widget from user:  SelectionButtons    <gui_selbuttons.lua>
    [      0] Loaded widget from mod:   Share Tracker       <unit_share_tracker.lua>
    [      0] Loaded widget from user:  MetalMakers         <unit_metal_maker.lua>
    [      0] Loaded widget from mod:   Loop Select         <unit_loop_select.lua>
    [      0] Loaded widget from mod:   Red_Drawing         <red_ui_framework_drawing.lua>
    [      0] Loaded widget from mod:   Red Console         <gui_red_console.lua>
    [      0] Loaded widget from mod:   Red Resource Bars   <gui_red_resourcebars.lua>
    [      0] Loaded widget from mod:   MohoExploiter       <unit_moho_exploiter.lua>
    [      0] Loaded widget from mod:   Red Build/Order Menu  <gui_red_buildordermenu.lua>
    [      0] Loaded widget from mod:   NoDuplicateOrders   <cmd_no_duplicate_orders.lua>
    [      0] Loaded widget from mod:   Build Split         <cmd_buildsplit.lua>
    [      0] Loaded widget from user:  SmartNanos          <unit_smart_nanos.lua>
    [      0] Loaded widget from mod:   Unit Marker         <unit_marker.lua>
    [      0] Loaded widget from user:  Defense Range       <gui_defenseRange.lua>
    [      0] Loaded widget from user:  Comblast Range 1.0  <gui_comblast_range.lua>
    [      0] Loaded widget from mod:   Ghost Site          <unit_ghostsite.lua>
    [      0] Loaded widget from user:  Easy Facing         <gui_easyFacing.lua>
    [      0] Loaded widget from user:  Improved MetalMakers  <unit_improved_metal_maker.lua>
    [      0] Loaded widget from mod:   Take Reminder       <gui_take_remind.lua>
    [      0] Loaded widget from mod:   GameTypeInfo        <gui_game_type_info.lua>
    [      0] Loaded widget from user:  Attack AoE          <gui_attack_aoe.lua>
    [      0] Loaded widget from mod:   Red Minimap         <gui_red_minimap.lua>
    [      0] Loaded widget from mod:   BA Waypoint Dragger  <unit_waypoint_dragger_2.lua>
    [      0] Loaded widget from mod:   LupsManager         <gfx_lups_manager.lua>
    [      0] Loaded widget from mod:   BA_AllyCursors      <gui_ba_ally_cursors.lua>
    [      0] Loaded widget from mod:   Lups                <lups_wrapper.lua>
    [      0] LolUI is now known as RedUI: if you prefer the old LolUI this can be downloaded to your local widgets
    [      0] Loaded widget from mod:   LolUI               <lolui.lua>
    [      0] Loaded widget from mod:   CustomFormations2   <unit_customformations2.lua>
    [      0] LuaUI v0.3
    [      0] Finalizing...
    [      0] Connection attempt from [AG]abma
    [      0]  -> Version: 0.81+.0.0 (Debug)
    [      0]  -> Connection established (given id 0)
    [      0] Player [AG]abma finished loading and is now ingame
    [      0] GameID: fd96284c8043fad59fce5dd21cdf4421
    [      0] [AG]abma added point: Start 0
    [      0] SkirmishAI (with team ID = 1) is using cheats!
    [      0] <SkirmishAI: KAIK 0.13 (team 1)>: KAI Metal Class by Krogothe
    [      0] <SkirmishAI: KAIK 0.13 (team 1)>: KAIK 0.13 Unofficial (built Jun 24 2010) initialized successfully!
    [      0] <SkirmishAI: KAIK 0.13 (team 1)>: logging events to /home/matze/.spring/AI/Skirmish/KAIK/0.13/logs/Castles-a7d3f952_Balanced_Annihilation_V7.12-3ad15ac_6-28-2010_1435_team1.txt
    [      0] <SkirmishAI: KAIK 0.13 (team 1)>: (developed by Krogothe, Tournesol, Firenu; now maintained by Kloot)
    [     31] Skirmish AI "Enemy" took over control of team 1
    [    118] Buildings set to face East
    [  14812] Segmentation fault (SIGSEGV) in spring 0.81+.0.0 (Debug)
    [  14812] Stacktrace:
    [  14812] /home/matze/local/bin/spring() [0xd95663]
    [  14812] /lib/libc.so.6(+0x33af0) [0x7f1c72a3aaf0]
    [  14812] /home/matze/local/bin/spring() [0x70aa78]
    [  14812] /home/matze/local/bin/spring() [0xa26af6]
    [  14812] /home/matze/local/bin/spring() [0xa219ba]
    [  14812] /home/matze/local/bin/spring() [0x73c5e1]
    [  14812] /home/matze/local/bin/spring() [0xd5db1c]
    [  14812] /home/matze/local/bin/spring() [0xd5ddcd]
    [  14812] /home/matze/local/bin/spring() [0xd7ec27]
    [  14812] /home/matze/local/bin/spring() [0xd7ec7f]
    [  14812] /lib/libc.so.6(__libc_start_main+0xfd) [0x7f1c72a25c4d]
    [  14812] /home/matze/local/bin/spring() [0x702709]
    [  14812] Translated Stacktrace:
    [  14812] /home/matze/svn/spring/rts/System/Platform/CrashHandler.cpp:282
    [  14812] ??:0
    [  14812] /home/matze/svn/spring/rts/System/float3.h:213
    [  14812] /home/matze/svn/spring/rts/Rendering/UnitDrawer.cpp:2121
    [  14812] /home/matze/svn/spring/rts/Rendering/UnitDrawer.cpp:314
    [  14812] /home/matze/svn/spring/rts/Game/Game.cpp:3137
    [  14812] /home/matze/svn/spring/rts/System/SpringApp.cpp:949
    [  14812] /home/matze/svn/spring/rts/System/SpringApp.cpp:1057
    [  14812] /home/matze/svn/spring/rts/System/Main.cpp:110
    [  14812] /home/matze/svn/spring/rts/System/Main.cpp:127
    [  14812] ??:0
    [  14812] ??:0
    
    txt file icon infolog.txt (14,714 bytes) 2010-06-28 14:51 +
  • ? file icon 20100628_180416_unnamed_0.81+.0.sdf (42,322 bytes) 2010-06-28 18:05

-Relationships
related to 0001937resolvedKloot crash in CMiniMap::GetUnitIcon 
+Relationships

-Notes

~0005014

abma (administrator)

i now can reproduce it:

build a lab, build a unit in it, when building startet set lab to wait, and then reclaim the lab.

-> crashes always, but it seems to take some time until the crash occours and the backtrace always differs it seems...
+Notes

-Issue History
Date Modified Username Field Change
2010-06-28 14:50 abma New Issue
2010-06-28 14:50 abma File Added: backtrace
2010-06-28 14:51 abma File Added: infolog.txt
2010-06-28 18:05 abma Note Added: 0005014
2010-06-28 18:05 abma File Added: 20100628_180416_unnamed_0.81+.0.sdf
2010-06-28 18:18 Kloot Status new => assigned
2010-06-28 18:18 Kloot Assigned To => Kloot
2010-06-28 19:48 Kloot Relationship added related to 0001937
2010-06-28 19:48 Kloot Status assigned => resolved
2010-06-28 19:48 Kloot Fixed in Version => 0.81.0.0+git
2010-06-28 19:48 Kloot Resolution open => fixed
+Issue History