[Gstreamer-bugs] [Bug 134583] New - Race on gst_pad_link_free

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Mon Feb 16 15:59:24 PST 2004


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=134583

Changed by julien at moutte.net.

--- shadow/134583	Mon Feb 16 18:59:24 2004
+++ shadow/134583.tmp.6146	Mon Feb 16 18:59:24 2004
@@ -0,0 +1,48 @@
+Bug#: 134583
+Product: GStreamer
+Version: HEAD CVS
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: julien at moutte.net               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: Race on gst_pad_link_free
+
+When calling gst_pad_try_set_caps multilple times (user dragging the corner
+of the player window) on a slow machine (my ppc laptop) i guess that a
+second call to gst_pad_try_set_caps overlap a current pad unlinking and
+somehow fucks up the links...
+
+I have the following backtrace :
+
+Program received signal SIGSEGV, Segmentation fault.
+[Switching to Thread 32771 (LWP 19635)]
+0x0f242244 in g_type_init () from /usr/lib/libgobject-2.0.so.0
+(gdb) bt
+#0  0x0f242244 in g_type_init () from /usr/lib/libgobject-2.0.so.0
+#1  0x0f241c00 in g_type_check_value () from /usr/lib/libgobject-2.0.so.0
+#2  0x0f2ed690 in gst_structure_free (structure=0x100551b0) at
+gststructure.c:245
+#3  0x0f2c29a8 in gst_caps_free (caps=0x20) at gstcaps.c:268
+#4  0x0f2db8ac in gst_pad_link_free (link=0x1) at gstpad.c:1088
+#5  0x0f2dc6b0 in gst_pad_link_try (link=0x100551b0) at gstpad.c:1323
+#6  0x0e013ac0 in gst_ximagesink_renegotiate_size (ximagesink=0x4885fca8,
+width=268784048, height=1)
+    at ximagesink.c:419
+#7  0x0e013d54 in gst_ximagesink_handle_xevents (ximagesink=0x20, pad=0x0)
+at ximagesink.c:492
+#8  0x0f2e238c in gst_pad_push (pad=0x4885fca8, data=0x19f) at gstpad.c:3035
+#9  0x0e16e970 in gst_videoscale_chain (pad=0x20, _data=0x0) at
+gstvideoscale.c:387
+#10 0x0e4a98b8 in gst_opt_scheduler_chain_wrapper (sinkpad=0x0,
+data=0x93c10058)
+
+You can clearly see here that the argument passed to gst_pad_link_free is
+invalid. On a very fast machine i never manage to trigger that bug.




More information about the Gstreamer-bugs mailing list