View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002554 | Spring engine | General | public | 2011-07-13 02:51 | 2011-07-31 16:37 | ||||
Reporter | abma | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.82.7+git | ||||||||
Target Version | 83.0 | Fixed in Version | 0.82.7+git | ||||||
Summary | 0002554: (master) crash in FeatureDrawer.cpp:142 | ||||||||
Description | git describe 0.82.3-2604-g86889c7 (gdb) bt full #0 0x00007f2694d3e81d in __libc_waitpid (pid=<value optimized out>, stat_loc=<value optimized out>, options=<value optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:41 resultvar = 18446744073709551104 oldtype = 0 result = <value optimized out> #1 0x00000000010ebd18 in X_MessageBox ( msg=0xf9ffb58 "Spring has crashed:\nSegmentation fault (SIGSEGV).\n\nA stacktrace has been written to:\n /home/abma/.spring/infolog.txt", caption=0x4d3a5c8 "Spring crashed", flags=8) at /home/abma/dev/spring/master/rts/System/Platform/Linux/X_MessageBox.cpp:101 okButton = false caption2 = "Spring crashed\n", '\000' <repeats 84 times>, "7" pid = 16048 status = 935444080 len = 117 msg2 = "Spring has crashed:\nSegmentation fault (SIGSEGV).\n\nA stacktrace has been written to:\n /home/abma/.spring/infolog.txt\n", '\000' <repeats 881 times> #2 0x0000000001066eae in ExitMessage (msg=..., caption=..., flags=8, forced=false) at /home/abma/dev/spring/master/rts/System/Platform/errorhandler.cpp:61 No locals. 0000003 0x0000000001067090 in ErrorMessageBox (msg=..., caption=..., flags=8) at /home/abma/dev/spring/master/rts/System/Platform/errorhandler.cpp:119 forcedExitThread = 0x10d22ef0 0000004 0x00000000010e6b09 in CrashHandler::HandleSignal (signal=11) ---Type <return> to continue, or q <return> to quit--- at /home/abma/dev/spring/master/rts/System/Platform/Linux/CrashHandler.cpp:513 buf = <incomplete type> error = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x604ede8 "Segmentation fault (SIGSEGV)"}} keepRunning = false 0000005 <signal handler called> No symbol table info available. #6 0x0000000000d868b0 in std::_Rb_tree<CFeature*, CFeature*, std::_Identity<CFeature*>, std::less<CFeature*>, std::allocator<CFeature*> >::_M_begin (this=0xffffffe8082e31e0) at /usr/include/c++/4.6/bits/stl_tree.h:493 No locals. #7 0x0000000000d86d6b in std::_Rb_tree<CFeature*, CFeature*, std::_Identity<CFeature*>, std::less<CFeature*>, std::allocator<CFeature*> >::_M_insert_unique (this=0xffffffe8082e31e0, __v=@0x7fff37c1cb40) at /usr/include/c++/4.6/bits/stl_tree.h:1261 __x = 0x7fff37c1cac0 __y = 0x7fff37c1caf0 __comp = false __j = {_M_node = 0x7fff37c1ca90} #8 0x0000000000d86571 in std::set<CFeature*, std::less<CFeature*>, std::allocator<CFeature*> >::insert (this=0xffffffe8082e31e0, __x=@0x7fff37c1cb40) at /usr/include/c++/4.6/bits/stl_set.h:410 __p = {first = {_M_node = 0x7fff37c1cb90}, second = 48} #9 0x0000000000d8493c in CFeatureDrawer::UpdateDrawQuad (this=0x6529610, feature=0xe345440) at /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:142 ---Type <return> to continue, or q <return> to quit--- newDrawQuad = -2147483648 oldDrawQuad = -1 0000010 0x0000000000d846f2 in CFeatureDrawer::RenderFeatureCreated (this=0x6529610, feature=0xe345440) at /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:99 f = 0xe345440 #11 0x0000000001030c18 in CEventHandler::RenderFeatureCreated (this=0x1d61aa0, feature=0xe345440) at /home/abma/dev/spring/master/rts/System/EventHandler.h:723 ec = 0x6529610 i = 0 count = 2 0000012 0x00000000010304c1 in EventBatchHandler::FeatureCreatedDestroyedEvent::Add (f=0xe345440) at /home/abma/dev/spring/master/rts/System/EventBatchHandler.cpp:34 No locals. 0000013 0x0000000000e6a441 in ThreadListRender<CFeature const*, std::set<CFeature const*, std::less<CFeature const*>, std::allocator<CFeature const*> >, CFeature const*, EventBatchHandler::FeatureCreatedDestroyedEvent>::enqueue (this=0x1d61a40, x=@0x7fff37c1cc40) at /home/abma/dev/spring/master/rts/lib/gml/ThreadSafeContainers.h:231 No locals. 0000014 0x0000000000e69fb0 in CEventHandler::FeatureCreated (this=0x1d61aa0, feature=0xe345440) at /home/abma/dev/spring/master/rts/System/EventHandler.h:673 featureAllyTeam = 13265665 count = 0 #15 0x0000000000e693de in CFeatureHandler::AddFeature (this=0xba1c380, feature=0xe345440) at /home/abma/dev/spring/master/rts/Sim/Features/FeatureHandler.cpp:336 ---Type <return> to continue, or q <return> to quit--- No locals. #16 0x0000000000e621ea in CFeature::Initialize (this=0xe345440, _pos=..., _def=0xba75bd0, _heading=3715, facing=0, _team=0, _allyteam=-1, _udef=0x0, speed=..., _smokeTime=300) at /home/abma/dev/spring/master/rts/Sim/Features/Feature.cpp:191 No locals. #17 0x0000000000e6967e in CFeatureHandler::CreateWreckage (this=0xba1c380, pos=..., name=..., rot=3715, facing=0, iter=2, team=0, allyteam=-1, emitSmoke=true, udef=0x821a870, speed=...) at /home/abma/dev/spring/master/rts/Sim/Features/FeatureHandler.cpp:379 f = 0xe345440 fd = 0xba75bd0 defname = 0xba75c30 i = 0 #18 0x0000000000fbc304 in CUnit::~CUnit (this=0x7f2639cb39a0, __in_chrg=<value optimized out>) at /home/abma/dev/spring/master/rts/Sim/Units/Unit.cpp:270 No locals. #19 0x0000000000ff10b5 in CBuilder::~CBuilder (this=0x7f2639cb39a0, __in_chrg=<value optimized out>) at /home/abma/dev/spring/master/rts/Sim/Units/UnitTypes/Builder.cpp:102 No locals. 0000020 0x0000000000ff10e8 in CBuilder::~CBuilder (this=0x7f2639cb39a0, __in_chrg=<value optimized out>) at /home/abma/dev/spring/master/rts/Sim/Units/UnitTypes/Builder.cpp:104 No locals. #21 0x0000000000fe4765 in CUnitHandler::DeleteUnitNow (this=0xa8dd850, delUnit=0x7f2639cb39a0) ---Type <return> to continue, or q <return> to quit--- at /home/abma/dev/spring/master/rts/Sim/Units/UnitHandler.cpp:187 delTeam = 0 delType = 243 usi = {_M_node = 0x7f2639d8ba00} #22 0x0000000000fe48d2 in CUnitHandler::Update (this=0xa8dd850) at /home/abma/dev/spring/master/rts/Sim/Units/UnitHandler.cpp:228 delUnit = 0x7f2639cb39a0 #23 0x0000000000a7af4f in CGame::SimFrame (this=0x4249300) at /home/abma/dev/spring/master/rts/Game/Game.cpp:1517 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 = 0x7f263610b488 "Game::SimFrame"}}, starttime = 1039526}, autoShowGraph = true} 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 = 0xf3859b8 "Game::SimFrame (Update)"}}, starttime = 1039526}, autoShowGraph = false} 0000024 0x0000000000af1e2c in CGame::ClientReadNet (this=0x4249300) at /home/abma/dev/spring/master/rts/Game/NetCommands.cpp:371 inbuf = 0x7f26388e1070 "\002\372\377H&\177" dataLength = 1 packetCode = 2 '\002' ---Type <return> to continue, or q <return> to quit--- packet = {px = 0x7f26483b9f00, pn = {pi_ = 0x7f2648fffa70}} procstarttime = 1039526 __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()" #25 0x0000000000a779e4 in CGame::Update (this=0x4249300) at /home/abma/dev/spring/master/rts/Game/Game.cpp:884 timeNow = 1039526 difTime = 730 dif = 0.730000019 0000026 0x0000000001070acb in SpringApp::UpdateSim (this=0x7fff37c1dbe0, ac=0x4249300) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:980 ret = false 0000027 0x0000000001070b3f in SpringApp::Update (this=0x7fff37c1dbe0) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1058 ret = 1 #28 0x0000000001070dad in SpringApp::Run (this=0x7fff37c1dbe0, argc=1, argv=0x7fff37c1dda8) at /home/abma/dev/spring/master/rts/System/SpringApp.cpp:1162 No locals. 0000029 0x0000000001050e2f in MainFunc (argc=1, argv=0x7fff37c1dda8, ret=0x7fff37c1dc8c) at /home/abma/dev/spring/master/rts/System/Main.cpp:54 app = {cmdline = 0x378d620, lastRequiredDraw = 30741, static ogc = 0x0} #30 0x00000000010510c2 in Run (argc=1, argv=0x7fff37c1dda8) at /home/abma/dev/spring/master/rts/System/Main.cpp:65 ret = -1 err = 0x212 ---Type <return> to continue, or q <return> to quit--- #31 0x000000000105115b in main (argc=1, argv=0x7fff37c1dda8) at /home/abma/dev/spring/master/rts/System/Main.cpp:95 | ||||||||
Additional Information | [f=0030742] Error: Segmentation fault (SIGSEGV) in spring 0.82+.4.0 (Debug) [f=0030742] Error: Stacktrace: [f=0030742] Error: <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7f2691c36d80] [f=0030742] Error: <1> /usr/include/c++/4.6/bits/stl_tree.h:493 [f=0030742] Error: <2> /usr/include/c++/4.6/bits/stl_tree.h:1261 [f=0030742] Error: <3> /usr/include/c++/4.6/bits/stl_set.h:410 [f=0030742] Error: <4> /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:142 [f=0030742] Error: <5> /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:101 [f=0030742] Error: <6> /home/abma/dev/spring/master/rts/System/EventHandler.h:721 [f=0030742] Error: <7> /home/abma/dev/spring/master/rts/System/EventBatchHandler.cpp:34 [f=0030742] Error: <8> /home/abma/dev/spring/master/rts/lib/gml/ThreadSafeContainers.h:232 [f=0030742] Error: <9> /home/abma/dev/spring/master/rts/System/EventHandler.h:675 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Relationships | ||||||||||||||||
|
Notes | |
zerver (reporter) 2011-07-17 18:07 |
I'm guessing the unit that died had a NaN position to begin with. newDrawQuad = -2147483648 (that is equal or very close to MIN_INT) does not make sense otherwise. |
abma (administrator) 2011-07-27 19:49 Last edited: 2011-07-27 19:50 |
an other one in current master: http://pastebin.com/YnWJ8QFb caused by give all + ctrl+a + ctrl+d git describe 0.82.3-2898-g3d24500 |
Kloot (developer) 2011-07-31 16:37 |
Not sure if this was a side-effect of 0002556 etc., but better make a fresh report if it still happens anyway. |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-13 02:51 | abma | New Issue | |
2011-07-13 02:51 | abma | Graphics Card | => unknown |
2011-07-13 02:52 | abma | Target Version | => 0.83.0 |
2011-07-13 03:01 | abma | Relationship added | duplicate of 0002533 |
2011-07-13 03:11 | abma | Description Updated | |
2011-07-14 16:55 | abma | Relationship added | related to 0002556 |
2011-07-17 18:07 | zerver | Note Added: 0007051 | |
2011-07-17 18:07 | zerver | Relationship added | related to 0002485 |
2011-07-27 19:49 | abma | Note Added: 0007097 | |
2011-07-27 19:50 | abma | Note Edited: 0007097 | |
2011-07-31 16:37 | Kloot | Note Added: 0007154 | |
2011-07-31 16:37 | Kloot | Status | new => resolved |
2011-07-31 16:37 | Kloot | Fixed in Version | => 0.82.7+git |
2011-07-31 16:37 | Kloot | Resolution | open => fixed |
2011-07-31 16:37 | Kloot | Assigned To | => Kloot |