[2.0.8][macOS] Hang when connecting electricity to first lab

Things that has been reported already before.
macfreek
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Nov 03, 2023 2:06 pm
Contact:

[2.0.8][macOS] Hang when connecting electricity to first lab

Post by macfreek »

Yesterday, when I first played Space Age, the game hang for a few minutes (spinning ball), and I had to force quit Factorio.

Sadly, I was not able to reproduce the issue. Not on 2.0.8, not on the newer 2.0.9.
I was able to create a screenshot and collected a spindump report on my Mac.

I'll report it here in case someone else encounters it, or if you can spot the deadlock in the
Factorio-Spindump-truncated.txt
(87.47 KiB) Downloaded 26 times
.

What I did:
- start a game from scratch, and build mostly burning miner drills and stone furnances
- build a lab
- realised the lab needed power
- build boiler
- connect power to lab

At that moment, the game hang, meaning that the screen froze, and any further interactions with the game stopped working. Even command-Q (quit) did not work.

Notable events:
- This was the very first building that I connected to electricity since I played Space Age, so I got the achievement "Steam power"
- This was the first lab that I build
- I think the lab did not yet have any science packs in the inventory.

Note: the spindump file is truncated for privacy reasons. It only lists the threads in the factorio and MTLCompilerService process. I'm happy to provide the full spindump file, but prefer not to post it publicly.

The string of the world settings is near default, only biter evolution is less time-sensitive:

>>>eNp1Uj2IE0EUnrlcSC53p0GCIBxnijQWETwtLCS7HoiIWNjZrZPNJA5uZuL8RE4Lg1yp2NhoY1qb6yzsAoIoKIhWdic2FioRRRshzuxmNrub+GDefvu+N++9b2aWAABFAAHYKKMbigTM87lqYY+RAICBY1fBR4FPJE7Gln2GUkkln/V6mNcZT+WthBXrmYolTHF3p95EIpW83g4U44Rir4+pTDMq6DCOPD8g7XaSOWgZIgJEWyLJrXYC3FywpxzFwyG87BBrEdnT1eSiakIyihfEbyKJeTJeJJzR7HmsB0ReI6rrNY3OVF+KVJ+I+WnznPnXU5Pkhc9RLxk5LCTiktCOhzhGXpcRIVW6c35u8IpQQVtx4nvIJy2vg3dEWkFecoxTndekoh0hMfUyulYVR1TrmtPbV4GPqNK6Mg/mUMz0mQFEdFO9584TwO3LV8BgdzNckzugOpmYpdG+fshmATgAYKSzoQ5ay09PFFTP6rU9Kwfh7cre+U+3HjowyjzuTsHyFIyaNnLBAvJ/KganLBg78GRoPxMgaip102lW0Z2BiNw1JIT3vz0b/nk5bMC/T3+8v9S86sAT5yrfx1t7DU0WjNyl2D1+ZOy5lQJszX1nSn104Ns3xr46MG92VIxzT2s3upgDsHxAo+E97aobwI7WsGUqLmyH9tsq+WzBByero+bCM6b4pnGvjAsbxpPBCLoPXOgeteyRWYrevwWSM7RmCl/bti8S/TOD1OYuIqkjE6m5C66hZBq2YvclF0+jz/Ndwf65T1yYM8Bk/dKx6M8wtlT0LbvhcefiRzl2Mvekn4opcqxwd+UfQXY09g==<<<
Attachments
Screenshot 2024-10-22 at 09.17.32.png
Screenshot 2024-10-22 at 09.17.32.png (5.42 MiB) Viewed 309 times
posila
Former Staff
Former Staff
Posts: 5447
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [2.0.8][macOS] Hang when connecting electricity to first lab

Post by posila »

Thanks for the report and thank you for providing the dump.

I can see the main thread is in gameoverlayrenderer.dylib, which is Steam overlay. There was bug in Steam client, which caused the overlay hang or crash after Factorio restarted itself (e.g. due to disabling/enabling mods) on Linux and macOS. I think when the achievement got unlocked, Steam tried to show popup and and hanged.

It is fixed in the latest Steam client update. Ref: 111743
Post Reply

Return to “Duplicates”