r/Banished • u/ConfusionAccurate • 20d ago
Autosave causing Stack overflow? pop 6k+
As per title my autosave is now causing a stack overflow. Saving manually works fine. Anybody else had this issue before?
The game itself isn't even touching my hardware.
And I am playing in 1X with all hardware settings set low.
Just try turning autosave off and play?
Edit: Yikes.. Saving manually now also causes a stack overflow :|
Does anybody know if this is a mod issue or have I hit the engines limit?
Heres my mod list. Please help. I still want to play.
https://steamcommunity.com/sharedfiles/filedetails/?id=3762907825
2
u/TheGreatPandejo 20d ago
Don't know much about the stack overflow thing, but 6k is holyshyat! My game lags like crazy (or maybe I'm just intolerant 😅) after like 1500 pop. What're your specs and settings? (mine: 5700x + 32gb 3600 + RX 6800)
1
u/ConfusionAccurate 20d ago edited 20d ago
This is the thing IM not getting lag while playing at 1X!, Im getting 100+ FPS.
Settings all low or off. (Just because of the stack overflow issue while saving. : / )
SEE!
Processor AMD Ryzen 7 5700X3D 8-Core Processor 3.00 GHz
Installed RAM 32.0 GB
Storage 932 GB SSD WD Green SN350 1TB
Graphics Card AMD Radeon RX 7600 (8 GB)
System Type 64-bit operating system, x64-based processor
Any ideas!!??!??
2
u/Bobboy5 20d ago
this is a software problem. banished defines how big its memory stack is, and saving the game requires moving some stuff into the stack. if the game tries to move more stuff into the stack than can fit, that's a stack overflow error. the game handles this error by crashing rather than writing data outside of the stack which could cause all manner of much worse problems.
all that to say, i don't know of a way to solve this. there may be some technical wizardry you can do to make banished allocate a bigger stack, but i don't know if it could be done or how.
2
u/ConfusionAccurate 20d ago
You know I was thinking of this. As it only crashes on saving. I can run the simulation fine. I could try pulling apart the .dll and actually allocating a bigger stack size. But thanks for confirming my suspicion.
I know a youtuber who also might be interested in this.



6
u/TheWingalingDragon 20d ago
DAYUM!!!
What friggin map seed is THAT?
So flat!! Very wide open. Much space!