View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005334 | Spring engine | General | public | 2016-08-24 20:08 | 2016-08-26 17:25 |
| Reporter | Anarchid | Assigned To | hokomoko | ||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | ||
| Product Version | 103.0 | ||||
| Target Version | 104.0 | ||||
| Summary | 0005334: Isolated midgame ZK crash in rts/Map/Ground.cpp:90 | ||||
| Description | - Most people in this game crashed - The game featured a roach ramp - Rejoining the game crashed as well - "crash" was preceded by a "hang" - Replay was written or dumped - At least one player did not crash - Crash affected windows and linux afaict | ||||
| Steps To Reproduce | Run replay | ||||
| Additional Information | How do i upload two files. I guess i will have to add infolog separately. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
when i run this demo with spring-headless i get this: [f=0016666] Warning: [CheckPieceNormals] piece "" of model "objects3d/pulverizer_d.s3o" has 1642 (of 1642) null-normals! It will either be rendered fully black or with black splotches! [f=0017443] End of demo reached [f=0017598] Fatal: LuaRules: cannot allocate more memory! (805306376 bytes already used, 805306368 bytes maximum) [f=0017598] Error: LuaRules::RunCallIn: error = 4, GameFrame, [Internal Lua error: Call failure] not enough memory |
|
|
"normal" spring crashes: #6 LineGroundSquareCol (ys=0, xs=511, to=..., from=..., normalmap=<optimized out>, heightmap=<optimized out>) at ../../rts/Map/Ground.cpp:90 #7 CGround::LineGroundCol (from=..., to=..., synced=synced@entry=false) at ../../rts/Map/Ground.cpp:290 #8 0x00000000006e6e0e in CGround::LineGroundCol (pos=..., dir=..., len=len@entry=23827.8184, synced=synced@entry=false) at ../../rts/Map/Ground.cpp:379 #9 0x0000000000587aa0 in TraceRay::GuiTraceRay (start=..., dir=..., length=23827.8184, exclude=exclude@entry=0x0, hitUnit=@0x7fffc2e87c10: 0x0, hitFeature=@0x7fffc2e87c18: 0x0, useRadar=useRadar@entry=true, groundOnly=groundOnly@entry=false, ignoreWater=ignoreWater@entry=true) at ../../rts/Game/TraceRay.cpp:334 0000010 0x00000000005988fc in CGuiHandler::GetDefaultCommand (this=this@entry=0x144281b0, x=640, y=<optimized out>, cameraPos=..., mouseDir=...) at ../../rts/Game/UI/GuiHandler.cpp:1646 #11 0x0000000000598e54 in CGuiHandler::GetDefaultCommand (y=<optimized out>, x=<optimized out>, this=0x144281b0) at ../../rts/Game/UI/GuiHandler.h:95 0000012 CGuiHandler::SetCursorIcon (this=this@entry=0x144281b0) at ../../rts/Game/UI/GuiHandler.cpp:1096 0000013 0x00000000005a5469 in CGuiHandler::Update (this=0x144281b0) at ../../rts/Game/UI/GuiHandler.cpp:1015 0000014 0x000000000054d12c in CGame::UpdateUnsynced (this=this@entry=0x2f74600, currentTime=..., currentTime@entry=...) at ../../rts/Game/Game.cpp:1132 #15 0x000000000054d6dc in CGame::Draw (this=0x2f74600) at ../../rts/Game/Game.cpp:1144 #16 0x00000000008845dc in SpringApp::Update (this=this@entry=0x7fffc2e880b0) at ../../rts/System/SpringApp.cpp:984 #17 0x0000000000889878 in SpringApp::Run (this=this@entry=0x7fffc2e880b0) at ../../rts/System/SpringApp.cpp:1016 #18 0x000000000085f745 in Run (argc=argc@entry=2, argv=argv@entry=0x7fffc2e88368) at ../../rts/System/Main.cpp:48 #19 0x000000000085ff3c in main (argc=2, argv=0x7fffc2e88368) at ../../rts/System/Main.cpp:107 |
|
|
with a debug build an assert fails: (gdb) bt #0 0x00007ffff2d63418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007ffff2d6501a in __GI_abort () at abort.c:89 #2 0x00007ffff2d5bbd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x1c1f080 "!math::isnan(x) && !math::isinf(x)", file=file@entry=0x1c1f040 "rts/System/float3.h", line=line@entry=627, function=function@entry=0x1c20900 <float3::AssertNaNs() const::__PRETTY_FUNCTION__> "void float3::AssertNaNs() const") at assert.c:92 0000003 0x00007ffff2d5bc82 in __GI___assert_fail (assertion=0x1c1f080 "!math::isnan(x) && !math::isinf(x)", file=0x1c1f040 "rts/System/float3.h", line=627, function=0x1c20900 <float3::AssertNaNs() const::__PRETTY_FUNCTION__> "void float3::AssertNaNs() const") at assert.c:101 0000004 0x000000000149873a in float3::AssertNaNs (this=0x61d000a57a5c) at rts/System/float3.h:627 0000005 0x0000000001733c6e in CUnitHandler::<lambda(const CUnit*)>::operator()(const CUnit *) const ( __closure=0x7fffffffc6e0, unit=0x61d000a57880) at rts/Sim/Units/UnitHandler.cpp:185 #6 0x00000000017343f1 in CUnitHandler::Update (this=0x612000035bc0) at rts/Sim/Units/UnitHandler.cpp:221 #7 0x0000000000629125 in CGame::SimFrame (this=0x6160000f3980) at rts/Game/Game.cpp:1464 #8 0x00000000008a423d in CGame::ClientReadNet (this=0x6160000f3980) at rts/Net/NetCommands.cpp:511 #9 0x0000000000622b5b in CGame::Update (this=0x6160000f3980) at rts/Game/Game.cpp:967 0000010 0x0000000000f424be in SpringApp::Update (this=0x7fffffffdf60) at rts/System/SpringApp.cpp:980 #11 0x0000000000f428b8 in SpringApp::Run (this=0x7fffffffdf60) at rts/System/SpringApp.cpp:1016 0000012 0x0000000000ee0a1f in Run (argc=2, argv=0x7fffffffe318) at rts/System/Main.cpp:48 0000013 0x0000000000ee16f4 in main (argc=2, argv=0x7fffffffe318) at rts/System/Main.cpp:107 (gdb) print unit->pos.x $2 = nan(0x400000) (gdb) print unit->pos.y $3 = nan(0x400000) (gdb) print unit->pos.z $4 = nan(0x400000) |
|
|
print unit.unitDef->humanName $7 = "Swift" |
|
|
lua nan error. gl&hf. [f=0017411] Error: LuaRules::RunCallIn: error = 2, AllowCommand, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_terraform.lua"]:306: bad argument 0000003 to 'SetUnitRulesParam' (number expected, got NAN (check your code for div0)) [f=0017412] Error: LuaRules::RunCallIn: error = 2, GameFrame, [Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_terraform.lua"]:306: bad argument 0000003 to 'SetUnitRulesParam' (number expected, got NAN (check your code for div0)) stack traceback: [C]: in function 'SetUnitRulesParam' [string "LuaRules/Gadgets/unit_terraform.lua"]:306: in function 'SetTooltip' [string "LuaRules/Gadgets/unit_terraform.lua"]:3054: in function 'GameFrame' [string "LuaRules/gadgets.lua"]:1008: in function <[string "LuaRules/gadgets.lua"]:1006> (tail call): ? |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-08-24 20:08 | Anarchid | New Issue | |
| 2016-08-24 20:08 | Anarchid | File Added: roach-crash.sdfz | |
| 2016-08-24 20:08 | Anarchid | File Added: roach-crash-infolog.txt | |
| 2016-08-25 14:47 | abma | Note Added: 0016619 | |
| 2016-08-25 14:55 | abma | Note Added: 0016620 | |
| 2016-08-25 15:00 | abma | Summary | Isolated midgame ZK crash => Isolated midgame ZK crash in rts/Map/Ground.cpp:90 |
| 2016-08-25 15:01 | abma | Target Version | => 104.0 |
| 2016-08-26 01:14 | abma | Note Added: 0016623 | |
| 2016-08-26 01:15 | abma | Note Added: 0016624 | |
| 2016-08-26 12:15 | hokomoko | Assigned To | => hokomoko |
| 2016-08-26 12:15 | hokomoko | Status | new => assigned |
| 2016-08-26 17:25 | hokomoko | Note Added: 0016626 | |
| 2016-08-26 17:25 | hokomoko | Status | assigned => closed |
| 2016-08-26 17:25 | hokomoko | Resolution | open => no change required |