[0.18.21] Startup crash due to malformed mod at Util.cpp 83

This subforum contains all the issues which we already resolved.
Post Reply
Fenix
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Apr 30, 2020 4:17 am
Contact:

[0.18.21] Startup crash due to malformed mod at Util.cpp 83

Post by Fenix »

What I did: Started the game with my broken mod in the mods folder. Mod accidentally calls data:extend(...) with a technology whose name is set to a table (invalid key type).

What happened: Factorio crashed at startup. Error message from log file:

Code: Select all

   2.693 Error Util.cpp:83: Values other than strings and numbers are not supported as keys

At ROOT.technology
stack traceback:
stack traceback:
	[C]: in ?
What I expected: The standard broken mod, in game dialog box that gives the disable/disable all/restart/exit options.
Attachments
repro_0.1.0.zip
Mod stripped down to a minimal repro.
(660 Bytes) Downloaded 95 times
factorio-current.log
Log file with error toward the end.
(2.95 KiB) Downloaded 104 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.21] Startup crash due to malformed mod at Util.cpp 83

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”