View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004100 | Spring engine | General | public | 2013-11-01 00:40 | 2013-11-01 01:34 |
| Reporter | abma | Assigned To | Kloot | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | won't fix | ||
| Product Version | 94.1.1+git | ||||
| Target Version | 95.0 | ||||
| Summary | 0004100: assert in ProjectileHandler.cpp:219 failed | ||||
| Description | spring-headless: rts/Sim/Projectiles/ProjectileHandler.cpp:219: void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool): Assertion `p->pos.x >= -(float3::maxxpos * 16.0f)' failed. [f=0000294] Error: Aborted (SIGABRT) in spring 94.1.1-1442-g36b4683 release (Debug Headless) [f=0000294] Error: Stacktrace: [f=0000294] Error: <0> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0) [0x7fe3e9354bb0] [f=0000294] Error: <1> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fe3e8fb3f77] [f=0000294] Error: <2> /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fe3e8fb75e8] [f=0000294] Error: <3> /lib/x86_64-linux-gnu/libc.so.6(+0x2fd43) [0x7fe3e8facd43] [f=0000294] Error: <4> /lib/x86_64-linux-gnu/libc.so.6(+0x2fdf2) [0x7fe3e8facdf2] [f=0000294] Error: <5> /home/abma/dev/spring/develop/rts/Sim/Projectiles/ProjectileHandler.cpp:219 [f=0000294] Error: <6> /home/abma/dev/spring/develop/rts/Sim/Projectiles/ProjectileHandler.cpp:243 [f=0000294] Error: <7> /home/abma/dev/spring/develop/rts/Game/Game.cpp:1592 [f=0000294] Error: <8> /home/abma/dev/spring/develop/rts/Net/NetCommands.cpp:437 [f=0000294] Error: <9> /home/abma/dev/spring/develop/rts/Game/Game.cpp:975 [f=0000294] Error: <10> /home/abma/dev/spring/develop/rts/System/Platform/Threading.cpp:348 [f=0000294] Error: <11> /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:959 [f=0000294] Error: <12> /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1041 [f=0000294] Error: <13> /home/abma/dev/spring/develop/rts/System/Main.cpp:64 [f=0000294] Error: <14> /home/abma/dev/spring/develop/rts/System/Main.cpp:124 [f=0000294] Error: <15> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fe3e8f9ede5] [f=0000294] Error: <16> ??:? [f=0000294] [Shared Functions] Error: LuaUI/Configs/zk_keys.lua: No such file or directory [f=0000294] ValidationClient DISABLE TTS spring-headless: rts/Sim/Projectiles/Projectile.cpp:117: virtual CProjectile::~CProjectile(): Assertion `!synced || detached' failed. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
to reproduce in current zk:stable: /cheat /give all /give all 1 |
|
|
(gdb) bt full #0 0x00007ffff44f2f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 1160 selftid = 1160 #1 0x00007ffff44f65e8 in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7fffffffe7fe, sa_sigaction = 0x7fffffffe7fe}, sa_mask = {__val = {140737293579012, 19160912, 219, 4294967296, 140737292195793, 140737488344912, 636463016, 12884891440, 4, 140737488344800, 0, 0, 0, 140737293578355, 140737086222336, 140737293594456}}, sa_flags = 19161040, sa_restorer = 0x12462a0 <CProjectileHandler::UpdateProjectileContainer(ThreadListSim<std::list<CProjectile*, std::allocator<CProjectile*> >, std::set<CProjectile*, std::less<CProjectile*>, std::allocator<CProjectile*> >, CProjectile*, ProjectileDetacher>&, bool)::__PRETTY_FUNCTION__>} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007ffff44ebd43 in __assert_fail_base ( fmt=0x7ffff4642f58 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x1245fd0 "p->pos.x >= -(float3::maxxpos * 16.0f)", file=file@entry=0x1245f50 "rts/Sim/Projectiles/ProjectileHandler.cpp", line=line@entry=219, function=function@entry=0x12462a0 <CProjectileHandler::UpdateProjectileContainer(ThreadListSim<std::list<CProjectile*, std::allocator<CProjectile*> >, std::set<CProjectile*, std::less<CProjectile*>, std::allocator<CProjectile*> >, CProjectile*, ProjectileDetacher>&, bool)::__PRETTY_FUNCTION__> "void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool)") at assert.c:92 str = 0x1844da60 "\340\032\210\020" ---Type <return> to continue, or q <return> to quit--- total = 4096 0000003 0x00007ffff44ebdf2 in __GI___assert_fail ( assertion=0x1245fd0 "p->pos.x >= -(float3::maxxpos * 16.0f)", file=0x1245f50 "rts/Sim/Projectiles/ProjectileHandler.cpp", line=219, function=0x12462a0 <CProjectileHandler::UpdateProjectileContainer(ThreadListSim<std::list<CProjectile*, std::allocator<CProjectile*> >, std::set<CProjectile*, std::less<CProjectile*>, std::allocator<CProjectile*> >, CProjectile*, ProjectileDetacher>&, bool)::__PRETTY_FUNCTION__> "void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool)") at assert.c:101 No locals. 0000004 0x0000000000afbb99 in CProjectileHandler::UpdateProjectileContainer (this=0x7f00be0, pc=..., synced=true) at rts/Sim/Projectiles/ProjectileHandler.cpp:219 p = 0x23d9e5b0 pci = {_M_node = 0x181336e0} __PRETTY_FUNCTION__ = "void CProjectileHandler::UpdateProjectileContainer(ProjectileContainer&, bool)" 0000005 0x0000000000afbf35 in CProjectileHandler::Update (this=0x7f00be0) at rts/Sim/Projectiles/ProjectileHandler.cpp:242 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 2495, starttime = {static binder = {class_ = 0x19d4d90, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x193c760 <spring_time::memberRegistrator>, name = 0x126e55b "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc57292 <spring_time::_ConstructInstance(void*)>, destructor = 0xc572be <spring_time::_DestructInstance(void*)>, ---Type <return> to continue, or q <return> to quit--- nextBinder = 0x193c680 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x193c7f0 <spring_timemreg>, static hasVTable = false, x = 1383264145599866528, static xs = 1383264043971950922}, nameIterator = {_M_node = 0x10934540}}, autoShowGraph = false, it = {_M_node = 0xfe2deb0}} gfi = {_M_node = 0x7eaed00} #6 0x000000000059d090 in CGame::SimFrame (this=0x2300620) at rts/Game/Game.cpp:1591 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 796, starttime = {static binder = {class_ = 0x19d4d90, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x193c760 <spring_time::memberRegistrator>, name = 0x126e55b "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc57292 <spring_time::_ConstructInstance(void*)>, destructor = 0xc572be <spring_time::_DestructInstance(void*)>, nextBinder = 0x193c680 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x193c7f0 <spring_timemreg>, static hasVTable = false, x = 1383264145507018969, static xs = 1383264043971950922}, nameIterator = { _M_node = 0xf8e23f0}}, autoShowGraph = false, it = {_M_node = 0xf9a7bd0}} #7 0x000000000070bd5b in CGame::ClientReadNet (this=0x2300620) at rts/Net/NetCommands.cpp:432 msgProcTimeSpent = 372 packet = {px = 0x7fffc0001f40, pn = {pi_ = 0x7fffc0002040}} dataLength = 1 allowMsgProcessing = true inbuf = 0x7fffc0001f00 "\002 " packetCode = 2 '\002' ---Type <return> to continue, or q <return> to quit--- simDrawRatio = 3,85498738 msgProcStartTime = {static binder = {class_ = 0x19d4d90, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x193c760 <spring_time::memberRegistrator>, name = 0x126e55b "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc57292 <spring_time::_ConstructInstance(void*)>, destructor = 0xc572be <spring_time::_DestructInstance(void*)>, nextBinder = 0x193c680 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x193c7f0 <spring_timemreg>, static hasVTable = false, x = 1383264145132947878, static xs = 1383264043971950922} __FUNCTION__ = "ClientReadNet" __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()" maxSimFPS = 6,18391943 minDrawFPS = 1,6041348 msgProcTimeLimit = 500 #8 0x0000000000599e60 in CGame::Update (this=0x2300620) at rts/Game/Game.cpp:973 timeNow = {static binder = {class_ = 0x19d4d90, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x193c760 <spring_time::memberRegistrator>, name = 0x126e55b "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xc57292 <spring_time::_ConstructInstance(void*)>, destructor = 0xc572be <spring_time::_DestructInstance(void*)>, nextBinder = 0x193c680 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x193c7f0 <spring_timemreg>, static hasVTable = false, x = 1383264145132937112, static xs = 1383264043971950922} #9 0x0000000000c6da2c in Threading::UpdateGameController (ac=0x2300620) ---Type <return> to continue, or q <return> to quit--- at rts/System/Platform/Threading.cpp:348 ret = false 0000010 0x0000000000c7eda4 in SpringApp::Update (this=0x7fffffffe280) at rts/System/SpringApp.cpp:959 ret = 1 #11 0x0000000000c7f03e in SpringApp::Run (this=0x7fffffffe280) at rts/System/SpringApp.cpp:1041 No locals. 0000012 0x0000000000c4f760 in Run (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:64 app = {cmdline = 0x19c03e0} ret = -1 err = 0x19bfba0 0000013 0x0000000000c4fe4f in main (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:123 restart = false |
|
|
print p->pos $2 = {static binder = {class_ = 0x19d4a10, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x193f540 <float3::memberRegistrator>, name = 0x127e64e "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xcb2cd0 <float3::_ConstructInstance(void*)>, destructor = 0xcb2cfc <float3::_DestructInstance(void*)>, nextBinder = 0x193f4c0 <type2<float>::binder>}, static memberRegistrator = 0x193f628 <float3mreg>, static hasVTable = false, static CMP_EPS = 9,99999975e-05, static NORMALIZE_EPS = 9,99999996e-13, static maxxpos = 6143, static maxzpos = 4095, {{x = -100000, y = -100000, z = -100000}, {r = -100000, g = -100000, b = -100000}, {x1 = -100000, y1 = -100000, x2 = -100000}, {s = -100000, t = -100000, p = -100000}, {xstart = -100000, ystart = -100000, xend = -100000}}} |
|
|
wontfix, caused by weapon_noexplode_stopper.lua calling Spring.SetProjectilePosition(proID,-100000,-100000,-100000) |
|
|
1. can this call cause a desync? 2. can we warn/inform game-devs somehow they shouldn't use such values or just clamp these? |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-11-01 00:40 | abma | New Issue | |
| 2013-11-01 00:44 | abma | Note Added: 0011918 | |
| 2013-11-01 01:02 | abma | Note Added: 0011919 | |
| 2013-11-01 01:03 | abma | Note Added: 0011920 | |
| 2013-11-01 01:16 | Kloot | Note Added: 0011921 | |
| 2013-11-01 01:16 | Kloot | Status | new => closed |
| 2013-11-01 01:16 | Kloot | Assigned To | => Kloot |
| 2013-11-01 01:16 | Kloot | Resolution | open => won't fix |
| 2013-11-01 01:32 | abma | Note Added: 0011922 | |
| 2013-11-01 01:34 | abma | Note Edited: 0011922 |