[gstreamer-bugs] [Bug 554460] thumbnailer crash in gst_fake_sink_event() on FLUSH_START event

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat May 30 11:29:20 PDT 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=554460

  GStreamer | gstreamer (core) | Ver: 0.10.x

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
          Component|don't know                  |gstreamer (core)
         Resolution|INCOMPLETE                  |
   Target Milestone|NONE                        |HEAD




------- Comment #3 from Tim-Philipp Müller  2009-05-30 18:29 UTC -------
Actually, this seems to be just another variant of the infamous
GObject-notify-is-not-thread-safe bug. There's a patch [1], but it seems like
getting GObject patches reviewed is hard these days ...

In any case, this can easily be reproduced using the attached unit test. Crash
is here:

gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00002b79b9477901 in IA__g_object_notify (object=0x15580f0,
property_name=<value optimized out>) at
/tmp/cdt.XX50MgKl/build-area/glib2.0-2.20.1/gobject/gobjectnotifyqueue.c:125
#2  0x00002b79bb271c2d in gst_fake_sink_event (bsink=0x15580f0,
event=0x15614c0) at gstfakesink.c:370
#3  0x00002b79b8d480be in gst_base_sink_event (pad=0x1546480, event=0x15614c0)
at gstbasesink.c:2783
#4  0x00002b79b91dae58 in gst_pad_send_event (pad=0x1546480, event=0x15614c0)
at gstpad.c:4983
#5  0x00002b79b91db468 in gst_pad_push_event (pad=0x1546300, event=0x15614c0)
at gstpad.c:4839
#6  0x00002b79bb2807af in gst_queue_handle_sink_event (pad=0x1546180,
event=0x15614c0) at gstqueue.c:800
#7  0x00002b79b91dae58 in gst_pad_send_event (pad=0x1546180, event=0x15614c0)
at gstpad.c:4983
#8  0x00002b79b91db468 in gst_pad_push_event (pad=0x1546000, event=0x15614c0)
at gstpad.c:4839
#9  0x00000000004043c8 in oob_source_create (src=0x1544000,
p_buf=0x2b79bb896030) at elements/fakesink.c:884
#10 0x00002b79b8d4b43a in gst_base_src_get_range (src=0x1544000, offset=0,
length=4096, buf=0x2b79bb896030) at gstbasesrc.c:1945
#11 0x00002b79b8d4d543 in gst_base_src_loop (pad=0x1546000) at
gstbasesrc.c:2188

As ugly as it may be, I think we should just hack around this particular bug in
fakesink until this gets fixed in GLib.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=166020#c61


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




More information about the Gstreamer-bugs mailing list