From: David P. <da...@ne...> - 2002-07-24 20:48:36
|
Hi list, Is anyone having trouble calling gst_object_unref() on a bin? When I try either directly or on a pipeline that contains the bin, a segfault occurs (in the case of the higher-level pipeline, it seems to be unref'ing things properly until it recurses down to the bin). Here is the relevant part of the gdb backtrace: #0 0x400af7be in g_type_check_instance_cast () from #/usr/lib/libgobject-2.0.so.0 1 0x40047752 in gst_bin_dispose #(object=0x42ce5f64) at gstbin.c:664 2 0x4005af82 in gst_pipeline_dispose #(object=0x42ce5f64) at gstpipeline.c:118 3 0x40094de2 in #g_object_class_list_properties () from /usr/lib/libgobject-2.0.so.0 4 #0x4009836d in g_object_unref () from /usr/lib/libgobject-2.0.so.0 5 #0x4004446a in gst_object_unref (object=0x42ce5f64) at gstobject.c:185 (gdb) frame 6 #6 0x08054a90 in _wasabi_channel_destroy (audio=0x8059688, channelnum=0) at #wasabi.c:286 286 gst_object_unref(GST_OBJECT(channel->bin)); (gdb) print *channel->bin $1 = {object = {object = {g_type_instance = {g_class = 0x42c0df4c}, ref_count = 1, qdata = 0x0}, name = 0x42cffff4 "channel1", refcount = 0, lock = 0x42ce7fe8, parent = 0x4055bf64, flags = 5242880}, current_state = 1 '\001', pending_state = 0 '\0', manager = 0x0, loopfunc = 0, sched = 0x42cf1fa4, sched_private = 0x0, setclockfunc = 0, getclockfunc = 0, clock = 0x0, numpads = 0, numsrcpads = 0, numsinkpads = 0, pads = 0x0, select_pad = 0x0, state_mutex = 0x42ce9fe8, state_cond = 0x42cebff4, pre_run_func = 0, post_run_func = 0, prop_value_queue = 0x0, property_mutex = 0x0} Thanks, David ------- David Parker <da...@ne...> Neon Goat Productions http://www.neongoat.com 0xF90FFFE5 / F362 51F7 6D51 85EB AF68 75B9 D29B 1AFC F90F FFE5 ------- |