[2.0.59] Crash while AFK

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
procrastinazn
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 13, 2025 7:38 pm
Contact:

[2.0.59] Crash while AFK

Post by procrastinazn »

I was AFK'd in the game (I believe viewing a ship), and saw a message to file a bug.

```
354234.195 Info AppManager.cpp:304: Saving finished
354369.136 Time travel logging:
197526.366 Popped blueprint record (player-index: 0, ID: 4555) from book (player-index: 0, ID: 4544)
354369.136 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
0x18312d6a3
libraries/SDL2/src/audio/coreaudio/SDL_coreaudio.m (675): default_device_changed
0x18606f8b7
0x185ec9e4b
0x185fa243b
0x1860041cb
0x182f5585b
0x182f4434f
0x182f44e5f
0x182f4616f
0x182f4f263
0x182f4eae7
0x1830efe63
Stack trace logging done
354370.742 Error CrashHandler.cpp:190: Map tick at moment of crash: 252503103
354370.742 Uploading log file
354370.995 Info SystemUtil.cpp:837: Started /Users/name/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 70468
354370.995 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.
354371.031 Info ChildProcessAgent.cpp:61: Child 70468 exited with return value 0
355610.608 Error Util.cpp:81: mutex lock failed: Invalid argument
```
Attachments
factorio-current.log
(980.16 KiB) Downloaded 20 times
Donion
Factorio Staff
Factorio Staff
Posts: 418
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [2.0.59] Crash while AFK

Post by Donion »

The log indicates that the crash happened when the audio driver tried to handle the default audio device changing. Were you doing anything with your audio device(s) when the crash happened?

At the start of the log it also shows it had trouble opening the audio device in the first place. Your audio device might be misbehaving in some way that the driver cannot handle.

In any case this is mostly out of our hands (save for updating the libraries used, which might happen for 2.1). I would suggest troubleshooting your audio device(s). Have you experienced other audio related issues (outside of Factorio)?

Moving this to Technical help as I don't see anything we could do on Factorio side.
procrastinazn
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 13, 2025 7:38 pm
Contact:

Re: [2.0.59] Crash while AFK

Post by procrastinazn »

It's a macbook I run in clamshell mode. I recently paired some airpods with another Macbook in the vicinity. It might've synced to that device, but I never changed the audio output of the device running on Factorio.

I'm not able to reproduce reliably
Post Reply

Return to “Technical Help”