Segfault on OSX 0.11.13

This subforum contains all the issues which we already resolved.
theamazingrando
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Sep 12, 2014 8:32 pm
Contact:

Segfault on OSX 0.11.13

Post by theamazingrando »

I'm getting a segmentation fault in the latest 0.11.13 on OSX Yosemite.
531653.423516 Info Logger.cpp:149: 2015-01-19 21:42:40; Factorio 0.11.13 (Build 13133, mac)
531653.423556 Info Logger.cpp:153: Operating system: Mac OS X 10.10.1
531653.423564 Info Paths.cpp:202: Read data path: /Applications/factorio 0.11.13.app/Contents/data
531653.423569 Info Paths.cpp:203: Write data path: /Users/rando/Library/Application Support/factorio
531653.423574 Info Paths.cpp:204: Binaries path: /
531653.876032 Info ModManager.cpp:204: Loading mod core 0.0.0 (data.lua)
531653.887800 Info ModManager.cpp:204: Loading mod base 0.11.13 (data.lua)
531654.082378 Info ModManager.cpp:204: Loading mod marathon 0.5.1 (data.lua)
531654.259161 Info ModManager.cpp:204: Loading mod Resource-Monitor-Mod 0.5.2 (data.lua)
531654.443470 Info ModManager.cpp:204: Loading mod TheFatController 0.0.9 (data.lua)
531654.636128 Info ModManager.cpp:204: Loading mod rso-mod 1.0.6 (data.lua)
531654.832899 Info ModManager.cpp:204: Loading mod base 0.11.13 (data-updates.lua)
531655.426278 Info AtlasSystem.cpp:152: Initial atlas bitmap size is 16384
531655.430952 Info AtlasSystem.cpp:91: Created atlas bitmap 16384x6553
531664.413063 Info Updater.cpp:716: Downloading https://www.factorio.com/updater/get-av ... iVersion=2
531664.805415 Notice Updater.cpp:147: 0 packages available to download (experimental updates enabled).
531677.546490 Notice Scenario.cpp:126: Loading map /Users/rando/Library/Application Support/factorio/saves/_autosave1.zip
531677.567670 Info Scenario.cpp:159: Map version 0.11.13-0
531678.151983 Info LocaleProvider.cpp:114: Using locale files from the pre 0.11.0 structure (__Resource-Monitor-Mod__/script-locale/en.cfg)
531678.152227 Info LocaleProvider.cpp:114: Using locale files from the pre 0.11.0 structure (__Resource-Monitor-Mod__/script-locale/en.cfg)
531682.490551 Error Main.cpp:38: Segmentation fault!
0 factorio 0x0000000100351968 _ZN6Logger13logStacktraceEv + 56
1 factorio 0x00000001002731dc _Z15segfaultHandleri + 124
2 libsystem_platform.dylib 0x00007fff8b684f1a _sigtramp + 26
3 ??? 0x0000000000000000 0x0 + 0
4 factorio 0x00000001000680ce _ZN13CraftingQueue23updatePromisesOnCraftedER9ItemStackN5boost8functionIFvS1_EEE + 78
5 factorio 0x0000000100069005 _ZN13CraftingQueue17tryFinishCraftingEdN5boost8functionIFvR9ItemStackEEENS1_IFvvEEES5_ + 421
6 factorio 0x00000001000624fb _ZN13ManualCrafter15performCraftingEv + 219
7 factorio 0x00000001000b592d _ZN9Character6updateEv + 2493
8 factorio 0x00000001003104b2 _ZN5Chunk6updateEjR3Map + 66
9 factorio 0x000000010017221f _ZN3Map6updateEv + 1023
10 factorio 0x0000000100171cd1 _ZN4Game6updateEv + 49
11 factorio 0x00000001002782d3 _ZN8Scenario6updateEv + 659
12 factorio 0x0000000100277e6b _ZN8MainLoop14gameUpdateStepEP18MultiplayerManagerP8ScenarioP10AppManager + 331
13 factorio 0x0000000100278722 _ZN8MainLoop10updateLoopEP13ThreadBarrierPN5boost6chrono10time_pointINS3_12system_clockENS3_8durationIxNS2_5ratioILl1ELl1000000000EEEEEEESB_ + 274
14 factorio 0x00000001003544c4 _ZN6Thread4loopEv + 180
15 factorio 0x00000001007bef8a _ZN5boost12_GLOBAL__N_112thread_proxyEPv + 138
16 libsystem_pthread.dylib 0x00007fff8594a2fc _pthread_body + 131
17 libsystem_pthread.dylib 0x00007fff8594a279 _pthread_body + 0
18 libsystem_pthread.dylib 0x00007fff859484b1 thread_start + 13
Here is a save from a few seconds before it crashes. I'm using the FatController, Resource Monitor, RSO and Marathon mods. Disabling the mods and then loading the save also segfaults before it even finishes.

https://dl.dropboxusercontent.com/u/293 ... osave1.zip
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Segfault on OSX 0.11.13

Post by kovarex »

I found two small problems (that crashed the game) and fixed both, and now I'm able to load the game (without mods).

The strange thing is, that the player had non standard character (mod based probably?).

If I get the mod directory I can also test that it still works even with the mods.
theamazingrando
Burner Inserter
Burner Inserter
Posts: 19
Joined: Fri Sep 12, 2014 8:32 pm
Contact:

Re: Segfault on OSX 0.11.13

Post by theamazingrando »

Here's a zip of my mods directory. I was able to work around the segfault but loading the previous autosave and going from there, so something must have just gotten in a weird state.

https://dl.dropboxusercontent.com/u/293543/mods.zip

I'm not sure what the non-standard character is about, maybe the FAT Controller mod which lets you control trains even when the player is not nearby?
Post Reply

Return to “Resolved Problems and Bugs”