[gstreamer-bugs] [Bug 596366] New: lockup in gst_ghost_pad_set_target

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 25 12:48:55 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=596366
  GStreamer | gstreamer (core) | git

           Summary: lockup in gst_ghost_pad_set_target
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=144026)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=144026)
backtrace for the lockup

#3  0xb798d5b2 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0xb7d874b4 in gst_proxy_pad_get_target (pad=0x8188058) at gstghostpad.c:366
#5  0xb7d89ea2 in gst_proxy_pad_do_getcaps (pad=0x8188058) at gstghostpad.c:221
#6  0xb7d94f27 in gst_pad_get_caps_unlocked (pad=0x8188058) at gstpad.c:2122
#7  0xb7d97ecc in gst_pad_get_caps (pad=0x8188058) at gstpad.c:2206
...
#215 0xb7d94f27 in gst_pad_get_caps_unlocked (pad=0x8247030) at gstpad.c:2122
#216 0xb7d95688 in gst_pad_link_prepare (srcpad=0x8247030, sinkpad=0x824a010)
at gstpad.c:1772
#217 0xb7d9b34f in gst_pad_link (srcpad=0x8247030, sinkpad=0x824a010) at
gstpad.c:2009
#218 0xb7d882d7 in gst_ghost_pad_set_target (gpad=0x8188058,
newtarget=0x824a010) at gstghostpad.c:1208
#219 0xb7fafd7a in bt_sink_bin_update (self=0x8246010) at sink-bin.c:680

problem is that gst_proxy_pad_get_target() in #4 tries to GST_PROXY_LOCK
(0x8188058);, which is already locked by gst_ghost_pad_set_target() in #218

just releasing the lock for the gst_pad_link() is not enough.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list