[boskid] [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
[boskid] [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
1) Press Ctrl+Shift+E to open the prototype explorer
2) Click the <all> dropdown box and select any mod you want
3) Instant crash.
2) Click the <all> dropdown box and select any mod you want
3) Instant crash.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Cannot reproduce.
- Attachments
-
- Factorio 1.1.34 2021-06-06 21-24-39.mp4
- (3.1 MiB) Downloaded 160 times
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
That is... weird.
It happend 3 times in a row clicking a different mod each time. And now I can't reproduce it myself anymore (and the log is gone too *sigh*). I'll add a log if it pops up again.

It happend 3 times in a row clicking a different mod each time. And now I can't reproduce it myself anymore (and the log is gone too *sigh*). I'll add a log if it pops up again.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Hasn't happend again so far, but I found one of the original logs.
- Attachments
-
- prototype-gui-crash-log.log
- (17.61 KiB) Downloaded 514 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Happend again. Crash -> Restart -> Crash -> Restart -> Works fine.
Given the weird pattern I wouldn't be entirely suprised if it's somehow my hardware or my shitty internet...
Given the weird pattern I wouldn't be entirely suprised if it's somehow my hardware or my shitty internet...
- Attachments
-
- _autosave3.zip
- (872.75 KiB) Downloaded 341 times
-
- prototype-gui-crash-log-2.log
- (17.76 KiB) Downloaded 245 times
-
- factorio-dump-current.dmp
- (609.33 KiB) Downloaded 238 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Hm.. there are certain mods that are not available on the mod portal so i can not verify with exact set of mods.
This error is weird:
Only occurence of word "console" in the source code is for the "console" font from the default fonts. Lines from the stack trace say it is literally crashing while trying to fill "fonts" category in the prototypes gui.
This error is weird:
Code: Select all
85.824 Error ModManager.hpp:51: No history for the given key: console.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
I sent you the missing mods in a PM. Also while preparing that I got it again. Looks exactly like the other ones.
The only font related thing in my mods as far as I can see is in Screenshot Maker:
The only font related thing in my mods as far as I can see is in Screenshot Maker:
Code: Select all
data:extend{{
type = "font",
name = "er:selection-rectangle-label-font",
from = "default-semibold",
size = 32,
}}
- Attachments
-
- factorio-dump-current.dmp
- (624.78 KiB) Downloaded 237 times
-
- factorio-current.log
- (19.84 KiB) Downloaded 254 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
So, it definetly isn't a fluke. It's still happening every once in a while. But always resolves itself after a few restarts.
As it always happens after fetching the wiki mappings
I was suspecting it might be something network related. Dropped/corrupt packeges, timeout in the middle of the download or something. But I haven't found a way to reliably reproduce it yet.
As it always happens after fetching the wiki mappings
Code: Select all
21.728 Info HttpSharedState.cpp:54: Downloading https://wiki.factorio.com/api.php?format=json&action=query&formatversion=2&prop=revisions&titles=Factorio%3AClass_to_page_mapping&rvprop=ids
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Updated to 1.1.35. No change. Still looks exactly the same and is elusive to reproduction attempts.
- Attachments
-
- factorio-dump-current.dmp
- (628.19 KiB) Downloaded 265 times
-
- factorio-current.log
- (19.77 KiB) Downloaded 278 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
I think I might have found something. I've just managed to make it crash 8 times in a row (previous record was 3 or 4, usually 1 or 2) by changing a mods hash before every restart. All I did was add one letter to a comment in eradicators-core load-order.lua (a file that is loaded in all stages). (This is my dev instance, so all the mods are folder junctions, not zips).
Code: Select all
--[[
asdfghijklm
]]
- Change mod hash.
- Start game
- Press continue to load last game
- Ctrl+Shift+E
- Click "base" in the mod selector
- Wait for the crash message
- Goto 1)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Yep. I just reproduced it without any other mods except zz-bugest-template (attached) using the steps above. Just edit the comment in main.lua. I've attached the empty_map that I load just to be sure.
- Attachments
-
- zz-bugtest-template.7z
- (828 Bytes) Downloaded 283 times
-
- _empty_map.zip
- (854.25 KiB) Downloaded 292 times
-
- factorio-dump-current.dmp
- (631 KiB) Downloaded 284 times
-
- factorio-current.log
- (15.46 KiB) Downloaded 227 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [boskid] [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Thanks for the report and for the detailed reproduction steps. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [boskid] [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
Nice. So what was it in the end?Rseding91 wrote: Tue Jun 22, 2021 5:17 pm Thanks for the report and for the detailed reproduction steps. It's now fixed for the next release.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [boskid] [1.1.34] Crash PrototypesHistoryTemplate<PrototypeHistory>::operator[]
The default fonts auto-add their own prototype history and if the data-stage cache fails to load it erases all prototype history to make sure anything it had loaded up to that point is removed. But it also removed the default fonts from the history and so it crashed when the game would try to check what mod they were from.eradicator wrote: Wed Jun 23, 2021 12:23 amNice. So what was it in the end?Rseding91 wrote: Tue Jun 22, 2021 5:17 pm Thanks for the report and for the detailed reproduction steps. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.