RimWorld

RimWorld

Timou Oct 26, 2021 @ 4:17am
Fatal error GC -Unexpected stack overflow
What does it mean. Who knows why this error occurs in the game. I find only useless abrakadabra. Help please!
https://gist.github.com/784c37979509161977721062bce3308c
< >
Showing 1-13 of 13 comments
StinkyMonkey Oct 26, 2021 @ 5:04am 
Line 5171
"Loaded file (Map) is from version 1.3.3117 rev669, we are running version 1.3.3159 rev754"

Have you changed some mod versions or the Rimworld client version?

All the errors i looked at were all to do with plants, animals or biome. Some for the same items being added twice, do you possibly have 2 versions of the same mod with different version numbers loading at the same time?

I am not a coder, this is my best guess.
Last edited by StinkyMonkey; Oct 26, 2021 @ 5:05am
Timou Oct 26, 2021 @ 5:54am 
The save (map) is from 1.3.3117. But the same Fatal error GC is- when new map generated (new game). Then crush.
I use Rimpy and there is no 2 versions of the same mod. Thank you for your answer.
Païtiti Oct 26, 2021 @ 5:55am 
You have literally 500 (!) active mods and it's 2 days after an Rimworld update. What do you expect?
Timou Oct 26, 2021 @ 6:00am 
I now that there are 501 mod. I expect to hear from some one who knows what does it mean in the game - Fatal error GC. Unexpected stack overflow
Last edited by Timou; Oct 26, 2021 @ 6:01am
Païtiti Oct 26, 2021 @ 6:02am 
It means you have too many mods active that have not been updated for the current version of the game.
Timou Oct 26, 2021 @ 6:16am 
Ok, but Rimpy did't show any arrors. Just curious, are you a programmer and you know what are you talking about (Fatal error GC. Unexpected stack overflow). Did you saw such an error in your game before? Because it's heppens not only in RW.
MinionJoe Oct 26, 2021 @ 6:36am 
I worked tech support for nearly 20 years. You don't have to be a "programmer" to understand an error message.

Your error says you're running out of memory. Typically caused by a memory leak, but could also be bad RAM. If you're getting the error in other applications, check your hardware.

Otherwise, realize that Rimworld was updated a couple days ago and you're running 500 mods. Something likely broke.
Païtiti Oct 26, 2021 @ 6:37am 
You know how Rimpy works, right? It's data driven meaning people need to manually put in information so that you can use the database. But this information has to be acquired first. You cannot expect that all this is up to date already. I'm using Rimpy too with 350 mods less and I couldnt start up the game yesterday. It is normal.

No, I'm not a programmer. But I know that "stack overflow" has something to do with memory and memory leaks. It is when some error in the programming leads the program to use up all of the memory which leads to crashes or bluescreens. That can happen in many other programs as well. I had it once in Rimworld and it had to do with textures not being correctly loaded.

Also, by just looking through your modlist... I mean, it looks like you just took everything from the workshop and mashed it together. There are like 5 different storage mods AND stack mods, all the veggie/farming mods put together, like all the builder mods.. literally everything. I've used most of these as well but not in a single modlist! There is no way that all that works well together even on a normal day.
Last edited by Païtiti; Oct 26, 2021 @ 6:46am
Timou Oct 26, 2021 @ 7:22am 
Thank you MinionJoe and 123 !
I'll delete some big mods and write what came of it.
When this crush happens, the RAM used about 70% . So do I need 32 Gb instead of 16 now?
And yes. every thing was fine before 1.3.3159 patch.
PS: 123 try to delete 4M Mehni's Misc Modifications and RimThreaded to run your game. Hope it will help you.
Last edited by Timou; Oct 26, 2021 @ 7:27am
GC is Garbage Collector aka a script meant to reduce RAM usage overtime by periodically disposing of unused data (throwing it in the garbage) the program doesn't need to keep track of anymore.
Timou Oct 26, 2021 @ 8:12am 
Thank's Khan Boyzitbig of Mercia. I only understand that you are a programmer ))
But, what is the cause of this error that make crush of the game? And the most important thing is how to fix this error.
Last edited by Timou; Oct 26, 2021 @ 8:18am
Timou Oct 27, 2021 @ 1:40am 
- 20 mods (=480).
- config file.
Start a new game (no errors) , no crush.
Thank you everyone :steamthumbsup: :Gifting:
GeneralVeers Oct 27, 2021 @ 2:32am 
Originally posted by 123:
No, I'm not a programmer. But I know that "stack overflow" has something to do with memory and memory leaks.
Pretty much nailed it. :)

In programming, a "stack" is exactly what it sounds like. The computer can put a block of data on the stack, or it can take the top block of data off of it; the items "stack up". Por ejemplo, the computer needs to check each pawn's light level to see which pawns get the Darkness moodlet, but a raid is in progress and bullets are flying around. So the computer pushes each pawn's light level onto the stack, and goes "I'll get around to these later". Then, after the bullets are processed, the computer comes back to the stack, pulls each light level off the stack, one by one, and checks it.

A "stack overflow" is when the computer tries to push too many items onto the stack and the stack runs out of space (when you get right down to it, the "stack" is just a chunk of memory). So, somewhere, the OP's computer is trying to do too much stuff at once. Possibly the newest game update streamlined some stuff, and doesn't need as big a stack--but the save, from an older version, DOES need the bigger stack.
Last edited by GeneralVeers; Oct 27, 2021 @ 2:33am
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Oct 26, 2021 @ 4:17am
Posts: 13