Page 1 of 1

[0.15.1] Crash when restarting with base mod disabled

Posted: Mon Apr 24, 2017 11:03 pm
by RainbowCrane
After updating to 0.15.1 I was able to start the game up to the main menu, and I immediately went to the Mods screen to make sure everything was disabled prior to beginning a new map. After toggling "disable all" and hitting back the game reloaded and immediately crashed with "unexpected error occurred", during the "building prototypes" phase of loading. Attempts to start again yield the same error. Here's factorio-current.log

Code: Select all

   0.000 2017-04-24 18:55:31; Factorio 0.15.1 (build 29050, mac, steam)
   0.000 Operating system: Mac OS X 10.12.4
   0.000 Program arguments: "/Users/matt/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.000 Read data path: /Users/matt/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/matt/Library/Application Support/factorio
   0.000 Binaries path: /Users/matt/Library/Application Support/Steam/steamapps/common
   0.008 System info: [CPU: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz, 4 cores, RAM: 32768MB]
   0.017 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.017 Available display adapters: 1
   0.017  [0]: resolution 2560x1440px at [0,0]
   0.017 Create display on adapter 0. Size 1280x720 at position [630, 342].
   0.582 Initialised OpenGL:[0] ATI Radeon HD 5750 OpenGL Engine; driver: 2.1 ATI-1.50.38
   0.641 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.736 Loading mod core 0.0.0 (data.lua)
   0.747 Checksum for core: 530912544
   0.758 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x0000000100870d72 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:408)
#1  0x000000010086215d in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:106)
#2  0x00000001008620ee in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:237)
#3  0x00007fff8b8cfb3a in 0x00007fff8b8cfb3a
#4  0x00000001027c4a00 in 0x00000001027c4a00 (in factorio)
#5  0x00000001008d4f52 in MapSettings::MapSettings(MapSettings const&) (in factorio) (MapSettings.hpp:196)
#6  0x00000001003249c4 in GlobalContext::init(bool, bool, bool) (in factorio) (GlobalContext.cpp:422)
#7  0x000000010064c782 in MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool, bool, bool, std::__1::function<void ()>, boost::filesystem::path const&, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:166)
#8  0x000000010064957c in _al_mangled_main (in factorio) (Main.cpp:881)
#9  0x0000000100cde577 in +[AllegroAppDelegate app_main:] (in factorio) (osx_app_delegate.m:229)
#10 0x00007fff773e9bcd in 0x00007fff773e9bcd
#11 0x00007fff8b8d99af in 0x00007fff8b8d99af
#12 0x00007fff8b8d98fb in 0x00007fff8b8d98fb
#13 0x00007fff8b8d9101 in 0x00007fff8b8d9101
   2.450 Error Util.cpp:76: 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.

Re: [0.15.1] Immediate crash on startup after disabling mods

Posted: Tue Apr 25, 2017 1:24 am
by RainbowCrane
An uninstall then reinstall (from Steam) to 0.14 allowed starting under 0.14. I opted back in to the Beta, updated, then was able to start. Based on a message when I started 0.14 I think I disabled the Base mod when disabling mods in 0.15 - maybe that caused the game to fail to load properly?

All fixed now.

Re: [0.15.1] Immediate crash on startup after disabling mods

Posted: Tue Apr 25, 2017 4:16 am
by daniel34
RainbowCrane wrote:An uninstall then reinstall (from Steam) to 0.14 allowed starting under 0.14. I opted back in to the Beta, updated, then was able to start. Based on a message when I started 0.14 I think I disabled the Base mod when disabling mods in 0.15 - maybe that caused the game to fail to load properly?

All fixed now.
Yes, that is the cause, I changed the thread title accordingly. I did not manage to disable the base mod using the "Enable/disable all" button though, it ignores the base mod and only triggers player mods. You must have done that by hand somehow.

Re: [0.15.1] Crash when restarting with base mod disabled

Posted: Tue Apr 25, 2017 4:20 am
by RainbowCrane
Thanks for the confirmation. I'm loving the update.

Re: [0.15.1] Crash when restarting with base mod disabled

Posted: Tue Apr 25, 2017 5:50 am
by tactic
I am having the same problem only without the fix. I opted into 0.15.x and immediately went to disable mods, autofill, bot-start, and basemod. Upon clicking ok the game restarted itself but came up with an error that will not let it open fully.

I have tried opting out of beta and back.
I have tried fully uninstalling, installing the stable version then switching to 0.15.x same problem.

It will not open, I get the same error every time.

Wow, so I just realized base mod is not a mod, had no clue. Anyway, went into the mod-list.json in notepad and changed
{
"name": "base",
"enabled": flase },

to

{
"name": "base",
"enabled": true },

now the game opens fine it seems
Anyway, I won't fully edit this post just in case someone else doesn't realize what base mod is like I didn't.

Re: [0.15.1] Crash when restarting with base mod disabled

Posted: Tue Apr 25, 2017 6:14 am
by Rseding91
The crash is fixed for the next version of 0.15 but the game can't be loaded if *some* mod doesn't define values the game needs.

You'll now get an error stating what's wrong.