[Rseding91] [2.0.32] Crash "Optional.hpp:63: *this was not true"

This subforum contains all the issues which we already resolved.
User avatar
mikelat
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Jan 20, 2024 6:37 pm
Contact:

[Rseding91] [2.0.32] Crash "Optional.hpp:63: *this was not true"

Post by mikelat »

I'm playing with the mod warp drive machine and I'm getting what seems to be a hard crash from a c++ error. It appears to be trying to give me a message popup but the game crashes with an SDL error:
Stack trace logging done
17.331 Error Optional.hpp:63: *this was not true
17.331 Error CrashHandler.cpp:643: Received 6
Logger::writeStacktrace skipped.
17.331 Info LuaEventDispatcher.cpp:136: dispatching nth_tick. script mod-Warp-Drive-Machine
17.331 Error CrashHandler.cpp:190: Map tick at moment of crash: 5176080
17.331 Error Util.cpp:95: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
17.381 Error MessageDialog.cpp:53: Unable to show message dialog. SDL Error: [Couldn't load font -*-*-medium-r-normal--*-120-*-*-*-*-*-*]
I'm not sure what the mod is trying to do or how it's happening but since it seems related to the factorio core I'm posting it here.

I'm on linux (arch) wayland.

The save I've included has the crash happen a few seconds after. It might be an event of related to the ship console in the mod as if I editor out the entity then it no longer crashes. It consistently happens to me otherwise.
Attachments
crash.zip
(4.55 MiB) Downloaded 15 times
factorio-current.log
(15.87 KiB) Downloaded 19 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14890
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.32] Crash "Optional.hpp:63: *this was not true"

Post by Rseding91 »

Thanks for the report. This issue was fixed internally a few days ago and is pending a release. The issue is one of the mods you're using trying to set_multi_command with an invalid command. In the next release it will error saying so rather than crash the entire game.
If you want to get ahold of me I'm almost always on Discord.
User avatar
mikelat
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Jan 20, 2024 6:37 pm
Contact:

Re: [Rseding91] [2.0.32] Crash "Optional.hpp:63: *this was not true"

Post by mikelat »

thank you!
Post Reply

Return to “Resolved Problems and Bugs”