[1.1.74][mac-arm] Crashes on start sometimes

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
YoshiMan44
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Dec 24, 2022 11:49 pm
Contact:

[1.1.74][mac-arm] Crashes on start sometimes

Post by YoshiMan44 »

On my M2 Factorio fails to start sometimes. Seems to happen when I open an other application at the same time. Are you guys checking for SDL_RENDER_DEVICE_RESET on startup? Failing to check for render device reset will lead to SIGSEGV and reder_device_reset can happend when GPU needs to make room for other applications. IDK if it can happen on the m2 tho I only do SDL2 on windows.

Code: Select all

0.000 2022-12-24 15:25:41; Factorio 1.1.74 (build 60256, mac-arm64, steam)
   0.000 Operating system: OS X 12.5.0
   0.000 Program arguments: "/Users/ch44d/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.000 Config path: /Users/ch44d/Library/Application Support/factorio/config/config.ini
   0.000 Read data path: /Users/ch44d/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/ch44d/Library/Application Support/factorio [812386/948584MB]
   0.000 Binaries path: /Users/ch44d/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.031 System info: [CPU: arm64, 8 cores, RAM: 24576 MB]
   0.031 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmW] [Lang: en]
   0.084 Available displays: 1
   0.084  [0]: 0 - {[0,0], 1470x956, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x0001(0x01)}
   0.118 Initialised OpenGL:[0] Apple M2; driver: 4.1 Metal - 76.3
   0.118   [Size] Window: 1470x806, Backbuffer: 2940x1612
   0.118   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   0.118   [Version] 4.1
   0.118 Graphics settings preset: very-high
   0.118   Dedicated video memory size 16384 MB (detected from Apple M2; VendorID: 0x1027f00)
   0.210 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
   0.210                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.279 [Audio] Backend:SDL(default); Driver:coreaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.881 Loading mod core 0.0.0 (data.lua)
   0.923 Loading mod base 1.1.74 (data.lua)
   1.084 Loading mod base 1.1.74 (data-updates.lua)
   1.155 Checksum for core: 870127790
   1.155 Checksum of base: 4211423066
   1.304 Prototype list checksum: 3034860339
   1.340 Loading sounds...
   1.559 Info PlayerData.cpp:73: Local player-data.json unavailable
   1.559 Info PlayerData.cpp:76: Cloud player-data.json available, timestamp 1671862860
   1.720 Initial atlas bitmap size is 16384
   1.737 Created atlas bitmap 16384x16384 [none]
   1.738 Created atlas bitmap 16384x13052 [none]
   1.739 Created atlas bitmap 8192x4188 [decal]
   1.739 Created atlas bitmap 16384x5568 [low-object, linear-minification]
   1.739 Created atlas bitmap 8192x4432 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.739 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.739 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.739 Created atlas bitmap 4096x1840 [smoke, mipmap, linear-minification, linear-magnification]
   1.739 Created atlas bitmap 4096x3088 [mipmap]
   1.739 Created atlas bitmap 8192x2240 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.740 Created atlas bitmap 8192x1496 [alpha-mask]
   1.741 Created atlas bitmap 16384x14772 [shadow, linear-magnification, alpha-mask]
   1.741 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.741 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.752 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 36.09, BC3 PSNR: 33.82
   3.020 Parallel Sprite Loader initialized (threads: 7)
Factorio crashed. Generating symbolized stacktrace, please wait ...
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: executable file is not an executable
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.889 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
Stack trace logging done
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.890 Error StacktraceToStream.cpp:13: Error getting stacktrace: failed to read executable information
  35.891 Error Util.cpp:97: 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.
  87.647 Error CrashHandler.cpp:635: Received SIGSEGV

StrangePan
Factorio Staff
Factorio Staff
Posts: 33
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [1.1.74][mac-arm] Crashes on start sometimes

Post by StrangePan »

Hey, sorry to hear you're having trouble. Is this issue still affecting you? Would you be willing to share examples of other applications open at the same time that may be triggering this crash?

More recent versions of Factorio (1.1.76+) have improved stack trace reporting for crashes. If you're still able to reproduce this crash using Factorio 1.1.76, could you send another log of that crash too?

Post Reply

Return to “Pending”