[0.17.78] No start with steam and linux

This subforum contains all the issues which we already resolved.
ts4z
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Nov 16, 2019 9:33 am
Contact:

[0.17.78] No start with steam and linux

Post by ts4z »

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!

User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1237
Joined: Fri Jul 12, 2019 7:43 am
Contact:

Re: can't start on Linux running under Steam 0.17.78

Post by valneq »

Which version of steam do you use, which linux distro?
There was a recent update of steam for Linux. Did you install it? Maybe it broke something?

polle
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Feb 22, 2019 10:28 pm
Contact:

Re: [0.17.78] No start with steam and linux

Post by polle »

You can start Steam by console and look at the output i get something like this

Code: Select all

/home/polle/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio: symbol lookup error: /home/polle/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio: undefined symbol: SteamInternal_FindOrCreateUserInterface

ts4z
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Nov 16, 2019 9:33 am
Contact:

Re: [0.17.78] No start with steam and linux

Post by ts4z »

I believe I have the new version of Steam.

% /home/tjs/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio
0.000 Initializing Steam API.
Running Steam on ubuntu 19.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/tjs/.local/share/Steam/ubuntu12_32/steam steam://run/427520

then I get my shell prompt back. In fact, it popped a window for a second, which then disappeared.

% uname -a
Linux hotblack 5.0.0-36-generic #39-Ubuntu SMP Tue Nov 12 09:46:06 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I'm using Ubuntu 19.04, up to date as far as I know. (I want to upgrade to 19.10 and am about to try that.)

ts4z
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Nov 16, 2019 9:33 am
Contact:

Re: [0.17.78] No start with steam and linux

Post by ts4z »

Upgraded to 19.10 and now Factorio runs!

Thanks for the help -- I had forgotten to do-release-upgrade since last month.

Post Reply

Return to “Resolved Problems and Bugs”