MusicVideoPlayer icon indicating copy to clipboard operation
MusicVideoPlayer copied to clipboard

Infrequent Crashes when during download/cut

Open b-rad15 opened this issue 4 years ago • 10 comments

Title for me about 1 in 5 downloads cause beatsaber to hang

b-rad15 avatar Aug 02 '20 20:08 b-rad15

might be fixed by yield returning the process start but leaving this here incase it comes back

b-rad15 avatar Aug 02 '20 21:08 b-rad15

Haven't seen since latest update checking file locks before loading video

b-rad15 avatar Aug 09 '20 04:08 b-rad15

Believe it is actually from loading calling LoadVideoSettings too often, after switching to only update the download text on downloadProgress I have not seen this issue on videos that had it happen every time before

Would not really explain the one time it happened after guessoffset but that could've been fixed with the file locking fix

Either way much rarer than it was before so some stuff is better

b-rad15 avatar Aug 12 '20 03:08 b-rad15

Will close soon unless anyone can attest to this happening since 9 days ago

b-rad15 avatar Aug 21 '20 20:08 b-rad15

I encountered a crash which kicked me completely out of Beat Saber. I was searching for a song with an ampersand (&) in it, if that helps.

JeffReeves avatar Sep 05 '20 05:09 JeffReeves

I encountered a crash which kicked me completely out of Beat Saber. I was searching for a song with an ampersand (&) in it, if that helps.

This would be after pressing download, right? Also if theres any way you can send the log from that run of the game or if you happened to remember the search term was and video you tried to download, that way I can see if I can reproduce it on my end.

Thank you for reporting this

b-rad15 avatar Sep 06 '20 03:09 b-rad15

I don't recall the exact song, but I believe it was: 1999 - Charli XCX & Troye Sivan

I zgrepped through the logs from last night, and this is the only one to match anything with 'ERROR' and 'Music Video Player'. Hopefully it helps you to narrow down the issue:

2020.09.04.22.28.11.log.gz

JeffReeves avatar Sep 06 '20 06:09 JeffReeves

Can confirm there is a random crash that happens during "custom" searches (where search != default string), possibly a threading/coroutine thing with the search results but shouldn't be since a copy is made before loading the search results

b-rad15 avatar Sep 10 '20 15:09 b-rad15

Got another crash. Played the song first without loading a video, then tried to play it again with a video. It crashed the moment I clicked search, without even changing the default string that it populated with.

Here is the log for it: 2020.09.12.00.40.09.log

JeffReeves avatar Sep 12 '20 07:09 JeffReeves

Flower Dance by DJ Okawari [mapped by Layanmeta w/ KuritsaDBS] was the map/song that it crashed on btw

image

JeffReeves avatar Sep 12 '20 08:09 JeffReeves