[0.17.78] No start with steam and linux
Posted: Sat Nov 16, 2019 10:22 am
Hi,
Thanks for making Factorio available for Linux.
I'm unable to get the game running under Steam after the most recent update. There is no log file; the log files have not changed since the last time the game ran. I am able to start the most recent alpha 0.17.78 with a direct download, but not when running under Steam. (And my most recent save is in Steam, so...)
When I start the game from the Steam application, "nothing" happens, but a process is spawned.
I can't seem to find a log file (specifically, ~/.factorio/factorio-current.log and factorio-previous.log have not been updated).
I haven't managed to get a good strace from startup, but it's doing something strange and reading its own process file in /proc, and just hanging, and eventually dies with an assertion (after several minutes).
% sudo strace -ff -s 512 -p 29540
[sudo] password for tjs:
strace: Process 29540 attached
restart_syscall(<... resuming interrupted poll ...>) = 0
getpid() = 29540
access("/proc/29540/status", F_OK) = 0
openat(AT_FDCWD, "/proc/29540/status", O_RDONLY) = 25
fstat(25, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
lseek(25, 0, SEEK_SET) = 0
read(25, "Name:\tfactorio\nUmask:\t0022\nState:\tR (running)\nTgid:\t29540\nNgid:\t0\nPid:\t29540\nPPid:\t29539\nTracerPid:\t29586\nUid:\t1000\t1000\t1000\t1000\nGid:\t1000\t1000\t1000\t1000\nFDSize:\t128\nGroups:\t4 24 27 30 46 116 126 1000 \nNStgid:\t29540\nNSpid:\t29540\nNSpgid:\t3428\nNSsid:\t3428\nVmPeak:\t 122476 kB\nVmSize:\t 122476 kB\nVmLck:\t 0 kB\nVmPin:\t 0 kB\nVmHWM:\t 50308 kB\nVmRSS:\t 50308 kB\nRssAnon:\t 3928 kB\nRssFile:\t 26396 kB\nRssShmem:\t 19984 kB\nVmData:\t 4416 kB\nVmStk:\t 136 kB\nVmExe:\t 30724 kB\nVmLib:\t 34512 kB"..., 1024) = 1024
poll([{fd=23, events=POLLIN}], 1, 180000) = 0 (Timeout)
gettid() = 29540
write(2, "../common/pipes.cpp (770) : Assertion Failed: fatal stalled cross-thread pipe", 77) = 77
write(2, "\n", 1) = 1
rt_sigaction(SIGTRAP, {sa_handler=SIG_IGN, sa_mask=[TRAP], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7efbfea58f60}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGALRM, {sa_handler=SIG_IGN, sa_mask=[ALRM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7efbfea58f60}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, 8) = 0
lseek(25, 1024, SEEK_SET) = 1024
gettid() = 29540
write(2, "../common/pipes.cpp 770 Assertion Failed: fatal stalled cross-thread pipe", 73) = 73
lseek(25, 1024, SEEK_SET) = 1024
--- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} ---
+++ killed by SIGTRAP (core dumped) +++
This problem appears to be recent and I think is most likely due to a recent Steam client update that I got today, and I haven't played in about a week.
Like I said above, the logs aren't getting updated, and it looks like there's no debugging in the binary:
(gdb) bt
#0 0x00007efbfad643a3 in ?? ()
#1 0x00000000042d51c0 in ?? ()
#2 0x00000000042d51c0 in ?? ()
#3 0x0000000000000000 in ?? ()
but I'm guessing the stack is 4 deep.
This is running on my desktop computer with a 1080Ti and a Ryzen 3700x with a lot of memory. I strongly suspect the problem is tied to Steam, as the game runs OK if I run the experimental version from the website.
Thanks!
Thanks for making Factorio available for Linux.
I'm unable to get the game running under Steam after the most recent update. There is no log file; the log files have not changed since the last time the game ran. I am able to start the most recent alpha 0.17.78 with a direct download, but not when running under Steam. (And my most recent save is in Steam, so...)
When I start the game from the Steam application, "nothing" happens, but a process is spawned.
I can't seem to find a log file (specifically, ~/.factorio/factorio-current.log and factorio-previous.log have not been updated).
I haven't managed to get a good strace from startup, but it's doing something strange and reading its own process file in /proc, and just hanging, and eventually dies with an assertion (after several minutes).
% sudo strace -ff -s 512 -p 29540
[sudo] password for tjs:
strace: Process 29540 attached
restart_syscall(<... resuming interrupted poll ...>) = 0
getpid() = 29540
access("/proc/29540/status", F_OK) = 0
openat(AT_FDCWD, "/proc/29540/status", O_RDONLY) = 25
fstat(25, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
lseek(25, 0, SEEK_SET) = 0
read(25, "Name:\tfactorio\nUmask:\t0022\nState:\tR (running)\nTgid:\t29540\nNgid:\t0\nPid:\t29540\nPPid:\t29539\nTracerPid:\t29586\nUid:\t1000\t1000\t1000\t1000\nGid:\t1000\t1000\t1000\t1000\nFDSize:\t128\nGroups:\t4 24 27 30 46 116 126 1000 \nNStgid:\t29540\nNSpid:\t29540\nNSpgid:\t3428\nNSsid:\t3428\nVmPeak:\t 122476 kB\nVmSize:\t 122476 kB\nVmLck:\t 0 kB\nVmPin:\t 0 kB\nVmHWM:\t 50308 kB\nVmRSS:\t 50308 kB\nRssAnon:\t 3928 kB\nRssFile:\t 26396 kB\nRssShmem:\t 19984 kB\nVmData:\t 4416 kB\nVmStk:\t 136 kB\nVmExe:\t 30724 kB\nVmLib:\t 34512 kB"..., 1024) = 1024
poll([{fd=23, events=POLLIN}], 1, 180000) = 0 (Timeout)
gettid() = 29540
write(2, "../common/pipes.cpp (770) : Assertion Failed: fatal stalled cross-thread pipe", 77) = 77
write(2, "\n", 1) = 1
rt_sigaction(SIGTRAP, {sa_handler=SIG_IGN, sa_mask=[TRAP], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7efbfea58f60}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGALRM, {sa_handler=SIG_IGN, sa_mask=[ALRM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7efbfea58f60}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, 8) = 0
lseek(25, 1024, SEEK_SET) = 1024
gettid() = 29540
write(2, "../common/pipes.cpp 770 Assertion Failed: fatal stalled cross-thread pipe", 73) = 73
lseek(25, 1024, SEEK_SET) = 1024
--- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} ---
+++ killed by SIGTRAP (core dumped) +++
This problem appears to be recent and I think is most likely due to a recent Steam client update that I got today, and I haven't played in about a week.
Like I said above, the logs aren't getting updated, and it looks like there's no debugging in the binary:
(gdb) bt
#0 0x00007efbfad643a3 in ?? ()
#1 0x00000000042d51c0 in ?? ()
#2 0x00000000042d51c0 in ?? ()
#3 0x0000000000000000 in ?? ()
but I'm guessing the stack is 4 deep.
This is running on my desktop computer with a 1080Ti and a Ryzen 3700x with a lot of memory. I strongly suspect the problem is tied to Steam, as the game runs OK if I run the experimental version from the website.
Thanks!