[StrangePan][2.0.7] Crash when clicking old save file (TrioWriteDouble)

Things that has been reported already before.
ChefOfRamen
Inserter
Inserter
Posts: 45
Joined: Fri Sep 22, 2023 2:06 pm
Contact:

[StrangePan][2.0.7] Crash when clicking old save file (TrioWriteDouble)

Post by ChefOfRamen »

I clicked on a save file ~3 years old just to see what I was doing then, and the game crashed.

Game log:

Code: Select all

 0.001 2024-10-21 09:24:18; Factorio 2.0.7 (build 79385, mac-x64, steam)
   0.001 Operating system: macOS 10.16.0
   0.000 Initializing Steam API.
   0.001 Program arguments: "/Users/nick/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.001 Config path: /Users/nick/Library/Application Support/factorio/config/config.ini
   0.001 Read data path: /Users/nick/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.001 Write data path: /Users/nick/Library/Application Support/factorio [25802/331879MB]
   0.001 Binaries path: /Users/nick/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.097 System info: [CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, 12 cores, RAM: 16384 MB]
   0.217 Display options: [FullScreen: false] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmW] [Lang: en]
   0.645 Video driver: cocoa
   0.656 Available displays: 1
   0.656  [0]: Color LCD - {[0,0], 1792x1120, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x4281106(0x40)}
   0.733 Initialised OpenGL:[0] AMD Radeon Pro 5300M OpenGL Engine; driver: 4.1 ATI-5.2.5
   0.733   [Size] Window: 1792x1033, Backbuffer: 3584x2066
   0.733   [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.733   [Version] 4.1
   0.733 Graphics settings preset: very-high
   0.733   Dedicated video memory size 4080 MB (detected from AMD Radeon Pro 5300M Compute Engine; VendorID: 0x1021e00)
   1.106 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   1.106                   [Max threads (load/render): 32/12] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   1.322 [Audio] Driver:coreaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   1.815 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   1.815 Info ModManager.cpp:434: FeatureFlag freezing = true
   1.815 Info ModManager.cpp:434: FeatureFlag quality = true
   1.815 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   1.815 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   1.815 Info ModManager.cpp:434: FeatureFlag space-travel = true
   1.815 Info ModManager.cpp:434: FeatureFlag spoiling = true
   1.822 Loading mod core 0.0.0 (data.lua)
   1.894 Loading mod base 2.0.7 (data.lua)
   2.164 Loading mod elevated-rails 2.0.7 (data.lua)
   2.203 Loading mod quality 2.0.7 (data.lua)
   2.227 Loading mod space-age 2.0.7 (data.lua)
   2.769 Loading mod base 2.0.7 (data-updates.lua)
   2.782 Loading mod quality 2.0.7 (data-updates.lua)
   2.812 Loading mod space-age 2.0.7 (data-updates.lua)
   2.955 Checksum for core: 649243273
   2.955 Checksum of base: 2653731351
   2.955 Checksum of elevated-rails: 1891730324
   2.955 Checksum of quality: 3715527832
   2.955 Checksum of space-age: 3499025889
   3.404 Prototype list checksum: 984080119
   3.467 Loading sounds...
   4.327 Info PlayerData.cpp:68: Local player-data.json unavailable
   4.327 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1729520564
   4.626 Crop bitmaps.
   4.629 Parallel sprite loader initialized (threads: 12, bitmaps: 3662)
  17.342 Initial atlas bitmap size is 16384
  17.359 Created an atlas bitmap (size 16384x16372) [none]
  17.379 Created an atlas bitmap (size 16384x16380) [none]
  17.409 Created an atlas bitmap (size 16384x16384) [none]
  17.409 Created an atlas bitmap (size 16384x15412) [none]
  17.409 Created an atlas bitmap (size 16384x8376) [decal]
  17.414 Created an atlas bitmap (size 16384x16352) [low-object]
  17.414 Created an atlas bitmap (size 4096x1472) [low-object]
  17.415 Created an atlas bitmap (size 16384x13472) [corpse-decay]
  17.415 Created an atlas bitmap (size 16384x5580) [none]
  17.415 Created an atlas bitmap (size 1676x79) [not-compressed]
  17.415 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
  17.422 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
  17.422 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
  17.423 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  17.423 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
  17.423 Created an atlas bitmap (size 8192x2576) [mipmap]
  17.423 Created an atlas bitmap (size 2048x1520) [mipmap]
  17.423 Created an atlas bitmap (size 4096x3152) [mipmap]
  17.423 Created an atlas bitmap (size 4096x3152) [mipmap]
  17.423 Created an atlas bitmap (size 4096x3152) [mipmap]
  17.423 Created an atlas bitmap (size 8192x3792) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  17.424 Created an atlas bitmap (size 16384x6120) [alpha-mask]
  17.446 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
  17.453 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
  17.453 Created an atlas bitmap (size 16384x8376) [shadow, linear-magnification, alpha-mask]
  17.453 Created an atlas bitmap (size 8192x2336) [shadow, mipmap, linear-magnification, alpha-mask]
  17.453 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  17.453 Loading 3D bitmaps.
  17.603 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  17.608 Parallel sprite loader initialized (threads: 11, bitmaps: 8227)
  52.803 Sprites loaded
  53.023 Generated mipmaps (4) for atlas [5] of size 16384x16352   
  53.051 Generated mipmaps (4) for atlas [6] of size 4096x1472   
  53.084 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  53.174 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  53.205 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  53.216 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  53.224 Generated mipmaps (3) for atlas [14] of size 4096x3088   
  53.283 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  53.297 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  53.305 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  53.329 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  53.377 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  53.481 Generated mipmaps (5) for atlas [20] of size 8192x3792   
  53.516 Generated mipmaps (3) for atlas [25] of size 8192x2336   
  53.525 Custom mipmaps uploaded (3203)
  53.684 Factorio initialised
  53.687 Steam Storage Quota: 4894/23841
 176.900 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
0x7ff81a54b37c
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 (52): operator()
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/invoke.h (394): __invoke<(lambda at /var/folders/66/_kmq1p313sn21hq50sykcbv80000gn/T/factorio-build-XXXXXX.J82IIomN/src/Gui/LoadMapGui.cpp:52:5) &, 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.J82IIomN/src/Gui/LoadMapGui.cpp:52:5) &, 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
src/Gui/PackageListGui.cpp (20): operator()
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/invoke.h (394): __invoke<(lambda at /var/folders/66/_kmq1p313sn21hq50sykcbv80000gn/T/factorio-build-XXXXXX.J82IIomN/src/Gui/PackageListGui.cpp:20:28) &, int>
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/__functional/invoke.h (487): __call<(lambda at /var/folders/66/_kmq1p313sn21hq50sykcbv80000gn/T/factorio-build-XXXXXX.J82IIomN/src/Gui/PackageListGui.cpp:20:28) &, int>
/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 (356): operator()
libraries/Agui/GenericTargetable.hpp (22): get
libraries/Agui/GenericTargeter.hpp (22): operator bool
libraries/Agui/EventDispatchHelper.hpp (39): operator++
libraries/Agui/Widget/Widget.cpp (1526): dispatchItemSelect
libraries/Agui/GenericTargeter.hpp (22): operator bool
libraries/Agui/EventDispatchHelper.hpp (39): operator++
libraries/Agui/Widget/Widget.cpp (1676): dispatchToggle
libraries/Agui/Widget/Button.cpp (107): mouseClick
/opt/homebrew/opt/llvm@16/bin/../include/c++/v1/vector (1423): begin
libraries/Agui/EventDispatchHelper.hpp (28): Iterator
libraries/Agui/EventDispatchHelper.hpp (29): Iterator
libraries/Agui/EventDispatchHelper.hpp (62): begin
libraries/Agui/Widget/Widget.cpp (1669): dispatchClick
libraries/Agui/GenericTargetable.hpp (22): get
libraries/Agui/GenericTargeter.hpp (25): operator*
libraries/Agui/Gui.cpp (314): handleMouseUp
libraries/Agui/Gui.cpp (0): handleMouseUp
libraries/Agui/Gui.cpp (973): dispatchMouseEvents
libraries/Agui/Gui.cpp (815): logic
src/Info/TimeStatistics.cpp (220): addTime
src/Info/TimeStatistics.hpp (71): ~TimeChecker
src/Info/TimeStatistics.hpp (71): ~TimeChecker
src/GlobalContext.cpp (1383): updateGui
src/MainLoop.cpp (1088): processEvent
src/MainLoop.cpp (762): processEvents
src/MainLoop.cpp (603): prePrepare
src/MainLoop.cpp (0): mainLoopStep
src/MainLoop.cpp (412): run
src/Main.cpp (1325): fmain
src/Main.cpp (1354): main
0x7ff81a192386
Stack trace logging done
 181.630 Uploading log file
 181.722 Info SystemUtil.cpp:877: Started /Users/nick/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 1359
 181.722 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14250
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Crash when clicking old save file

Post by Rseding91 »

Thanks for the report, can you please post the save file here that's crashing?
If you want to get ahold of me I'm almost always on Discord.
ChefOfRamen
Inserter
Inserter
Posts: 45
Joined: Fri Sep 22, 2023 2:06 pm
Contact:

Re: Crash when clicking old save file

Post by ChefOfRamen »

Rseding91 wrote: Mon Oct 21, 2024 2:37 pm Thanks for the report, can you please post the save file here that's crashing?
003 getting the red n green tech.zip
(4.06 MiB) Downloaded 14 times
Loewchen wrote: Mon Oct 21, 2024 2:39 pm see 116239
Don't think that's related. My game crashes as soon as I click on the save file.
ChefOfRamen
Inserter
Inserter
Posts: 45
Joined: Fri Sep 22, 2023 2:06 pm
Contact:

Re: Crash when clicking old save file

Post by ChefOfRamen »

Update: it doesn't seem to be specific to that save—all of my saves do it. The game crashes when I select a save other than the one that the UI opens to.

Ran into the linked issue when trying to test whether it happens with post-2.0 saves.
StrangePan
Factorio Staff
Factorio Staff
Posts: 124
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: Crash when clicking old save file

Post by StrangePan »

I suspect this might be related to 116239. The stack traces are very similar, and the macOS versions are the same.
StrangePan
Factorio Staff
Factorio Staff
Posts: 124
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][2.0.7] Crash when clicking old save file (TrioWriteDouble)

Post by StrangePan »

I will mark this as a dupe. A fix has been implemented for 2.0.13.
Post Reply

Return to “Duplicates”