View Issue Details

IDProjectCategoryView StatusLast Update
0000823Spring engineGeneralpublic2008-02-01 12:20
Reportermonohouse Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000823: another crash
Descriptionanother crash
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
infolog2.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

duplicate of 0000822 resolvedKloot crash when accessing heightmap in Unit.cpp:718 

Activities

monohouse

2008-01-24 05:30

reporter   ~0001880

this time before the game has loaded

tvo

2008-02-01 12:18

reporter   ~0001923

(0) oggpackB_get_buffer
        e:/projects/libogg-1.1/src/bitwise.c:447

(1) oggpackB_get_buffer
        e:/projects/libogg-1.1/src/bitwise.c:447

(2) oggpackB_get_buffer
        e:/projects/libogg-1.1/src/bitwise.c:447

(3) oggpackB_get_buffer
        e:/projects/libogg-1.1/src/bitwise.c:447

(4) std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_dispose(std::allocator<char> const&)
        /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:234

(5) CDynWater
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/Rendering/Env/DynWater.cpp:113

(6) ??
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/Rendering/Env/BaseWater.cpp:34

(7) CGame
        /var/lib/buildbot/spring_slave/mingw32-4.2/build/rts/Game/Game.cpp:403

(8) std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_rep() const
        /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:288

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

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

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

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


111 dwGroundRefractVP=LoadVertexProgram("dwgroundrefract.vp");
  112 dwGroundReflectIVP=LoadVertexProgram("dwgroundreflectinverted.vp");
  113 dwDetailNormalFP=LoadFragmentProgram("dwDetailNormal.fp");
  114 dwDetailNormalVP=LoadVertexProgram("dwDetailNormal.vp");
  115 dwAddSplashFP=LoadFragmentProgram("dwAddSplash.fp");
  116 dwAddSplashVP=LoadVertexProgram("dwAddSplash.vp");

tvo

2008-02-01 12:19

reporter   ~0001924

(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 }

tvo

2008-02-01 12:20

reporter   ~0001925

dup of 0000822
(Unit.cpp:718 is identical, the other isn't explainable anyway)

Issue History

Date Modified Username Field Change
2008-01-24 05:18 monohouse New Issue
2008-01-24 05:18 monohouse File Added: infolog.txt
2008-01-24 05:30 monohouse Note Added: 0001880
2008-01-24 06:11 monohouse File Added: infolog2.txt
2008-02-01 12:18 tvo Note Added: 0001923
2008-02-01 12:19 tvo Note Added: 0001924
2008-02-01 12:20 tvo Relationship added duplicate of 0000822
2008-02-01 12:20 tvo Status new => closed
2008-02-01 12:20 tvo Note Added: 0001925
2008-02-01 12:20 tvo Resolution open => fixed