[2.0.15] [mac-arm64] Crash on startup when xbox controller connected (IOS_MFIJoystickUpdate)

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
rainb0w
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Nov 10, 2024 1:14 am
Contact:

[2.0.15] [mac-arm64] Crash on startup when xbox controller connected (IOS_MFIJoystickUpdate)

Post by rainb0w »

Had controller plugged in, launched game, it refused to start; both steam and non-steam versions. Log:

Code: Select all

   0.000 2024-11-09 17:10:03; Factorio 2.0.15 (build 80108, mac-arm64, full, space-age)
   0.002 Operating system: macOS 15.1.0
   0.002 Program arguments: "/Applications/factorio.app/Contents/MacOS/factorio" 
   0.002 Config path: /Users/.../Library/Application Support/factorio/config/config.ini
   0.002 Read data path: /Applications/factorio.app/Contents/data
   0.002 Write data path: /Users/.../Library/Application Support/factorio [98331/948584MB]
   0.002 Binaries path: /Applications/factorio.app/Contents
   0.134 System info: [CPU: arm64, 10 cores, RAM: 32768 MB]
   0.135 Display options: [FullScreen: false] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: false] [Screen: 255] [Special: lmW] [Lang: en]
   0.214 Video driver: cocoa
   0.214 Available displays: 1
   0.217  [0]: 0 - {[0,0], 1728x1117, SDL_PIXELFORMAT_ARGB8888, 120Hz, 0x0001(0x01)}
   0.240 Initialised OpenGL:[0] Apple M1 Pro; driver: 4.1 Metal - 89.3
   0.241   [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.241   [Version] 4.1
   0.241 Graphics settings preset: very-high
   0.241   Dedicated video memory size 21845 MB (detected from Apple M1 Pro; VendorID: 0x1027f00)
   0.254 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.254                   [Max threads (load/render): 32/10] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.453 [Audio] Driver:coreaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.661 Joystick device connected: instance: 0, Xbox Series X Controller
   0.661 Game controller connected: instance: 0, Xbox Series X Controller, Xbox Series X Controller
   1.137 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   1.137 Info ModManager.cpp:434: FeatureFlag freezing = true
   1.137 Info ModManager.cpp:434: FeatureFlag quality = true
   1.137 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   1.137 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   1.137 Info ModManager.cpp:434: FeatureFlag space-travel = true
   1.137 Info ModManager.cpp:434: FeatureFlag spoiling = true
   1.276 Loading mod core 0.0.0 (data.lua)
   1.301 Loading mod base 2.0.15 (data.lua)
   1.438 Loading mod elevated-rails 2.0.15 (data.lua)
   1.465 Loading mod quality 2.0.15 (data.lua)
   1.478 Loading mod space-age 2.0.15 (data.lua)
   1.746 Loading mod base 2.0.15 (data-updates.lua)
   1.773 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 (181): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x182dcc183
libraries/SDL2/src/joystick/iphoneos/SDL_mfijoystick.m (1152): IOS_MFIJoystickUpdate
libraries/SDL2/src/joystick/iphoneos/SDL_mfijoystick.m (1751): IOS_JoystickUpdate
libraries/SDL2/src/joystick/SDL_joystick.c (880): SDL_JoystickOpen
libraries/SDL2/src/joystick/SDL_gamecontroller.c (2223): SDL_GameControllerOpen
src/Graphics/SDLWindow.cpp (1131): handleEvent
src/Graphics/SDLWindow.cpp (953): pollEvent
src/Graphics/SDLWindow.cpp (52): pollEventInternal
src/Graphics/SDLWindow.cpp (57): pollEvent
src/GlobalContext.cpp (237): nextEvent
src/Graphics/LoadingSplashScreen.cpp (470): processWindowEvents
src/Graphics/LoadingSplashScreen.cpp (459): setCurrentPartSubtext
src/Data/ModManager.cpp (275): pushLoadingMod
src/Data/ModManager.cpp (868): loadMod
src/Data/ModManager.cpp (647): loadModsPhase
src/Data/ModManager.cpp (531): loadData
src/GlobalContext.cpp (505): init
src/MainLoop.cpp (286): run
src/Main.cpp (1348): fmain
src/Main.cpp (1370): main
Stack trace logging done
   3.586 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.
anver
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Nov 17, 2024 4:30 am
Contact:

Re: [2.0.15] [mac-arm64] crashes on startup when xbox controller connected

Post by anver »

You saved my day, Was playing fps games with controller today, tried launching factory didn't work even reinstalled the game, finally noticed that I had controller still connected. The should be pinned for all Mac players
Twinsen
Factorio Staff
Factorio Staff
Posts: 1380
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [2.0.15] [mac-arm64] Crash on startup when xbox controller connected (IOS_MFIJoystickUpdate)

Post by Twinsen »

Can you confirm this still happens in the latest version?
There was an update to SDL in Factorio version 2.0.16 that mentions xbox controller support on macOS 15.
Post Reply

Return to “Pending”