Page 1 of 1

[0.16.28][linux] Crash on start with beta version of steam client

Posted: Thu Mar 08, 2018 5:37 pm
by bananaminiwheat
Factorio crashes on launch with the new steam March 7 beta client update. Opting out of the beta program and reverting to the stable client on my system resolves the crash.

The game launches and generates a black window but appears to crash prior to generating the full screen window.

Operating system: Linux (Solus 3.99), up-to-date
CPU: [CPU: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz, 4 cores, RAM: 16005 MB]
Graphics: Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.7-60.current, LLVM 5.0.1); driver: 3.0 Mesa 17.3.6, Dual 1920x1080 Monitors

Re: [16.28][Solus] Crash on start, boring log

Posted: Fri Mar 09, 2018 1:45 am
by AngryBasho
Having similar issue with ArchLinux after system update.

Tested both 0.16.28 and 0.16.27. Both worked before.
factorio-current.log
Log
(1.33 KiB) Downloaded 153 times
factorio-dump-current.dmp
Dumperino
(232.02 KiB) Downloaded 123 times

Re: [16.28][Solus] Crash on start, boring log

Posted: Fri Mar 09, 2018 5:01 pm
by Oxyd
It appears to be crashing inside Steam's game overlay. Does the standalone version work for you? Have you updated Steam recently or made any changes to it?

Re: [16.28][Solus] Crash on start, boring log

Posted: Fri Mar 09, 2018 6:29 pm
by AngryBasho
I'm on Steam beta channel. I just tired running the game with overlay disabled in properties. Same thing.

I actually found this part in the logs interesting:

Code: Select all

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x5800002
  Serial number of failed request:  8
  Current serial number in output stream:  8
Seems like it fails to create the window. When I start the game, I see it trying to go to full-screen, but getting stuck, then after couple seconds it just crashes.

Here's how it looks:
pic
Ignore the somewhat strange scaling, I was playing other game and I have downscaled resolution.
The bug happens no matter the resolution. Both on X and Wayland.

Other games are working so I don't think it can be a bug or library issue with overlay. I did however have problem with overlay before (opening overlay and then using the overlay web browser froze my whole game, but that was before and I just chucked it under ... meh .. Steam on Linux.)

P.S.
Just read about standalone, will give it a try.

Re: [16.28][Solus] Crash on start, boring log

Posted: Fri Mar 09, 2018 6:36 pm
by bananaminiwheat
Yes its definitely steam related.

If I switch to steam client beta channel, factorio gives me this crash. If I switch back to steam client stable channel factorio launches normally and works fine. Switch back to steam client beta and it crashes again.

I have not changed anything in steam. Steam did receive a new beta update on March 7. This is the only thing that changed.

Re: [16.28][linux] Crash on start with beta version of steam client

Posted: Fri Mar 09, 2018 11:05 pm
by AngryBasho
I just tried standalone client (0.16.28) and it works. So clearly issue with Steam. It's something that updated in either system libs or the steam. Because I it was running just fine in steam the first day 0.16.28 came out.

Re: [16.28][Solus] Crash on start, boring log

Posted: Mon Mar 12, 2018 4:57 pm
by xentec
Oxyd wrote:It appears to be crashing inside Steam's game overlay. Does the standalone version work for you? Have you updated Steam recently or made any changes to it?
Yep, looks like GABEN™ broke Steam on Linux. Again.

Code: Select all

gdb$ bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7bc0456 in ?? () from /home/xentec/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#2  0x00007ffff73966ed in _XError () from /usr/lib/libX11.so.6
#3  0x00007ffff7393617 in ?? () from /usr/lib/libX11.so.6
#4  0x00007ffff73946ed in _XReply () from /usr/lib/libX11.so.6
#5  0x00007ffff737a79e in XGetWindowProperty () from /usr/lib/libX11.so.6
#6  0x00007ffff7bbe0a5 in ?? () from /home/xentec/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#7  0x00007ffff7bb9b5e in ?? () from /home/xentec/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#8  0x00007ffff7bb322e in glXSwapBuffers () from /home/xentec/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#9  0x0000000000b3736e in LoadingSplashScreen::render () at /tmp/factorio-build-grgex9/src/Graphics/LoadingSplashScreen.cpp:75
#10 0x0000000000b37855 in LoadingSplashScreen::LoadingSplashScreen () at /tmp/factorio-build-grgex9/src/Graphics/LoadingSplashScreen.cpp:27
#11 0x0000000000c291f8 in GlobalContext::init () at /tmp/factorio-build-grgex9/src/GlobalContext.cpp:457
#12 0x0000000000c603d5 in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) () at /tmp/factorio-build-grgex9/src/MainLoop.cpp:250
#13 0x0000000000429cab in main () at /tmp/factorio-build-grgex9/src/Main.cpp:1117

Re: [0.16.28][linux] Crash on start with beta version of steam client

Posted: Tue Mar 13, 2018 9:27 am
by AngryBasho
Still happening with `0.16.30`. Haven't encountered any other games with the issue.

Re: [0.16.28][linux] Crash on start with beta version of steam client

Posted: Tue Mar 13, 2018 2:27 pm
by Oxyd
Since it only happens with Steam beta client and the stacktraces point to Steam's libraries, I'd say it's pretty clear it's a Steam bug – even if it doesn't happen with any of your other games – you should complain to Valve.

For now, either stick to the stable Steam client or use the non-Steam version of Factorio.