-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash Streaming Audiobook on 32-bit Raspberry Pi OS #2030
Comments
On first pass this looks like it must be a gstreamer bug rather than ours. I don't think there's anything we could do other than simply not call the gstreamer parsing function. |
@kingosticks Thanks. I've opened an issue in GStreamer. |
I get a similar issue after pausing a m3u8 live radio stream for some time. Unpausing or restarting the stream does not help. Only solution is to restart mopidy. Usually the issue does not occur, as long as I make sure to stop playback instead of using pause. I suspect that mopidy is buffering the stream in the background. Is there a way to disable this?
|
Any gstreamer buffering is restricted to a few MB. But the gstreamer wall time will be incrementing the whole time, perhaps that is getting too large and is exposing some type mismatch in the gst python bindings. There technically is a way to prevent any buffering by setting "live" mode for the stream but that's not exposed to the user. Plus, if the issue is related to the incrementing wall time then disabling buffering probably won't help. If you are interested in hacking that mode always enabled, look at https://github.com/mopidy/mopidy/blob/develop/mopidy/audio/actor.py#L615 |
I probably have a similar problem, I immediately get the following crash when playing https://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio%3d48000.m3u8
Playing it directly via Gstreamer works though: |
If you are not sure about anything below then please post on our forum first.
Describe the bug
I have Mopidy running on a Raspberry Pi Zero 2 W which is running 32-bit Raspberry Pi OS (Debian Bullseye).
When streaming an M4B audiobook from my Jellyfin server, Mopidy crashes with the following error output.
I have reproduced this issue on my Raspberry Pi CM4 using the same 32-bit version of Raspberry Pi OS.
Since it appeared to be a cast error, I tried using 64-bit Raspberry Pi OS and it turns out that Mopidy doesn't crash in that instance.
How to reproduce
Note that my Jellyfin server is running on a 64-bit OS on my ROCKPro64.
Expected behaviour
The audiobook should playback but instead nothing happened, Mopidy just crashed.
Environment
Please complete the following information:
sudo mopidyctl config
)sudo mopidyctl deps
)Additional context
Add any other context about the problem here. If appropriate, upload an appropriately verbose log file showing the bug.
The text was updated successfully, but these errors were encountered: