View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002910 | Spring engine | General | public | 2012-01-10 01:28 | 2012-01-28 18:01 | ||||
Reporter | abma | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 85.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002910: endless loop in zero-k | ||||||||
Description | got that after trying to reproduce 0002889 happened after a /give all + /give all 1 at the border of the map | ||||||||
Additional Information | (gdb) bt full #0 floor (x=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/lib/streflop/SMath.h:244 No locals. #1 CGround::LineGroundCol (this=<optimized out>, from=..., to=..., synced=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Map/Ground.cpp:278 xn = <optimized out> zn = <optimized out> xs = <optimized out> zs = <optimized out> xp = 663.00061 zp = 0 keepgoing = <optimized out> pfrom = <optimized out> skippedDist = 0 hm = 0x3acd700 nm = 0x7fec08765010 #2 0x0000000000550836 in TraceRay::TraceRay (start=..., dir=..., length=<optimized out>, collisionFlags=-17, owner=<optimized out>, hitUnit=@0x7fff3fd462d0, hitFeature=@0x7fff3fd462d8) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/TraceRay.cpp:207 groundLength = 82.8750687 ignoreAllies = true ignoreNeutrals = true ignoreUnits = true ignoreEnemies = true ignoreFeatures = true ---Type <return> to continue, or q <return> to quit--- ignoreGround = false 0000003 0x0000000000933cc0 in CWeapon::HaveFreeLineOfFire (this=<optimized out>, pos=<optimized out>, dir=<optimized out>, length=<optimized out>, target=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/Weapon.cpp:846 unit = 0x0 feature = 0x0 g = 82.8750687 0000004 0x00000000009262a9 in TryTarget (unit=0x7febf8a779b0, pos=..., this=0x7febf09c3680, userTarget=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/BeamLaser.cpp:116 dir = {static binder = {class_ = 0x27f2d80, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1274768, name = 0xd65a2a "float3", size = 12, constructor = 0x99f6e0 <float3::_ConstructInstance(void*)>, destructor = 0x99f700 <float3::_DestructInstance(void*)>, nextBinder = 0x1274660}, static memberRegistrator = 0x1274798, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 6143, static maxzpos = 4095, x = -0.47940734, y = -0.0812237859, z = -0.873825729} length = <optimized out> 0000005 CBeamLaser::TryTarget (this=0x7febf09c3680, pos=..., userTarget=<optimized out>, unit=0x7febf8a779b0) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/BeamLaser.cpp:99 No locals. #6 0x000000000093787d in CWeapon::SlowUpdate (this=0x7febf09c3680, noAutoTargetOverride=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/Weapon.cpp:765 ---Type <return> to continue, or q <return> to quit--- nextTargetUnit = 0x7febf8a779b0 weaponLead = <optimized out> weaponError = <optimized out> nextTargetPos = {static binder = {class_ = 0x27f2d80, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1274768, name = 0xd65a2a "float3", size = 12, constructor = 0x99f6e0 <float3::_ConstructInstance(void*)>, destructor = 0x99f700 <float3::_DestructInstance(void*)>, nextBinder = 0x1274660}, static memberRegistrator = 0x1274798, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 6143, static maxzpos = 4095, x = 663, y = 121.71875, z = 0} appHeight = <optimized out> targets = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<float const, CUnit*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<float const, CUnit*> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<float, float, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x7fec02a5e7a0, _M_left = 0x7febf82a5f60, _M_right = 0x7febf847e350}, _M_node_count = 312}}} nextTargetIt = {_M_node = 0x7fec03c15930} lastTargetIt = {_M_node = 0x7febf847e350} weaponPiece = <optimized out> weaponAimed = <optimized out> #7 0x00000000008f42c9 in SlowUpdateWeapons (this=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/Unit.cpp:1014 ---Type <return> to continue, or q <return> to quit--- w = 0x7febf09c3680 wi = <optimized out> #8 CUnit::SlowUpdateWeapons (this=0x7fec0117c0b0) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/Unit.cpp:992 No locals. #9 0x00000000008fa241 in CUnit::SlowUpdate (this=0x7fec0117c0b0) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/Unit.cpp:980 No locals. 0000010 0x000000000091589f in CUnitHandler::Update (this=0x7fec001e50b0) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/UnitHandler.cpp:316 unit = <optimized out> myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7febf0eb85e8 "Unit::SlowUpdate"}}, starttime = 1285598}, autoShowGraph = false} n = <optimized out> #11 0x00000000004d602d in CGame::SimFrame (this=0x7fec14a2de20) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/Game.cpp:1465 cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7febf0b3f718 "Game::SimFrame"}}, starttime = 1285553}, autoShowGraph = true} ---Type <return> to continue, or q <return> to quit--- forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = { static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7febf0f537b8 "Game::SimFrame (Update)"}}, starttime = 1285578}, autoShowGraph = false} 0000012 0x00000000005286da in CGame::ClientReadNet (this=0x7fec14a2de20) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/NetCommands.cpp:370 inbuf = <optimized out> dataLength = 1 packetCode = 2 '\002' packet = {px = 0x7fec17e84030, pn = {pi_ = 0x7fec17600980}} 0000013 0x00000000004d8cd8 in CGame::Update (this=0x7fec14a2de20) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/Game.cpp:875 diffsecs = <optimized out> 0000014 0x000000000098d385 in SpringApp::Update (this=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/System/SpringApp.cpp:927 ret = 1 #15 0x0000000000992ff5 in SpringApp::Run (this=0x7fff3fd47120, argc=2, argv=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/System/SpringApp.cpp:1008 No locals. #16 0x0000000000971a37 in MainFunc (argc=2, argv=0x7fff3fd47478, ret=0x7fff3fd47378) at /build/buildd/spring-85.0~11.10~ppa1/rts/System/Main.cpp:51 app = {cmdline = 0x27f24f0, binaryName = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fi---Type <return> to continue, or q <return> to quit--- elds>}, <No data fields>}, _M_p = 0x27f2918 "spring"}}} #17 0x0000000000971f57 in Run (argc=2, argv=0x7fff3fd47478) at /build/buildd/spring-85.0~11.10~ppa1/rts/System/Main.cpp:62 ret = -1 err = <optimized out> #18 0x00007fec1dcbc30d in __libc_start_main (main=0x492860 <main(int, char**)>, argc=2, ubp_av=0x7fff3fd47478, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3fd47468) at libc-start.c:226 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 8385631026310059196, 4909376, 140734264276080, 0, 0, -8385208457485839172, -8392592686893984580}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xd07810, 0x7fff3fd47478}, data = { prev = 0x0, cleanup = 0x0, canceltype = 13662224}}} not_first_call = <optimized out> #19 0x00000000004ae969 in _start () No symbol table info available. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2012-01-10 01:31 |
bt full of connected spring-headless: (hanged / triggered watchdog, too) (gdb) bt full #0 0x000000000069adc6 in CGround::LineGroundCol (this=<optimized out>, from=..., to=..., synced=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Map/Ground.cpp:314 xn = <optimized out> zn = -0 xs = 82 zs = <optimized out> xp = 663.00061 zp = 0 keepgoing = true pfrom = <optimized out> skippedDist = 0 hm = 0x3667ed0 nm = 0x7f9366e05010 #1 0x000000000053c626 in TraceRay::TraceRay (start=..., dir=..., length=<optimized out>, collisionFlags=-17, owner=<optimized out>, hitUnit=@0x7fff734e40b0, hitFeature=@0x7fff734e40b8) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/TraceRay.cpp:207 groundLength = -537.768799 ignoreAllies = true ignoreNeutrals = true ignoreUnits = true ignoreEnemies = true ignoreFeatures = true ignoreGround = false #2 0x0000000000914310 in CWeapon::HaveFreeLineOfFire (this=<optimized out>, pos=<optimized out>, ---Type <return> to continue, or q <return> to quit--- dir=<optimized out>, length=<optimized out>, target=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/Weapon.cpp:846 unit = 0x0 feature = 0x0 g = -537.768799 0000003 0x00000000009068f9 in TryTarget (unit=0x7f935421f620, pos=..., this=0x7f935975d5b0, userTarget=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/BeamLaser.cpp:116 dir = {static binder = {class_ = 0x24da070, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x123ba08, name = 0xd321ea "float3", size = 12, constructor = 0x97ef30 <float3::_ConstructInstance(void*)>, destructor = 0x97ef50 <float3::_DestructInstance(void*)>, nextBinder = 0x123b900}, static memberRegistrator = 0x123ba38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 6143, static maxzpos = 4095, x = -0.47940734, y = -0.0812237859, z = -0.873825729} length = <optimized out> 0000004 CBeamLaser::TryTarget (this=0x7f935975d5b0, pos=..., userTarget=<optimized out>, unit=0x7f935421f620) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/BeamLaser.cpp:99 No locals. 0000005 0x0000000000917e7d in CWeapon::SlowUpdate (this=0x7f935975d5b0, noAutoTargetOverride=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Weapons/Weapon.cpp:765 nextTargetUnit = 0x7f935421f620 weaponLead = <optimized out> ---Type <return> to continue, or q <return> to quit--- weaponError = <optimized out> nextTargetPos = {static binder = {class_ = 0x24da070, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x123ba08, name = 0xd321ea "float3", size = 12, constructor = 0x97ef30 <float3::_ConstructInstance(void*)>, destructor = 0x97ef50 <float3::_DestructInstance(void*)>, nextBinder = 0x123b900}, static memberRegistrator = 0x123ba38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 6143, static maxzpos = 4095, x = 663, y = 121.71875, z = 0} appHeight = <optimized out> targets = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<float const, CUnit*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<float const, CUnit*> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<float, float, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x7f935fe0b0c0, _M_left = 0x7f935f301ab0, _M_right = 0x7f9355c3ae70}, _M_node_count = 312}}} nextTargetIt = {_M_node = 0x7f935876f910} lastTargetIt = {_M_node = 0x7f9355c3ae70} weaponPiece = <optimized out> weaponAimed = <optimized out> #6 0x00000000008d4a39 in SlowUpdateWeapons (this=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/Unit.cpp:1014 w = 0x7f935975d5b0 wi = <optimized out> ---Type <return> to continue, or q <return> to quit--- #7 CUnit::SlowUpdateWeapons (this=0x7f935858e0e0) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/Unit.cpp:992 No locals. #8 0x00000000008da901 in CUnit::SlowUpdate (this=0x7f935858e0e0) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/Unit.cpp:980 No locals. #9 0x00000000008f5f4f in CUnitHandler::Update (this=0x6789f70) at /build/buildd/spring-85.0~11.10~ppa1/rts/Sim/Units/UnitHandler.cpp:316 unit = <optimized out> myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f935f960878 "Unit::SlowUpdate"}}, starttime = 1267491}, autoShowGraph = false} n = <optimized out> 0000010 0x00000000004c261d in CGame::SimFrame (this=0x264a760) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/Game.cpp:1465 cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f935ee58da8 "Game::SimFrame"}}, starttime = 1267465}, autoShowGraph = true} forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = { static npos = <optimized out>, ---Type <return> to continue, or q <return> to quit--- _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7f9355067988 "Game::SimFrame (Update)"}}, starttime = 1267475}, autoShowGraph = false} #11 0x000000000051462a in CGame::ClientReadNet (this=0x264a760) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/NetCommands.cpp:370 inbuf = <optimized out> dataLength = 1 packetCode = 2 '\002' packet = {px = 0x7f935a158260, pn = {pi_ = 0x7f9359d8bc30}} 0000012 0x00000000004c52b8 in CGame::Update (this=0x264a760) at /build/buildd/spring-85.0~11.10~ppa1/rts/Game/Game.cpp:875 diffsecs = <optimized out> 0000013 0x000000000096d205 in SpringApp::Update (this=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/System/SpringApp.cpp:927 ret = 1 0000014 0x00000000009726f3 in SpringApp::Run (this=0x7fff734e4ed0, argc=2, argv=<optimized out>) at /build/buildd/spring-85.0~11.10~ppa1/rts/System/SpringApp.cpp:1008 No locals. #15 0x0000000000951fa7 in MainFunc (argc=2, argv=0x7fff734e5228, ret=0x7fff734e5128) at /build/buildd/spring-85.0~11.10~ppa1/rts/System/Main.cpp:51 app = {cmdline = 0x24d9810, binaryName = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x24d9c38 "spring-headless"}}} #16 0x00000000009524c7 in Run (argc=2, argv=0x7fff734e5228) ---Type <return> to continue, or q <return> to quit--- at /build/buildd/spring-85.0~11.10~ppa1/rts/System/Main.cpp:62 ret = -1 err = <optimized out> #17 0x00007f936a9de30d in __libc_start_main (main=0x48cbf0 <main(int, char**)>, argc=2, ubp_av=0x7fff734e5228, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff734e5218) at libc-start.c:226 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -5307607689952387657, 4828976, 140735127900704, 0, 0, 5307897270423887287, 5292085625901653431}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xcd5510, 0x7fff734e5228}, data = { prev = 0x0, cleanup = 0x0, canceltype = 13456656}}} not_first_call = <optimized out> #18 0x000000000049af59 in _start () No symbol table info available. |
abma (administrator) 2012-01-10 01:38 |
only major, because its imo a very rare endless-loop and maybe related to a broken unit. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-10 01:28 | abma | New Issue | |
2012-01-10 01:29 | abma | File Added: 20120110_010357_Red Comet_85.sdf | |
2012-01-10 01:29 | abma | File Added: 20120110_010414_Red Comet_85.sdf | |
2012-01-10 01:31 | abma | Note Added: 0008120 | |
2012-01-10 01:31 | abma | Description Updated | |
2012-01-10 01:37 | abma | Severity | crash => major |
2012-01-10 01:37 | abma | Summary | endless loop => endless loop in zero-k |
2012-01-10 01:38 | abma | Note Added: 0008121 | |
2012-01-28 18:01 | jK | Status | new => resolved |
2012-01-28 18:01 | jK | Resolution | open => fixed |
2012-01-28 18:01 | jK | Assigned To | => jK |