Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

HereSphere VR Video Player (Meta Quest)

VR video player with immersion-enhancing algorithms, streaming, and media library features · By HereSphere

Crash on xbvr library scanning. Possible OVRLibrary: null cursor?

A topic by braburner created Feb 12, 2024 Views: 527 Replies: 3
Viewing posts 1 to 4

I've got an interesting repeatable crash here.

  • xbvr running in docker container. Latest version of xbvr 0.4.21
  •  I have about 11k scenes, 100TB+ of files
  • crash happens on heresphere version 0.93 and 10.4 (latest)
  • what i was doing prior to crash
  • accidentally hit logout while viewing xbvr in heresphere
  • logged into xbvr via web client and reset password
  •  logged in successfully
  • heresphere crashed when viewing xbvr scenes page. Got to around 8000/11000
  • Crash continues despite the following

What i've tried

  •  Upgraded hereshere to latest version
  •  uninstalled heresphere and reinstalled it
  • removed auth from xbvr
  • disabled all options under interfaces -> players -> heresphere
  •  Looked at xbvr.log file only relevant info i can find is

```

time="2024-02-12T05:25:09Z" level=info msg="New session #181756 for scene #7098 from file"

time="2024-02-12T05:25:09Z" level=info msg="Session #181756 duration for scene #7098 is 0.736216701"

time="2024-02-12T05:25:09Z" level=info msg="New session #181757 for scene #4418 from file"

2024/02/12 05:25:09 websocketproxy: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF

time="2024-02-12T05:25:09Z" level=info msg="Lost 7121583087532498"

time="2024-02-12T05:26:11Z" level=info msg="Session #181757 duration for scene #4418 is 61.41557517"

time="2024-02-12T05:29:55Z" level=info msg="Saved state"

```


On the quest2 , opened up adb shell and looked at logcat. Only relevant line i can find is

```

2-11 20:37:09.518  2532 23346 W OVRLibrary: null cursor received for query content://com.oculus.ocms.library/apps/net.heresphere.vrvideoplaye        

```

I've tried setting the environmental variable for the xbvr docker container to true via `-e DEBUG=1` . However I get a 404 error when trying to access the xbvr webpage. 

Any suggestions on how to proceed? Anyway of gathering additional debug information on the herepshere app?

Developer

Not sure, kind of looks like the issue is on xbvr's end from the log files. Can you try creating a new xbvr instance and just add some of your files to it?

(2 edits)
Not sure, kind of looks like the issue is on xbvr's end from the log files. Can you try creating a new xbvr instance and just add some of your files to it?

Thank you for your response and suggestion.  I performed the following:

  • Exported  the timestamps, and tags from the old broken xbvr instance. 
  • Created new docker container, with a different mount target directory than the original instance 
  • Imported the tags, and timestamps. 
  • I slowly added content 2 TB at a time, launching heresphere every iteration to check for crashing.  


While it took a few days, happy to report that things appear to be working again.  Do you or the xbvr devs want the old crashing main.db file for debugging purposes? its about 300 MB uncompressed. 


Developer

Glad it's working again. I don't really have time to look over the debug logs (and I'm suspecting the issue is more on XBVR's end than HereSphere's based on your description). Let me know if you run into any other issues.