[Bug 768249] New: rtspsrc lockup on gst_rtspsrc_stop
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jun 30 14:48:36 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=768249
Bug ID: 768249
Summary: rtspsrc lockup on gst_rtspsrc_stop
Classification: Platform
Product: GStreamer
Version: 1.8.2
OS: Linux
Status: NEW
Severity: major
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: torres.soldado at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I am getting a situation that is quite hard to reproduce which essentially
locks up a pipeline making it unrecoverable.
Thread 2 (Thread 27966.27968):
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007ff4d8c73b42 in __GI___pthread_mutex_lock (mutex=0x7ff4cc009420) at
../nptl/pthread_mutex_lock.c:116
#2 0x00007ff4dae463b0 in g_rec_mutex_lock (mutex=0x7ff4cc0199a8) at
.././../glib/gthread-posix.c:389
#3 0x00007ff4d025efa5 in gst_rtspsrc_stop (src=0x7ff4cc019820) at
../.././../gst/rtsp/gstrtspsrc.c:7717
#4 0x00007ff4d025f1e5 in gst_rtspsrc_change_state (element=0x7ff4cc019820,
transition=GST_STATE_CHANGE_READY_TO_NULL)
at ../.././../gst/rtsp/gstrtspsrc.c:7799
#5 0x00007ff4daa90325 in gst_element_change_state (element=0x7ff4cc019820,
transition=GST_STATE_CHANGE_READY_TO_NULL)
at .././../gst/gstelement.c:2648
#6 0x00007ff4daa900b5 in gst_element_set_state_func (element=0x7ff4cc019820,
state=GST_STATE_NULL) at .././../gst/gstelement.c:2602
#7 0x00007ff4daa8fcb1 in gst_element_set_state (element=0x7ff4cc019820,
state=GST_STATE_NULL) at .././../gst/gstelement.c:2503
#8 0x00007ff4daa60184 in gst_bin_element_set_state (bin=0x55bbf52890e0,
element=0x7ff4cc019820, base_time=159427228798363, start_time=0,
---Type <return> to continue, or q <return> to quit---
current=GST_STATE_READY, next=GST_STATE_NULL) at .././../gst/gstbin.c:2414
#9 0x00007ff4daa617f3 in gst_bin_change_state_func (element=0x55bbf52890e0,
transition=GST_STATE_CHANGE_READY_TO_NULL) at .././../gst/gstbin.c:2756
#10 0x00007ff4daa90325 in gst_element_change_state (element=0x55bbf52890e0,
transition=GST_STATE_CHANGE_READY_TO_NULL)
at .././../gst/gstelement.c:2648
#11 0x00007ff4daa900b5 in gst_element_set_state_func (element=0x55bbf52890e0,
state=GST_STATE_NULL) at .././../gst/gstelement.c:2602
#12 0x00007ff4daa8fcb1 in gst_element_set_state (element=0x55bbf52890e0,
state=GST_STATE_NULL) at .././../gst/gstelement.c:2503
#13 0x00007ff4daa60184 in gst_bin_element_set_state (bin=0x55bbf5364060,
element=0x55bbf52890e0, base_time=159427228798363, start_time=0,
current=GST_STATE_READY, next=GST_STATE_NULL) at .././../gst/gstbin.c:2414
#14 0x00007ff4daa617f3 in gst_bin_change_state_func (element=0x55bbf5364060,
transition=GST_STATE_CHANGE_READY_TO_NULL) at .././../gst/gstbin.c:2756
#15 0x00007ff4daabbf03 in gst_pipeline_change_state (element=0x55bbf5364060,
transition=GST_STATE_CHANGE_READY_TO_NULL)
at .././../gst/gstpipeline.c:499
#16 0x00007ff4daa90325 in gst_element_change_state (element=0x55bbf5364060,
transition=GST_STATE_CHANGE_READY_TO_NULL)
at .././../gst/gstelement.c:2648
#17 0x00007ff4daa8f872 in gst_element_continue_state (element=0x55bbf5364060,
ret=GST_STATE_CHANGE_SUCCESS) at .././../gst/gstelement.c:2356
#18 0x00007ff4daa906a1 in gst_element_change_state (element=0x55bbf5364060,
transition=GST_STATE_CHANGE_PAUSED_TO_READY)
at .././../gst/gstelement.c:2687
#19 0x00007ff4daa8f872 in gst_element_continue_state (element=0x55bbf5364060,
ret=GST_STATE_CHANGE_NO_PREROLL) at .././../gst/gstelement.c:2356
#20 0x00007ff4daa9070c in gst_element_change_state (element=0x55bbf5364060,
transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED)
at .././../gst/gstelement.c:2694
#21 0x00007ff4daa900b5 in gst_element_set_state_func (element=0x55bbf5364060,
state=GST_STATE_NULL) at .././../gst/gstelement.c:2602
#22 0x00007ff4daa8fcb1 in gst_element_set_state (element=0x55bbf5364060,
state=GST_STATE_NULL) at .././../gst/gstelement.c:2503
Thread 74 (Thread 27966.587):
#0 0x00007ff4d916b15d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ff4dae0429d in g_poll (fds=0x7ff4837fc760, nfds=1, timeout=-1) at
.././../glib/gpoll.c:124
---Type <return> to continue, or q <return> to quit---
#2 0x00007ff4d32878f2 in g_socket_condition_timed_wait (socket=0x7ff458005fa0,
condition=G_IO_IN, timeout=-1, cancellable=0x0,
error=0x7ff4837fca90) at .././../gio/gsocket.c:3933
#3 0x00007ff4d3286601 in block_on_timeout (socket=0x7ff458005fa0,
condition=G_IO_IN, timeout=-1, start_time=159537370737, cancellable=0x0,
error=0x7ff4837fca90) at .././../gio/gsocket.c:2758
#4 0x00007ff4d32867c0 in g_socket_receive_with_timeout (socket=0x7ff458005fa0,
buffer=0x7ff4837fcb38 "", size=1, timeout=-1, cancellable=0x0,
error=0x7ff4837fca90) at .././../gio/gsocket.c:2806
#5 0x00007ff4d328693f in g_socket_receive_with_blocking
(socket=0x7ff458005fa0, buffer=0x7ff4837fcb38 "", size=1, blocking=1,
cancellable=0x0,
error=0x7ff4837fca90) at .././../gio/gsocket.c:2905
#6 0x00007ff4d328fc77 in g_socket_input_stream_read (stream=0x7ff464395ad0,
buffer=0x7ff4837fcb38, count=1, cancellable=0x0, error=0x7ff4837fca90)
at .././../gio/gsocketinputstream.c:126
#7 0x00007ff4d326242c in g_input_stream_read (stream=0x7ff464395ad0,
buffer=0x7ff4837fcb38, count=1, cancellable=0x0, error=0x7ff4837fca90)
at .././../gio/ginputstream.c:198
#8 0x00007ff4d26de52b in fill_raw_bytes (conn=0x7ff4640a6800,
buffer=0x7ff4837fcb38 "", size=1, block=1, err=0x7ff4837fca90)
at ../../.././../gst-libs/gst/rtsp/gstrtspconnection.c:1237
#9 0x00007ff4d26de6e8 in fill_bytes (conn=0x7ff4640a6800,
buffer=0x7ff4837fcb38 "", size=1, block=1, err=0x7ff4837fca90)
at ../../.././../gst-libs/gst/rtsp/gstrtspconnection.c:1296
#10 0x00007ff4d26de769 in read_bytes (conn=0x7ff4640a6800,
buffer=0x7ff4837fcb38 "", idx=0x7ff4837fdb38, size=1, block=1)
at ../../.././../gst-libs/gst/rtsp/gstrtspconnection.c:1316
#11 0x00007ff4d26dfbb0 in build_next (builder=0x7ff4837fcb30,
message=0x7ff4837fdbe0, conn=0x7ff4640a6800, block=1)
at ../../.././../gst-libs/gst/rtsp/gstrtspconnection.c:1981
#12 0x00007ff4d26e05f3 in gst_rtsp_connection_receive (conn=0x7ff4640a6800,
message=0x7ff4837fdbe0, timeout=0x7ff4837fdbd0)
at ../../.././../gst-libs/gst/rtsp/gstrtspconnection.c:2285
#13 0x00007ff4d024b946 in gst_rtspsrc_connection_receive (src=0x7ff4cc019820,
conn=0x7ff4640a6800, message=0x7ff4837fdbe0, timeout=0x7ff4837fdbd0)
at ../.././../gst/rtsp/gstrtspsrc.c:2042
#14 0x00007ff4d0254379 in gst_rtspsrc_loop_udp (src=0x7ff4cc019820) at
../.././../gst/rtsp/gstrtspsrc.c:4702
#15 0x00007ff4d0255f7a in gst_rtspsrc_loop (src=0x7ff4cc019820) at
../.././../gst/rtsp/gstrtspsrc.c:5057
#16 0x00007ff4d025ecf4 in gst_rtspsrc_thread (src=0x7ff4cc019820) at
../.././../gst/rtsp/gstrtspsrc.c:7650
#17 0x00007ff4daaec884 in gst_task_func (task=0x7ff4640a8b90) at
.././../gst/gsttask.c:332
#18 0x00007ff4daaeda38 in default_func (tdata=0x7ff464053cc0,
pool=0x55bbf5120b10) at .././../gst/gsttaskpool.c:68
#19 0x00007ff4dae20e7a in g_thread_pool_thread_proxy (data=0x55bbf516c0c0) at
.././../glib/gthreadpool.c:307
#20 0x00007ff4dae208a0 in g_thread_proxy (data=0x7ff465518b70) at
.././../glib/gthread.c:780
#21 0x00007ff4d8c71434 in start_thread (arg=0x7ff4837fe700) at
pthread_create.c:334
#22 0x00007ff4d91740fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
--
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