View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0026109 | AI War 2 | Crash/Exception | Jan 13, 2022 2:05 pm | Jan 13, 2022 5:20 pm | |
Reporter | william montag | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | Beta 3.783 The Return Of Multiplayer! | ||||
Fixed in Version | Beta 3.784 Tractor Recursion | ||||
Summary | 0026109: random crash to desktop | ||||
Description | got a game going and it will randomly crash to desktop... | ||||
Tags | No tags attached. | ||||
|
|
|
Here's another one from BobDobbs on discord, where it crashes 3 seconds into the save. I am starting to think it might be related to the Dark Zenith. fatal_errors.savemet (112 bytes)
UK 739766208 2398 Newest <color=#66ffce>Easier </color> Full Ensemble Difficulty 8 18 <color=#007fff>Jax</color> |
|
Thanks! * Improved an exception from Dark Zenith long range planning to be less disruptive if it occurs. * Fixed a very confusing and semi-rare (but extremely consistent when it does happen) crash bug that seemed to be new in the last build. This was a very subtle code bug from myself that I didn't even recognize after putting in an initial fix until Democracy made a further comment. ** This took an incredibly long time to track down because it left no actual errors and just crashed to the desktop, or left only errors unrelated to itself on linux apparently. It took 80 minutes to find this with a savegame in which I could reproduce the error in 3 seconds, and without that save (thank you BobDobbs!) I couldn't have debugged it at all. ** The issue here was "what happens if two tractor beam units both grab one another and try to pull at the same time?" Unlike the peasant railgun, this is isn't an absurd speed that is reached, but rather a stack overflow that is so harsh it causes a segfault (writing to protected memory). ** The general situation was like this: "tractor A grabs B, which is also a tractor, which grabs A. A moves, dragging B with it. B has moved, so it pushes A with it, which causes B to be pulled, which moves A, etc." Actually it probably does work like a railgun, except it essentially accelerates them both to infinity speed within a nanosecond, so the world collapses in a singularity. ** I'm pretty sure that Zeus and I had talked about this a long time ago as a possibility with some DLC2 stuff, but the units in question at the time were set up so that we never had to test this corner case. I take it that the balance has changed such that this corner case became relevant. ** Anyhow, originally I was just going to just make tractors not grab tractors, but then Democracy noted that this case was safely working before (Ensnarer Battlestations would do it). So that reminded me of the code change I did last build, and reviewed earlier today without seeing the issue. Based on that, I managed to let tractors drag tractors again, but keep them from infinite looping. |
|
Also thanks! * Fixed an exception that could happen in AntagonizedDysonDescriptionAppender.AddToDescriptionBuffer. |
|
And also thanks! * Any errors in HandleDeathWithEffectApplied_AfterFullDeathOrPartOfStackDeath will no longer interrupt the sim as much as they did before. |
|
Any other popup errors you wind up with, please do report those, because I can't fix them if folks don't report them -- your log here was full of important things for me to fix! |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 13, 2022 2:05 pm | william montag | New Issue | |
Jan 13, 2022 2:05 pm | william montag | File Added: q.save | |
Jan 13, 2022 2:05 pm | william montag | File Added: q.bak | |
Jan 13, 2022 2:05 pm | william montag | File Added: ArcenDebugLog.txt | |
Jan 13, 2022 4:30 pm | Chris_McElligottPark | Note Added: 0063755 | |
Jan 13, 2022 4:30 pm | Chris_McElligottPark | File Added: fatal_errors.save | |
Jan 13, 2022 4:30 pm | Chris_McElligottPark | File Added: fatal_errors.savemet | |
Jan 13, 2022 5:11 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Jan 13, 2022 5:11 pm | Chris_McElligottPark | Status | new => resolved |
Jan 13, 2022 5:11 pm | Chris_McElligottPark | Resolution | open => fixed |
Jan 13, 2022 5:11 pm | Chris_McElligottPark | Fixed in Version | => Beta 3.784 Tractor Recursion |
Jan 13, 2022 5:11 pm | Chris_McElligottPark | Note Added: 0063756 | |
Jan 13, 2022 5:16 pm | Chris_McElligottPark | Note Added: 0063758 | |
Jan 13, 2022 5:20 pm | Chris_McElligottPark | Note Added: 0063759 | |
Jan 13, 2022 5:20 pm | Chris_McElligottPark | Note Added: 0063760 |