[StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16) (TrioWriteDouble)

This subforum contains all the issues which we already resolved.
WolfWatermelon
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Oct 21, 2024 1:06 pm
Contact:

[StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16) (TrioWriteDouble)

Post by WolfWatermelon »

Hello, made a new save for space age, played a bit, tried to manually save (pressed escape then left clicked save) and the game crashed without saving.
Opened the game back, the autosave seems to work however I cannot saved manually as it crashes the game every time I left click the save button.

I'm playing on a macOS Sonoma 14.0. No mods are installed.

I've put my factorio log and the save file.

Any suggestions or ideas how to fix this issue ?
Thank you very much for the help :D
Attachments
_autosave3.zip
(3.98 MiB) Downloaded 13 times
factorio-current.log
(13.43 KiB) Downloaded 27 times
Thelody
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Jan 05, 2018 9:00 am
Contact:

Re: [2.0.7] Crash when I try to manually save (macOS 10.16)

Post by Thelody »

Same.

Crashes as soon as the save button is pressed, even on a brand new map. Both space age enabled and disabled. No mods.
Attachments
factorio-previous.log
(9.88 KiB) Downloaded 11 times
factorio-current.log
(10.4 KiB) Downloaded 15 times
StrangePan
Factorio Staff
Factorio Staff
Posts: 129
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [2.0.7] Crash when I try to manually save (macOS 10.16)

Post by StrangePan »

Hello, while I look into the issue, here are a couple things you can try to help me troubleshoot the issue and to workaround it so you can continue to play:

1. Does the game also crash when opening the Load Game menu? Main Menu > Load Game > [Crash]
2. If you back up and move your existing save files to a new location, does the crash still occur?
gbear605
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Oct 21, 2024 2:52 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by gbear605 »

I also have this issue. I tried entirely deleting the ~/Library/Application Support/factorio folder, reinstalling the game, and restarting my computer, and I can still reproduce the issue by:
1) Opening up Factorio
2) Creating a new game
3) Immediately pressing esc and clicking the save game button. The game immediately crashes.

I noticed that the old saves are automatically copied over to the new ~/Library/Application Support/factorio folder from the Steam Cloud.

When I disabled the Steam Cloud save game feature and deleted ~/Library/Application Support/factorio, I now crash in the following situation. I've attached a log created after these steps.
1) Opening up Factorio
2) Creating a new game
3) Immediately pressing esc and clicking the save game button.
4) Going through the save dialog, and waiting for the game to partially save. The game crashes during the save.

---

The following do not cause a crash:
1) Opening up Factorio
2) Clicking the load game button

1) Opening up Factorio
2) Loading a save or creating a new game
3) Immediately pressing esc and clicking the load game button.
Attachments
factorio-current.log
(11.02 KiB) Downloaded 12 times
Last edited by gbear605 on Mon Oct 21, 2024 3:01 pm, edited 1 time in total.
gbear605
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Oct 21, 2024 2:52 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by gbear605 »

Following up on my last message, I tried downloading the game directly from the Factorio website, deleting the ~/Library/Application Support/factorio folder, and the game still crashes with the steps of:

1) Opening up Factorio (skip past the "enter username and password" dialog)
2) Creating a new game (selected freeplay)
3) Immediately pressing esc and clicking the save game button.
4) Going through the save dialog, and waiting for the game to partially save. The game crashes during the save.
WolfWatermelon
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Oct 21, 2024 1:06 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by WolfWatermelon »

StrangePan wrote: Mon Oct 21, 2024 2:52 pm 1. Does the game also crash when opening the Load Game menu? Main Menu > Load Game > [Crash]
Yes clicking loading the the Game from the Main menu also crash the game instantly after clicking the load button. Clicking the loading save from the in game menu does not crash the game.
StrangePan wrote: Mon Oct 21, 2024 2:52 pm 2. If you back up and move your existing save files to a new location, does the crash still occur?
I don't know how to test this because how to load a save that is not from the "main" save file in the usual factorio . I don't see an option to browse my computer and chose a specific folder to load the save from.

My work around this issue by lowering the auto-save timer and just waiting for an auto-save before quitting.
The factory can grow for now :D
sturkin30
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Oct 21, 2024 5:04 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by sturkin30 »

Same,

When I downloaded the update it showed a warning, something about "cant load archive" or something like that, and crushed when I tried to click load the game. Then I deleted all saves and disabled sync with the Steam cloud, it stopped showing the warning, and when I clicked save the first time showed the save dialog where I was able to enter the save name, but when I actually tried to save it crashed.

At the same time autosaves are working correctly...
Last edited by sturkin30 on Mon Oct 21, 2024 5:10 pm, edited 1 time in total.
StrangePan
Factorio Staff
Factorio Staff
Posts: 129
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by StrangePan »

Thank you all for the updates. I'm still actively working on this issue, but I've not yet identified a fix. For the time being, please continue to rely on autosaves to save and load your games. You can adjust the frequency and number of autosaves in settings.
chrisotherwise
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Oct 21, 2024 7:02 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by chrisotherwise »

If you delete the saves directory, run factorio, then save, it will open the save dialog, allow you to name your save and the savefile will be created. Then the crash happens. The savefile seems fine and can be loaded without problems.
WaylandSmith
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Mar 24, 2016 11:53 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by WaylandSmith »

Confirming same behaviour in MacOS 14.1.1

Haven't been able to find a workaround other than just relying on autosaves.
aaorris
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Oct 22, 2024 12:49 am
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by aaorris »

Sonoma 13.3, log as follows:

Code: Select all

2086.123 Info AppManager.cpp:310: Saving to _autosave2 (blocking).
2086.309 Info AppManagerStates.cpp:2045: Saving finished
2248.834 Error CrashHandler.cpp:641: Received SIGSEGV
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
0x7ff80063e37c
libraries/trio/trio.c (3494): TrioWriteDouble
libraries/trio/trio.c (3919): TrioFormatProcess
libraries/trio/trio.c (3994): TrioFormat
libraries/trio/trio.c (4655): trio_vsnprintf
libraries/CommonUtil/StringUtil.cpp (0): ssprintf
src/Gui/MapInfoGui.cpp (0): update
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/string (1682): __is_long
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/string (1078): size
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/string (1116): empty
src/Gui/SaveMapGui.cpp (120): onPackageSelectionChanged
src/Gui/SaveMapGui.cpp (42): operator()<const PackageFilesystemInfo>
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/invoke.h (394): __invoke<(lambda at /var/folders/66/_kmq1p313sn21hq50sykcbv80000gn/T/factorio-build-XXXXXX.PbJtBDKY/src/Gui/SaveMapGui.cpp:42:53) &, const PackageFilesystemInfo &>
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/invoke.h (487): __call<(lambda at /var/folders/66/_kmq1p313sn21hq50sykcbv80000gn/T/factorio-build-XXXXXX.PbJtBDKY/src/Gui/SaveMapGui.cpp:42:53) &, const PackageFilesystemInfo &>
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (185): operator()
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (356): operator()
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (0): operator()
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (1156): operator()
src/Gui/PackageListGui.cpp (228): onSelectionChanged
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/string (1682): __is_long
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/string (2361): ~basic_string
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/string (2359): ~basic_string
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__filesystem/path.h (505): ~path
src/Filesystem/Filesystem.hpp (49): ~Path
src/Filesystem/Filesystem.hpp (49): ~Path
src/Package/PackageFilesystemInfo.hpp (5): ~PackageFilesystemInfo
src/Package/PackageFilesystemInfo.hpp (5): ~PackageFilesystemInfo
src/Gui/PackageListGui.cpp (109): selectPackageByPath
src/Gui/SaveMapGui.cpp (0): SaveMapGui
src/AppManagerStates.cpp (2205): enableGui
src/AppManager.cpp (595): changeStateInternal
src/AppManager.cpp (472): pushState
src/AppManager.cpp (0): process
src/MainLoop.cpp (588): prePrepare
src/MainLoop.cpp (0): mainLoopStep
src/MainLoop.cpp (412): run
src/Main.cpp (1325): fmain
src/Main.cpp (1354): main
0x7ff800285386
Stack trace logging done
2251.417 Error CrashHandler.cpp:190: Map tick at moment of crash: 261674
2251.417 Uploading log file
2251.518 Info SystemUtil.cpp:877: Started /Users/aaron/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 39853
2251.518 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.
chrisotherwise
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Oct 21, 2024 7:02 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by chrisotherwise »

This problem doesn't happen on my desktop iMac running Ventura 13.6.9.
sturkin30
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Oct 21, 2024 5:04 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by sturkin30 »

I forgot to mention, the problem occurs on MacOs 14.2.1 (23C71)

Code: Select all

   0.003 2024-10-22 08:12:41; Factorio 2.0.8 (build 79416, mac-x64, steam)
   0.003 Operating system: macOS 10.16.0
   0.000 Initializing Steam API.
   0.003 Program arguments: "/Users/sergeyturkin/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.003 Config path: /Users/sergeyturkin/Library/Application Support/factorio/config/config.ini
   0.003 Read data path: /Users/sergeyturkin/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.003 Write data path: /Users/sergeyturkin/Library/Application Support/factorio [144053/476802MB]
   0.003 Binaries path: /Users/sergeyturkin/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.126 System info: [CPU: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz, 16 cores, RAM: 32768 MB]
   0.323 Display options: [FullScreen: false] [VSync: true] [UIScale: manual-pixels (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmW] [Lang: en]
   0.884 Video driver: cocoa
   0.884 Available displays: 2
   0.884  [0]: LG HDR QHD - {[0,0], 1920x1080, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x1b5675bf(0x80)}
   0.884  [1]: Color LCD - {[1920,507], 1536x960, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x4281106(0x40)}
   0.972 Initialised OpenGL:[0] AMD Radeon Pro 5300M OpenGL Engine; driver: 4.1 ATI-5.2.4
   0.972   [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.972   [Version] 4.1
   0.972 Verbose GraphicsInterfaceOpenGL.cpp:1008: [Caps] Tex:16384, TexArr:2048, TexBufSz:131072kB; TexUnits:80; UboSz:64kB
   0.972 Graphics settings preset: very-high
   0.972   Dedicated video memory size 4080 MB (detected from AMD Radeon Pro 5300M Compute Engine; VendorID: 0x1021e00)
   1.422 Verbose PipelineStateObject.cpp:96: Time to load shaders: 0.450052 seconds.
   1.427 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   1.427                   [Max threads (load/render): 32/16] [Max texture size: 8192] [Tex.Stream.: false] [Rotation quality: low] [Other: STDCwt] [B:0,C:0,S:100]
   5.699 [Audio] Driver:coreaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   6.370 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   6.370 Info ModManager.cpp:434: FeatureFlag freezing = true
   6.370 Info ModManager.cpp:434: FeatureFlag quality = true
   6.370 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   6.370 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   6.370 Info ModManager.cpp:434: FeatureFlag space-travel = true
   6.370 Info ModManager.cpp:434: FeatureFlag spoiling = true
   6.374 Loading mod settings EditorExtensions 2.3.0 (settings.lua)
   6.380 Loading mod core 0.0.0 (data.lua)
   6.420 Loading mod base 2.0.8 (data.lua)
   6.669 Loading mod elevated-rails 2.0.8 (data.lua)
   6.726 Loading mod flib 0.15.0 (data.lua)
   6.747 Loading mod quality 2.0.8 (data.lua)
   6.765 Loading mod space-age 2.0.8 (data.lua)
   7.259 Loading mod EditorExtensions 2.3.0 (data.lua)
   7.300 Loading mod base 2.0.8 (data-updates.lua)
   7.314 Loading mod quality 2.0.8 (data-updates.lua)
   7.341 Loading mod space-age 2.0.8 (data-updates.lua)
   7.360 Loading mod EditorExtensions 2.3.0 (data-final-fixes.lua)
   7.533 Checksum for core: 649243273
   7.533 Checksum of base: 2653731351
   7.533 Checksum of elevated-rails: 1891730324
   7.533 Checksum of flib: 2235140407
   7.533 Checksum of quality: 3715527832
   7.533 Checksum of space-age: 3673024646
   7.533 Checksum of EditorExtensions: 1574031831
   8.147 Prototype list checksum: 2325269501
   8.163 Verbose ModManager.cpp:630: Time to load mods: 1.79258
   8.226 Loading sounds...
   8.705 Info PlayerData.cpp:68: Local player-data.json unavailable
   8.705 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1729520339
   9.052 Crop bitmaps.
   9.055 Parallel sprite loader initialized (threads: 16, bitmaps: 8227)
  26.586 Verbose ParallelSpriteLoader.cpp:146: Sprite loader stats> Worker loaded max size: 128.00MB, Total worker loaded max size: 1928.00MB
  26.638 Initial atlas bitmap size is 8192
  26.646 Created an atlas bitmap (size 8192x8188) [none]
  26.653 Created an atlas bitmap (size 8192x8192) [none]
  26.659 Created an atlas bitmap (size 8192x8188) [none]
  26.663 Created an atlas bitmap (size 8192x8148) [none]
  26.669 Created an atlas bitmap (size 8192x8172) [none]
  26.674 Created an atlas bitmap (size 8192x8180) [none]
  26.678 Created an atlas bitmap (size 8192x8168) [none]
  26.685 Created an atlas bitmap (size 8192x8184) [none]
  26.693 Created an atlas bitmap (size 8192x8184) [none]
  26.700 Created an atlas bitmap (size 8192x8188) [none]
  26.702 Created an atlas bitmap (size 8192x8168) [none]
  26.705 Created an atlas bitmap (size 8192x8160) [none]
  26.706 Created an atlas bitmap (size 8192x8188) [none]
  26.707 Created an atlas bitmap (size 8192x8152) [none]
  26.708 Created an atlas bitmap (size 8192x8184) [none]
  26.708 Created an atlas bitmap (size 8192x2116) [none]
  26.709 Created an atlas bitmap (size 8192x8180) [decal]
  26.709 Created an atlas bitmap (size 8192x8172) [decal]
  26.709 Created an atlas bitmap (size 4096x1244) [decal]
  26.711 Created an atlas bitmap (size 8192x8160) [low-object]
  26.711 Created an atlas bitmap (size 8192x8128) [low-object]
  26.712 Created an atlas bitmap (size 8192x8192) [low-object]
  26.713 Created an atlas bitmap (size 8192x8192) [low-object]
  26.713 Created an atlas bitmap (size 8192x1856) [low-object]
  26.714 Created an atlas bitmap (size 8192x8136) [corpse-decay]
  26.715 Created an atlas bitmap (size 8192x8164) [corpse-decay]
  26.716 Created an atlas bitmap (size 8192x8188) [corpse-decay]
  26.716 Created an atlas bitmap (size 8192x2764) [corpse-decay]
  26.716 Created an atlas bitmap (size 8192x8184) [none]
  26.716 Created an atlas bitmap (size 8192x2996) [none]
  26.716 Created an atlas bitmap (size 1676x79) [not-compressed]
  26.716 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
  26.718 Created an atlas bitmap (size 8192x8176) [terrain, mipmap, linear-minification, linear-mip-level]
  26.719 Created an atlas bitmap (size 8192x8176) [terrain, mipmap, linear-minification, linear-mip-level]
  26.721 Created an atlas bitmap (size 8192x8176) [terrain, mipmap, linear-minification, linear-mip-level]
  26.722 Created an atlas bitmap (size 8192x8160) [terrain, mipmap, linear-minification, linear-mip-level]
  26.722 Created an atlas bitmap (size 8192x8128) [terrain, mipmap, linear-minification, linear-mip-level]
  26.722 Created an atlas bitmap (size 8192x2368) [terrain, mipmap, linear-minification, linear-mip-level]
  26.722 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  26.722 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
  26.723 Created an atlas bitmap (size 8192x2576) [mipmap]
  26.723 Created an atlas bitmap (size 2048x1520) [mipmap]
  26.723 Created an atlas bitmap (size 4096x3152) [mipmap]
  26.723 Created an atlas bitmap (size 4096x3152) [mipmap]
  26.723 Created an atlas bitmap (size 4096x3152) [mipmap]
  26.723 Created an atlas bitmap (size 8192x4080) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  26.727 Created an atlas bitmap (size 8192x8168) [alpha-mask]
  26.727 Created an atlas bitmap (size 8192x4080) [alpha-mask]
  26.732 Created an atlas bitmap (size 8192x8188) [shadow, linear-magnification, alpha-mask]
  26.735 Created an atlas bitmap (size 8192x8164) [shadow, linear-magnification, alpha-mask]
  26.739 Created an atlas bitmap (size 8192x8188) [shadow, linear-magnification, alpha-mask]
  26.746 Created an atlas bitmap (size 8192x8188) [shadow, linear-magnification, alpha-mask]
  26.749 Created an atlas bitmap (size 8192x8100) [shadow, linear-magnification, alpha-mask]
  26.750 Created an atlas bitmap (size 8192x8172) [shadow, linear-magnification, alpha-mask]
  26.750 Created an atlas bitmap (size 8192x8184) [shadow, linear-magnification, alpha-mask]
  26.751 Created an atlas bitmap (size 8192x8176) [shadow, linear-magnification, alpha-mask]
  26.751 Created an atlas bitmap (size 8192x8192) [shadow, linear-magnification, alpha-mask]
  26.751 Created an atlas bitmap (size 8192x4828) [shadow, linear-magnification, alpha-mask]
  26.751 Created an atlas bitmap (size 8192x2336) [shadow, mipmap, linear-magnification, alpha-mask]
  26.751 Created an atlas bitmap (size 2048x520) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  26.751 Loading 3D bitmaps.
  26.872 Verbose TextureProcessor.cpp:1128: GPU accelerated compression test: Time 97.962 ms; YCoCg_DXT PSNR: 35.83, BC3 PSNR: 33.82
  26.873 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  26.876 Parallel sprite loader initialized (threads: 15, bitmaps: 8259)
  54.956 Sprites loaded
  55.019 Generated mipmaps (4) for atlas [19] of size 8192x8160   
  55.086 Generated mipmaps (4) for atlas [20] of size 8192x8128   
  55.131 Generated mipmaps (4) for atlas [21] of size 8192x8192   
  55.180 Generated mipmaps (4) for atlas [22] of size 8192x8192   
  55.201 Generated mipmaps (4) for atlas [23] of size 8192x1856   
  55.231 Generated mipmaps (3) for atlas [31] of size 8192x6112   
  55.257 Generated mipmaps (3) for atlas [32] of size 8192x8176   
  55.280 Generated mipmaps (3) for atlas [33] of size 8192x8176   
  55.307 Generated mipmaps (3) for atlas [34] of size 8192x8176   
  55.327 Generated mipmaps (3) for atlas [35] of size 8192x8160   
  55.358 Generated mipmaps (3) for atlas [36] of size 8192x8128   
  55.366 Generated mipmaps (3) for atlas [37] of size 8192x2368   
  55.376 Generated mipmaps (3) for atlas [38] of size 8192x3872   
  55.382 Generated mipmaps (3) for atlas [39] of size 4096x3088   
  55.439 Generated mipmaps (3) for atlas [40] of size 8192x2576   
  55.461 Generated mipmaps (3) for atlas [41] of size 2048x1520   
  55.467 Generated mipmaps (3) for atlas [42] of size 4096x3152   
  55.492 Generated mipmaps (3) for atlas [43] of size 4096x3152   
  55.499 Generated mipmaps (3) for atlas [44] of size 4096x3152   
  55.605 Generated mipmaps (5) for atlas [45] of size 8192x4080   
  55.642 Generated mipmaps (3) for atlas [58] of size 8192x2336   
  55.647 Custom mipmaps uploaded (3223)
  55.647 Verbose AtlasBuilder.cpp:820: Atlas memory size: 3119.21MB; 0.00MB (virtual)
  55.647 Verbose AtlasBuilder.cpp:693: Size of sprites outside of atlas: 107.45MB
  55.647 Verbose ParallelSpriteLoader.cpp:146: Sprite loader stats> Worker loaded max size: 155.74MB, Total worker loaded max size: 1932.27MB
  55.648 Verbose AtlasBuilder.cpp:1319: Prepared alpha-mask lookup table. Count = 21515
  55.668 Custom inputs active: 5
  55.805 Factorio initialised
  55.819 Steam Storage Quota: 23827/23841
  55.822 Verbose SteamContext.cpp:651: SteamUserStats initialized.
  70.046 Error CrashHandler.cpp:641: Received SIGSEGV
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
0x7ff811b9e37c
libraries/trio/trio.c (3494): TrioWriteDouble
libraries/trio/trio.c (3919): TrioFormatProcess
libraries/trio/trio.c (3994): TrioFormat
libraries/trio/trio.c (4655): trio_vsnprintf
libraries/CommonUtil/StringUtil.cpp (0): ssprintf
src/Gui/MapInfoGui.cpp (0): update
src/Gui/MapInfoGui.hpp (35): isValid
src/Gui/LoadMapGui.cpp (118): onPackageSelectionChanged
src/Gui/LoadMapGui.cpp (57): LoadMapGui
src/AppManagerStates.cpp (1464): enableGui
src/AppManager.cpp (595): changeStateInternal
src/AppManager.cpp (472): pushState
src/AppManager.cpp (0): process
src/MainLoop.cpp (588): prePrepare
src/MainLoop.cpp (0): mainLoopStep
src/MainLoop.cpp (412): run
src/Main.cpp (1325): fmain
src/Main.cpp (1354): main
0x7ff8117e5386
Stack trace logging done
  74.064 Uploading log file
  74.237 Info SystemUtil.cpp:877: Started /Users/sergeyturkin/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 72982
  74.238 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.
StrangePan
Factorio Staff
Factorio Staff
Posts: 129
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by StrangePan »

If your Mac is using an older version of Sonoma, please try updating your operating system to the latest version of Sonoma (14.7) and report if the issue persists or is fixed.
chrisotherwise
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Oct 21, 2024 7:02 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by chrisotherwise »

I confirm that upgrading to Sonoma 14.7 fixes the problem for me.

Thank you very much for your rapid investigation of the problem!
StrangePan
Factorio Staff
Factorio Staff
Posts: 129
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by StrangePan »

In my attempts to reproduce this issue, it seems that even Apple no longer provides macOS Sonoma versions older than 14.4.1. Digging a bit into it, it seems Sonoma had a rocky launch with a lot of problems.

Since all reports in this thread appear to be coming from macOS Sonoma versions between 14.0 and 14.3.1, I'm going to recommend to first upgrade to macOS Sonoma 14.7 and, if the issue persists, post again to this thread and let me know. (And if the issue is fixed after upgrading, please post that too!)

I'm going to move this thread to pending until new information arises or I'm able to reproduce it on 14.4.1. If not, I'll close this as "won't fix".
WaylandSmith
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Mar 24, 2016 11:53 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by WaylandSmith »

I, myself, will be upgrading to 14.7 in order to work around this bug, but just a reminder, the original bug report is for MacOS 10.6 and there are reports of this bug appearing on other major OS releases, including those which are on EOL hardware that cannot upgrade to 14.4.1. If you go ahead with this plan to declare this bug "won't fix" you're effectively making a decision to abandon support for a large portion of MacOS users for a game that has historically had strong MacOS support. This would make Factorio 2.0 the update that abandoned their ability to play the game on the computer they own, after they purchased it! This really doesn't seem like Wube's way of doing things, and I encourage you to re-think this strategy, particularly since there has been all of 24 hours spent trying to fix it before potentially abandoning making a fix.

if you need help reproducing the bug on older OS releases, I can guarantee you will find eager Mac users with technical skills who would be happy to offer their time and skills in order to help others in their situation still be able to play the game.
sturkin30
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Oct 21, 2024 5:04 pm
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by sturkin30 »

All works after the update. THANKS!!!
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [StrangePan][2.0.7] Crash when I try to manually save (macOS 10.16)

Post by Rseding91 »

The main issue is, this code did not change between 1.1 and 2.0, and the same code seems to work without issue on Linux and windows machines. The only thing that changed is the compiler version which should have no impact on if it works or not. That leaves only the operating system left as the likely culprit - something we have no control over.

Unless I’m missing something?
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”