Page 1 of 1

[2.0.68] Crash on Mac

Posted: Tue Sep 23, 2025 5:29 pm
by pjr
I updated to the latest experiemental and now when I try and launch the game I get a computer freeze, followed by a OS level crash about 10 seconds later.

the only error I have is the macOS error;

Code: Select all

panic(cpu 1 caller 0xfffffff0207ba078): x86 CPU CATERR detected
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 22P3051
macOS version: 24D70
Kernel version: Darwin Kernel Version 24.3.0: Thu Jan  2 20:06:28 PST 2025; root:xnu-11215.81.4~2/RELEASE_ARM64_T8010
KernelCache UUID: 3BB39ACE95BF51BF1B31787925CD59D2
Kernel UUID: 5E0311EE-A5B2-37BF-A7AE-F303066BB6B6
Boot session UUID: A3B5E582-19CE-404C-B605-EDC2F44CE00A
iBoot version: iBoot-11881.81.2
secure boot?: YES
roots installed: 0
x86 EFI Boot State: 0x16
x86 System State: 0x0
x86 Power State: 0x0
x86 Shutdown Cause: 0x1
x86 Previous Power Transitions: 0x10001000100
PCIeUp link state: 0x89473614
macOS kernel slide: 0x15c00000
Paniclog version: 14
Kernel slide:      0x000000001a598000
Kernel text base:  0xfffffff02159c000
mach_absolute_time: 0x15b4629596
Epoch Time:        sec       usec
  Boot    : 0x68d2c0c6 0x00042d38
  Sleep   : 0x68d2d440 0x0006cee9
  Wake    : 0x68d2d52a 0x00029387
  Calendar: 0x68d2d7d1 0x0000d592

Zone info:
  Zone map: 0xffffffdf839f0000 - 0xffffffe5839f0000
  . VM    : 0xffffffdf839f0000 - 0xffffffe06a054000
  . RO    : 0xffffffe06a054000 - 0xffffffe0b6d20000
  . GEN0  : 0xffffffe0b6d20000 - 0xffffffe19d384000
  . GEN1  : 0xffffffe19d384000 - 0xffffffe2839e8000
  . GEN2  : 0xffffffe2839e8000 - 0xffffffe36a050000
  . GEN3  : 0xffffffe36a050000 - 0xffffffe4506b8000
  . DATA  : 0xffffffe4506b8000 - 0xffffffe5839f0000
  Metadata: 0xffffffe583a00000 - 0xffffffe585200000
  Bitmaps : 0xffffffe585200000 - 0xffffffe58532c000
  Extra   : 0 - 0

TPIDRx_ELy = {1: 0xffffffe283ffd050  0: 0x0000000000000001  0ro: 0x0000000000000000 }
CORE 0: PC=0xfffffff0218e6a64, LR=0xfffffff0218e6a60, FP=0xffffffe585787e60
CORE 1 is the one that panicked. Check the full backtrace for details.
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xffffffe19d411cf0: 0 pages, 237 threads: pid 0: kernel_task
Panicked thread: 0xffffffe283ffd050, backtrace: 0xffffffe5859976b0, tid: 4391
		  lr: 0xfffffff0217aa020  fp: 0xffffffe585997720
		  lr: 0xfffffff0218e48fc  fp: 0xffffffe585997790
		  lr: 0xfffffff0218e39f0  fp: 0xffffffe585997880
		  lr: 0xfffffff0217696bc  fp: 0xffffffe585997890
		  lr: 0xfffffff0217a9a60  fp: 0xffffffe585997c60
		  lr: 0xfffffff021e99454  fp: 0xffffffe585997c80
		  lr: 0xfffffff0207ba078  fp: 0xffffffe585997cb0
		  lr: 0xfffffff0207a35ac  fp: 0xffffffe585997d10
		  lr: 0xfffffff0207a9ba8  fp: 0xffffffe585997d60
		  lr: 0xfffffff0207a3ff4  fp: 0xffffffe585997e00
		  lr: 0xfffffff0207a2dc0  fp: 0xffffffe585997e30
		  lr: 0xfffffff021805980  fp: 0xffffffe585997f20
		  lr: 0xfffffff0217746c4  fp: 0x0000000000000000
pic

Re: [2.0.68] Crash on Mac

Posted: Tue Sep 23, 2025 5:35 pm
by Loewchen
Post the complete log of the session with the issue please, see 3638.

Re: [2.0.68] Crash on Mac

Posted: Tue Sep 23, 2025 5:38 pm
by pjr
factorio-current.log is 15 minutes old and zero bytes

factorio-previous.log is ~90 minutes older and attached.
factorio-previous.log
(24.75 KiB) Downloaded 46 times

Re: [2.0.68] Crash on Mac

Posted: Tue Sep 23, 2025 6:10 pm
by Loewchen
Not familiar with mac machines, but googling the error it seems this can only be caused by hardware failing.

Re: [2.0.68] Crash on Mac

Posted: Tue Sep 23, 2025 6:14 pm
by pjr
I've rolled back to 2.0.67 and could launch the game, then load my save, without issues.

edit: @Loewchen just saw your last reply, all I'm doing is launching Factorio, with chrome running in the background. it might be because I have an external GPU and an intel macbook (not the modern chipset)

Re: [2.0.68] Crash on Mac

Posted: Tue Sep 23, 2025 6:58 pm
by Loewchen
It's an internal cpu error, meaning the cpu itself detected that it failed and stopped execution, see here.

Re: [2.0.68] Crash on Mac

Posted: Tue Sep 23, 2025 7:37 pm
by StrangePan
It’s difficult to say if this is the cause, but 2.0.68 switched away from OpenGL to Metal for graphics rendering. There’s a chance that the problem lies in there.

There is a hidden setting to force OpenGL. CTRL + ALT + Click on settings > The rest > force-opengl.

If you are willing to test this again with this hidden setting enabled, does it still cause a system crash?

Alternatively, does disconnecting the external GPU also prevent the crash?

Re: [2.0.68] Crash on Mac

Posted: Mon Sep 29, 2025 7:48 pm
by pjr
Hi @StrangePan,

What I did was roll back to 2.0.67 and that worked. I've just upgraded to 2.0.69 and the crashes still happen. If you wanted I can try and film it and send you that video, or do some kind of screenshare?

To clarify, the crash happens when the progress bar gets to 51% when the game is launching - I never even make it to the menu to go to settings

Re: [2.0.68] Crash on Mac

Posted: Mon Sep 29, 2025 8:02 pm
by pjr
update: rolled back to 2.0.67, toggled on the `force-opengl` setting, upgraded to 2.0.68 and it loaded the menu, exited game, upgraded to 2.0.69 and it loaded the menu.

looks like the `force-opengl` setting is necessary for my setup - an intel macbook + eGPU.

Cheers for that, I have a workaround now so it will play for me.

Re: [2.0.68] Crash on Mac

Posted: Tue Sep 30, 2025 9:06 am
by StrangePan
Interesting, so you can actually get a picture to display, but it crashes around the sprite loading phase. That gives me a place to start. I’m glad that we found a short-term fix.

If you reproduce the crash again, please send us the factorio-current.log, as it likely contains critical information.

You can enable the force-opengl option manually by editing your config file. Should be in ~/Library/Application Support/factorio/config/config.ini
https://wiki.factorio.com/Application_directory

Remove the “force-opengl=true” line, save, and restart to enable Metal. Add the line back in to revert to OpenGL again.

Re: [2.0.68] Crash on Mac

Posted: Fri Oct 03, 2025 9:55 am
by StrangePan
Also, can you send me a screenshot of your System Information > Graphics/Displays panel? I would like to see a breakdown of all your system's GPUs and the versions of Metal they do support.

 > About This Mac > System Report... > Graphics/Displays