2025-07-19 14:34 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002211Spring engineGeneralpublic2010-11-10 20:31
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusresolvedResolutionfixed 
Product Version0.82.3+git 
Target VersionFixed in Version 
Summary0002211: Crash in MouseHandler.cpp:776 with current master
DescriptionC:\Programme\Spring\spring.exe 0x00518E29 rts/Game/UI/MouseHandler.cpp:776
C:\Programme\Spring\spring.exe 0x0051C8DA rts/Game/UI/MouseHandler.cpp:867
C:\Programme\Spring\spring.exe 0x0040E523 rts/Game/Game.cpp:1572
C:\Programme\Spring\spring.exe 0x009919C6 rts/System/SpringApp.cpp:1086
C:\Programme\Spring\spring.exe 0x0099CBDB rts/System/SpringApp.cpp:1198
C:\Programme\Spring\spring.exe 0x0099FB3B rts/System/Main.cpp:54
C:\Programme\Spring\spring.exe 0x00B86B50 /slave/mingwlibs/include/boost/thread/detail/thread.hpp:57
C:\Programme\Spring\spring.exe 0x00A62B25 /home/robin/src/boost_1_42_0/libs/thread/src/win32/thread.cpp:167
C:\WINDOWS\system32\MSVCRT.dll 0x77C0A3B0 ??:0
C:\WINDOWS\system32\kernel32.dll 0x7C80B729 ??:0
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (15,916 bytes) 2010-11-07 09:00 -
    LogOutput initialized.
    Spring 0.82+.4.0 (0.82.3-884-gb3b4b5e)
    Build date/time: Nov  6 2010 17:44:21
    Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, 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).
    default config file: C:\Dokumente und Einstellungen\Carsten\Lokale Einstellungen\Anwendungsdaten\springsettings.cfg
    using default configuration source "C:\Dokumente und Einstellungen\Carsten\Lokale Einstellungen\Anwendungsdaten\springsettings.cfg"
    [CMyMath::Init] CPU SSE mask: 120, 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: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Microsoft Windows
    Microsoft Windows XP Home Edition Service Pack 3 (build 2600)
    AMD Athlon(tm) 64 X2 Dual Core Processor 4800+; 2047MB RAM, 3940MB pagefile
    OS: 32bit native mode
    Using read-write data directory: C:\Programme\Spring\
    Using read-only data directory: C:\Dokumente und Einstellungen\Carsten\Eigene Dateien\My Games\Spring\
    Scanning: C:\Dokumente und Einstellungen\Carsten\Eigene Dateien\My Games\Spring\maps
    Scanning: C:\Dokumente und Einstellungen\Carsten\Eigene Dateien\My Games\Spring\mods
    Scanning: C:\Programme\Spring\maps
    Scanning: C:\Programme\Spring\base
    Scanning: C:\Programme\Spring\mods
    Supported Video modes: 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480
    Video mode set to 1024x768/32bit
    [      0] SDL:  1.2.10
    [      0] GL:   3.2.0
    [      0] GL:   NVIDIA Corporation
    [      0] GL:   GeForce 8600 GT/PCI/SSE2/3DNOW!
    [      0] GLSL: 1.50 NVIDIA via Cg compiler
    [      0] GLEW: 1.5.4
    [      0] Joysticks found: 0
    [      0] Joystick 0 not found
    [      0] Connecting to local server
    [      0] Pre-scanning demo file for game data...
    [      0] Starting GameServer
    [      0] GameServer started
    [      0] Reading demo data: 12 ms
    [      0] Using map: DeltaSiegeDry
    [      0] Using mod: Balanced Annihilation V7.19
    [      0] Sound: OpenAL info:
    [      0] Sound:   Vendor:     OpenAL Community
    [      0] Sound:   Version:    1.1 ALSOFT 1.11.753
    [      0] Sound:   Renderer:   OpenAL Soft
    [      0] Sound:   AL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_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_EXTX_thread_local_context
    [      0] Sound:                   ALC_EXT_EFX found (required for air absorption): yes
    [      0] Sound:   Device:     DirectSound Software
    [      0] Sound:   Available Devices:  
    [      0] Sound:                       DirectSound Software
    [      0] Sound: air absorption enabled: 0.1
    [      0] Using mod archive: BA719.sd7
    [      0] Loading client data: 76 ms
    [      0] User number 2 (team 0, allyteam 0)
    [      0] Loading Radar Icons
    [      0] Loading GameData Definitions
    [      0] Loading all definitions:  0.609000
    [      0] Loading GameData Definitions: 669 ms
    [      0] Loading Sound Definitions
    [      0] Sound:  parsed 25 sounds from gamedata/sounds.lua
    [      0] Loading Sound Definitions: 1 ms
    [      0] Parsing Map Information
    [      0] Loading SMF
    [      0] Loading Map
    [      0] Creating Smooth Height Mesh
    [      0] Creating Smooth Mesh: 207 ms
    [      0] Creating QuadField & CEGs
    [      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] Unknown map feature type 
    [      0] Reading Estimate PathCosts [8]
    [      0] Reading Estimate PathCosts [32]
    [      0] [CPathManager] pathing data checksum: 07e0d450
    [      0] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
    [      0] Creating GroundDrawer
    [      0] Loading Tile Files
    [      0] Loading Tile Map
    [      0] generating MipMaps: 10 ms
    [      0] Creating TreeDrawer
    [      0] Creating Projectile Textures
    [      0] Creating Sky & Water
    [      0] Camera and mouse: 141 ms
    [      0] Loading console: 11 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:  Commando Watch      <unit_commando_watch.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:  Hitsphere Scaledown  <unit_hitsphere_scaledown.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               <init_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:  prevent_flying_com_wrecks  <unit_prevent_flying_com_wrecks.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:  Hitsphere Scaledown  <unit_hitsphere_scaledown.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:  prevent_flying_com_wrecks  <unit_prevent_flying_com_wrecks.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] Loading widget from mod:   Red_UI_Framework    <red_ui_framework.lua> ...
    [      0] Loading widget from mod:   BlurApi             <api_gfx_blur.lua> ...
    [      0] Loading widget from mod:   MexUpg Helper       <helper.lua> ...
    [      0] Loading widget from mod:   Red Tooltip         <gui_red_tooltip.lua> ...
    [      0] Loading widget from mod:   HealthBars          <unit_healthbars.lua> ...
    [      0] Loading widget from mod:   AdvPlayersList      <gui_advplayerslist.lua> ...
    [      0] Loading widget from mod:   BuildETA            <gui_build_eta.lua> ...
    [      0] Loading widget from mod:   Auto First Build Facing  <autofirstbuildfacing.lua> ...
    [      0] Loading widget from mod:   Autoquit            <autoquit.lua> ...
    [      0] Loading widget from mod:   Build Split         <cmd_buildsplit.lua> ...
    [      0] Loading widget from mod:   Defense Range       <gui_defenserange.lua> ...
    [      0] Loading widget from mod:   CustomIcons         <unit_customicons.lua> ...
    [      0] Loading widget from mod:   GameTypeInfo        <gui_game_type_info.lua> ...
    [      0] Loading widget from mod:   Ghost Site          <unit_ghostsite.lua> ...
    [      0] Loading widget from mod:   Loop Select         <unit_loop_select.lua> ...
    [      0] Loading widget from mod:   MohoExploiter       <unit_moho_exploiter.lua> ...
    [      0] MohoExploiter widget disabled for spectators
    [      0] Loading widget from mod:   MoreSounds          <unit_more_sounds.lua> ...
    [      0] Loading widget from mod:   Pause Screen        <gui_pausescreen.lua> ...
    [      0] Loading widget from mod:   NoDuplicateOrders   <cmd_no_duplicate_orders.lua> ...
    [      0] Loading widget from mod:   Point Tracker       <gui_point_tracker.lua> ...
    [      0] Loading widget from mod:   ReclaimInfo         <gui_reclaiminfo.lua> ...
    [      0] Loading widget from mod:   Red Build/Order Menu  <gui_red_buildordermenu.lua> ...
    [      0] Loading widget from mod:   Red Console         <gui_red_console.lua> ...
    [      0] Loading widget from mod:   Red Resource Bars   <gui_red_resourcebars.lua> ...
    [      0] Loading widget from mod:   Red_Drawing         <red_ui_framework_drawing.lua> ...
    [      0] Loading widget from mod:   Share Tracker       <unit_share_tracker.lua> ...
    [      0] Loading widget from mod:   Transporting        <gui_transporting.lua> ...
    [      0] Loading widget from mod:   XrayHighlight       <gui_xray_highlight.lua> ...
    [      0] Loading widget from mod:   Take Reminder       <gui_take_remind.lua> ...
    [      0] Loading widget from mod:   Attack AoE          <gui_attack_aoe.lua> ...
    [      0] Loading widget from mod:   Red Minimap         <gui_red_minimap.lua> ...
    [      0] Loading widget from mod:   BA Waypoint Dragger  <unit_waypoint_dragger_2.lua> ...
    [      0] Loading widget from mod:   Select n Center!    <gui_center_n_select.lua> ...
    [      0] Loading widget from mod:   LupsManager         <gfx_lups_manager.lua> ...
    [      0] Loading widget from mod:   BA_AllyCursors      <gui_ba_ally_cursors.lua> ...
    [      0] Loading widget from user:  Mouse Buildspacing  <gui_buildspacing.lua> ...
    [      0] Loading widget from mod:   Lups                <lups_wrapper.lua> ...
    [      0] Loading widget from mod:   CustomFormations2   <unit_customformations2.lua> ...
    [      0] LuaUI v0.3
    [      0] Finalizing
    [      0] <Ghost Site> Spectator mode. Widget removed.
    [      0] Opening demofile C:\Programme\Spring\demos\20101107_084244_DeltaSiegeDry_0.82+.4.sdf
    [      0] Connection attempt from UnnamedPlayer (spec)
    [      0]  -> Version: 0.82+.4.0 (0.82.3-884-gb3b4b5e)
    [      0]  -> Connection established (given id 2)
    [      0] Spectator UnnamedPlayer (spec) finished loading and is now ingame
    [      0] Beginning demo playback
    [      0] Connection attempt from UnnamedPlayer
    [      0]  -> Version: 0.82+.4.0 (0.82.3-884-gb3b4b5e)
    [      0]  -> Connection established (given id 0)
    [      0] Player UnnamedPlayer finished loading and is now ingame
    [      0] GameID: 9158d64c8599e031fd3865224717ca39
    [      0] UnnamedPlayer added point: Start 0
    [      0] Enemy added point: Start 1
    [      0] LuaRules::RunCallIn: error = 2, GameStart, [string "LuaRules/Gadgets/init_game_spawn.lua"]:73: attempt to call field 'SetUnitLineage' (a nil value)
    stack traceback:
    	[string "LuaRules/Gadgets/init_game_spawn.lua"]:73: in function 'SpawnStartUnit'
    	[string "LuaRules/Gadgets/init_game_spawn.lua"]:130: in function 'GameStart'
    	[string "LuaRules/gadgets.lua"]:917: in function <[string "LuaRules/gadgets.lua"]:915>
    	(tail call): ?
    [     30] <DefenseRange> Spectator mode. Widget removed.
    [    320] End of demo reached
    [    397] Spring 0.82+.4.0 (0.82.3-884-gb3b4b5e) has crashed.
    [    397] Exception: Access violation (0xc0000005)
    [    397] Exception Address: 0x00518e29
    [    397] DLL information:
    [    397] 0x00400000	spring
    [    397] 0x7c910000	ntdll
    [    397] 0x7c800000	kernel32
    [    397] 0x10000000	DevIL
    [    397] 0x77be0000	MSVCRT
    [    397] 0x77da0000	ADVAPI32
    [    397] 0x77e50000	RPCRT4
    [    397] 0x77fc0000	Secur32
    [    397] 0x68fc0000	GLU32
    [    397] 0x5f0d0000	OPENGL32
    [    397] 0x77ef0000	GDI32
    [    397] 0x7e360000	USER32
    [    397] 0x736d0000	DDRAW
    [    397] 0x73b30000	DCIMAN32
    [    397] 0x76c50000	IMAGEHLP
    [    397] 0x6fbc0000	mingwm10
    [    397] 0x7e670000	SHELL32
    [    397] 0x77f40000	SHLWAPI
    [    397] 0x71a10000	WS2_32
    [    397] 0x71a00000	WS2HELP
    [    397] 0x61b80000	zlib1
    [    397] 0x70780000	vorbisfile
    [    397] 0x68140000	ogg
    [    397] 0x64cc0000	vorbis
    [    397] 0x6b600000	OpenAL32
    [    397] 0x76af0000	WINMM
    [    397] 0x66fc0000	freetype6
    [    397] 0x62aa0000	glew32
    [    397] 0x01ea0000	SDL
    [    397] 0x7c340000	MSVCR71
    [    397] 0x773a0000	comctl32
    [    397] 0x5d450000	comctl32
    [    397] 0x73e70000	dsound
    [    397] 0x774b0000	ole32
    [    397] 0x77bd0000	VERSION
    [    397] 0x76bf0000	WINTRUST
    [    397] 0x77a50000	CRYPT32
    [    397] 0x77af0000	MSASN1
    [    397] 0x72c90000	wdmaud
    [    397] 0x72c80000	msacm32
    [    397] 0x77bb0000	MSACM32
    [    397] 0x77ba0000	midimap
    [    397] 0x5b0f0000	uxtheme
    [    397] 0x69500000	nvoglnt
    [    397] 0x72210000	DINPUT
    [    397] 0x68d90000	HID
    [    397] 0x778f0000	SETUPAPI
    [    397] 0x73e40000	KsUser
    [    397] 0x59dd0000	DBGHELP
    [    397] Stacktrace:
    [    397] (0) C:\Programme\Spring\spring.exe [0x00518E29]
    [    397] (1) C:\Programme\Spring\spring.exe [0x0051C8DA]
    [    397] (2) C:\Programme\Spring\spring.exe [0x0040E523]
    [    397] (3) C:\Programme\Spring\spring.exe [0x009919C6]
    [    397] (4) C:\Programme\Spring\spring.exe [0x0099CBDB]
    [    397] (5) C:\Programme\Spring\spring.exe [0x0099FB3B]
    [    397] (6) C:\Programme\Spring\spring.exe [0x00B86B50]
    [    397] (7) C:\Programme\Spring\spring.exe [0x00A62B25]
    [    397] (8) C:\WINDOWS\system32\MSVCRT.dll(endthreadex+0xa9) [0x77C0A3B0]
    [    397] (9) C:\WINDOWS\system32\kernel32.dll(GetModuleFileNameA+0x1ba) [0x7C80B729]
    
    txt file icon infolog.txt (15,916 bytes) 2010-11-07 09:00 +

-Relationships
related to 0002197resolvedKloot AI KAIK SIGSEGV near end of game 
+Relationships

-Notes

~0005841

hoijui (reporter)

Last edited: 2010-11-07 13:52

[ 320] End of demo reached
[ 397] Spring 0.82+.4.0 (0.82.3-884-gb3b4b5e) has crashed.
[ 397] Exception: Access violation (0xc0000005)
[ 397] Exception Address: 0x00518e29

https://github.com/spring/spring/blob/master/rts/Game/UI/MouseHandler.cpp#L776

scaleT and scaleB should always have the exact same values, therefore,
the call on line 776 should be equal to the one in 772, except the second parameter having the opposite sign.
To me, it seems pretty clear that this can only be a GFX driver error, as glVertex2f goes directly there, in normal spring (non-headless, non-MT).

... or of course, some genuine memory corruption.

~0005848

abma (administrator)

i'm unsure, but i think it was kaik/ can't reproduce it
+Notes

-Issue History
Date Modified Username Field Change
2010-11-07 09:00 abma New Issue
2010-11-07 09:00 abma File Added: infolog.txt
2010-11-07 11:53 hoijui Note Added: 0005841
2010-11-07 13:52 hoijui Note Edited: 0005841
2010-11-07 13:52 hoijui Note Edited: 0005841
2010-11-07 23:06 abma Relationship added child of 0002197
2010-11-07 23:07 abma Note Added: 0005848
2010-11-07 23:08 abma Relationship replaced related to 0002197
2010-11-10 20:31 Kloot Status new => resolved
2010-11-10 20:31 Kloot Resolution open => fixed
2010-11-10 20:31 Kloot Assigned To => Kloot
+Issue History