🌐Planet Rubia


Discover the wind planet Rubia. Belts and inserters work differently on Rubia, leading to unique building challenges not seen on any other planet. Your whole factory must go with the wind as a never-ending barrage of waste is hurled at your base.

Content
a day ago
2.0
13.0K
Factorio: Space Age Icon Space Age Mod
Planets Logistics Trains Environment Mining Manufacturing Power

g [Resolved] Stack overflow error in data-stage.lua

25 days ago

I've never seen this error before, so I don't know the details, but for some reason, the game crashed. There were no problems when this mod was launched on its own, so I think it is due to interaction with other mods, but I have not been able to investigate.

1 MOD「rubia/lib/data-stage.lua:123: stack overflow
2 stack traceback:
3 rubia/lib/data-stage.lua:123: in function 'technology_is_prerequisite'
4 rubia/lib/data-stage.lua:125: in function 'technology_is_prerequisite'
5 rubia/lib/data-stage.lua:125: in function 'technology_is_prerequisite'

-- 99991 lines omitted.

99996 rubia/lib/data-stage.lua:125: in function 'technology_is_prerequisite'
99997 rubia/lib/data-stage.lua:125: in function 'technology_is_prerequisite'
99998 rubia/lib/data-stage.lua:125: in function 'technology_is_prerequisite'
99999 rubia/prototypes/data-script/crapapult-recipes.lua:19: in main chunk
100000 [C]: in function 'require'
100001 rubia/data-final-fixes.lua:1: in main chunk」の読み込みに失敗しました

25 days ago

I had the same issue, and it looks to be due to the most recent Shattered Planet update. The most recent Planet Rubia, and version 1.0.24 of Shattered Planet are still compatible though.

25 days ago
(updated 25 days ago)

Thanks for the report. Rubia is probably tripping this error because shattered planet added a technology prerequisite loop.

Even if I fixed the error on my end to stop Rubia from stack overflowing, Factorio’s error checking at the end of data stage will still force a crash later anyway.

I’ll still take a look to see what is up, but I recommend reporting this to CPU_blackheart on his Shattered Planet mod.

25 days ago
(updated 25 days ago)

I just checked: Rubia and 1.0.25 of shattered planet are still compatible. It appears that you also have ANOTHER mod in the mix that is causing the game to be unable to load. I need more information to fix this issue. Do you perhaps have another mod that affects the technology tree?

I still believe that the technology loop that is being added by another mod is causing this crash.

25 days ago
(updated 25 days ago)

I just put up a new version of Rubia. This won't fix this issue, but it will have diagnostic tools that should show exactly what tech is causing this issue in the factorio-current.log file. Please provide information from the log file, as it will help find out what tech (and so what mod) is causing this issue.

If I don’t hear back soon, then I will change the failsafe, but you probably won’t like my solution.

25 days ago

Sorry, its a large assortment of mods in play, and there are plenty of technology tree interferences. The affected technologies in the log look like the following on a loop:

Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: space-platform-thruster
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: space-science-pack
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-alice-propellant
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-alumina-processing
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-anorthite-processing
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: metallic-asteroid-crushing
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: planet-discovery-muluna
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: thruster-fuel
Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: thruster-oxidizer

The full log file is about 12MB, so its linked here for more details:
https://raw.githubusercontent.com/StarchPotato/Logs/refs/heads/main/factorio-current-Tech-Overflow.log

25 days ago
(updated 25 days ago)

Well that is not what I expected to find. I just uploaded a new version of Rubia that has a special break as an emergency failsafe against this. However, this seems like a Muluna bug.
Try Rubia v0.69.97, to let me know if that still has the problem.

25 days ago

Sorry for the late reply.
I've pulled some logs from the log file right before the error happened. Hope you find some useful info in there. If you need more info, just let me know how to send you the log file and I'll do it right away.

45764 152.829 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: space-platform-thruster
45765 152.829 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: space-science-pack
45766 152.829 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-alice-propellant
-- 40898 lines omitted.
86664 153.187 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-anorthite-processing
86665 153.187 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: metallic-asteroid-crushing
86666 153.187 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: planet-discovery-muluna
86667 336.709 Error ModManager.cpp:1758: MOD "rubia" の読み込みに失敗しました: rubia/lib/data-stage.lua:123: stack overflow
86668 stack traceback: ⋯
-- 90913 lines omitted.
177581 Source: default (utility-constants).
177582 338.446 Info PlayerData.cpp:66: Local player-data.json unavailable
177583 338.446 Info PlayerData.cpp:69: Cloud player-data.json available, timestamp 1754911884
-- 11 lines omitted.
177594 339.207 Factorio initialised

25 days ago

The crash was resolved by using 0.69.67. Thank you for your prompt response.

25 days ago

Yes, I can confirm from the logs that while I still have the looping tech tree depth errors, it cleanly aborts and lets the startup sequence complete gracefully:

18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: space-science-pack
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-alice-propellant
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-alumina-processing
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: muluna-anorthite-processing
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: metallic-asteroid-crushing
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: planet-discovery-muluna
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: thruster-fuel
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: thruster-oxidizer
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: space-platform-thruster
18.360 Script @rubia/lib/data-stage.lua:126: WARNING: Technology tree depth is way too long on this technology: space-science-pack
18.451 Script @rubia/prototypes/data-script/rubia-surface-blacklist.lua:224: Banning these entities from Rubia: {
["artillery-wagon"] = {
"artillery-wagon"

I was able to open my save without any further mod errors, from any source. Thank you!

25 days ago
(updated 25 days ago)

Thank you for the logs, everyone. I was able to recreate that error log.

I think the issue was Muluna making "Space platform thruster" make a prerequisite loop with "space science," and later fixing it AFTER Rubia could perform its consistency checks. v0.69.97 has a fix for this issue with a failsafe. Later on, I'll make a better fix for faster load times.

24 days ago
(updated 24 days ago)

Just to follow up, today I pushed out a more permanent fix for this bug with fewer side effects, more safeguards, failsafe, and diagnostics.

This should make sure that this problem never happens again.

New response