Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-good
gst-plugins-good
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 620
    • Issues 620
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 110
    • Merge Requests 110
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-goodgst-plugins-good
  • Issues
  • #607

Closed
Open
Opened Jun 05, 2019 by Håvard Graff@hgrDeveloper

gstrtpjitterbuffer can deadlock

bf00ee46 introduced a deadlock. Basically, it is possible for gst_rtp_jitter_buffer_loop to end up in JBUF_WAIT_EVENT() inside the loop, while the _chain() function ends up in JBUF_WAIT_QUEUE(), and we are waiting forever.

I have yet to try and write a test for this, but architecturally I hope we could avoid having two threads waiting on each-other like that. (and a test to go with such a change to document what it is trying to do would not be a bad idea either) :)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-good#607