[Bug 730167] panic in gst_bin_continue_func() when doing continuous zap operations

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 14 22:27:11 PDT 2014


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

bcxa.sz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bcxa.sz at gmail.com
         OS/Version|Windows                     |Linux
           Severity|normal                      |critical

--- Comment #1 from bcxa.sz at gmail.com 2014-05-15 05:27:06 UTC ---
The use case is that:

1.    create pipeline
2.    change state from NULL to PLAYING
3.    change state from PLAYING to NULL
4.    unref the pipeline
5.    back to 1

And in normal situtation,

this gst_bin_continue_func() will be only called internally when async element
commit state and this function will attempt to bring the bin to next state. And
see below backtrace (which is correct):

Breakpoint 1, gst_bin_continue_func (data=0x240f2060) at gstbin.c:2732
2732    in gstbin.c
(gdb) print *(BinContinueData *)0x240f2060
$5 = {bin = 0x1ad0f3d8, cookie = 1, pending = GST_STATE_PLAYING}
(gdb) print *(GstBin *)0x1ad0f3d8
$6 = {element = {object = {object = {g_type_instance = {g_class = 0x24034b70}, 
ref_count = 2, qdata = 0x0}, refcount = 0, lock = 0x240cc818, 
name = 0x231f180 "pipeline", name_prefix = 0x0, parent = 0x0, 
flags = 34, _gst_reserved = 0x0}, state_lock = 0xfdbcb40, 
state_cond = 0x240f6c20, state_cookie = 1, 
current_state = GST_STATE_PAUSED, next_state = GST_STATE_PLAYING, 
pending_state = GST_STATE_PLAYING, last_return = GST_STATE_CHANGE_ASYNC, 
bus = 0x24034370, clock = 0x1ad47aa0, base_time = 431913378946, 
numpads = 0, pads = 0x0, numsrcpads = 0, srcpads = 0x0, numsinkpads = 0, 
sinkpads = 0x0, pads_cookie = 0, abidata = {ABI = {
target_state = GST_STATE_PLAYING, start_time = 0}, _gst_reserved = {
0x4, 0x0, 0x0, 0x0}}}, numchildren = 4, children = 0x240f3420, 
children_cookie = 4, child_bus = 0x240345f8, messages = 0x0, polling = 0, 
state_dirty = 0, clock_dirty = 0, provided_clock = 0x0, 
clock_provider = 0x0, priv = 0x1ad0f4c0, _gst_reserved = {0x0, 0x0, 0x0}}
(gdb)

-- 
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