In case it helps, here's an strace of the last actions prior to the crash:
read(5, "Name:\tvrstartup\nUmask:\t0022\nStat"..., 1024) = 1024
write(2, "Sun Dec 13 2020 20:36:45.035553 "..., 75Sun Dec 13 2020 20:36:45.035553 - vrclient type=VRApplication_Bootstrapper
) = 75
openat(AT_FDCWD, "/etc/os-release", O_RDONLY) = 6
read(6, "NAME=\"Arch Linux\"\nVERSION=\"2015."..., 8191) = 292
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
[2] 311918 segmentation fault (core dumped) strace -f
This was also reported in #390 which probably needs a title update.
Assuming it really is the same issue: As a summary, IsRunningInAppContainer() reads /etc/os-release to try and figure out if it's running in a container, but TokenizeString() returns some pairs of NULLs if there are blank lines in your /etc/os-release file, which IsRunningInAppContainer() then crashes on.
Until Valve does something about it, you can work around the issue by opening your /etc/os-release file and removing blank lines. Probably also remove newlines at the end of the file, if there are any.
Deleting the empty line at the end of /etc/os-release fixed the crash for me. Thank you, @Baguettedood!
Sure enough, I'm on an old Antergos install migrated to Arch. It had a blank line in /etc/os-release and deleting it worked! Thanks, @Baguettedood.
Nothing extracted yet.
Describe the bug
I can't start SteamVR (neither the beta nor the stable version). I tried starting it manually under gdb, and this is the backtrace:
To Reproduce
Steps to reproduce the behavior:
System Information (please complete the following information):
Distribution: Arch
SteamVR version: 1.15.14
Steam client version: Dec 11 2020
Opted into Steam client beta?: Yes
Graphics driver version: Mesa 21.0.0-devel (git-d7911f9c6b) (ACO)
Gist for SteamVR System Information: N/A