View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001682 | Spring engine | General | public | 2009-10-17 10:13 | 2009-10-17 22:43 | ||||
Reporter | SirMaverick | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | crash | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.80.4.0 | ||||||||
Target Version | Fixed in Version | 0.80.4.0+git | |||||||
Summary | 0001682: different crashes in 1 demo | ||||||||
Description | 3 players. The game crashed for all 3 players at around 8 minutes. Watching the demo I can sometimes reproduce a crash, different stack traces... | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||||||||||
|
![]() |
|
SirMaverick (reporter) 2009-10-17 10:14 |
End of demo reached Program received signal SIGSEGV, Segmentation fault. 0x08697d45 in CAirBaseHandler::FindAirBase (this=0xadc0c68, unit=0xb9af8c8, minPower=0) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Misc/AirBaseHandler.cpp:118 118 if (baseUnit->pos.SqDistance(unit->pos) >= closest || baseUnit->unitDef->buildSpeed < minPower) { (gdb) bt #0 0x08697d45 in CAirBaseHandler::FindAirBase (this=0xadc0c68, unit=0xb9af8c8, minPower=0) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Misc/AirBaseHandler.cpp:118 #1 0x0881fa1b in CMobileCAI::LandRepairIfNeeded (this=0xa8b2748) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/CommandAI/MobileCAI.cpp:347 #2 0x088427f9 in CAirCAI::SlowUpdate (this=0xa8b2748) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/CommandAI/AirCAI.cpp:215 0000003 0x087da9d6 in CUnit::SlowUpdate (this=0xb9af8c8) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/Unit.cpp:765 0000004 0x087ed997 in CUnitHandler::Update (this=0xadbef08) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/UnitHandler.cpp:292 0000005 0x0831e975 in CGame::SimFrame (this=0xa001360) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:3437 #6 0x08325a3f in CGame::ClientReadNet (this=0xa001360) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:3734 #7 0x08328e1c in CGame::Update (this=0xa001360) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:2747 #8 0x088a316d in SpringApp::Update (this=0xbffff4b0) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/SpringApp.cpp:840 #9 0x088ab406 in SpringApp::Run (this=0xbffff4b0, argc=2, argv=0xbffff594) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/SpringApp.cpp:964 0000010 0x088d8729 in Run (argc=2, argv=0xbffff594) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/Main.cpp:111 #11 0x088d8784 in main (argc=Cannot access memory at address 0x0 ) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/Main.cpp:127 |
SirMaverick (reporter) 2009-10-17 10:15 |
End of demo reached Program received signal SIGSEGV, Segmentation fault. 0x082e0cd9 in CUnitScript::GetLocalModelPiece (this=0x0, scriptnum=9) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/COB/UnitScript.h:101 101 if (scriptnum >= 0 && (size_t)scriptnum < pieces.size()) { (gdb) bt #0 0x082e0cd9 in CUnitScript::GetLocalModelPiece (this=0x0, scriptnum=9) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/COB/UnitScript.h:101 #1 0x082e13b6 in CUnitScript::GetPiecePos (this=0x0, scriptnum=9) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/COB/UnitScript.h:132 #2 0x086f5fe1 in CAirMoveType::Update (this=0xc499090) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/MoveTypes/AirMoveType.cpp:193 0000003 0x087db846 in CUnit::Update (this=0xb3138a8) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/Unit.cpp:533 0000004 0x087ed8e6 in CUnitHandler::Update (this=0xad94ce0) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/UnitHandler.cpp:281 0000005 0x0831e975 in CGame::SimFrame (this=0x9e4c160) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:3437 #6 0x08325a3f in CGame::ClientReadNet (this=0x9e4c160) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:3734 #7 0x08328e1c in CGame::Update (this=0x9e4c160) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:2747 #8 0x088a316d in SpringApp::Update (this=0xbffff4b0) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/SpringApp.cpp:840 #9 0x088ab406 in SpringApp::Run (this=0xbffff4b0, argc=2, argv=0xbffff594) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/SpringApp.cpp:964 0000010 0x088d8729 in Run (argc=2, argv=0xbffff594) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/Main.cpp:111 #11 0x088d8784 in main (argc=Cannot access memory at address 0x9 ) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/Main.cpp:127 |
SirMaverick (reporter) 2009-10-17 10:49 |
I run the demo several times (>10). The crash in CAirBaseHandler is much more probable than the one in CUnitScript, 2x it didn't crash. |
SirMaverick (reporter) 2009-10-17 10:51 |
End of demo reached Program received signal SIGSEGV, Segmentation fault. 0x082e0cb0 in std::vector<LocalModelPiece*, std::allocator<LocalModelPiece*> >::size (this=0x20) at /usr/include/c++/4.3/bits/stl_vector.h:485 485 { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } (gdb) bt #0 0x082e0cb0 in std::vector<LocalModelPiece*, std::allocator<LocalModelPiece*> >::size (this=0x20) at /usr/include/c++/4.3/bits/stl_vector.h:485 #1 0x082e0ce4 in CUnitScript::GetLocalModelPiece (this=0xc97c5e8, scriptnum=9) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/COB/UnitScript.h:101 #2 0x082e13b6 in CUnitScript::GetPiecePos (this=0xc97c5e8, scriptnum=9) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/COB/UnitScript.h:132 0000003 0x086f5fe1 in CAirMoveType::Update (this=0xd242828) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/MoveTypes/AirMoveType.cpp:193 0000004 0x087db846 in CUnit::Update (this=0xc5071a0) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/Unit.cpp:533 0000005 0x087ed8e6 in CUnitHandler::Update (this=0xadc9d78) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Sim/Units/UnitHandler.cpp:281 #6 0x0831e975 in CGame::SimFrame (this=0xa007c38) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:3437 #7 0x08325a3f in CGame::ClientReadNet (this=0xa007c38) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:3734 #8 0x08328e1c in CGame::Update (this=0xa007c38) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/Game/Game.cpp:2747 #9 0x088a316d in SpringApp::Update (this=0xbffff4b0) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/SpringApp.cpp:840 0000010 0x088ab406 in SpringApp::Run (this=0xbffff4b0, argc=2, argv=0xbffff594) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/SpringApp.cpp:964 #11 0x088d8729 in Run (argc=2, argv=0xbffff594) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/Main.cpp:111 0000012 0x088d8784 in main (argc=Cannot access memory at address 0x9 ) at spring/spring_0.80.4-branch/1857c8281a4fba9593e426c6e4243b3053d7004e/rts/System/Main.cpp:127 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-10-17 10:13 | SirMaverick | New Issue | |
2009-10-17 10:13 | SirMaverick | File Added: crash.sdf | |
2009-10-17 10:14 | SirMaverick | Note Added: 0004221 | |
2009-10-17 10:15 | SirMaverick | Note Added: 0004222 | |
2009-10-17 10:49 | SirMaverick | Note Added: 0004223 | |
2009-10-17 10:51 | SirMaverick | Note Added: 0004224 | |
2009-10-17 12:01 | Kloot | Relationship added | related to 0001608 |
2009-10-17 12:01 | Kloot | Relationship added | related to 0001635 |
2009-10-17 13:37 | Kloot | Status | new => assigned |
2009-10-17 13:37 | Kloot | Assigned To | => Kloot |
2009-10-17 22:43 | Kloot | Status | assigned => resolved |
2009-10-17 22:43 | Kloot | Fixed in Version | => 0.80.4.0+git |
2009-10-17 22:43 | Kloot | Resolution | open => fixed |