2025-07-18 02:10 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000822Spring engineGeneralpublic2008-10-16 17:47
Reportermonohouse 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000822: crash when accessing heightmap in Unit.cpp:718
Descriptionanother crash
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (8,546 bytes) 2008-01-24 03:20 -
    Using script script.txt
    SDL:  1.2.10
    GL:   2.1.7169 Release
    GL:   ATI Technologies Inc.
    GL:   ATI Radeon HD 3870 Manoa Edition 7.12
    GLEW: 1.4.0
    Section game\mapoptions missing in file buffer
    Section game\modoptions missing in file buffer
    Using script Commanders
    Map: SuperSpeedMetal.smf
    Mod: "Balanced Annihilation V6.0" from BA60.sd7
    Became player 0
    Client connected on slot 0
    Connecting to server .
    Loading all definitions:  0.366000
    You are missing an OpenGL extension needed to use shadowmaps (fragment_program_shadow)
    Opening map file
    Loading Map
    Loading detail textures
    Creating overhead texture
    Creating ground shading
    Loading tile file
    Reading tiles
    Reading tile map
    Creating projectile texture
    Number of damage types: 42
    Loading weapon definitions
    Loading unit definitions
    Loading feature definitions
    Generating trees
    Parsing unit icons
    Creating unit textures
    Initializing map features
    Reading estimate path costs
    Loading Dynamic Water failed
    Error: Error at position 0 near "!!ARBfp1.0
    OPTION ARB_fog_line" when loading fragment program file dwDetailNormal.fp
    Loading LuaCOB
    Loading LuaRules
    LUARULES-MAIN  (GADGETS)
    LUPS->Shield: criticle shader error: Vertex shader failed to compile with the following errors:
    ERROR: 0:7: 'dot' : no matching overloaded function found 
    ERROR: 1 compilation errors.  No code generated.
    
    LUARULES-DRAW  (GADGETS)
    Loading LuaGaia
    Finalizing...
    Spring 0.76b1
    Client connected on slot 2
    Client connected on slot 3
    Client connected on slot 7
    Client connected on slot 1
    Client connected on slot 6
    Client connected on slot 4
    Client connected on slot 5
    Player monohouse joined as 0
    monohouse added point: Start 0
    Player stm21 joined as 2
    Player NucIear joined as 3
    Player [vlo]Lupus joined as 7
    Player Blastoise joined as 1
    monohouse added point: Start 0
    Player me__ joined as 5
    Player Frylix joined as 4
    <[vlo]Lupus> Ban Bantha too!!!!! :D
    Blastoise added point: Start 1
    Blastoise added point: Start 1
    Blastoise added point: Start 1
    Blastoise added point: Start 1
    Blastoise added point: Start 1
    Player amos106 joined as 6
    [vlo]Lupus added point: Start 7
    [vlo]Lupus added point: Start 7
    [vlo]Lupus added point: Start 7
    amos106 added point: Start 6
    <monohouse> next time
    Blastoise added point: Start 1
    [vlo]Lupus added point: Start 7
    amos106 added point: Start 6
    amos106 added point: Start 6
    <monohouse> bantha is not that bad
    Client connected on slot 8
    <monohouse> it can be handled
    <[vlo]Lupus> Allies: i'll spam nukes
    Speed set to 0.8 [monohouse]
    Speed set to 1.0 [monohouse]
    [vlo]Lupus added point: dragon teeths
    Blastoise added point: Start 1
    Lost connection to Player
    Lost connection to player 8 (timeout)
    GameID: d71b9847bf86313082fd43e10942cd81
    [vlo]Lupus added point: I'll make anti air
    Speed set to 0.8 [monohouse]
    Speed set to 1.0 [monohouse]
    No response from Frylix for frame 612
    <monohouse> doesn't work before game start
    <monohouse> weird bug
    <monohouse> hehe
    No response from Frylix for frame 1013
    Lost connection to Frylix
    Lost connection to player 4 (timeout)
    Buildings set to face West
    Buildings set to face South
    Buildings set to face East
    Buildings set to face South
    <me__> .take
    Team4 (Frylix) is no longer with us
    monohouse added point: lol
    <amos106> Allies:  We are fucked
    <amos106> Allies: As soon as that blows
    <monohouse> lol
    <Blastoise> Allies: wy?
    <[vlo]Lupus> Allies: it won't 
    <NucIear> ???
    <[vlo]Lupus> Allies: :D
    <amos106> Allies: Why? Our fucking base will be a crater
    [vlo]Lupus added point: AntiNuke
    [vlo]Lupus added point: AntiNuke
    amos106 added point: AntiNuke
    amos106 added point: AntiNuke
    Blastoise added point: AntiNuke
    [vlo]Lupus added point: AntiNuke
    amos106 added point: AntiNuke
    Blastoise added point: AntiNuke
    Blastoise added point: AntiNuke
    Peeper is being attacked
    Peeper is being attacked
    amos106 added point: 
    Peeper is being attacked
    Construction Vehicle: Can't reach destination!
    Peeper is being attacked
    Peeper is being attacked
    Peeper is being attacked
    Peeper is being attacked
    Buildings set to face West
    Buildings set to face North
    Peeper is being attacked
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Buildings set to face East
    Buildings set to face South
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Buildings set to face West
    Buildings set to face North
    Buildings set to face East
    Buildings set to face North
    Buildings set to face West
    Phalanx: Can't reach destination!
    Buildings set to face North
    Buildings set to face East
    Buildings set to face South
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    [vlo]Lupus added point: Nuke
    amos106 added point: Nuke
    Blastoise added point: Nuke
    [vlo]Lupus added point: Nuke
    amos106 added point: Nuke
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Blastoise added point: Nuke
    Phalanx: Can't reach destination!
    Construction Vehicle: Build pos blocked
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    <amos106> Allies: If anyone here is Core please make some assault mechs
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    Phalanx: Can't reach destination!
    <me__> me__ gave everything to stm21.
    Spring 0.76b1 has crashed.
    Exception: Access violation (0xc0000005)
    Exception Address: 0x00719324
    DLL information:
    0x00400000	spring
    0x77f50000	ntdll
    0x77e60000	kernel32
    0x77dd0000	ADVAPI32
    0x77cc0000	RPCRT4
    0x73f10000	dsound
    0x77c10000	msvcrt
    0x77d40000	USER32
    0x77c70000	GDI32
    0x771b0000	ole32
    0x76b40000	WINMM
    0x77c00000	VERSION
    0x68b20000	GLU32
    0x5ed00000	OPENGL32
    0x51000000	DDRAW
    0x73bc0000	DCIMAN32
    0x76c90000	IMAGEHLP
    0x71ad0000	WSOCK32
    0x71ab0000	WS2_32
    0x71aa0000	WS2HELP
    0x6ed80000	glew32
    0x10000000	SDL
    0x7c340000	MSVCR71
    0x00de0000	DevIL
    0x66fc0000	freetype6
    0x61b80000	zlib1
    0x003d0000	ILU
    0x69000000	atioglx2
    0x71a50000	mswsock
    0x71a90000	wshtcpip
    0x72d20000	wdmaud
    0x72d10000	msacm32
    0x77be0000	MSACM32
    0x77bd0000	midimap
    0x73ee0000	KsUser
    0x6d510000	DBGHELP
    Stacktrace:
    (0) D:\games\TASpring\spring.exe [0x00719324]
    (1) D:\games\TASpring\spring.exe [0x0074823C]
    (2) D:\games\TASpring\spring.exe [0x005D8EBC]
    (3) D:\games\TASpring\spring.exe [0x005F495A]
    (4) D:\games\TASpring\spring.exe [0x005F684B]
    (5) D:\games\TASpring\spring.exe [0x00855AB9]
    (6) D:\games\TASpring\spring.exe [0x0085ED08]
    (7) D:\games\TASpring\spring.exe [0x0085F0DE]
    (8) D:\games\TASpring\spring.exe [0x0085F316]
    (9) D:\games\TASpring\spring.exe [0x0095D309]
    (10) D:\games\TASpring\spring.exe [0x004010A7]
    (11) D:\games\TASpring\spring.exe [0x00401123]
    (12) C:\WINDOWS\system32\kernel32.dll(CreateProcessInternalW+0x1177) [0x77E7EB69]
    
    txt file icon infolog.txt (8,546 bytes) 2008-01-24 03:20 +

-Relationships
has duplicate 0000823closed another crash 
+Relationships

-Notes

~0001922

tvo (reporter)

(0) ??
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/Sim/Units/Unit.cpp:718

(1) std::_List_iterator<CUnit*>::operator++()
        /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/stl_list.h:142

(2) ??
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/Game/Game.cpp:2521

(3) ??
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/Game/Game.cpp:2935

(4) ??
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/Game/Game.cpp:1887

(5) ??
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/System/Main.cpp:869

(6) ??
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/System/Main.cpp:1055

(7) Run(int, char**)
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/System/Main.cpp:1115

(8) WinMain@16
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/System/Main.cpp:1178


714 if (uh->waterDamage) {
  715 bool inWater = (pos.y <= -3);
  716 bool isFloating = (physicalState == CSolidObject::Floating);
  717 bool onGround = (physicalState == CSolidObject::OnGround);
  718 bool waterSquare = (readmap->mipHeightmap[1][int((pos.z / (SQUARE_SIZE * 2)) * gs->hmapx + (pos.x / (SQUARE_SIZE * 2)))] < -1);
  719
  720 // old: "floating or (on ground and height < -3 and mapheight < -1)"
  721 // new: "height < -3 and (floating or on ground) and mapheight < -1"
  722 if (inWater && (isFloating || onGround) && waterSquare) {
  723 DoDamage(DamageArray() * uh->waterDamage, 0, ZeroVector, -1);
  724 }

~0002950

Auswaschbar (reporter)

closed because of oldness

~0002961

Kloot (developer)

this one actually got resolved
+Notes

-Issue History
Date Modified Username Field Change
2008-01-24 03:20 monohouse New Issue
2008-01-24 03:20 monohouse File Added: infolog.txt
2008-02-01 11:21 tvo Note Added: 0001922
2008-02-01 12:20 tvo Relationship added has duplicate 0000823
2008-02-01 12:27 tvo Summary another crash => crash when accessing heightmap in Unit.cpp:718
2008-10-16 13:11 Auswaschbar Status new => closed
2008-10-16 13:11 Auswaschbar Note Added: 0002950
2008-10-16 13:11 Auswaschbar Resolution open => fixed
2008-10-16 17:47 Kloot Status closed => new
2008-10-16 17:47 Kloot Resolution fixed => reopened
2008-10-16 17:47 Kloot Status new => resolved
2008-10-16 17:47 Kloot Resolution reopened => fixed
2008-10-16 17:47 Kloot Assigned To => Kloot
2008-10-16 17:47 Kloot Note Added: 0002961
+Issue History