[gstreamer-bugs] [Bug 566843] New: [pulse] Terminating an audio stream hangs the application

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jan 6 15:16:51 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=566843

  GStreamer | gst-plugins-good | Ver: 0.10.3
           Summary: [pulse] Terminating an audio stream hangs the
                    application
           Product: GStreamer
           Version: 0.10.3
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: abockover at novell.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.23/2.24
   GNOME milestone: Unspecified


Migrating this bug from downstream/openSUSE:
https://bugzilla.novell.com/show_bug.cgi?id=395001

Important information from various comments pasted below:

---

<Michael Meeks>

I use pavucontrol while banshee is playing; right click and terminate the
stream.

Unfortunately - that hangs banshee: - of course the strace of banshee only
shows the normal mono 'busy' loop (sigh):

[pid 11643] clock_gettime(CLOCK_REALTIME, {1211970455, 569396653}) = 0
[pid 11643] futex(0xb7950110, FUTEX_WAIT_PRIVATE, 7321, {0, 99603347}
<unfinished ...>
[pid 11631] <... futex resumed> )       = -1 ETIMEDOUT (Connection timed out)
[pid 11631] gettimeofday({1211970455, 669160}, NULL) = 0
[pid 11631] futex(0xb7950f4c, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 11631] clock_gettime(CLOCK_REALTIME, {1211970455, 669234481}) = 0
[pid 11631] futex(0xb7950f68, FUTEX_WAIT_PRIVATE, 7251, {0, 99765519}
<unfinished ...>
[pid 11643] <... futex resumed> )       = -1 ETIMEDOUT (Connection timed out)
[pid 11643] gettimeofday({1211970455, 669322}, NULL) = 0
[pid 11643] futex(0xb79500f4, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 11643] clock_gettime(CLOCK_REALTIME, {1211970455, 669395535}) = 0
[pid 11643] futex(0xb7950110, FUTEX_WAIT_PRIVATE, 7323, {0, 99604465}
<unfinishe

unclear how to debug further.

---

<Aaron Bockover>

Now I see the hang, but it seems pretty corner case to me. The idea of
terminating streams is a horrid one to me from anywhere outside the
application. 

Furthermore as we use "autoaudiosink" in GStreamer, I'm not sure we should be
handling anything explicitly in Banshee. The pipeline should just go into the
NULL/READY state.

...

Totem and Rhythmbox exhibit the same behavior. This really seems to be a bug in
GStreamer (pulsesink).


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=566843.




More information about the Gstreamer-bugs mailing list