[Bug 762870] rtspsrc crash

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 29 13:32:02 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762870

--- Comment #3 from Nicola <lists at svrinformatica.it> ---
it is not easy to trigger, here is the output from gdb from the whole pipeline

Thread 1 "lt-gst-launch-1" received signal SIGABRT, Aborted.
0x00007ffff66af2a8 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff66af2a8 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff66b072a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff66eb369 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007ffff66f0d96 in malloc_printerr () from /usr/lib/libc.so.6
#4  0x0000000000404f94 in event_loop (pipeline=0x850080,
blocking=blocking at entry=1, do_progress=do_progress at entry=0, 
    target_state=target_state at entry=GST_STATE_PLAYING) at gst-launch.c:673
#5  0x0000000000403824 in main (argc=12, argv=0x7fffffffbd18) at
gst-launch.c:1115

(gdb) thread apply all bt

Thread 12 (Thread 0x7fffe0ff9700 (LWP 13098)):
#0  0x00007ffff675f7f9 in syscall () from /usr/lib/libc.so.6
#1  0x00007ffff70d48aa in g_cond_wait_until () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff7064a19 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff70b7106 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fffe17fa700 (LWP 13096)):
#0  0x00007ffff675f7f9 in syscall () from /usr/lib/libc.so.6
#1  0x00007ffff70d478f in g_cond_wait () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff7b4ef8d in gst_task_func (task=0x813950) at gsttask.c:317
#3  0x00007ffff70b712e in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fffe1ffb700 (LWP 13095)):
#0  0x00007ffff675f7f9 in syscall () from /usr/lib/libc.so.6
#1  0x00007ffff70d478f in g_cond_wait () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff022a34e in wait_next_timeout (jitterbuffer=0x7fffec0546a0) at
gstrtpjitterbuffer.c:3520
#3  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fffe27fc700 (LWP 13094)):
#0  0x00007ffff675f7f9 in syscall () from /usr/lib/libc.so.6
#1  0x00007ffff70d478f in g_cond_wait () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff0229a2f in gst_rtp_jitter_buffer_loop
(jitterbuffer=0x7fffec0542d0) at gstrtpjitterbuffer.c:3548
#3  0x00007ffff7b4ee01 in gst_task_func (task=0x813710) at gsttask.c:332
#4  0x00007ffff70b712e in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fffe2ffd700 (LWP 13093)):
#0  0x00007ffff675f7f9 in syscall () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x00007ffff70d478f in g_cond_wait () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff022a34e in wait_next_timeout (jitterbuffer=0x7fffec0542d0) at
gstrtpjitterbuffer.c:3520
#3  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffe37fe700 (LWP 13092)):
#0  0x00007ffff675ad01 in ppoll () from /usr/lib/libc.so.6
#1  0x00007ffff7b320e6 in gst_poll_wait (set=0x7fffec02e800,
timeout=timeout at entry=2691218508) at gstpoll.c:1248
#2  0x00007ffff7b47fb1 in gst_system_clock_id_wait_jitter_unlocked
(clock=0x7fffec038160, entry=0x7fffd8001ab0, jitter=<optimized out>, 
    restart=1) at gstsystemclock.c:739
#3  0x00007ffff7af764b in gst_clock_id_wait (id=id at entry=0x7fffd8001ab0,
jitter=jitter at entry=0x0) at gstclock.c:548
#4  0x00007ffff02480f1 in rtcp_thread (rtpsession=0x7fffec0361b0) at
gstrtpsession.c:1124
#5  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffe3fff700 (LWP 13091)):
#0  0x00007ffff675ad01 in ppoll () from /usr/lib/libc.so.6
#1  0x00007ffff7b320e6 in gst_poll_wait (set=0x7fffec02e800,
timeout=timeout at entry=2669212336) at gstpoll.c:1248
#2  0x00007ffff7b47fb1 in gst_system_clock_id_wait_jitter_unlocked
(clock=0x7fffec038160, entry=0x7fffec0351f0, jitter=<optimized out>, 
    restart=1) at gstsystemclock.c:739
#3  0x00007ffff7af764b in gst_clock_id_wait (id=id at entry=0x7fffec0351f0,
jitter=jitter at entry=0x0) at gstclock.c:548
#4  0x00007ffff02480f1 in rtcp_thread (rtpsession=0x7fffec036460) at
gstrtpsession.c:1124
#5  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7ffff0c63700 (LWP 13090)):
#0  0x00007ffff675ac3d in poll () from /usr/lib/libc.so.6
#1  0x00007ffff708ff7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff7090302 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff5048186 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7ffff1464700 (LWP 13089)):
#0  0x00007ffff675ac3d in poll () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x00007ffff708ff7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff709008c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007ffff146c25d in ?? () from /usr/lib/gio/modules/libdconfsettings.so
#4  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7ffff2a3a700 (LWP 13088)):
#0  0x00007ffff675ac3d in poll () from /usr/lib/libc.so.6
#1  0x00007ffff708ff7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff709008c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007ffff70900c9 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffff323b700 (LWP 13087)):
#0  0x00007ffff675ac3d in poll () from /usr/lib/libc.so.6
#1  0x00007ffff4fdee25 in g_socket_condition_timed_wait () from
/usr/lib/libgio-2.0.so.0
#2  0x00007ffff4fdf26a in g_socket_receive_with_blocking () from
/usr/lib/libgio-2.0.so.0
#3  0x00007ffff4fc6552 in g_input_stream_read () from /usr/lib/libgio-2.0.so.0
#4  0x00007ffff5ba006c in fill_raw_bytes (conn=conn at entry=0x7fffec001800,
buffer=buffer at entry=0x7ffff3239d68 "", size=size at entry=1, 
    block=block at entry=1, err=err at entry=0x7ffff3239c68) at
gstrtspconnection.c:1237
#5  0x00007ffff5ba02fa in fill_bytes (err=0x7ffff3239c68, block=1, size=1,
buffer=0x7ffff3239d68 "", conn=0x7fffec001800)
    at gstrtspconnection.c:1296
#6  read_bytes (conn=conn at entry=0x7fffec001800,
buffer=buffer at entry=0x7ffff3239d68 "", idx=idx at entry=0x7ffff323ad68,
size=size at entry=1, 
    block=block at entry=1) at gstrtspconnection.c:1316
#7  0x00007ffff5ba102e in build_next (builder=builder at entry=0x7ffff3239d60,
message=message at entry=0x7ffff323adf0, 
    conn=conn at entry=0x7fffec001800, block=block at entry=1) at
gstrtspconnection.c:1981
#8  0x00007ffff5ba2bea in gst_rtsp_connection_receive (conn=0x7fffec001800,
message=message at entry=0x7ffff323adf0, timeout=0x8092a8)
    at gstrtspconnection.c:2285
#9  0x00007ffff5dca21f in gst_rtspsrc_connection_receive (src=0x809020,
timeout=<optimized out>, message=0x7ffff323adf0, 
    conn=<optimized out>) at gstrtspsrc.c:2034
#10 gst_rtspsrc_loop_interleaved (src=0x809020) at gstrtspsrc.c:4530
#11 gst_rtspsrc_loop (src=0x809020) at gstrtspsrc.c:5003
#12 gst_rtspsrc_thread (src=0x809020) at gstrtspsrc.c:7595
#13 0x00007ffff7b4ee01 in gst_task_func (task=0x813170) at gsttask.c:332
#14 0x00007ffff70b712e in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff70b6795 in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff6a24424 in start_thread () from /usr/lib/libpthread.so.0
#17 0x00007ffff6763cbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7fba700 (LWP 13086)):
#0  0x00007ffff66af2a8 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff66b072a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff66eb369 in __libc_message () from /usr/lib/libc.so.6
#3  0x00007ffff66f0d96 in malloc_printerr () from /usr/lib/libc.so.6
#4  0x0000000000404f94 in event_loop (pipeline=0x850080,
blocking=blocking at entry=1, do_progress=do_progress at entry=0, 
    target_state=target_state at entry=GST_STATE_PLAYING) at gst-launch.c:673
#5  0x0000000000403824 in main (argc=12, argv=0x7fffffffbd18) at
gst-launch.c:1115

a quick look at the backtrace seems to show that rtpjpegdepay and onvifparse
are not doing anything bad when gst-launch crash

however I'll do some more tests and eventually I'll provide a better report as
soon as I have some spare time,

thanks!

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