protonscr

Steam segfault when starting SteamVR 1487886215

steamvrclosed
ValveSoftware/SteamVR-for-Linux#15 · opened 2017-02-24 by ChristophHaag · updated 2017-03-15 · 11 comments · github
CChristophHaag 2017-02-24 github

Archlinux, RX 480

When started with STEAM_RUNTIME=0 steam it doesn't crash. With the runtime enabled, steam crashes when start steamvr, but vrmonitor and vrcompositor keep running and working.

steamvr system report
https://gist.github.com/ChristophHaag/e5ba90319a9d706a037a56e8b853a591

backtrace:

Thread 15 "CIPCServer::Thr" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xe8febb40 (LWP 15818)]
0xf7c8b3a5 in pthread_join () from /usr/lib32/libpthread.so.0
(gdb) bt
#0  0xf7c8b3a5 in pthread_join () from /usr/lib32/libpthread.so.0
#1  0xd5c21431 in vortex::CVortexThread::~CVortexThread() ()
   from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#2  0xd5c1d30f in vortex::CLighthouseUsbThread::~CLighthouseUsbThread() ()
   from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#3  0xd5c18b01 in vortex::CLighthouseThreadBase::Stop() ()
   from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#4  0xd5c18c90 in vortex::CLighthouseInput::Stop() () from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#5  0xd5c18d91 in vortex::CLighthouseInput::CConnection::Disconnect() ()
   from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#6  0xd5c18ede in vortex::CLighthouseInput::CConnection::~CConnection() ()
   from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#7  0xd5b4121f in CWatchdogConnectionMonitor::~CWatchdogConnectionMonitor() ()
   from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#8  0xd5b40a39 in CWatchdogDriver_Lighthouse::Cleanup() ()
   from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so
#9  0xd68b8c84 in CWatchdogTrackedDeviceProvider_Latest::Cleanup() () from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/bin/vrclient.so
[#10](/issue/ValveSoftware/SteamVR-for-Linux/10) 0xd686195a in CDriverManager::CleanupDriver(CDriverManager::HmdDriver_t*) () from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/bin/vrclient.so
[#11](/issue/ValveSoftware/SteamVR-for-Linux/11) 0xd686407f in CDriverManager::Cleanup() () from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/bin/vrclient.so
[#12](/issue/ValveSoftware/SteamVR-for-Linux/12) 0xd679f470 in CHmdSystemLatest::Cleanup() () from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/bin/vrclient.so
[#13](/issue/ValveSoftware/SteamVR-for-Linux/13) 0xe8e330c4 in VR_ShutdownInternal () from /home/chris/.local/share/Steam/ubuntu12_32/libopenvr_api.so
[#14](/issue/ValveSoftware/SteamVR-for-Linux/14) 0xea067702 in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
---Type <return> to continue, or q <return> to quit---
[#15](/issue/ValveSoftware/SteamVR-for-Linux/15) 0xe9decbb4 in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#16](/issue/ValveSoftware/SteamVR-for-Linux/16) 0xe9c24383 in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#17](/issue/ValveSoftware/SteamVR-for-Linux/17) 0xe9ce490e in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#18](/issue/ValveSoftware/SteamVR-for-Linux/18) 0xe9727458 in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#19](/issue/ValveSoftware/SteamVR-for-Linux/19) 0xe9ce4008 in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#20](/issue/ValveSoftware/SteamVR-for-Linux/20) 0xe9725f42 in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#21](/issue/ValveSoftware/SteamVR-for-Linux/21) 0xe972871a in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#22](/issue/ValveSoftware/SteamVR-for-Linux/22) 0xe9729546 in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/steamclient.so
[#23](/issue/ValveSoftware/SteamVR-for-Linux/23) 0xeff15e30 in SteamThreadTools::CThread::ThreadExceptionWrapper(void*) () from /home/chris/.local/share/Steam/ubuntu12_32/libtier0_s.so
[#24](/issue/ValveSoftware/SteamVR-for-Linux/24) 0xeff1421b in ?? () from /home/chris/.local/share/Steam/ubuntu12_32/libtier0_s.so
[#25](/issue/ValveSoftware/SteamVR-for-Linux/25) 0xeff144ef in CatchAndWriteMiniDumpExForVoidPtrFn () from /home/chris/.local/share/Steam/ubuntu12_32/libtier0_s.so
[#26](/issue/ValveSoftware/SteamVR-for-Linux/26) 0xeff14541 in CatchAndWriteMiniDumpForVoidPtrFn () from /home/chris/.local/share/Steam/ubuntu12_32/libtier0_s.so
[#27](/issue/ValveSoftware/SteamVR-for-Linux/27) 0xeff18ac1 in SteamThreadTools::CThread::ThreadProc(void*) () from /home/chris/.local/share/Steam/ubuntu12_32/libtier0_s.so
[#28](/issue/ValveSoftware/SteamVR-for-Linux/28) 0xf7c8a301 in start_thread () from /usr/lib32/libpthread.so.0
[#29](/issue/ValveSoftware/SteamVR-for-Linux/29) 0xf7bb446e in clone () from /usr/lib32/libc.so.6
TTamsenSpelchak 2017-02-24 github

I also seem to be having the same issue.

Although I can't be sure that it's the cause, the issue also began for me after updating SteamVR to the 1487886215 beta.

Also worth noting is the fact that I can launch the Dota 2 VR hub and Destinations separate from SteamVR and still have them work, minus the vr dashboard and other things I suspect are provided by SteamVR.

TTamsenSpelchak 2017-02-24 github

On the first launch after updating SteamVR to version 1487904548 Steam didn't crash. However, every attempt since still crashes Steam.

This could have just been a fluke, but either way at one point I did have both Steam and SteamVR running. (until Steam crashed afterwards, when I tried to run Portal 2 in VR theatre mode.)

CCheeseness 2017-02-24 github

I'm still experiencing this with 1487904548 as well.

Mmichaellarabel 2017-02-25 github

I have been experiencing similar behavior to @tizzir where the first time worked but subsequent runs of SteamVR fail. rm -rf ~/.steam/, re-setting up Steam, opting into the Steam and SteamVR betas, then again works for only one time before the same behavior happens. On an Ubuntu 16.10 box.

Rryantux 2017-02-26 github

I have this problem also, first run is fine but a second run of SteamVR just hangs on "Preparing to launch SteamVR". I have to delete the installation folder as uninstall option wont work.

CCheeseness 2017-02-26 github

I have this problem also, first run is fine but a second run of SteamVR just hangs on "Preparing to launch SteamVR". I have to delete the installation folder as uninstall option wont work.

@ryantux Do you reliably get this every time? If so, can you try turning off Steam cloud support before running it for the first time and see if the problem persists? To do this, right click on the game in your Steam library, select Properties, then in the Updates tab, uncheck the "Enable Steam Cloud synchronization for SteamVR" box.

Aanoadragon453 2017-02-27 github

Running with Steam stable client (opting out of the beta) seems to fix the issue, though I agree this is a poor workaround.

Rryantux 2017-02-27 github

@Cheeseness, it happens every time on second launch after a clean install of SteamVr.
Disabling the steam cloud option does fix this so long as it's done before running it for first time as you say.
Thanks

CCheeseness 2017-02-27 github

@ryantux Thanks for confirming my suspicions! Smells like maybe the Steam client gets stuck thinking it's uploading something to to the cloud when SteamVR crashes (might be crashing on exit if you're not noticing crashes?)

It might be worth making a separate issue for this problem, though I'm not certain whether the SteamVR bug tracker or the Steam client bug tracker is the best place for it to go.

Vvalentindavid 2017-03-05 github

I have the same SIGSEGV in Steam client as OP. Same stack trace. The solution to use STEAM_RUNTIME=0 worked. But then SteamVR would SIGSEGV in vrcompositor, the stacktrace pointed to some Vulkan initialization, even though I had the Vulkan loader 1.0.39 like the Steam runtime. I tried to trick the launch script of SteamVR to force using the Steam runtime, but that did not help. The solution I have found was to copy .steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libvulkan.so.1 into a separate directory and start the Steam client with STEAM_RUNTIME=0 and LD_LIBRARY_PATH pointing to that directory. Now it works. Both Steam client and SteamVR can start without crashing. However Steam crashes when I stop SteamVR. But it is less annoying.

CChristophHaag 2017-03-15 github

Fixed with today's SteamVR update 1489563880.

Nothing extracted yet.