Not a member yet? Why not Sign up today
Create an account  

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stack overflow crash

#1
I made ringworld city too complex and game started to crash on save load. Debugger says this: "Unhandled exception at 0x000000005D1C7638 (Qt5Core.dll) in Hazeron Starship.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x000000CB60E03000)."

First i lowered active point light from 20 to 6 to avoid crash and continued to build up scene. After some time i saved game a couldn't load since then. Lowering every setting to minimum and thread count from max 16 to 8 didn't help. Scene is complex: around 250 buildings in render range, around 20-50 street lights, dense foliage zone, lots of graded area, couple of vehicles, spacecraft with 2 spacecrafts inside, and it's a ringworld arc lit by 2 stars (by the time of writing).
Save file: https://drive.google.com/file/d/1SQdCQKl...share_link
Test your hardware

I restarted PC, hoping OS will free up some potentially occupied corrupted space in RAM, left by game if there is any (silly, but some things can be fixed by restarting). That didn't help
Report or Exploit
Reply

#2
(03-06-2023, 07:04 PM)Vooker525 Wrote: I restarted PC, hoping OS will free up some potentially occupied corrupted space in RAM
Windows is not written in Java. If anything would have been left out, it is enough to force-kill all SoH processes running after you have closed everything visible.
Reply

#3
(03-06-2023, 07:04 PM)Vooker525 Wrote: I made ringworld city too complex and game started to crash on save load. Debugger says this: "Unhandled exception at 0x000000005D1C7638 (Qt5Core.dll) in Hazeron Starship.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x000000CB60E03000)."

Seems like it could be this issue coming up again: https://www.hazeron.com/mybb/showthread.php?tid=2858

I believe it was fixed by just increasing the maximum acceptable size of the stack, but if the underlying issue causing the stack size to become very large wasn't fixed then it would be possible for a save file to become so complex that it overflows the new limit and starts to crash again.

When I have some time later today, I'll have a look at your save and see if i can replicate the issue and hopefully fix it with the same hack I used in the linked thread.
Reply

#4
Downloaded the save, and managed to reproduce the crash. Debugging with Visual Studio showed the same stack overflow error as previously reported.

I used editbin to increase the stack size from ~16MB to 100MB, and the game was once again able to load normally (albeit very slowly).

I'm pretty confident in saying that this is a continuation of the previous stack size issue, as reported in the thread I linked in my other reply.
Reply

#5
I increased the stack size. Will post an update today.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)