[gstreamer-bugs] [Bug 512382] [playbin] race condition when pausing/playing multiple instances concurrently

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Apr 6 13:23:16 PDT 2008


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=512382

  GStreamer | gst-plugins-base | Ver: 0.10.16

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
             Status|UNCONFIRMED                 |NEEDINFO
          Component|don't know                  |gst-plugins-base
            Summary|race condition when         |[playbin] race condition
                   |pausing/playing multiple    |when pausing/playing
                   |elements                    |multiple instances
                   |                            |concurrently




------- Comment #2 from Tim-Philipp Müller  2008-04-06 20:23 UTC -------
I get different errors/assertions with CVS of things, mostly related to GLib's
type system being slightly unsafe with regard to class refs. I've committed
these:


 2008-04-06  Tim-Philipp Müller  <tim at centricular dot net>

        * gst-libs/gst/audio/gstbaseaudiosink.c:
          (gst_base_audio_sink_class_init):
        * gst-libs/gst/audio/gstbaseaudiosrc.c:
          (gst_base_audio_src_class_init):
        * gst/playback/gstplayback.c: (plugin_init):
        * gst/volume/gstvolume.c: (plugin_init):
          Work around missing bits of thread-safety on older GLibs some
          more to avoid assertions when starting up multiple playbin
          objects concurrently (see #512382).

and

 2008-04-06  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/jack/gstjackaudiosink.c: (gst_jack_audio_sink_class_init):
          Work around missing bits of thread-safety on older GLibs some
          more to avoid assertions when starting up multiple playbin
          objects concurrently (see #512382).


to -base and -bad respectively. This fixes all issues I've been seeing so far.
Now it either plays, or errors out with 'Error: Could not open resource for
writing.' or crashes gdb itself in mysterious ways (no idea what that is
about).

Any chance you could try with CVS? If yes, and you still have problems,
backtraces from G_DEBUG=fatal_warnings would be great.


-- 
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=512382.




More information about the Gstreamer-bugs mailing list