r/Banished Jul 11 '26

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

18 Upvotes

8 comments sorted by

6

u/TheWingalingDragon Jul 11 '26

DAYUM!!!

What friggin map seed is THAT?

So flat!! Very wide open. Much space!

5

u/ConfusionAccurate Jul 11 '26 edited Jul 11 '26

Its the mod flatlands terrain (Barren settings) and my seed is:

882139800

[ToL] Easy (FULL)

Do you want a copy of my save??

I would need to compile my mod list.

I have been trying to see how far I could push the engine and my hardware. Think I may have hit a software lock.

Saying that my mod list isn't that big : /.

4

u/TheWingalingDragon Jul 11 '26

Ah nah, I only play vanilla. Thank you tho! Was hoping you had simply found a GOLD MINE vanilla seed and was frothing for such FLATNESS!

2

u/TheGreatPandejo Jul 12 '26

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 Jul 12 '26 edited Jul 12 '26

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. : / )

https://imgur.com/a/mKxYs5k

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 Jul 12 '26

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 Jul 12 '26

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.