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 when attempting to play a file from SMB

A topic by edechamps created Feb 04, 2024 Views: 700 Replies: 2
Viewing posts 1 to 3

Hi,

I am currently trying out the demo version of Heresphere (v0.10.2), on a Quest 3, installed with Sidequest.

If I try to load a video file from my SMB share (hosted on my own Linux Samba server), Heresphere crashes and I'm thrown back to the Quest home.

To be perfectly clear: I can connect to the SMB share, and I can browse my files - but as soon as I click on a video file in the file browser, it crashes.

From another client (a Windows PC), the same file played from the same SMB share plays succesfully.

If I copy the video file over to the Quest's internal storage, Heresphere can successfully play it from there.

So it clearly looks like the crash is specific to Heresphere being unable to open the file over SMB.

It looks like I can reproduce this with any file (i.e. I can't play any file from that SMB share).

Any idea what's going on or tips on how to troubleshoot this further?

I spun up Wireshark and looked at the SMB traffic right before the crash. From there it became obvious that the issue was caused by me serving the files from a Samba share backed by a TMSU fuse VFS. Specifically it is caused by this somewhat non-standard TMSU behavior, which also caused similar problems in MPC-HC.

In the specific case of Heresphere, the crash is caused by Heresphere attempting to open .hsp, .ass, .ssa, and .srt files with the same basename as the video. This will result in TMSU serving the actual video file under these alternate names, which causes Heresphere to crash as it's basically reading garbage.

Since TMSU is a very niche piece of software I doubt anyone else will come across this, but regardless, for robustness I think it would be a good idea for Heresphere to ignore garbage .hsp/.ass/.ssa/.srt (without attempting to read them till the end) instead of crashing.

For those who are actually serving from a TMSU-backed Samba share, the following smb.conf config will work around the issue:

veto files = *.hsp/*.ass/*.ssa/*.srt
Developer

Thanks for reporting the issue. Not sure how I'd go about detecting if the file is legit or not.