2025-07-20 23:37 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001076Spring engineGeneralpublic2008-10-11 19:23
ReporterRegret 
Assigned Toimbaczek 
PrioritynormalSeveritycrashReproducibilityrandom
StatusresolvedResolutionfixed 
Product Version0.77b2 
Target VersionFixed in Version 
Summary0001076: ground decals crash
DescriptionNo idea whatsoever.

REPRODUCING-HOWTO http://spring.clan-sy.com/phpbb/viewtopic.php?p=311192#p311192
Additional Informatione:/projects/libogg-1.1/src/bitwise.c:447
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/stl_tree.h:258
/home/spring/src/winTag_spring_0.77b2/rts/Rendering/GroundDecalHandler.cpp:446
/home/spring/src/winTag_spring_0.77b2/rts/Map/SMF/BFGroundDrawer.cpp:747
/home/spring/src/winTag_spring_0.77b2/rts/Game/Game.cpp:2529
/home/spring/src/winTag_spring_0.77b2/rts/Game/Game.cpp:2778
/home/spring/src/winTag_spring_0.77b2/rts/System/SpringApp.cpp:880
/home/spring/src/winTag_spring_0.77b2/rts/System/SpringApp.cpp:1068
/home/spring/src/winTag_spring_0.77b2/rts/System/Main.cpp:60
/home/spring/src/winTag_spring_0.77b2/rts/System/Main.cpp:122
Action.cpp:0
/home/ron/devel/debian/mingw32-runtime/mingw32-runtime-3.13/build_dir/src/mingw-runtime-3.13-20070825-1/crt1.c:237
/home/ron/devel/debian/mingw32-runtime/mingw32-runtime-3.13/build_dir/src/mingw-runtime-3.13-20070825-1/crt1.c:271
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (11,063 bytes) 2008-10-09 00:01 -
    Using script script.txt
    using configuration source "Software\SJ\Spring 0.77b2"
    OS: Microsoft Windows XP Professional Service Pack 2 (build 2600)
    Hardware: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz; 3327MB RAM, 5214MB pagefile
    Using read-write data directory: F:\Spring\
    Scanning: F:\Spring\maps
    Scanning: F:\Spring\base
    Scanning: F:\Spring\mods
    Video mode set to  1440 x 900 / 32 bit
    [      0] SDL:  1.2.10
    [      0] GL:   2.1.2
    [      0] GL:   NVIDIA Corporation
    [      0] GL:   GeForce 9600 GT/PCI/SSE2
    [      0] GLEW: 1.4.0
    [      0] Connecting to server
    [      0] Connecting to 70.15.34.14:8452 using number 9
    [      0] Connecting to server .
    [      0] Connecting to server  
    [      0] Waiting on game data
    [      0] Became player 9
    [      0] Using map DeltaSiegeDry.smf
    [      0] Recording demo demos/20081008_234918_DeltaSiegeDry_0.77b2.sdf
    [      0] Using script Commanders
    [      0] Using mod Balanced Annihilation V6.41
    [      0] Parsing unit icons
    [      0] Loading all definitions:  0.523000
    [      0] Opening map file
    [      0] Loading Map
    [      0] Loading detail textures
    [      0] Creating overhead texture
    [      0] Creating ground shading
    [      0] Loading tile file
    [      0] Reading tiles
    [      0] Reading tile map
    [      0] Creating projectile texture
    [      0] Number of damage types: 42
    [      0] Loading weapon definitions
    [      0] Loading unit definitions
    [      0] Loading feature definitions
    [      0] Creating unit textures
    [      0] Initializing map features
    [      0] Unknown map feature type 
    [      0] Reading estimate path costs (1 thread)
    [      0] Pathing data checksum: 532eb5e4
    [      0] Creating sky
    [      0] Loading LuaRules
    [      0] LUARULES-DRAW  (GADGETS)
    [      0] error = 2, LuaRules/draw.lua, error = 2, LuaRules/gadgets.lua, [string "Lups/lups.lua"]:46: attempt to get length of global 'arg' (a nil value)
    [      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 Toon shader requirements
    [      0] Hardware is incompatible with Xray shader requirements
    [      0] Failed to load: simple_clock.lua  (Include() could not load 'LuaUI/Headers/spring.h.lua')
    [      0] Failed to load: gui_center_n_select.lua  (duplicate name)
    [      0] Failed to load: gui_defenserange.lua  (duplicate name)
    [      0] Failed to load: gui_hilight_unit.lua  (duplicate name)
    [      0] Failed to load: gui_limit_dgun.lua  (duplicate name)
    [      0] Failed to load: gui_transporting.lua  (duplicate name)
    [      0] Failed to load: helper.lua  (duplicate name)
    [      0] Failed to load: unit_customformations.lua  (duplicate name)
    [      0] Failed to load: unit_healthbars.lua  (duplicate name)
    [      0] ahoj
    [      0] Loaded widget:  MexUpg Helper       <helper.lua>
    [      0] Loaded widget:  HealthBars          <unit_healthbars.lua>
    [      0] Loaded widget:  Export Heightmap    <export_heightmap.lua>
    [      0] Loaded widget:  DGunLimit           <gui_limit_dgun.lua>
    [      0] Loaded widget:  CommanderEnds2      <gui_comm_ends2.lua>
    [      0] Loaded widget:  Transporting        <gui_transporting.lua>
    [      0] Loaded widget:  ImmobileBuilder     <unit_immobile_buider.lua>
    [      0] Loaded widget:  MetalMakers123      <Copy of unit_metal_maker.lua>
    [      0] Loaded widget:  Defense Range v3.4  <gui_defenseRange.lua>
    [      0] Loaded widget:  ReclaimInfo         <gui_reclaiminfo.lua>
    [      0] Loaded widget:  Ghost Radar v1.11   <unit_ghostRadar.lua>
    [      0] Retrieving names
    [      0] false
    [      0] Error in Initialize(): [string "F:\Spring\LuaUI\Widgets\gui_PlayerBonus.lua"]:47: table index is nil
    [      0] Removed widget: AlertOnPlayerBonus
    [      0] Loaded widget:  AlertOnPlayerBonus  <gui_PlayerBonus.lua>
    [      0] Loaded widget:  MiniMap Start Boxes  <minimap_startbox.lua>
    [      0] Loaded widget:  MiniMap Start Boxes2  <minimap_startbox2.lua>
    [      0] Loaded widget:  take com control too  <takecomcontroltoo.lua>
    [      0] Loaded widget:  Attack AoE          <gui_attack_aoe.lua>
    [      0] Loaded widget:  HighlightUnit       <gui_hilight_unit.lua>
    [      0] Loaded widget:  CommandInsert       <gui_commandinsert.lua>
    [      0] Loaded widget:  Select n Center!    <gui_center_n_select.lua>
    [      0] Loaded widget:  TheAD               <thead.lua>
    [      0] Loaded widget:  CustomFormations    <unit_customformations.lua>
    [      0] LuaUI v0.3
    [      0] Finalizing...
    [      0] Spring 0.77b2
    [      0] false
    [      0] Error in Update(): [string "F:\Spring\LuaUI\Widgets\gui_defenseRange.lu..."]:397: attempt to call field 'mod' (a nil value)
    [      0] Removed widget: Defense Range v3.4
    [      0] New connection established in 9 (wanted number was 9)
    [      0] New connection established in 2 (wanted number was 2)
    [      0] New connection established in 4 (wanted number was 4)
    [      0] New connection established in 8 (wanted number was 8)
    [      0] New connection established in 16 (wanted number was 16)
    [      0] New connection established in 13 (wanted number was 13)
    [      0] Player aweres joined as 11
    [      0] Player [V]XmasSlaughter joined as 10
    [      0] New connection established in 5 (wanted number was 5)
    [      0] Player [GTO] joined as 0
    [      0] Player [BABA]1053r joined as 1
    [      0] Player [K]Regret joined as 9
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] Player jeffy joined as 14
    [      0] [K]Regret added point: Start 9
    [      0] [BABA]1053r added point: Start 1
    [      0] [K]Regret added point: Start 9
    [      0] Player dhag joined as 6
    [      0] New connection established in 12 (wanted number was 12)
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] Player solis joined as 4
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] Player pluck joined as 15
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] dhag added point: Start 6
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]1053r added point: Start 1
    [      0] dhag added point: Start 6
    [      0] dhag added point: Start 6
    [      0] dhag added point: Start 6
    [      0] Player slowpork joined as 13
    [      0] dhag added point: Start 6
    [      0] dhag added point: Start 6
    [      0] dhag added point: Start 6
    [      0] Player ForceCommander joined as 8
    [      0] Player [eXe]Tigereye1337 joined as 16
    [      0] Player [DP]Bozoman_ joined as 2
    [      0] solis added point: Start 4
    [      0] Player [BABA]madhatter joined as 3
    [      0] [BABA]madhatter added point: Start 3
    [      0] Player zioupla joined as 7
    [      0] [BABA]madhatter added point: Start 3
    [      0] [BABA]1053r added point: Start 1
    [      0] [BABA]madhatter added point: Start 3
    [      0] [BABA]1053r added point: Start 1
    [      0] Player vampek joined as 5
    [      0] [BABA]madhatter added point: Start 3
    [      0] [BABA]madhatter added point: Start 3
    [      0] [BABA]madhatter added point: Start 3
    [      0] vampek added point: Start 5
    [      0] Player [KoS]mrhankypoo joined as 12
    [      0] vampek added point: Start 5
    [      0] [jeffy] pls re
    [      0] vampek added point: Start 5
    [      0] [jeffy] so i can play
    [      0] vampek added point: Start 5
    [      0] Player [KoS]mrhankypoo left the game:  normal quit
    [      0] Spectator [KoS]mrhankypoo left
    [      0] vampek added point: Start 5
    [      0] dhag added point: Start 6
    [      0] solis added point: Start 4
    [      0] <[BABA]1053r> rup
    [      0] Player jeffy left the game:  normal quit
    [      0] Spectator jeffy left
    [      0] GameID: 472bed48b79ee9089e4ae0d3d944a5c5
    [    431] Speed set to 1.5 [aweres]
    [    498] Speed set to 1.0 [aweres]
    [    862] Buildings set to face West
    [    868] Buildings set to face North
    [    879] Buildings set to face East
    [   1215] Speed set to 0.8 [[K]Regret]
    [   1230] Speed set to 1.0 [[K]Regret]
    [   3582] No sync response from pluck for frame 3281
    [   3983] No sync response from pluck for frame 3682
    [   4191] Player pluck left the game:  timeout
    [   4191] Lost connection to pluck
    [   4549] <[BABA]1053r> .take
    [   6084] Spring 0.77b2 has crashed.
    [   6084] Exception: Access violation (0xc0000005)
    [   6084] Exception Address: 0x00a61b1a
    [   6084] DLL information:
    [   6084] 0x00400000	spring
    [   6084] 0x7c900000	ntdll
    [   6084] 0x7c800000	kernel32
    [   6084] 0x77dd0000	ADVAPI32
    [   6084] 0x77e70000	RPCRT4
    [   6084] 0x73f10000	dsound
    [   6084] 0x77c10000	msvcrt
    [   6084] 0x77d40000	USER32
    [   6084] 0x77f10000	GDI32
    [   6084] 0x774e0000	ole32
    [   6084] 0x76b40000	WINMM
    [   6084] 0x77c00000	VERSION
    [   6084] 0x68b20000	GLU32
    [   6084] 0x5ed00000	OPENGL32
    [   6084] 0x73760000	DDRAW
    [   6084] 0x73bc0000	DCIMAN32
    [   6084] 0x76c90000	IMAGEHLP
    [   6084] 0x6fbc0000	mingwm10
    [   6084] 0x7c9c0000	SHELL32
    [   6084] 0x77f60000	SHLWAPI
    [   6084] 0x71ad0000	WSOCK32
    [   6084] 0x71ab0000	WS2_32
    [   6084] 0x71aa0000	WS2HELP
    [   6084] 0x6ed80000	glew32
    [   6084] 0x10000000	SDL
    [   6084] 0x7c340000	MSVCR71
    [   6084] 0x00de0000	DevIL
    [   6084] 0x66fc0000	freetype6
    [   6084] 0x61b80000	zlib1
    [   6084] 0x003d0000	ILU
    [   6084] 0x773d0000	comctl32
    [   6084] 0x5d090000	comctl32
    [   6084] 0x5ad70000	uxtheme
    [   6084] 0x69500000	nvoglnt
    [   6084] 0x71a50000	mswsock
    [   6084] 0x662b0000	hnetcfg
    [   6084] 0x71a90000	wshtcpip
    [   6084] 0x72d20000	wdmaud
    [   6084] 0x76c30000	WINTRUST
    [   6084] 0x77a80000	CRYPT32
    [   6084] 0x77b20000	MSASN1
    [   6084] 0x72d10000	msacm32
    [   6084] 0x77be0000	MSACM32
    [   6084] 0x77bd0000	midimap
    [   6084] 0x73ee0000	KsUser
    [   6084] 0x04750000	gkh
    [   6084] 0x59a60000	DBGHELP
    [   6084] Stacktrace:
    [   6084] (0) F:\Spring\spring.exe [0x00A61B1A]
    [   6084] (1) F:\Spring\spring.exe [0x009832DA]
    [   6084] (2) F:\Spring\spring.exe [0x00652305]
    [   6084] (3) F:\Spring\spring.exe [0x0081A7E1]
    [   6084] (4) F:\Spring\spring.exe [0x00825115]
    [   6084] (5) F:\Spring\spring.exe [0x005B91E9]
    [   6084] (6) F:\Spring\spring.exe [0x005C5320]
    [   6084] (7) F:\Spring\spring.exe [0x005B807D]
    [   6084] (8) F:\Spring\spring.exe [0x005B8279]
    [   6084] (9) F:\Spring\spring.exe [0x00A2DAD1]
    [   6084] (10) F:\Spring\spring.exe [0x004010A7]
    [   6084] (11) F:\Spring\spring.exe [0x00401123]
    [   6084] (12) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816D4F]
    
    txt file icon infolog.txt (11,063 bytes) 2008-10-09 00:01 +
  • ? file icon 20081008_234916_unnamed_0.77b2.sdf (112,934 bytes) 2008-10-09 11:28
  • txt file icon infologfromreplay.txt (5,220 bytes) 2008-10-09 11:52 -
    Using demofile 20081008_234916_unnamed_0.77b2.sdf
    using configuration source "Software\SJ\Spring 0.77b2"
    OS: Microsoft Windows XP Professional Service Pack 2 (build 2600)
    Hardware: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz; 3327MB RAM, 5214MB pagefile
    Using read-write data directory: F:\Spring\
    Scanning: F:\Spring\maps
    Scanning: F:\Spring\base
    Scanning: F:\Spring\mods
    Video mode set to  1440 x 900 / 32 bit
    [      0] SDL:  1.2.10
    [      0] GL:   2.1.2
    [      0] GL:   NVIDIA Corporation
    [      0] GL:   GeForce 9600 GT/PCI/SSE2
    [      0] GLEW: 1.4.0
    [      0] Pre-scanning demo file for game data...
    [      0] Connecting to local server using number 0
    [      0] Read GameSetup from Demofile
    [      0] Became player 17
    [      0] Using map DeltaSiegeDry.smf
    [      0] Using script Commanders
    [      0] Using mod Balanced Annihilation V6.41
    [      0] Connecting to server .
    [      0] Parsing unit icons
    [      0] Loading all definitions:  0.516000
    [      0] Opening map file
    [      0] Loading Map
    [      0] Loading detail textures
    [      0] Creating overhead texture
    [      0] Creating ground shading
    [      0] Loading tile file
    [      0] Reading tiles
    [      0] Reading tile map
    [      0] error = 2, teamcolors.lua, [string "teamcolors.lua"]:61: attempt to index field '?' (a nil value)
    [      0] teamcolors.lua: luaParser.Execute() failed
    [      0] Creating projectile texture
    [      0] Number of damage types: 42
    [      0] Loading weapon definitions
    [      0] Loading unit definitions
    [      0] Loading feature definitions
    [      0] Creating unit textures
    [      0] Initializing map features
    [      0] Unknown map feature type 
    [      0] Reading estimate path costs (1 thread)
    [      0] Pathing data checksum: 532eb5e4
    [      0] Creating sky
    [      0] Loading LuaRules
    [      0] LUARULES-DRAW  (GADGETS)
    [      0] Spring 0.77b2 has crashed.
    [      0] Exception: Access violation (0xc0000005)
    [      0] Exception Address: 0x03b3fd41
    [      0] DLL information:
    [      0] 0x00400000	spring
    [      0] 0x7c900000	ntdll
    [      0] 0x7c800000	kernel32
    [      0] 0x77dd0000	ADVAPI32
    [      0] 0x77e70000	RPCRT4
    [      0] 0x73f10000	dsound
    [      0] 0x77c10000	msvcrt
    [      0] 0x77d40000	USER32
    [      0] 0x77f10000	GDI32
    [      0] 0x774e0000	ole32
    [      0] 0x76b40000	WINMM
    [      0] 0x77c00000	VERSION
    [      0] 0x68b20000	GLU32
    [      0] 0x5ed00000	OPENGL32
    [      0] 0x73760000	DDRAW
    [      0] 0x73bc0000	DCIMAN32
    [      0] 0x76c90000	IMAGEHLP
    [      0] 0x6fbc0000	mingwm10
    [      0] 0x7c9c0000	SHELL32
    [      0] 0x77f60000	SHLWAPI
    [      0] 0x71ad0000	WSOCK32
    [      0] 0x71ab0000	WS2_32
    [      0] 0x71aa0000	WS2HELP
    [      0] 0x6ed80000	glew32
    [      0] 0x10000000	SDL
    [      0] 0x7c340000	MSVCR71
    [      0] 0x00de0000	DevIL
    [      0] 0x66fc0000	freetype6
    [      0] 0x61b80000	zlib1
    [      0] 0x003d0000	ILU
    [      0] 0x773d0000	comctl32
    [      0] 0x5d090000	comctl32
    [      0] 0x5ad70000	uxtheme
    [      0] 0x69500000	nvoglnt
    [      0] 0x71a50000	mswsock
    [      0] 0x662b0000	hnetcfg
    [      0] 0x71a90000	wshtcpip
    [      0] 0x72d20000	wdmaud
    [      0] 0x76c30000	WINTRUST
    [      0] 0x77a80000	CRYPT32
    [      0] 0x77b20000	MSASN1
    [      0] 0x72d10000	msacm32
    [      0] 0x77be0000	MSACM32
    [      0] 0x77bd0000	midimap
    [      0] 0x73ee0000	KsUser
    [      0] 0x59a60000	DBGHELP
    [      0] Stacktrace:
    [      0] (0) Unknown [0x03B3FD41]
    [      0] (1) F:\Spring\spring.exe [0x00C56197]
    [      0] (2) F:\Spring\spring.exe [0x00816105]
    [      0] (3) F:\Spring\spring.exe [0x00816E95]
    [      0] (4) F:\Spring\spring.exe [0x00816F01]
    [      0] (5) F:\Spring\spring.exe [0x0081718C]
    [      0] (6) F:\Spring\spring.exe [0x00800AFF]
    [      0] (7) F:\Spring\spring.exe [0x00816630]
    [      0] (8) F:\Spring\spring.exe [0x0080F431]
    [      0] (9) F:\Spring\spring.exe [0x00815E72]
    [      0] (10) F:\Spring\spring.exe [0x00815F1F]
    [      0] (11) F:\Spring\spring.exe [0x0080F2AD]
    [      0] (12) F:\Spring\spring.exe [0x007AD591]
    [      0] (13) F:\Spring\spring.exe [0x007ADAB9]
    [      0] (14) F:\Spring\spring.exe [0x008162EB]
    [      0] (15) F:\Spring\spring.exe [0x008003AA]
    [      0] (16) F:\Spring\spring.exe [0x00816630]
    [      0] (17) F:\Spring\spring.exe [0x0080F431]
    [      0] (18) F:\Spring\spring.exe [0x00815E72]
    [      0] (19) F:\Spring\spring.exe [0x00815F1F]
    [      0] (20) F:\Spring\spring.exe [0x0080F2AD]
    [      0] (21) F:\Spring\spring.exe [0x0077BED3]
    [      0] (22) F:\Spring\spring.exe [0x0077E8A2]
    [      0] (23) F:\Spring\spring.exe [0x0078048C]
    [      0] (24) F:\Spring\spring.exe [0x0076FF7A]
    [      0] (25) F:\Spring\spring.exe [0x00771D75]
    [      0] (26) F:\Spring\spring.exe [0x008352E5]
    [      0] (27) F:\Spring\spring.exe [0x008A5B98]
    [      0] (28) F:\Spring\spring.exe [0x005B918B]
    [      0] (29) F:\Spring\spring.exe [0x005C5320]
    [      0] (30) F:\Spring\spring.exe [0x005B807D]
    [      0] (31) F:\Spring\spring.exe [0x005B8279]
    [      0] (32) F:\Spring\spring.exe [0x00A2DAD1]
    [      0] (33) F:\Spring\spring.exe [0x004010A7]
    [      0] (34) F:\Spring\spring.exe [0x00401123]
    [      0] (35) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816D4F]
    
    txt file icon infologfromreplay.txt (5,220 bytes) 2008-10-09 11:52 +

-Relationships
+Relationships

-Notes

~0002704

imbaczek (reporter)

ground decals after all ;p i sense 77b3 soon...

~0002705

imbaczek (reporter)

added stacktrace

~0002707

imbaczek (reporter)

replay please?

~0002718

Regret (reporter)

replay uploaded

~0002720

imbaczek (reporter)

one more question - does the replay crash for you?

~0002722

Regret (reporter)

Last edited: 2008-10-09 11:58

the replay crashes at random, didn't crash like 5x and then did once

edit:uploaded infolog from replay
edit2: it crashes during loading of the replay, not ingame

~0002724

imbaczek (reporter)

Last edited: 2008-10-09 12:06

your second stacktrace is somewhere in Lua, i think it's a different bug, probably 001060. (or a mod issue, i dunno.)

e:/projects/libogg-1.1/src/bitwise.c:447
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:100
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldebug.cpp:612
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldebug.cpp:621
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldebug.cpp:562
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/lvm.cpp:551
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:377
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/lapi.cpp:818
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:119
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:462
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/lapi.cpp:839
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaVFS.cpp:192
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaVFS.cpp:215
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:321
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/lvm.cpp:616
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:377
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/lapi.cpp:818
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:119
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/ldo.cpp:462
/home/spring/src/winTag_spring_0.77b2/rts/lib/lua/src/lapi.cpp:839
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaHandle.h:344
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaHandleSynced.cpp:513
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaHandleSynced.cpp:329
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaHandleSynced.cpp:150
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:288
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:483
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaRules.cpp:109
/home/spring/src/winTag_spring_0.77b2/rts/Lua/LuaRules.cpp:68
/home/spring/src/winTag_spring_0.77b2/rts/Game/Game.cpp:453
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:288
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:483
/home/spring/src/winTag_spring_0.77b2/rts/Game/PreGame.cpp:340
/home/spring/src/winTag_spring_0.77b2/rts/System/SpringApp.cpp:870
/home/spring/src/winTag_spring_0.77b2/rts/System/SpringApp.cpp:1068
/home/spring/src/winTag_spring_0.77b2/rts/System/Main.cpp:60
/home/spring/src/winTag_spring_0.77b2/rts/System/Main.cpp:122
Action.cpp:0
/home/ron/devel/debian/mingw32-runtime/mingw32-runtime-3.13/build_dir/src/mingw-runtime-3.13-20070825-1/crt1.c:237
/home/ron/devel/debian/mingw32-runtime/mingw32-runtime-3.13/build_dir/src/mingw-runtime-3.13-20070825-1/crt1.c:271

~0002747

Kloot (developer)

Last edited: 2008-10-10 01:58

Caught it:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232701728 (LWP 14419)]
0x080e418d in DrawBuildingDecal (decal=0xd98b9e8) at rts/Rendering/GroundDecalHandler.cpp:248
248 yv[0] = HEIGHT(zh, xh ); yv[1] = HEIGHT(zh, xh + 1);
(gdb) bt
#0 0x080e418d in DrawBuildingDecal (decal=0xd98b9e8) at rts/Rendering/GroundDecalHandler.cpp:248
#1 0x080db2ce in CGroundDecalHandler::Draw (this=0x91f8b98) at rts/Rendering/GroundDecalHandler.cpp:443
#2 0x080bcfe0 in CBFGroundDrawer::Draw (this=0x8fa4800, drawWaterReflection=false, drawUnitReflection=false, overrideVP=0) at rts/Map/SMF/BFGroundDrawer.cpp:747
0000003 0x081e843f in CGame::DrawWorld (this=0x8c461b8) at rts/Game/Game.cpp:2529
0000004 0x081e9159 in CGame::Draw (this=0x8c461b8) at rts/Game/Game.cpp:2760
0000005 0x084fb59a in SpringApp::Update (this=0xbfa4f168) at rts/System/SpringApp.cpp:880
#6 0x085009b6 in SpringApp::Run (this=0xbfa4f168, argc=2, argv=0xbfa4f244) at rts/System/SpringApp.cpp:1068
#7 0x08525a88 in Run (argc=2, argv=0xbfa4f244) at rts/System/Main.cpp:95
#8 0x08525ae4 in main (argc=226674584, argv=0xe3c5de8) at rts/System/Main.cpp:111

However...

print zh
$1 = 377
(gdb) print xh
$2 = 1228

... are not out of the heightmap bounds for DSD:

(gdb) print gs->mapx
$3 = 1280
(gdb) print gs->mapy
$4 = 640

The computed HM index is (zh * (gs->mapx + 1) + xh) == 484165, which is less than (gs->mapx + 1) * (gs->mapy + 1) (the size of the heightmap array).

EDIT: found and fixed, the HEIGHT() macro was being passed x and z in reverse order.

~0002748

imbaczek (reporter)

well done! too late for 77b3 tho, will need 77b4 probably.

~0002749

Kloot (developer)

Last edited: 2008-10-10 02:13

I suppose it could still be merged into tags/77b3, dunno how far along the release process is though.

edit: OK, too far ;)

~0002750

imbaczek (reporter)

installers and debs are built, uploaded and mirrored; needs only lobby server hot version swap.
+Notes

-Issue History
Date Modified Username Field Change
2008-10-09 00:01 Regret New Issue
2008-10-09 00:01 Regret File Added: infolog.txt
2008-10-09 00:23 imbaczek Note Added: 0002704
2008-10-09 00:44 imbaczek Note Added: 0002705
2008-10-09 00:44 imbaczek Additional Information Updated
2008-10-09 01:02 imbaczek Note Added: 0002707
2008-10-09 01:02 imbaczek Status new => feedback
2008-10-09 01:03 imbaczek Summary random crash is random => ground decals crash
2008-10-09 02:24 imbaczek Severity major => crash
2008-10-09 11:28 Regret File Added: 20081008_234916_unnamed_0.77b2.sdf
2008-10-09 11:28 Regret Note Added: 0002718
2008-10-09 11:35 imbaczek Note Added: 0002720
2008-10-09 11:52 Regret File Added: infologfromreplay.txt
2008-10-09 11:52 Regret Note Added: 0002722
2008-10-09 11:53 Regret Note Edited: 0002722
2008-10-09 11:58 Regret Note Edited: 0002722
2008-10-09 12:04 imbaczek Note Added: 0002724
2008-10-09 12:06 imbaczek Note Edited: 0002724
2008-10-09 23:07 tvo Product Version 0.76b1+svn => 0.77b2
2008-10-10 01:31 imbaczek Description Updated
2008-10-10 01:47 Kloot Note Added: 0002747
2008-10-10 01:53 Kloot Note Edited: 0002747
2008-10-10 01:57 Kloot Note Edited: 0002747
2008-10-10 01:58 Kloot Note Edited: 0002747
2008-10-10 01:59 imbaczek Note Added: 0002748
2008-10-10 02:12 Kloot Note Added: 0002749
2008-10-10 02:13 Kloot Note Edited: 0002749
2008-10-10 02:14 imbaczek Note Added: 0002750
2008-10-11 19:23 imbaczek Status feedback => resolved
2008-10-11 19:23 imbaczek Resolution open => fixed
2008-10-11 19:23 imbaczek Assigned To => imbaczek
+Issue History