Search Unity

OpenVR crash in Linux builds

Discussion in 'Linux' started by slembcke2, Dec 30, 2018.

  1. slembcke2

    slembcke2

    Joined:
    Jun 26, 2013
    Posts:
    270
    Not exactly sure what is going on here. I've run other OpenVR stuff just fine on this machine. Since it's a crash when parsing a JSON file I wonder if it's a bug in the Linux SteamVR beta or if I'm missing a bindings file or something?

    Relevent parts of the stack trace:
    #0  0x00007ffff7c26077 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
    #1 0x00007ffff7c07535 in __GI_abort () at abort.c:79
    #2 0x00007fffee3ce957 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #3 0x00007fffee3d4aa6 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #4 0x00007fffee3d4ae1 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #5 0x00007fffee3d4d14 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #6 0x00007fffee3fcfb2 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #7 0x00007fffb43e507a in Json::Reader::getLocationSnippet(char const*) const () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #8 0x00007fffb43e55fd in Json::Reader::getFormattedErrorMessages() const () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #9 0x00007fffb43a4a18 in CSettingsManager::parseSettingsFromString(std::string const&, std::string const&, Json::Value&) () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #10 0x00007fffb43a4d47 in CSettingsManager::GetUserSettingsJson(Json::Value&, std::string const&) () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #11 0x00007fffb43a5271 in CSettingsManager::LoadUserSettings(std::string&, Json::Value&) () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #12 0x00007fffb43a7408 in CSettingsManager::Init(CDriverManager*, IVRServer*) () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #13 0x00007fffb424b038 in CHmdSystemLatest::BIsHmdPresentInternal(char const*) () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #14 0x00007fffb425227d in CHmdSystemLatest::Init(vr::EVRApplicationType, char const*) () at /home/slembcke/.steam/steam/steamapps/common/SteamVR/bin/linux64/vrclient.so
    #15 0x00007fffbcf55e7f in vr::VR_InitInternal(vr::EVRInitError*, vr::EVRApplicationType) (peError=0x7fffffffd370, eApplicationType=vr::VRApplication_Scene) at openvr_api.cpp:69
     
  2. slembcke2

    slembcke2

    Joined:
    Jun 26, 2013
    Posts:
    270
    Hmm digging around a bit more, it does seem like it might be a SteamVR thing:


    Sun Dec 30 2018 01:58:38.941385 - linux-x64.x86_64 startup with PID=30140, config=/home/slembcke/.steam/steam/config, runtime=/home/slembcke/.steam/steam/steamapps/common/SteamVR/
    Sun Dec 30 2018 01:58:38.941405 - vrclient type=VRApplication_Scene
    Sun Dec 30 2018 01:58:38.941897 - Parsing of JSON file "/home/slembcke/.steam/steam/steamapps/common/SteamVR/resources/settings/default.vrsettings" failed: exception thrown in JSON library
    Sun Dec 30 2018 01:58:38.941932 - [Settings] Load Default Json Settings from /home/slembcke/.steam/steam/steamapps/common/SteamVR/drivers/htc/resources/settings/default.vrsettings
    Sun Dec 30 2018 01:58:38.941956 - [Settings] Load Default Json Settings from /home/slembcke/.steam/steam/steamapps/common/SteamVR/drivers/lighthouse/resources/settings/default.vrsettings
    Sun Dec 30 2018 01:58:38.942000 - Parsing of JSON file "/home/slembcke/.steam/steam/steamapps/common/SteamVR/drivers/null/resources/settings/default.vrsettings" failed: exception thrown in JSON library
    Sun Dec 30 2018 01:58:38.942062 - [Settings] Parsing of json from "/home/slembcke/.steam/steam/config/steamvr.vrsettings" failed:
    terminate called after throwing an instance of 'std::bad_cast'
    what(): std::bad_cast


    All those file exist and are jsonlint says they are valid at least. Not quite sure where to look next... Hmm.
     
  3. jan_bajana

    jan_bajana

    Joined:
    Sep 15, 2015
    Posts:
    22
    Last edited: Jan 3, 2019