[2.0.8] Crash on achievement - steam overlay issue?

Things that has been reported already before.
eam
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Oct 22, 2024 3:58 am
Contact:

[2.0.8] Crash on achievement - steam overlay issue?

Post by eam »

Updated to 2.0.8 via steam on linux, started a new game.
Game unresponsive to input immediately upon receiving the "steam power" achievement. This is the first achievement I earned since updating to 2.0.8.

I've attached the log.

I also see the main thread is hung inside Steam's gameoverlayrenderer.so:

Code: Select all

Thread 1 (Thread 0x741b48d8c540 (LWP 6883) "factorio"):
#0  0x0000741b49182c37 in recvmsg () from /usr/lib/libc.so.6
#1  0x0000741b493e93c8 in ?? () from /home/eam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
--Type <RET> for more, q to quit, c to continue without paging--
#2  0x0000741b493ea2d6 in ?? () from /home/eam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#3  0x0000741b493eb4e2 in ?? () from /home/eam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#4  0x0000741b493ec9d2 in ?? () from /home/eam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#5  0x0000741b493dbc85 in glXSwapBuffers () from /home/eam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#6  0x0000000002dd13f6 in X11_GL_SwapWindow () at /tmp/factorio-build-qVclFl/libraries/SDL2/src/video/x11/SDL_x11opengl.c:1009
#7  0x000000000167f497 in GraphicsInterfaceOpenGL::swapBuffers () at /tmp/factorio-build-qVclFl/src/Graphics/OpenGL/GraphicsInterfaceOpenGL.cpp:275
#8  0x0000000000e19416 in SDLWindow::swap () at /tmp/factorio-build-qVclFl/src/Graphics/SDLWindow.cpp:382
#9  0x0000000000ec3ce2 in GlobalContext::swapRenderBuffers () at /tmp/factorio-build-qVclFl/src/GlobalContext.cpp:1482
#10 0x00000000021a192f in GlobalContext::swapRenderBuffers () at /tmp/factorio-build-qVclFl/src/GlobalContext.cpp:1444
#11 MainLoop::mainLoopStep () at /tmp/factorio-build-qVclFl/src/MainLoop.cpp:720
#12 0x00000000021a1c9e in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) () at /tmp/factorio-build-qVclFl/src/MainLoop.cpp:412
#13 0x00000000021aec14 in fmain () at /tmp/factorio-build-qVclFl/src/Main.cpp:1325
#14 0x00000000023e5cde in main () at /tmp/factorio-build-qVclFl/src/Main.cpp:1347
And I confirmed that this thread is indeed hanging forever on a [c]recvmsg()[/c]

Code: Select all

$ grep ^6883 factorio-crash.strace 
6883  recvmsg(111,  <unfinished ...>
The file at descriptor 111 is a unix domain socket:

Code: Select all

factorio   6883                       eam 111u     unix 0x0000000095c76f2f       0t0   93157280 type=STREAM (CONNECTED)
I'm not familiar with Steam's environment, but I did verify that no other processes on the system have this socket open and in the steam [c]logs/console-linux.txt[/c] I see:

Code: Select all

10/21 20:25:39 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(6906)
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameOverlay: started '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 7001) for game process 6883
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240917200232)/tid(7001)
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(7001)
ERROR: ld.so: object '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameOverlay: started '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 7109) for game process 6883
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240917200232)/tid(7109)
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(7109)
GameOverlay: started '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 7174) for game process 6883
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240917200232)/tid(7174)
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(7174)
GameOverlay: started '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 7175) for game process 6883
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240917200232)/tid(7175)
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(7175)
GameOverlay: started '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 7176) for game process 6883
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240917200232)/tid(7176)
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(7176)
GameOverlay: started '/home/eam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 7177) for game process 6883
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240917200232)/tid(7177)
10/21 20:25:56 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(7177)
reaping pid: 7001 -- gameoverlayui
reaping pid: 7109 -- gameoverlayui
reaping pid: 7174 -- gameoverlayui
reaping pid: 7175 -- gameoverlayui
reaping pid: 7176 -- gameoverlayui
reaping pid: 7177 -- gameoverlayui
After killing factorio with a SIGTERM it restarted fine and I did not see any gameoverlayui exits the second time around.
Attachments
factorio-current.log
(8.34 KiB) Downloaded 8 times
taaz
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Oct 22, 2024 9:02 pm
Contact:

Re: [2.0.8] Crash on achievement - steam overlay issue?

Post by taaz »

I've just got the same bug, got the steam achievement which promptly froze the game.
Disabling Steam overlay for factorio seems to temporary fix this as getting "Research with automation" did not freeze the game.

Including my setup in case it's important for Steam devs when fixing the bug in the overlay.
Arch Linux
X11, Awesome WM
Intel i9-13900kf
Nvidia 3090
Steam Beta 1729208001
Last edited by taaz on Tue Oct 22, 2024 9:08 pm, edited 1 time in total.
Post Reply

Return to “Duplicates”