Skip to content
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 when playing video: roAssociativeArray "Extend size exceeds max_wrap_allocation" #2015

Open
jmacmahon opened this issue Oct 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jmacmahon
Copy link

Software Versions

  • Jellyfin Server Version: 10.9.11
  • Roku Client Version: 2.2 (release version) and git master branch (development mode)

Describe the bug

When playing a certain video file, the playback stops and the app reverts to the home screen. The logs from the Roku device show:

ERROR file:///home/<user>/jellyfin-roku/components/video/VideoPlayerView.bs:630 -3 An unexpected problem (but not server timeout or HTTP error) has been detected. buffer loop exception:Extend size (2136981 + 23310887) exceeds max_wrap_allocation (20553728):extra:etype:buffer -3
<Component: roAssociativeArray> =
{
    category: "mediaplayer"
    clipid: 2
    dbgmsg: "buffer loop exception:Extend size (2136981 + 23310887) exceeds max_wrap_allocation (20553728):extra:etype:buffer"
    drmerrcode: 0
    errcode: 0
    ignored: false
    source: "buffer:loop:"
}

The Jellyfin server logs show nothing interesting, just debug messages saying transcoding is ongoing, and then after the crash saying that it is stopping transcoding, and some authentication messages, presumably as the Roku app reloads the home screen.

This happens with a particular video file and not any others that I have tested. The file is being transcoded (video direct, audio encoded to AAC), and ffprobe has the following to say about the transcode files in the Jellyfin server cache:

Input #0, mpegts, from 'b58a0afaa38649756ff639660bc8587e150.ts':
  Duration: 00:00:04.90, start: 1157.103500, bitrate: 7329 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1918x808, 24 fps, 24 tbr, 90k tbn
  Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, 5.1, fltp, 642 kb/s

I will try to investigate further as to if there is anything special about these transcoded files that might cause a crash like this, but I would appreciate any pointers or other help.

Thanks

@jmacmahon jmacmahon added the bug Something isn't working label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant