protonscr

[BUG] pthreads futex robust_list is corrupt assertion hit

steamvropen bug
ValveSoftware/SteamVR-for-Linux#413 · opened 2020-12-16 by expipiplus1 · updated 2020-12-16 · 0 comments · github
Eexpipiplus1 2020-12-16 github

Describe the bug

The vr compositor hits a fatal assertion:

ASSERT: "pthreads futex robust_list is corrupt" at /data/src/common/vrcore/src/ipcposix.cpp:208.

To Reproduce

Steps to reproduce the behavior:

  • Boot system
  • Start Steam client
  • From Steam, launch SteamVR
  • Wait for the Living Room environment to load
  • Run xrgears three times
  • Observe that the Steam client is unresponsive.

I have also reproduced this with my own application (just calling xrCreateInstance).

Expected behavior

xrgears example works.

System Information (please complete the following information):

❯ uname -a
Linux orion 5.4.78 #1-NixOS SMP Wed Nov 18 18:20:34 UTC 2020 x86_64 GNU/Linux

❯ nvidia-smi -L
GPU 0: GeForce RTX 2080 Ti (UUID: GPU-170cfe07-161b-b33c-d301-2b013293cb24)

❯ nvidia-smi -q | grep Driver.Version
Driver Version                            : 455.38

❯ gnome-shell --version
GNOME Shell 3.38.1

❯ X -version
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.4.77 x86_64
Current Operating System: Linux orion 5.4.78 #1-NixOS SMP Wed Nov 18 18:20:34 UTC 2020 x86_64
Kernel command line: initrd=\efi\nixos\b043ywb4qsnlpncg6cvb08ikwbx1h6k7-initrd-linux-5.4.78-initrd.efi systemConfig=/nix/store/6jfnyxmq20fzvp6v19mdrh53dr1wdz1l-nixos-system-orion-21.03.git.4e2397de0c4 init=/nix/store/6jfnyxmq20fzvp6v19mdrh53dr1wdz1l-nixos-system-orion-21.03.git.4e2397de0c4/init loglevel=4
Build Date: 25 August 2020  03:40:21PM

# Is there a better way of getting steamvr version?
❯ grep 'VersionNotice"' <~/.local/share/Steam/config/steamvr.vrsettings
      "lastVersionNotice" : "1.15.14",

Additional context

The logs, starting at the first of three launches of xrgears

tail -f ~/.local/share/Steam/logs/*:

==> vrmonitor.txt <==
Wed Dec 16 2020 12:19:54.614326 - [System] System is running for 10 seconds.
Wed Dec 16 2020 12:19:54.628292 - [System] Unknown Transition from 'SteamVRSystemState_Ready' to 'SteamVRSystemState_Standby'.

==> xrclient_xrgears.txt <==
Wed Dec 16 2020 12:19:58.127751 - //==============================================================================================
Wed Dec 16 2020 12:19:58.127816 - ================================================================================================
Wed Dec 16 2020 12:19:58.127836 - ================================================================================================
Wed Dec 16 2020 12:19:58.127857 - xrgears 1.15.14 startup with PID=13433, config=/home/j/.local/share/Steam/config, runtime=/home/j/.local/share/Steam/steamapps/common/SteamVR
Wed Dec 16 2020 12:19:58.128529 - Failed to find interface 'IVRPathsInternal_001'
Wed Dec 16 2020 12:19:58.128563 - Failed to find interface 'IVRServer_XXX'
Wed Dec 16 2020 12:19:58.128587 - Failed to find interface 'IVRSystemLayerInternal_XXX'
Wed Dec 16 2020 12:19:58.128665 - //==============================================================================================
Wed Dec 16 2020 12:19:58.128687 - ================================================================================================
Wed Dec 16 2020 12:19:58.128704 - ================================================================================================
Wed Dec 16 2020 12:19:58.128725 - xrgears 1.15.14 startup with PID=13433, config=/home/j/.local/share/Steam/config, runtime=/home/j/.local/share/Steam/steamapps/common/SteamVR
Wed Dec 16 2020 12:19:58.128768 - vrclient type=VRApplication_OpenXRInstance
Wed Dec 16 2020 12:19:58.129417 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/htc/resources/settings/default.vrsettings
Wed Dec 16 2020 12:19:58.129499 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/lighthouse/resources/settings/default.vrsettings
Wed Dec 16 2020 12:19:58.129562 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/null/resources/settings/default.vrsettings
Wed Dec 16 2020 12:19:58.129740 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/resources/settings/default.vrsettings
Wed Dec 16 2020 12:19:58.130125 - [Settings] Load Json Settings from /home/j/.local/share/Steam/config/steamvr.vrsettings
Wed Dec 16 2020 12:19:58.139426 - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to steamvr:SteamVR_Namespace
Wed Dec 16 2020 12:19:58.139546 - CSharedResourceNamespaceClient::Init(): received namespace data 4745
Wed Dec 16 2020 12:19:58.139582 - CIPCPipe::ConnectPipe(VR_ServerPipe_4745) attempting connect to steamvr:VR_ServerPipe_4745
Wed Dec 16 2020 12:19:58.142284 - Received success response from vrserver connect
Wed Dec 16 2020 12:19:58.143241 - Unable to create shared memory for IPC client
Wed Dec 16 2020 12:19:58.143260 - Failed to init web server shared state

==> cloud_log.txt <==
[2020-12-16 12:19:58] Starting sync job
[2020-12-16 12:19:58] [AppID 250820] Starting sync (up,)
[2020-12-16 12:19:58] [AppID 250820] File is in sync avatar_config.vcfg
[2020-12-16 12:19:58] [AppID 250820] File is in sync binding_config.json
[2020-12-16 12:19:58] [AppID 250820] File is in sync contentdb_user_values.vcfg
[2020-12-16 12:19:58] [AppID 250820] File is in sync user_keys_vr.vcfg
[2020-12-16 12:19:58] [AppID 250820] File is in sync user_vr.vcfg
[2020-12-16 12:19:58] [AppID 250820] File is in sync voice_ban.dt
[2020-12-16 12:19:58] [AppID 250820] Upload complete in build list

==> vrmonitor.txt <==
Wed Dec 16 2020 12:19:58.621783 - [System] Unknown Transition from 'SteamVRSystemState_Standby' to 'SteamVRSystemState_Ready'.

==> configstore_log.txt <==
[2020-12-16 12:19:58] Flushed store 'install' to '/home/j/.local/share/Steam/config/config.vdf'

==> vrmonitor.txt <==
Wed Dec 16 2020 12:20:03.628375 - [System] Unknown Transition from 'SteamVRSystemState_Ready' to 'SteamVRSystemState_Standby'.

==> xrclient_xrgears.txt <==
Wed Dec 16 2020 12:20:08.298258 - //==============================================================================================
Wed Dec 16 2020 12:20:08.298313 - ================================================================================================
Wed Dec 16 2020 12:20:08.298329 - ================================================================================================
Wed Dec 16 2020 12:20:08.298353 - xrgears 1.15.14 startup with PID=13504, config=/home/j/.local/share/Steam/config, runtime=/home/j/.local/share/Steam/steamapps/common/SteamVR
Wed Dec 16 2020 12:20:08.299065 - Failed to find interface 'IVRPathsInternal_001'
Wed Dec 16 2020 12:20:08.299098 - Failed to find interface 'IVRServer_XXX'
Wed Dec 16 2020 12:20:08.299119 - Failed to find interface 'IVRSystemLayerInternal_XXX'
Wed Dec 16 2020 12:20:08.299194 - //==============================================================================================
Wed Dec 16 2020 12:20:08.299212 - ================================================================================================
Wed Dec 16 2020 12:20:08.299238 - ================================================================================================
Wed Dec 16 2020 12:20:08.299256 - xrgears 1.15.14 startup with PID=13504, config=/home/j/.local/share/Steam/config, runtime=/home/j/.local/share/Steam/steamapps/common/SteamVR
Wed Dec 16 2020 12:20:08.299299 - vrclient type=VRApplication_OpenXRInstance
Wed Dec 16 2020 12:20:08.299840 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/htc/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:08.299899 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/lighthouse/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:08.299956 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/null/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:08.300112 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:08.300448 - [Settings] Load Json Settings from /home/j/.local/share/Steam/config/steamvr.vrsettings
Wed Dec 16 2020 12:20:08.308485 - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to steamvr:SteamVR_Namespace
Wed Dec 16 2020 12:20:08.308593 - CSharedResourceNamespaceClient::Init(): received namespace data 4745
Wed Dec 16 2020 12:20:08.308631 - CIPCPipe::ConnectPipe(VR_ServerPipe_4745) attempting connect to steamvr:VR_ServerPipe_4745
Wed Dec 16 2020 12:20:08.309563 - Received success response from vrserver connect
Wed Dec 16 2020 12:20:08.309876 - Unable to create shared memory for IPC client
Wed Dec 16 2020 12:20:08.309893 - Failed to init web server shared state

==> cloud_log.txt <==
[2020-12-16 12:20:08] Starting sync job
[2020-12-16 12:20:08] [AppID 250820] Starting sync (up,)
[2020-12-16 12:20:08] [AppID 250820] File is in sync avatar_config.vcfg
[2020-12-16 12:20:08] [AppID 250820] File is in sync binding_config.json
[2020-12-16 12:20:08] [AppID 250820] File is in sync contentdb_user_values.vcfg
[2020-12-16 12:20:08] [AppID 250820] File is in sync user_keys_vr.vcfg
[2020-12-16 12:20:08] [AppID 250820] File is in sync user_vr.vcfg
[2020-12-16 12:20:08] [AppID 250820] File is in sync voice_ban.dt
[2020-12-16 12:20:08] [AppID 250820] Upload complete in build list

==> vrmonitor.txt <==
Wed Dec 16 2020 12:20:08.621235 - [System] Unknown Transition from 'SteamVRSystemState_Standby' to 'SteamVRSystemState_Ready'.

==> configstore_log.txt <==
[2020-12-16 12:20:08] Flushed store 'install' to '/home/j/.local/share/Steam/config/config.vdf'

==> xrclient_xrgears.txt <==
Wed Dec 16 2020 12:20:10.878935 - //==============================================================================================
Wed Dec 16 2020 12:20:10.878981 - ================================================================================================
Wed Dec 16 2020 12:20:10.878993 - ================================================================================================
Wed Dec 16 2020 12:20:10.879006 - xrgears 1.15.14 startup with PID=13546, config=/home/j/.local/share/Steam/config, runtime=/home/j/.local/share/Steam/steamapps/common/SteamVR
Wed Dec 16 2020 12:20:10.879463 - Failed to find interface 'IVRPathsInternal_001'
Wed Dec 16 2020 12:20:10.879493 - Failed to find interface 'IVRServer_XXX'
Wed Dec 16 2020 12:20:10.879509 - Failed to find interface 'IVRSystemLayerInternal_XXX'
Wed Dec 16 2020 12:20:10.879561 - //==============================================================================================
Wed Dec 16 2020 12:20:10.879576 - ================================================================================================
Wed Dec 16 2020 12:20:10.879585 - ================================================================================================
Wed Dec 16 2020 12:20:10.879596 - xrgears 1.15.14 startup with PID=13546, config=/home/j/.local/share/Steam/config, runtime=/home/j/.local/share/Steam/steamapps/common/SteamVR
Wed Dec 16 2020 12:20:10.879629 - vrclient type=VRApplication_OpenXRInstance
Wed Dec 16 2020 12:20:10.880069 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/htc/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:10.880438 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/lighthouse/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:10.880502 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/drivers/null/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:10.880677 - [Settings] Load Default Json Settings from /home/j/.local/share/Steam/steamapps/common/SteamVR/resources/settings/default.vrsettings
Wed Dec 16 2020 12:20:10.881020 - [Settings] Load Json Settings from /home/j/.local/share/Steam/config/steamvr.vrsettings
Wed Dec 16 2020 12:20:10.888380 - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to steamvr:SteamVR_Namespace
Wed Dec 16 2020 12:20:10.888634 - CSharedResourceNamespaceClient::Init(): received namespace data 4745
Wed Dec 16 2020 12:20:10.888677 - CIPCPipe::ConnectPipe(VR_ServerPipe_4745) attempting connect to steamvr:VR_ServerPipe_4745

==> vrclient_vrcompositor.txt <==
Wed Dec 16 2020 12:20:10.888972 - ASSERT: "pthreads futex robust_list is corrupt" at /data/src/common/vrcore/src/ipcposix.cpp:208.
Wed Dec 16 2020 12:20:10.889009 - Aborting due to fatal assertion failure.

==> xrclient_xrgears.txt <==
Wed Dec 16 2020 12:20:24.065857 - Socket closed
Wed Dec 16 2020 12:20:24.066016 - Unable to read message from socket: 2

==> vrclient_vrdashboard.txt <==
Wed Dec 16 2020 12:20:24.066030 - CIPCPipe::ConnectPipe(VR_ServerPipe_4745) attempting connect to steamvr:VR_ServerPipe_4745
Wed Dec 16 2020 12:20:24.066131 - Unable to connect to pipe errno=111

==> xrclient_xrgears.txt <==
Wed Dec 16 2020 12:20:24.066146 - GetNextMessage failed while waiting for message of type 101 on pipe VR_ServerPipe_4745
Wed Dec 16 2020 12:20:24.066217 - Invalid response to connect message. Connect failed

==> vrclient_vrdashboard.txt <==
Wed Dec 16 2020 12:20:24.066223 - Lost connection to VR Server
Wed Dec 16 2020 12:20:29.107991 - VR_Shutdown called
Wed Dec 16 2020 12:20:29.108241 - CIPCPipe::ConnectPipe(VR_ServerPipe_4745) attempting connect to steamvr:VR_ServerPipe_4745
Wed Dec 16 2020 12:20:29.108326 - Unable to connect to pipe errno=111

Nothing extracted yet.