Page 1 of 1

[2.0.11] Crash whenever joystick is connected (Cocoa_PumpEventsUntilDate)

Posted: Sat Oct 26, 2024 9:35 pm
by prophile
Aloha. If a joystick is connected when I start Factorio on Mac, or whenever I connect one when Factorio is already running, the game immediately crashes. Crash dump is attached. Setting input-method = keyboard-and-mouse in config.ini makes no difference.

Re: [2.0.11] Crash whenever joystick is connected (Cocoa_PumpEventsUntilDate)

Posted: Wed Dec 04, 2024 1:45 pm
by posila
Hello, thanks for the report.
Does this still happen in the latest version?
We have updated SDL in Factorio version 2.0.16, and the SDL patchnotes mention xbox controller support on macOS 15.

Ref.: 120691

Re: [2.0.11] Crash whenever joystick is connected (Cocoa_PumpEventsUntilDate)

Posted: Thu Dec 25, 2025 8:57 pm
by saxbophone
I can confirm that this still happens for me about every 4/5 or 5/6 times I launch Factorio on my Mac with the Thrustmaster flight joystick + throttle and pedals combo connected. I believe I am running the latest version, I attach a few sample crashdumps. Note that in my experience, the point in the log where the crash occurs varies, but it's always a segfault that I'm getting which causes the crash.

Note that log number 5 that I have attached shows a log from a session where it didn't crash and I was able to load Factorio, despite having the joysticks connected. But it seems to highly luck-dependent on whether I can get it to load, but now that I've unplugged the joysticks, it loads successfully every time.

I've also got an Apple crashdump I can send you if you're interested, looks like it might contain a stacktrace but probably also lots of other stuff that you don't care about, like all the dylibs I have... :|