View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004944 | Spring engine | General | public | 2015-09-02 00:53 | 2015-09-02 01:17 | ||||
Reporter | abma | ||||||||
Assigned To | hokomoko | ||||||||
Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 100.0+git | ||||||||
Target Version | 101.0 | Fixed in Version | |||||||
Summary | 0004944: failed assert in Rendering/Models/WorldObjectModelRenderer.cpp:125 | ||||||||
Description | spring-headless: ../../rts/Rendering/Models/WorldObjectModelRenderer.cpp:125: virtual void IWorldObjectModelRenderer::AddFeature(const CFeature*): Assertion `std::find(fs.begin(), fs.end(), const_cast<CFeature*>(f)) == fs.end()' failed. | ||||||||
Additional Information | http://buildbot.springrts.com/builders/validationtests/builds/4815/steps/validation%20test_2/logs/stdio | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2015-09-02 00:53 |
#0 0x00007f7a05beecc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 The program being debugged is not being run. 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. #0 0x00007f7a05beecc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 16736 selftid = 16736 #1 0x00007f7a05bf20d8 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7fffc672eef9, sa_sigaction = 0x7fffc672eef9}, sa_mask = {__val = {140162060471580, 15358760, 125, 4294967295, 140162059113699, 4294967296, 140736522799088, 8761207632, 160418528, 0, 0, 0, 0, 21474836480, 140162099908608, 140162060486704}}, sa_flags = 15358888, sa_restorer = 0xea5d60 <IWorldObjectModelRenderer::AddFeature(CFeature const*)::__PRETTY_FUNCTION__>} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007f7a05be7b86 in __assert_fail_base (fmt=0x7f7a05d38830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xea5ba8 "std::find(fs.begin(), fs.end(), const_cast<CFeature*>(f)) == fs.end()", file=file@entry=0xea5b28 "../../rts/Rendering/Models/WorldObjectModelRenderer.cpp", line=line@entry=125, function=function@entry=0xea5d60 <IWorldObjectModelRenderer::AddFeature(CFeature const*)::__PRETTY_FUNCTION__> "virtual void IWorldObjectModelRenderer::AddFeature(const CFeature*)") at assert.c:92 str = 0xbb671d0 "\360\265\340\t" total = 4096 0000003 0x00007f7a05be7c32 in __GI___assert_fail (assertion=0xea5ba8 "std::find(fs.begin(), fs.end(), const_cast<CFeature*>(f)) == fs.end()", file=0xea5b28 "../../rts/Rendering/Models/WorldObjectModelRenderer.cpp", line=125, function=0xea5d60 <IWorldObjectModelRenderer::AddFeature(CFeature const*)::__PRETTY_FUNCTION__> "virtual void IWorldObjectModelRenderer::AddFeature(const CFeature*)") at assert.c:101 No locals. 0000004 0x0000000000909c57 in IWorldObjectModelRenderer::AddFeature (this=0x4f87450, f=0x9c5feb0) at ../../rts/Rendering/Models/WorldObjectModelRenderer.cpp:125 fs = @0x98fcb08: {<std::_Vector_base<CFeature*, std::allocator<CFeature*> >> = {_M_impl = {<std::allocator<CFeature*>> = {<__gnu_cxx::new_allocator<CFeature*>> = {<No data fields>}, <No data fields>}, _M_start = 0xba3f3a0, _M_finish = 0xba3f3b0, _M_end_of_storage = 0xba3f3b0}}, <No data fields>} __PRETTY_FUNCTION__ = "virtual void IWorldObjectModelRenderer::AddFeature(const CFeature*)" 0000005 0x00000000008a8df5 in CFeatureDrawer::UpdateDrawQuad (this=0x5026100, feature=0x9c5feb0) at ../../rts/Rendering/FeatureDrawer.cpp:176 newDrawQuadX = 14 newDrawQuadY = 7 newDrawQuad = 126 __PRETTY_FUNCTION__ = "void CFeatureDrawer::UpdateDrawQuad(CFeature*)" oldDrawQuad = -1 #6 0x00000000008a8aab in CFeatureDrawer::RenderFeatureCreated (this=0x5026100, feature=0x9c5feb0) at ../../rts/Rendering/FeatureDrawer.cpp:115 f = 0x9c5feb0 #7 0x0000000000ac051b in CEventHandler::RenderFeatureCreated (this=0x1273f00 <eventHandler>, feature=0x9c5feb0) at ../../rts/System/EventHandler.h:652 ec = 0x5026100 i = 0 #8 0x0000000000abd17b in CFeature::Initialize (this=0x9c5feb0, params=...) at ../../rts/Sim/Features/Feature.cpp:225 __FUNCTION__ = "Initialize" #9 0x0000000000ac4642 in CFeatureHandler::LoadFeature (this=0x593c380, params=...) at ../../rts/Sim/Features/FeatureHandler.cpp:328 feature = 0x9c5feb0 0000010 0x0000000000ac4b80 in CFeatureHandler::CreateWreckage (this=0x593c380, cparams=..., numWreckLevels=0, emitSmoke=true) at ../../rts/Sim/Features/FeatureHandler.cpp:425 params = {featureDef = 0x5ecd2c0, unitDef = 0x528bcc0, pos = {static binder = {class_ = 0x2954b80, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x127b328 <float3::memberRegistrator>, name = 0xee2914 "float3", size = 12, alignment = 4, hasVTable = false, isCregStruct = true, constructor = 0xa1d7fe <float3::_ConstructInstance(void*)>, destructor = 0xa1d82a <float3::_DestructInstance(void*)>, nextBinder = 0x127b280 <itype2<unsigned short>::binder>}, static memberRegistrator = 0x127b408 <float3mreg>, static creg_hasVTable = false, static creg_isStruct = true, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 3794.43042, y = 179.292297, z = 2015.00293}, {r = 3794.43042, g = 179.292297, b = 2015.00293}, {x1 = 3794.43042, y1 = 179.292297, x2 = 2015.00293}, {s = 3794.43042, t = 179.292297, p = 2015.00293}, {xstart = 3794.43042, ystart = 179.292297, xend = 2015.00293}}}, speed = {static binder = {class_ = 0x2954b80, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x127b328 <float3::memberRegistrator>, name = 0xee2914 "float3", size = 12, alignment = 4, hasVTable = false, isCregStruct = true, constructor = 0xa1d7fe <float3::_ConstructInstance(void*)>, destructor = 0xa1d82a <float3::_DestructInstance(void*)>, nextBinder = 0x127b280 <itype2<unsigned short>::binder>}, static memberRegistrator = 0x127b408 <float3mreg>, static creg_hasVTable = false, static creg_isStruct = true, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 0.514771581, y = 0, z = -1.06713903}, {r = 0.514771581, g = 0, b = -1.06713903}, {x1 = 0.514771581, y1 = 0, x2 = -1.06713903}, {s = 0.514771581, t = 0, p = -1.06713903}, {xstart = 0.514771581, ystart = 0, xend = -1.06713903}}}, featureID = -1, teamID = 1, allyTeamID = -1, heading = 28633, facing = 3, smokeTime = 300} fd = 0x5ecd2c0 #11 0x0000000000c496c9 in CUnit::~CUnit (this=0xbc3d800, __in_chrg=<optimized out>) at ../../rts/Sim/Units/Unit.cpp:213 params = {featureDef = 0x5ecd2c0, unitDef = 0x528bcc0, pos = {static binder = {class_ = 0x2954b80, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x127b328 <float3::memberRegistrator>, name = 0xee2914 "float3", size = 12, alignment = 4, hasVTable = false, isCregStruct = true, constructor = 0xa1d7fe <float3::_ConstructInstance(void*)>, destructor = 0xa1d82a <float3::_DestructInstance(void*)>, nextBinder = 0x127b280 <itype2<unsigned short>::binder>}, static memberRegistrator = 0x127b408 <float3mreg>, static creg_hasVTable = false, static creg_isStruct = true, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 3794.43042, y = 179.292297, z = 2015.00293}, {r = 3794.43042, g = 179.292297, b = 2015.00293}, {x1 = 3794.43042, y1 = 179.292297, x2 = 2015.00293}, {s = 3794.43042, t = 179.292297, p = 2015.00293}, {xstart = 3794.43042, ystart = 179.292297, xend = 2015.00293}}}, speed = {static binder = {class_ = 0x2954b80, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x127b328 <float3::memberRegistrator>, name = 0xee2914 "float3", size = 12, alignment = 4, hasVTable = false, isCregStruct = true, constructor = 0xa1d7fe <float3::_ConstructInstance(void*)>, destructor = 0xa1d82a <float3::_DestructInstance(void*)>, nextBinder = 0x127b280 <itype2<unsigned short>::binder>}, static memberRegistrator = 0x127b408 <float3mreg>, static creg_hasVTable = false, static creg_isStruct = true, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 0.514771581, y = 0, z = -1.06713903}, {r = 0.514771581, g = 0, b = -1.06713903}, {x1 = 0.514771581, y1 = 0, x2 = -1.06713903}, {s = 0.514771581, t = 0, p = -1.06713903}, {xstart = 0.514771581, ystart = 0, xend = -1.06713903}}}, featureID = -1, teamID = 1, allyTeamID = -1, heading = 28633, facing = 3, smokeTime = 0} 0000012 0x0000000000c78279 in CBuilder::~CBuilder (this=0xbc3d800, __in_chrg=<optimized out>) at ../../rts/Sim/Units/UnitTypes/Builder.cpp:97 No locals. 0000013 0x0000000000c782a8 in CBuilder::~CBuilder (this=0xbc3d800, __in_chrg=<optimized out>) at ../../rts/Sim/Units/UnitTypes/Builder.cpp:99 No locals. 0000014 0x0000000000c6e8b6 in CUnitHandler::DeleteUnitNow (this=0x548b7f0, delUnit=0xbc3d800) at ../../rts/Sim/Units/UnitHandler.cpp:155 delTeam = 1 delType = 40 it = {_M_current = 0x9694f80} __PRETTY_FUNCTION__ = "void CUnitHandler::DeleteUnitNow(CUnit*)" #15 0x0000000000c6eb98 in CUnitHandler::Update (this=0x548b7f0) at ../../rts/Sim/Units/UnitHandler.cpp:193 delUnit = 0xbc3d800 UNIT_SANITY_CHECK = {<No data fields>} __PRETTY_FUNCTION__ = "void CUnitHandler::Update()" #16 0x0000000000599f65 in CGame::SimFrame (this=0x2a2e870) at ../../rts/Game/Game.cpp:1560 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 796, starttime = {static binder = {class_ = 0x2955000, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1277ac8 <spring_time::memberRegistrator>, name = 0xece701 "spring_time", size = 8, alignment = 8, hasVTable = false, isCregStruct = true, constructor = 0x9c1432 <spring_time::_ConstructInstance(void*)>, destructor = 0x9c145e <spring_time::_DestructInstance(void*)>, nextBinder = 0x12779e0 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1277be0 <spring_timemreg>, static creg_hasVTable = false, static creg_isStruct = true, x = 130308461458, static xs = 1441147628249928803}, nameIterator = {_M_node = 0xa1c1fb0}}, autoShowGraph = false, it = {_M_node = 0x9212490}} #17 0x00000000006ea2f0 in CGame::ClientReadNet (this=0x2a2e870) at ../../rts/Net/NetCommands.cpp:506 packet = {px = 0x7f79ec1e8b00, pn = {pi_ = 0x7f79ec1e8ae0}} inbuf = 0x7f79ec1e8ac0 "\002\212\036\354y\177" dataLength = 1 packetCode = 2 '\002' msgProcEndTime = {static binder = {class_ = 0x2955000, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1277ac8 <spring_time::memberRegistrator>, name = 0xece701 "spring_time", size = 8, alignment = 8, hasVTable = false, isCregStruct = true, constructor = 0x9c1432 <spring_time::_ConstructInstance(void*)>, destructor = 0x9c145e <spring_time::_DestructInstance(void*)>, nextBinder = 0x12779e0 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1277be0 <spring_timemreg>, static creg_hasVTable = false, static creg_isStruct = true, x = 130309962973, static xs = 1441147628249928803} __FUNCTION__ = "ClientReadNet" __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()" #18 0x0000000000597438 in CGame::Update (this=0x2a2e870) at ../../rts/Game/Game.cpp:1005 No locals. #19 0x00000000009f056b in SpringApp::Update (this=0x7fffc672d660) at ../../rts/System/SpringApp.cpp:942 ret = 1 cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 3329414512, starttime = {static binder = {class_ = 0x2955000, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1277ac8 <spring_time::memberRegistrator>, name = 0xece701 "spring_time", size = 8, alignment = 8, hasVTable = false, isCregStruct = true, constructor = 0x9c1432 <spring_time::_ConstructInstance(void*)>, destructor = 0x9c145e <spring_time::_DestructInstance(void*)>, nextBinder = 0x12779e0 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1277be0 <spring_timemreg>, static creg_hasVTable = false, static creg_isStruct = true, x = 10389279, static xs = 1441147628249928803}, nameIterator = {_M_node = 0xb820fc0}}, autoShowGraph = false, it = {_M_node = 0xb821000}} pre = {static binder = {class_ = 0x2955000, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1277ac8 <spring_time::memberRegistrator>, name = 0xece701 "spring_time", size = 8, alignment = 8, hasVTable = false, isCregStruct = true, constructor = 0x9c1432 <spring_time::_ConstructInstance(void*)>, destructor = 0x9c145e <spring_time::_DestructInstance(void*)>, nextBinder = 0x12779e0 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1277be0 <spring_timemreg>, static creg_hasVTable = false, static creg_isStruct = true, x = 130286018228, static xs = 1441147628249928803} 0000020 0x00000000009f06e0 in SpringApp::Run (this=0x7fffc672d660) at ../../rts/System/SpringApp.cpp:978 __FUNCTION__ = "Run" #21 0x00000000009babd0 in Run (argc=3, argv=0x7fffc672d798) at ../../rts/System/Main.cpp:48 app = {cmdline = {px = 0x293ff00, pn = {pi_ = 0x2940230}}, clientSetup = {px = 0x2b8e980, pn = {pi_ = 0x2994690}}} ret = -1 err = 0x10000ffff #22 0x00000000009bb1e9 in main (argc=3, argv=0x7fffc672d798) at ../../rts/System/Main.cpp:107 |
abma (administrator) 2015-09-02 01:08 |
https://springrts.com/dl/buildbot/validation/develop/100.0.1-146-g88bd34c/validation/%5bvalidation%5d%7bdevelop%7d100.0.1-146-g88bd34c2015-09-02_00-50-27-dbg.7z |
abma (administrator) 2015-09-02 01:13 |
when replaying demo i get this: spring: rts/Rendering/FeatureDrawer.cpp:463: virtual void CFeatureQuadDrawer::DrawQuad(int, int): Assertion `dq == f->drawQuad' failed. [f=0005127] [CrashHandler] Error: Aborted (SIGABRT) in spring 100.0.1-146-g88bd34c develop (Debug) [f=0005127] [CrashHandler] Error: Halted Stacktrace for Spring 100.0.1-146-g88bd34c develop (Debug) using libunwind: [f=0005127] [CrashHandler] Error: [00] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:815 CrashHandler::HaltedStacktrace(std::string const&, siginfo_t*, ucontext*) [f=0005127] [CrashHandler] Error: [01] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:921 CrashHandler::HandleSignal(int, siginfo_t*, void*) [f=0005127] [CrashHandler] Error: [02] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7fb6b69f0d10] __restore_rt [f=0005127] [CrashHandler] Error: [03] /build/buildd/glibc-2.21/signal/../sysdeps/unix/sysv/linux/raise.c:55 __GI_raise [f=0005127] [CrashHandler] Error: [04] /build/buildd/glibc-2.21/stdlib/abort.c:91 __GI_abort [f=0005127] [CrashHandler] Error: [05] /build/buildd/glibc-2.21/assert/assert.c:92 __assert_fail_base [f=0005127] [CrashHandler] Error: [06] /lib/x86_64-linux-gnu/libc.so.6(+0x2e0f2) [0x7fb6b2e160f2] __assert_fail [f=0005127] [CrashHandler] Error: [07] .../rts/Rendering/FeatureDrawer.cpp:465 CFeatureQuadDrawer::DrawQuad(int, int) [f=0005127] [CrashHandler] Error: [08] .../rts/Map/SMF/SMFReadMap.cpp:802 (discriminator 2) CSMFReadMap::GridVisibility(CCamera*, int, float, CReadMap::IQuadDrawer*, int) [f=0005127] [CrashHandler] Error: [09] .../rts/Rendering/FeatureDrawer.cpp:530 CFeatureDrawer::GetVisibleFeatures(int, bool) [f=0005127] [CrashHandler] Error: [10] .../rts/Rendering/FeatureDrawer.cpp:221 CFeatureDrawer::Draw() [f=0005127] [CrashHandler] Error: [11] .../rts/Rendering/WorldDrawer.cpp:164 CWorldDrawer::Draw() [f=0005127] [CrashHandler] Error: [12] .../rts/Game/Game.cpp:1303 CGame::Draw() [f=0005127] [CrashHandler] Error: [13] .../rts/System/SpringApp.cpp:946 SpringApp::Update() [f=0005127] [CrashHandler] Error: [14] .../rts/System/SpringApp.cpp:978 SpringApp::Run() [f=0005127] [CrashHandler] Error: [15] /home/abma/dev/spring/develop/rts/System/Main.cpp:48 Run(int, char**) [f=0005127] [CrashHandler] Error: [16] /home/abma/dev/spring/develop/rts/System/Main.cpp:108 main [f=0005127] [CrashHandler] Error: [17] /build/buildd/glibc-2.21/csu/libc-start.c:323 __libc_start_main [f=0005127] [CrashHandler] Error: [18] ./spring(_start+0x29) [0x5a4c49] ?? |
hokomoko (developer) 2015-09-02 01:17 |
Fix 7121fe7e03c7cacf8c4e352607a1d5f309af9709 committed to develop branch: Fix 0004944, repo: spring changeset id: 5546 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-09-02 00:53 | abma | New Issue | |
2015-09-02 00:53 | abma | Note Added: 0015111 | |
2015-09-02 01:08 | abma | Note Added: 0015112 | |
2015-09-02 01:13 | abma | Note Added: 0015113 | |
2015-09-02 01:17 | hokomoko | Changeset attached | => spring develop 7121fe7e |
2015-09-02 01:17 | hokomoko | Note Added: 0015114 | |
2015-09-02 01:17 | hokomoko | Assigned To | => hokomoko |
2015-09-02 01:17 | hokomoko | Status | new => resolved |
2015-09-02 01:17 | hokomoko | Resolution | open => fixed |