| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0000822 | Spring engine | General | public | 2008-01-24 03:20 | 2008-10-16 17:47 | ||||
| Reporter | monohouse | ||||||||
| Assigned To | Kloot | ||||||||
| Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000822: crash when accessing heightmap in Unit.cpp:718 | ||||||||
| Description | another crash | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
tvo (reporter) 2008-02-01 11:21 |
(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 } |
|
Auswaschbar (reporter) 2008-10-16 13:11 |
closed because of oldness |
|
Kloot (developer) 2008-10-16 17:47 |
this one actually got resolved |
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 | |


