[StrangePan][2.0.7][macos 10.13.6] Crash on launch, after "Cloud player-data.json unavailable"

This subforum contains all the issues which we already resolved.
SevenMass
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Dec 05, 2014 2:53 pm
Contact:

[StrangePan][2.0.7][macos 10.13.6] Crash on launch, after "Cloud player-data.json unavailable"

Post by SevenMass »

After double clicking the app icon, the factorio.app program launches. It spend some time loading stuff, and then it crashes. The main menu never appears.

Log file:
factorio-current.log
(3.46 KiB) Downloaded 19 times
Power to the MAS.
StrangePan
Factorio Staff
Factorio Staff
Posts: 129
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [2.0.7][macos 10.13.6] Crash upon launching the app.

Post by StrangePan »

I believe this issue and 116227 are related
SevenMass
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Dec 05, 2014 2:53 pm
Contact:

Update:

Post by SevenMass »

Update:

The problem goes away if i delete this file:

Code: Select all

~/Library/Application\ Support/factorio/crop-cache.dat
The file will be regenerated, and after that, the game will launch and relaunch as expected.


Also, this might be the same bug as this one: viewtopic.php?f=58&t=116216
sorry for not seeing it sooner, but I didn't expect a crash on launch to be inside the "won't fix" category.
Power to the MAS.
nathan67003
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Feb 21, 2021 2:09 am
Contact:

Re: [StrangePan][2.0.7][macos 10.13.6] Crash upon launching the app.

Post by nathan67003 »

Had a similar situation on macOS 10.14.6; starting from Steam after the update, error during startup. Deleting the exact same folder SevenMass pointed out allowed the game to load completely. Log attached for the time it crashed.
Attachments
factorio-previous.log
(4.01 KiB) Downloaded 7 times
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [StrangePan][2.0.7][macos 10.13.6] Crash upon launching the app.

Post by Sanqui »

If anybody runs into this and is reading the thread it would help us if you uploaded the file before deleting it :)
ovo
SevenMass
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Dec 05, 2014 2:53 pm
Contact:

Re: [StrangePan][2.0.7][macos 10.13.6] Crash upon launching the app.

Post by SevenMass »

Sanqui wrote: Mon Oct 21, 2024 4:40 pm If anybody runs into this and is reading the thread it would help us if you uploaded the file before deleting it :)
I haven't deleted it yet, i just moved it out of its directory.
The file is called "crop-cache.dat" and it is 2.8 MB in size.
It works fine in Factorio 1.1.100.

The forums don't allow .dat files to be uploaded.
Power to the MAS.
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [StrangePan][2.0.7][macos 10.13.6] Crash upon launching the app.

Post by Sanqui »

SevenMass wrote: Mon Oct 21, 2024 7:27 pm
Sanqui wrote: Mon Oct 21, 2024 4:40 pm If anybody runs into this and is reading the thread it would help us if you uploaded the file before deleting it :)
I haven't deleted it yet, i just moved it out of its directory.
The file is called "crop-cache.dat" and it is 2.8 MB in size.
It works fine in Factorio 1.1.100.

The forums don't allow .dat files to be uploaded.
You can compress it into a zip archive. Thanks!
ovo
SevenMass
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Dec 05, 2014 2:53 pm
Contact:

Re: [StrangePan][2.0.7][macos 10.13.6] Crash upon launching the app.

Post by SevenMass »

Sanqui wrote: Mon Oct 21, 2024 7:28 pm
You can compress it into a zip archive. Thanks!
I feel stupid for not thinking of this.

Here it is:
crop-cache.zip
(486.64 KiB) Downloaded 9 times
Power to the MAS.
SevenMass
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Dec 05, 2014 2:53 pm
Contact:

Update:

Post by SevenMass »

Update:

This crash also happens when I enable a mod, and then (re)load the game. (Not the expansion mods, but mod from the mod portal.)

Unfortunately, deleting the "crop-cache.dat" file does not fix it this time.

The only way to get the game working again is to manually edit the file:

Code: Select all

~/Library/Application\ Support/factorio/mods/mod-list.json
in a text edittor, to disable the mods.

But that means I can't play the game with mods...

crash log:
factorio-current.log
(4.26 KiB) Downloaded 4 times

Code: Select all

   0.000 2024-10-23 18:51:19; Factorio 2.0.9 (build 79509, mac-x64, full, space-age)
   0.000 Operating system: macOS 10.13.6
   0.000 Program arguments: "/Applications/factorio.app/Contents/MacOS/factorio" 
   0.000 Config path: /Users/username/Library/Application Support/factorio/config/config.ini
   0.000 Read data path: /Applications/factorio.app/Contents/data
   0.000 Write data path: /Users/username/Library/Application Support/factorio [836819/953669MB]
   0.000 Binaries path: /Applications/factorio.app/Contents
   0.089 System info: [CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 8 cores, RAM: 16384 MB]
   0.130 Display options: [FullScreen: false] [VSync: true] [UIScale: manual-pixels (200.0%)] [Native DPI: true] [Screen: 255] [Special: lmW] [Lang: en]
   0.265 Video driver: cocoa
   0.265 Available displays: 1
   0.265  [0]: DELL P2415Q - {[0,0], 2304x1296, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x2b2864cd(0x02)}
   0.344 Initialised OpenGL:[0] NVIDIA GeForce GTX 980 OpenGL Engine; driver: 4.1 NVIDIA-10.33.0 387.10.10.10.40.140
   0.344   [Size] Window: 2240x1166, Backbuffer: 4480x2332
   0.344   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO, ARB_pipeline_statistics_query:NO, ARB_gl_spirv:NO, ARB_ES2_compatibility:yes
   0.344   [Version] 4.1
   0.345 Verbose GraphicsInterfaceOpenGL.cpp:1008: [Caps] Tex:16384, TexArr:2048, TexBufSz:131072kB; TexUnits:80; UboSz:64kB
   0.345 Graphics settings preset: very-high
   0.345   Dedicated video memory size 4096 MB (detected from GeForce GTX 980; VendorID: 0x1022700)
   0.692 Verbose PipelineStateObject.cpp:96: Time to load shaders: 0.347799 seconds.
   0.695 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.696                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.751 [Audio] Driver:coreaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   1.347 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   1.347 Info ModManager.cpp:434: FeatureFlag freezing = true
   1.347 Info ModManager.cpp:434: FeatureFlag quality = true
   1.347 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   1.347 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   1.347 Info ModManager.cpp:434: FeatureFlag space-travel = true
   1.347 Info ModManager.cpp:434: FeatureFlag spoiling = true
   1.349 Loading mod settings even-distribution 2.0.2 (settings.lua)
   1.351 Loading mod core 0.0.0 (data.lua)
   1.369 Loading mod base 2.0.9 (data.lua)
   1.519 Loading mod elevated-rails 2.0.9 (data.lua)
   1.543 Loading mod even-distribution 2.0.2 (data.lua)
   1.552 Loading mod quality 2.0.9 (data.lua)
   1.564 Loading mod space-age 2.0.9 (data.lua)
   1.776 Loading mod base 2.0.9 (data-updates.lua)
   1.791 Loading mod quality 2.0.9 (data-updates.lua)
   1.813 Loading mod space-age 2.0.9 (data-updates.lua)
   1.928 Checksum for core: 2820763882
   1.928 Checksum of base: 1355320214
   1.928 Checksum of elevated-rails: 1891730324
   1.928 Checksum of even-distribution: 281457414
   1.928 Checksum of quality: 3715527832
   1.928 Checksum of space-age: 440491908
   2.361 Prototype list checksum: 3640950169
   2.366 Verbose ModManager.cpp:630: Time to load mods: 1.01992
   2.455 Loading sounds...
   2.693 Info PlayerData.cpp:66: Local player-data.json available, timestamp 1729702278
   2.693 Info PlayerData.cpp:73: Cloud player-data.json unavailable
   2.695 Error CrashHandler.cpp:643: Received 6
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (334): writeStacktrace
src/Util/Logger.cpp (379): logStacktrace
src/Util/CrashHandler.cpp (183): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x7fff72536f59
Stack trace logging done
   6.394 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.
Power to the MAS.
StrangePan
Factorio Staff
Factorio Staff
Posts: 129
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][2.0.7][macos 10.13.6] Crash upon launching the app.

Post by StrangePan »

Thank you everyone for the reports, files, and logs. A fix for this crash has been implemented, and we're working fast to get it ready by the weekend.
StrangePan
Factorio Staff
Factorio Staff
Posts: 129
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][2.0.7][macos 10.13.6] Crash upon launching the app.

Post by StrangePan »

Marking this as "resolved for next release". If the issues persist in 2.0.11, please post here!
Post Reply

Return to “Resolved Problems and Bugs”