[0.14.21] Factorio hangs when losing focus on xorg 1.19

Bugs that are actually features.
fluffle
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Jul 25, 2016 7:32 pm
Contact:

[0.14.21] Factorio hangs when losing focus on xorg 1.19

Post by fluffle »

Or at least I suspect its xorg 1.19 related. I'm running debian unstable (yes, intentionally!) and did a reasonably large system update recently, it's only happened since then. I have attached the factorio log output as required for bug reports.

The bug is 100% reproduceable. The game starts fine, I run it from the command line with a wrapper script that changes to factorio/bin/x64 and does exec ./factorio "$@". If I move my mouse away from the factorio window and another window comes into focus, the game hangs. It takes two ctrl-Cs to kill it, though the signal handlers trigger correctly after the first -- the "caught SIGINT" message is printed to the console. Alt-tabbing away, or changing virtual desktop and losing focus that way, does not appear to cause the hang. It is specifically a focus change due to focus following the mouse pointer. And it's not due to my window manager because that last had an update in 2014 :-)

The 1.19 changelog is (mostly) here, for your perusal: https://lists.freedesktop.org/archives/ ... 58265.html

I have attached a complete list of installed packages and the output of running strace -ff -o strace ./factorio and then triggering the bug. It's quite large, sorry! I can get you a core dump from a hung game if it'll be helpful, but that will most likely be even bigger.
Attachments
packages.bz2
(28.9 KiB) Downloaded 63 times
factorio-strace.tar.bz2
(1.53 MiB) Downloaded 63 times
factorio-current.log
(7.27 KiB) Downloaded 51 times
fluffle
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Jul 25, 2016 7:32 pm
Contact:

Re: [0.14.21] Factorio hangs when losing focus on xorg 1.19

Post by fluffle »

This appears to happen to other games too, both when using the NVidia card in my laptop (via primusrun / bumblebee) and the onboard intel graphics. Since it's not factorio-specific you can probably ignore this bug report.
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.14.21] Factorio hangs when losing focus on xorg 1.19

Post by Oxyd »

If it happens with other games, it sounds more like an Xorg 1.19 bug – especially since 1.19 is a fairly new release.
Post Reply

Return to “Not a bug”