[1.1.91] Crash on launch (Linux)

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.
aethe
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Aug 13, 2022 5:13 am
Contact:

[1.1.91] Crash on launch (Linux)

Post by aethe »

Started happening fairly recently. This is not a consistent issue, seems to happen maybe 1/4 to 1/3 of the time? The game will get to the "loading sprites" step and then close. The logs do not show any error, it just stops immediately, which says to me it must be a segfault or similar.

Sure enough, in journalctl I see the following:

Code: Select all

Oct 02 11:43:00 [redacted] systemd-coredump[999368]: [🡕] Process 999193 (factorio) of user 1000 dumped core.
                                                 
                                                 Module /home/[redacted]/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio without build-id.
                                                 Module /home/[redacted]/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio
                                                 Stack trace of thread 999193:
                                                 #0  0x00007f6b852cd752 n/a (/home/[redacted]/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so + 0x27752)
                                                 ELF object binary architecture: AMD x86-64
If I attach the core dump to gdb with coredumpctl and print out a backtrace I get

Code: Select all

(gdb) bt
#0  0x00007f6b852cd752 in ?? ()
   from /home/[redacted]/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#1  0x00007f6b852bfdd5 in ?? ()
   from /home/[redacted]/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#2  0x00007f6b852c9994 in ?? ()
   from /home/[redacted]/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#3  0x00007f6b852ca152 in ?? ()
   from /home/[redacted]/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#4  0x00007f6b852cba6b in ?? ()
   from /home/[redacted]/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#5  0x00007f6b852bc115 in glXSwapBuffers ()
   from /home/[redacted]/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#6  0x00000000019abf96 in X11_GL_SwapWindow (_this=0x7f6b77ec2a18, window=0x0)
    at /tmp/factorio-build-s3TGdi/libraries/SDL2/src/video/x11/SDL_x11opengl.c:972
#7  0x0000000000d28bd3 in SDL_GL_SwapWindowWithResult ()
    at /tmp/factorio-build-s3TGdi/libraries/SDL2/src/video/SDL_video.c:4204
#8  SDL_GL_SwapWindow ()
    at /tmp/factorio-build-s3TGdi/libraries/SDL2/src/video/SDL_video.c:4210
#9  GraphicsInterfaceOpenGL::swapBuffers (this=0x4370980)
    at /tmp/factorio-build-s3TGdi/src/Graphics/OpenGL/GraphicsInterfaceOpenGL.cpp:265
#10 0x0000000000ce0946 in SDLWindow::swap (this=0x40516b0)
    at /tmp/factorio-build-s3TGdi/src/Graphics/SDLWindow.cpp:367
#11 0x00000000018cd882 in GlobalContext::swapRenderBuffers ()
    at /tmp/factorio-build-s3TGdi/src/GlobalContext.cpp:1589
#12 0x0000000000cd5598 in GlobalContext::swapRenderBuffers ()
    at /tmp/factorio-build-s3TGdi/src/GlobalContext.cpp:1551
#13 LoadingSplashScreen::render (this=0x4dcee20, force=false) at /tmp/factorio-build-s3TGdi/src/Graphics/LoadingSplashScreen.cpp:174
#14 0x0000000000cd58be in LoadingSplashScreen::updateProgress (this=0x4dcee20, fraction=8.0722943213448234e-316) at /tmp/factorio-build-s3TGdi/src/Graphics/LoadingSplashScreen.cpp:262
#15 0x0000000000cd6e7c in ParallelSpriteLoader::ParallelSpriteLoader () at /tmp/factorio-build-s3TGdi/src/Graphics/ParallelSpriteLoader.cpp:162
#16 0x0000000000c6ca96 in AtlasSystem::loadSprites (this=0x7f6b77ec2a18, justUpdateCroppingOfSpritesNotInCropCache=false) at /tmp/factorio-build-s3TGdi/src/Graphics/AtlasSystem.cpp:690
#17 0x0000000000c6f923 in AtlasSystem::tryLoadSpritesWithFallbackToMinimalMode (this=0xf6a9180, justUpdateCroppingOfSpritesNotInCropCache=false)
    at /tmp/factorio-build-s3TGdi/src/Graphics/AtlasSystem.cpp:1555
#18 0x0000000001d4554a in AtlasSystem::build () at /tmp/factorio-build-s3TGdi/src/Graphics/AtlasSystem.cpp:1741
#19 GlobalContext::init(bool, bool, bool, std::optional<WindowPositionData>) [clone .constprop.0] [clone .isra.0] () at /tmp/factorio-build-s3TGdi/src/GlobalContext.cpp:606
#20 0x000000000088962d in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) (execPath=..., 
    configPath=..., rotateLogs=false, headlessMode=255, afterInit=..., saveAs=..., heavyMode=0) at /tmp/factorio-build-s3TGdi/src/MainLoop.cpp:297
#21 0x00000000006e57f8 in main (argc=1, argv=0x7ffd61c20f08) at /tmp/factorio-build-s3TGdi/src/Main.cpp:1265
So it's clearly dying in Steam's gameoverlayrenderer.so -- so possibly a Steam / Valve issue? Curious that the only game in my Steam library that exhibits this issue is Factorio, though.

I've also attached the factorio log for transparency, though as you can see since it was a SIGBUS there's nothing useful in there. Note that both the logs and the traces above I have lightly edited for privacy reasons.

In the meantime, I'm going to disable Steam's in-game overlay for this game and see if that improves the situation any.
Attachments
factorio-previous.log
(4.37 KiB) Downloaded 41 times
Post Reply

Return to “Technical Help”