[gstreamer-bugs] [Bug 156565] gst_bin_remove crashes deep down

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Fri Oct 29 06:01:50 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=156565
GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Additional Comments From ensonic at sonicpulse.de  2004-10-29 09:01 -------
just a few lines before in my own code I remove another element (which works)
and there the same output from gdb look sane:
(gdb) print *parent
$2 = {object = {object = {g_type_instance = {g_class = 0x826d8c0}, ref_count =
2, qdata = 0x0}, name = 0x826ede8 "input_level_0x8269be0", lock = 0x826e5b8,
parent = 0x8249dc8, flags = 0,
    _gst_reserved = {0x0, 0x0, 0x0, 0x0}}, current_state = 1 '\001',
pending_state = 0 '\0', loopfunc = 0, sched = 0x824b060, sched_private =
0x826ee28, clock = 0x0, base_time = 0,
  numpads = 2, numsrcpads = 1, numsinkpads = 1, pads = 0x82257d8, state_mutex =
0x826e5d8, state_cond = 0x826e5f8, pre_run_func = 0, post_run_func = 0,
prop_value_queue = 0x804e2e8,
  property_mutex = 0x826f288, _gst_reserved = {0x0, 0x0, 0x0, 0x0}}


The calling code looks like:
    g_assert(GST_IS_BIN(self->priv->bin));
    if(self->priv->spreader) {
      g_assert(GST_IS_ELEMENT(self->priv->spreader));
      gst_bin_remove(self->priv->bin,self->priv->spreader);
    }
    if(self->priv->input_level) {
      g_assert(GST_IS_ELEMENT(self->priv->input_level));
      gst_bin_remove(self->priv->bin,self->priv->input_level);
    }


------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list