karaoke-rs: Panic when occasionally loading a web player song
Load up web player, play some songs, eventually what seems to be a random song will not load and when I check the console, the following appears. Reloading the web player page with F5 will make it play, however.
1.karaoke-rs.js:1 panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:378:21
Stack:
Error
at Module.N (http://localhost:6484/1.karaoke-rs.js:1:11733)
at __wbg_new_59cb74e423758ede (http://localhost:6484/karaoke-rs.js:1:1020)
at wasm-function[434]:0x7a0c0
at wasm-function[1499]:0xab4a6
at wasm-function[777]:0x9aee7
at wasm-function[1045]:0xa61bb
at wasm-function[1232]:0xa9cf3
at wasm-function[1200]:0xa969b
at wasm-function[153]:0x1b7b7
at wasm-function[153]:0x1b322
I @ 1.karaoke-rs.js:1
wasm://wasm/wasm-0060a61e:778 Uncaught RuntimeError: unreachable
at wasm-function[777]:0x9af1d
at wasm-function[1045]:0xa61bb
at wasm-function[1232]:0xa9cf3
at wasm-function[1200]:0xa969b
at wasm-function[153]:0x1b7b7
at wasm-function[153]:0x1b322
at wasm-function[201]:0x3e7aa
at wasm-function[523]:0x854f4
at wasm-function[681]:0x942d4
at wasm-function[522]:0x8532d
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 27 (27 by maintainers)
Ok. I’ll clean up the player to safely “reset” instead of having any opportunity to panic, then I’ll try to understand why this stop is randomly occurring. Thanks for taking the time to help me debug this!
Nope. I use Firefox, so not sure if it has something to do with Chrome. I guess we will find out.