[0.17.58] Factorio keep crashing (Steam version on Mac)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
JajazXbm
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Feb 26, 2018 2:28 pm
Contact:

[0.17.58] Factorio keep crashing (Steam version on Mac)

Post by JajazXbm »

Hi,

I haven't played Factorio for a while and I upgraded version from 0.17.2x (I don't remember) to the latest version. I am playing a vanilla version without any mods. Now my game keeps crashing after about 5 minutes of playing the game. I tried to restart my computer but no luck. I have the latest Factorio, Steam and Mac OS. Any help what could I try to resolve the problem?
Last edited by JajazXbm on Fri Jul 19, 2019 2:29 pm, edited 1 time in total.

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by posila »

Hello, first of all, please post here Factorio log file. It should be located at ~/Library/Application Support/factorio/factorio-previous.log

JajazXbm
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Feb 26, 2018 2:28 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by JajazXbm »

Code: Select all

0.000 2019-07-19 16:26:46; Factorio 0.17.58 (build 46193, mac, steam)
   0.000 Operating system: macOS 10.14.5
   0.000 Program arguments: "/Users/paveldohnal/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio"
   0.000 Read data path: /Users/paveldohnal/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/paveldohnal/Library/Application Support/factorio [46545/239172MB]
   0.000 Binaries path: /Users/paveldohnal/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.036 System info: [CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz, 8 cores, RAM: 16384 MB]
   0.036 Display options: [FullScreen: 0] [VSync: 1] [UIScale: custom (100.0%)] [Native DPI: 0] [Screen: 255] [Special: 0010] [Lang: en]
   0.090 Available displays: 1
   0.090  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x4280b80(0x01)}
   0.158 Initialised OpenGL:[0] Intel Iris Pro OpenGL Engine; driver: 4.1 INTEL-12.9.22
   0.158   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   0.158   [Version] 4.1
   0.276 Graphics settings preset: integrated-gpuhigh
   0.276   Dedicated video memory size 1536 MB (detected from Iris Pro; VendorID: 0x1024500)
   0.276 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality]
   0.276                   [Max load threads: 32] [Max texture size: 4096] [Tex.Stream.: 0] [Rotation quality: low] [Color: 32bit]
   0.617 Loading mod core 0.0.0 (data.lua)
   0.747 Loading mod base 0.17.58 (data.lua)
   1.036 Loading mod base 0.17.58 (data-updates.lua)
   1.225 Checksum for core: 716058110
   1.225 Checksum of base: 2272799319
   1.486 Loading sounds...
   1.510 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.510 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1563524598
   1.653 Initial atlas bitmap size is 4096
   1.659 Created atlas bitmap 4096x4084 [none]
   1.663 Created atlas bitmap 4096x3984 [none]
   1.667 Created atlas bitmap 4096x4096 [none]
   1.672 Created atlas bitmap 4096x4076 [none]
   1.677 Created atlas bitmap 4096x4096 [none]
   1.681 Created atlas bitmap 4096x4092 [none]
   1.685 Created atlas bitmap 4096x4084 [none]
   1.688 Created atlas bitmap 4096x4092 [none]
   1.691 Created atlas bitmap 4096x4092 [none]
   1.694 Created atlas bitmap 4096x4048 [none]
   1.698 Created atlas bitmap 4096x4092 [none]
   1.700 Created atlas bitmap 4096x4068 [none]
   1.703 Created atlas bitmap 4096x4092 [none]
   1.706 Created atlas bitmap 4096x4000 [none]
   1.708 Created atlas bitmap 4096x4032 [none]
   1.711 Created atlas bitmap 4096x4092 [none]
   1.713 Created atlas bitmap 4096x4092 [none]
   1.715 Created atlas bitmap 4096x4076 [none]
   1.718 Created atlas bitmap 4096x4088 [none]
   1.720 Created atlas bitmap 4096x4092 [none]
   1.723 Created atlas bitmap 4096x4064 [none]
   1.725 Created atlas bitmap 4096x4096 [none]
   1.728 Created atlas bitmap 4096x4092 [none]
   1.730 Created atlas bitmap 4096x4096 [none]
   1.733 Created atlas bitmap 4096x4092 [none]
   1.733 Created atlas bitmap 4096x956 [none]
   1.733 Created atlas bitmap 4096x4084 [decal]
   1.733 Created atlas bitmap 4096x3932 [decal]
   1.735 Created atlas bitmap 4096x4096 [low-object]
   1.737 Created atlas bitmap 4096x4096 [low-object]
   1.737 Created atlas bitmap 4096x4096 [low-object, linear-minification]
   1.738 Created atlas bitmap 4096x4096 [low-object]
   1.738 Created atlas bitmap 4096x384 [low-object]
   1.738 Created atlas bitmap 4096x4096 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.738 Created atlas bitmap 4096x3216 [mipmap]
   1.739 Created atlas bitmap 4096x4096 [terrain, mipmap, linear-minification, linear-mip-level]
   1.740 Created atlas bitmap 4096x4064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.741 Created atlas bitmap 4096x4096 [terrain, mipmap, linear-minification, linear-mip-level]
   1.741 Created atlas bitmap 4096x3728 [terrain, mipmap, linear-minification, linear-mip-level]
   1.742 Created atlas bitmap 4096x4064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.742 Created atlas bitmap 4096x4064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.742 Created atlas bitmap 4096x4064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.742 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.742 Created atlas bitmap 4096x1712 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.742 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.742 Created atlas bitmap 4096x2992 [alpha-mask]
   1.746 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
   1.748 Created atlas bitmap 4096x4088 [shadow, linear-magnification, alpha-mask]
   1.754 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
   1.754 Created atlas bitmap 4096x696 [shadow, linear-magnification, alpha-mask]
   1.754 Created atlas bitmap 4096x1328 [shadow, mipmap, linear-magnification, alpha-mask]
   2.028 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.742 Parallel Sprite Loader initialized (threads: 7)
  18.217 Sprites loaded
  18.340 Generated mipmaps (4) for atlas [28] of size 4096x4096
  18.432 Generated mipmaps (4) for atlas [29] of size 4096x4096
  18.517 Generated mipmaps (4) for atlas [30] of size 4096x4096
  18.605 Generated mipmaps (4) for atlas [31] of size 4096x4096
  18.619 Generated mipmaps (4) for atlas [32] of size 4096x384
  18.695 Generated mipmaps (3) for atlas [33] of size 4096x4096
  18.759 Generated mipmaps (3) for atlas [34] of size 4096x3216
  18.835 Generated mipmaps (3) for atlas [35] of size 4096x4096
  18.906 Generated mipmaps (3) for atlas [36] of size 4096x4064
  18.987 Generated mipmaps (3) for atlas [37] of size 4096x4096
  19.072 Generated mipmaps (3) for atlas [38] of size 4096x3728
  19.175 Generated mipmaps (3) for atlas [39] of size 4096x4064
  19.273 Generated mipmaps (3) for atlas [40] of size 4096x4064
  19.369 Generated mipmaps (3) for atlas [41] of size 4096x4064
  19.405 Generated mipmaps (3) for atlas [42] of size 4096x1600
  19.456 Generated mipmaps (4) for atlas [43] of size 4096x1712
  19.467 Generated mipmaps (3) for atlas [50] of size 4096x1328
  19.467 Custom mipmaps uploaded.
  19.484 Custom inputs active: 0
  19.556 Factorio initialised
  25.166 Loading map /Users/paveldohnal/Library/Application Support/factorio/saves/_autosave2.zip: 5849517 bytes.
  25.196 Loading level.dat: 11020007 bytes.
  25.202 Info Scenario.cpp:187: Map version 0.17.58-0
  25.734 Loading script.dat: 328 bytes.
  25.740 Checksum for script /Users/paveldohnal/Library/Application Support/factorio/temp/currently-playing/control.lua: 1876143224
  25.794 Warning BlueprintLibrary.cpp:697: Time to sync storage to the game state: 0.000 sec
 445.899 Info AppManager.cpp:287: Saving to _autosave3 (blocking).
 446.531 Info AppManagerStates.cpp:1755: Saving finished
 523.697 Info AppManagerStates.cpp:1755: Saving finished
 581.154 Info AppManagerStates.cpp:1755: Saving finished
 721.944 Info SteamContext.cpp:628: Steam connection lost.
 

JajazXbm
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Feb 26, 2018 2:28 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by JajazXbm »

I even tried playing offline but no luck. Crashed again.

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by posila »

There is no crash in the log, but it also just ends (it didn't exit properly). What happens when it crashes? Does it just disapper do you get some dialog window?

JajazXbm
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Feb 26, 2018 2:28 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by JajazXbm »

Yes, that is basically it. The game stops responding, the cursor turns into the spinning beach ball. After two seconds game disappears and also the steam client is not running. No dialogue, nothing.

I have to restart the steam client and start Factorio again.

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by posila »

Can you try to open Factorio properties in Steam Library, and set launch options to

Code: Select all

--no-crash-handler
... and try if it makes standard macOS crash report dialog to pop up when the crash happens? If it does, could you please post its crash report here?

JajazXbm
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Feb 26, 2018 2:28 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by JajazXbm »

I tried that But no crash report dialogue appeared after the crash.

Image

keymone
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jul 19, 2019 5:08 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by keymone »

same issue. factorio process starts and is just doing nothing for a while until it quits. have no crash report but i took a sample of the process if that helps:

Sampling process 71977 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling factorio (pid 71977) every 1 millisecond
Process: factorio [71977]
Path: /Users/USER/Library/Application Support/Steam/*/factorio.app/Contents/MacOS/factorio
Load Address: 0x107ed3000
Identifier: factorio
Version: ???
Code Type: X86-64
Parent Process: steam_osx [34570]

Date/Time: 2019-07-19 19:05:30.535 +0200
Launch Time: 2019-07-19 19:05:24.791 +0200
OS Version: Mac OS X 10.14.5 (18F132)
Report Version: 7
Analysis Tool: /usr/bin/sample

Physical footprint: 23.2M
Physical footprint (peak): 100.5M
----

Call graph:
2881 Thread_207411 DispatchQueue_1: com.apple.main-thread (serial)
+ 2881 _dyld_start (in dyld) + 54 [0x114ee9036]
+ 2881 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in dyld) + 1167 [0x114ee9503]
+ 2881 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in dyld) + 6213 [0x114eef709]
+ 2881 dyld::initializeMainExecutable() (in dyld) + 169 [0x114eea747]
+ 2881 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in dyld) + 73 [0x114efae05]
+ 2881 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in dyld) + 133 [0x114efad73]
+ 2881 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in dyld) + 362 [0x114efbbea]
+ 2881 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in dyld) + 40 [0x114f00798]
+ 2881 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in dyld) + 506 [0x114f00592]
+ 2881 CGlobalInitter::CGlobalInitter() (in steamloader.dylib) + 246 [0x10b177996]
+ 2881 ??? (in factorio) load address 0x107ed3000 + 0x3253588 [0x10b126588]
+ 2881 ??? (in factorio) load address 0x107ed3000 + 0x30de42d [0x10afb142d]
+ 2881 steam (in <unknown binary>) + 363 [0x10f126eab]
+ 2881 CSteamClient::CreateSteamPipeInternal(bool) (in steamclient.dylib) + 380 [0x10f95972e]
+ 2881 CIPCClient::CreateIPCPipe(char const*, bool, bool) (in steamclient.dylib) + 881 [0x10f2be095]
+ 2881 CClientPipe::BWriteAndReadResult(CUtlBuffer&, CUtlBuffer&, bool) (in steamclient.dylib) + 287 [0x10f2c7dd7]
+ 2881 CClientPipe::BWaitResult(unsigned int) (in steamclient.dylib) + 54 [0x10f2c8002]
+ 2881 CCrossProcessPipe::BWait(unsigned int, bool) (in steamclient.dylib) + 113 [0x10f2ca763]
+ 2881 CPipeEvent::Wait(unsigned int) (in steamclient.dylib) + 133 [0x10f2c94af]
+ 2881 poll (in libsystem_kernel.dylib) + 10 [0x7fff7be4136e]
2881 Thread_207414
2881 start_wqthread (in libsystem_pthread.dylib) + 13 [0x7fff7bef73fd]
2881 _pthread_wqthread (in libsystem_pthread.dylib) + 458 [0x7fff7bef7636]
2881 __workq_kernreturn (in libsystem_kernel.dylib) + 10 [0x7fff7be3abfe]

keymone
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jul 19, 2019 5:08 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by keymone »

restarted Steam and it works again, so /shrug

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by posila »

It seems to me Steam is being terminated (I don't know if it crashes, or just shuts down for some reason), and the game calls into Steam API it also terminates (probably because Steam API detects Steam is not running anymore).

I just tested on Windows that exiting Steam while stop the game immediately, and killing Steam process will shut down the game when it tries to interact with Steam API.

So I would suggest trying to reinstall Steam, and if that doesn't help reach out to Steam support.
OR download non-Steam version of the game from factorio.com and play that (if you don't have user account factorio.com (it's separate from forum account), you'll need to create one and link it with your Steam account to get access to the standalone build of the game)

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.58] Factorio keep crashing (Steam version on Mac)

Post by posila »

keymone wrote:
Fri Jul 19, 2019 5:37 pm
restarted Steam and it works again, so /shrug
I am glad you were able to resolve the problem.

Post Reply

Return to “Technical Help”