[Bug 692358] appsrc crash setting the pipeline to NULL state

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 23 07:31:10 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=692358
  GStreamer | gst-plugins-base | unspecified

--- Comment #4 from Nicola <lists at svrinformatica.it> 2013-01-23 15:31:01 UTC ---
(gdb) thread apply all bt

Thread 19 (Thread 0x7fffe550c700 (LWP 31040)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffff742282f in g_cond_wait (cond=0x849420, mutex=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#2  0x00007fffe8f2c335 in gst_queue_chain (pad=<optimized out>, 
    buffer=0x7fffdc107a80) at gstqueue.c:1014
#3  0x00007ffff7b4ef9a in gst_pad_push (pad=0x945200, buffer=0x7fffdc107a80)
    at gstpad.c:4715
#4  0x00007fffe8cd7542 in gst_matroska_demux_parse_blockgroup_or_simpleblock (
    demux=0x968350, ebml=<optimized out>, cluster_time=0, 
    cluster_offset=45805, is_simpleblock=-738184320) at matroska-demux.c:3681
#5  0x00007fffe8cdf534 in gst_matroska_demux_parse_id (demux=0x968350, id=163, 
    length=<optimized out>, needed=3) at matroska-demux.c:4323
#6  0x00007fffe8ce35b7 in gst_matroska_demux_loop (pad=<optimized out>)
    at matroska-demux.c:4477
#7  0x00007ffff7b75adc in gst_task_func (task=0x95f340) at gsttask.c:328
#8  0x00007ffff7409248 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#9  0x00007ffff74089e5 in g_thread_proxy (data=0x7fffc00145e0)
    at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#10 0x00007ffff672ce9a in start_thread (arg=0x7fffe550c700)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:308
#11 0x00007ffff5f43cbd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7fffe5d0d700 (LWP 31039)):
#0  __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132
#1  0x00007ffff6730e76 in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:287
#2  0x00007ffff742282f in g_cond_wait (cond=0x868c80, mutex=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:746
#3  0x00007ffff78e7bca in gst_app_src_push_buffer_full (appsrc=0x948400, 
    buffer=0x7fffc00b83f0, steal_ref=1) at gstappsrc.c:1476
#4  0x0000000000425e18 in MediaSender::pushVideoBuffer(_GstBuffer*) ()
#5  0x0000000000420e74 in MediaReader::handle_new_video_buffer(_GstAppSink*,
void*) ()
#6  0x00007ffff78e9a2a in gst_app_sink_render_common (psink=0x6f6010, 
    data=0x7fffc8087dd0, is_list=0) at gstappsink.c:795
#7  0x00007ffff4fb4cb6 in gst_base_sink_render_object (basesink=0x6f6010, 
    obj_type=<optimized out>, obj=0x7fffc8087dd0, pad=<optimized out>)
    at gstbasesink.c:3012
#8  0x00007ffff4fb7c3f in gst_base_sink_queue_object_unlocked (
---Type <return> to continue, or q <return> to quit---
    basesink=0x6f6010, obj_type=2 '\002', obj=0x7fffc8087dd0, 
    prerollable=<optimized out>, pad=<optimized out>) at gstbasesink.c:3293
#9  0x00007ffff4fb7f97 in gst_base_sink_chain_unlocked (basesink=0x6f6010, 
    obj_type=2 '\002', obj=0x7fffc8087dd0, pad=<optimized out>)
    at gstbasesink.c:3675
#10 0x00007ffff4fb83a8 in gst_base_sink_chain_main (basesink=0x6f6010, 
    pad=0x96a030, obj_type=2 '\002', obj=0x7fffc8087dd0) at gstbasesink.c:3713
#11 0x00007ffff7b4ef9a in gst_pad_push (pad=0x6f47b0, buffer=0x7fffc8087dd0)
    at gstpad.c:4715
#12 0x00007ffff4fa888d in gst_base_parse_push_frame (parse=0x970000, 
    frame=0x970da8) at gstbaseparse.c:1967
#13 0x00007ffff4fa9e02 in gst_base_parse_chain (pad=<optimized out>, 
    buffer=0x7fffc8087dd0) at gstbaseparse.c:2303
#14 0x00007fffe6df669e in gst_h264_parse_chain (pad=0x945080, 
    buffer=0x7fffc8087dd0) at gsth264parse.c:1948
#15 0x00007ffff7b4ef9a in gst_pad_push (pad=0x7fffc00131a0, 
    buffer=0x7fffc8087dd0) at gstpad.c:4715
#16 0x00007fffe8f2baf7 in gst_queue_push_one (queue=0x94e340)
    at gstqueue.c:1156
#17 gst_queue_loop (pad=<optimized out>) at gstqueue.c:1264
#18 0x00007ffff7b75adc in gst_task_func (task=0x95f640) at gsttask.c:328
#19 0x00007ffff7409248 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
---Type <return> to continue, or q <return> to quit---
#20 0x00007ffff74089e5 in g_thread_proxy (data=0x7fffc0014680)
    at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#21 0x00007ffff672ce9a in start_thread (arg=0x7fffe5d0d700)
    at pthread_create.c:308
#22 0x00007ffff5f43cbd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fc9740 (LWP 30953)):
#0  __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:132
#1  0x00007ffff672f09b in _L_lock_1006 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff672f01c in __pthread_mutex_lock (mutex=0x6f6b60)
    at pthread_mutex_lock.c:101
#3  0x00007ffff74225a1 in g_mutex_lock (mutex=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:208
#4  0x00007ffff4fb122d in gst_base_sink_change_state (element=0x6f6010, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstbasesink.c:5099
#5  0x00007ffff7b3290c in gst_element_change_state (element=0x6f6010, 
    transition=<optimized out>) at gstelement.c:2782
#6  0x00007ffff7b33230 in gst_element_set_state_func (element=0x6f6010, 
    state=GST_STATE_PAUSED) at gstelement.c:2738
---Type <return> to continue, or q <return> to quit---
#7  0x00007ffff7b1fc89 in gst_bin_element_set_state (next=GST_STATE_PAUSED, 
    current=GST_STATE_PLAYING, start_time=1528171009, 
    base_time=29372607755628, element=0x6f6010, bin=0x9411f0) at gstbin.c:2273
#8  gst_bin_change_state_func (element=0x9411f0, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstbin.c:2579
#9  0x00007ffff7b526f2 in gst_pipeline_change_state (element=0x9411f0, 
    transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstpipeline.c:484
#10 0x00007ffff7b3290c in gst_element_change_state (element=0x9411f0, 
    transition=<optimized out>) at gstelement.c:2782
#11 0x00007ffff7b33230 in gst_element_set_state_func (element=0x9411f0, 
    state=GST_STATE_NULL) at gstelement.c:2738
#12 0x0000000000419b88 in MediaReader::cleanReader(bool, bool) ()
#13 0x000000000042c4af in TaskWorker::onSenderError() ()
#14 0x000000000043480d in TaskWorker::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) ()
#15 0x00007ffff6ad1281 in QMetaObject::activate (sender=0x9589c0, 
    m=<optimized out>, local_signal_index=<optimized out>, argv=0x0)
    at kernel/qobject.cpp:3547
#16 0x0000000000426388 in MediaSender::cleanMedia(bool) ()
#17 0x0000000000427d4e in MediaSender::on_message(_GstBus*, _GstMessage*,
MediaSender*) ()
#18 0x00007ffff7b24074 in gst_bus_source_dispatch (source=0x6f1180, 
    callback=0x426b80 <MediaSender::on_message(_GstBus*, _GstMessage*,
MediaSend---Type <return> to continue, or q <return> to quit---
er*)>, user_data=0x9589c0) at gstbus.c:764
#19 0x00007ffff73e6d53 in g_main_dispatch (context=0x918f00)
    at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#20 g_main_context_dispatch (context=0x918f00)
    at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#21 0x00007ffff73e70a0 in g_main_context_iterate (dispatch=1, 
    block=<optimized out>, context=0x918f00, self=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#22 g_main_context_iterate (context=0x918f00, block=<optimized out>, 
    dispatch=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#23 0x00007ffff73e7164 in g_main_context_iteration (context=0x918f00, 
    may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#24 0x00007ffff6aec3bf in QEventDispatcherGlib::processEvents (this=0x64f540, 
    flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007ffff6abbc82 in QEventLoop::processEvents (this=<optimized out>, 
    flags=...) at kernel/qeventloop.cpp:149
#26 0x00007ffff6abbed7 in QEventLoop::exec (this=0x7fffffffc120, flags=...)
    at kernel/qeventloop.cpp:204
#27 0x00007ffff6ac0f67 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:1148
#28 0x0000000000407ac4 in main ()

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