[Bug 765027] New: critical warning in rtspsrc when doing srtp
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Apr 14 01:26:49 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765027
Bug ID: 765027
Summary: critical warning in rtspsrc when doing srtp
Classification: Platform
Product: GStreamer
Version: 1.8.0
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: aconchillo at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Problem is that default_srtcp_params only fills "srtcp-cipher" and "srtcp-auth"
in the caps. gst_mikey_message_new_from_caps requires srtp and srtcp both to be
filled.
Can easily test with:
gst-rtsp-server/examples/test-video (after defining WITH_AUTH and WITH_TLS).
And a client pipeline with:
gst-launch-1.0 rtspsrc location=rtsps://user:password@127.0.0.1:8554/test
tls-validation-flags=0 ! fakesink silent=false
These are the error:
** (gst-launch-1.0:10695): CRITICAL **: gst_rtsp_message_take_header: assertion
'value != NULL' failed
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffff335b700 (LWP 10700)]
0x00007ffff7563830 in _g_log_abort (breakpoint=1) at gmessages.c:324
324 gmessages.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7563830 in _g_log_abort (breakpoint=1) at gmessages.c:324
#1 g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=<optimized
out>, args=args at entry=0x7ffff335a910) at gmessages.c:1081
#2 0x00007ffff756399f in g_log (log_domain=log_domain at entry=0x0,
log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
format=format at entry=0x7ffff75e222d "%s: assertion '%s' failed") at
gmessages.c:1119
#3 0x00007ffff75639d9 in g_return_if_fail_warning
(log_domain=log_domain at entry=0x0,
pretty_function=pretty_function at entry=0x7ffff5ae3670 <__func__.19534>
"gst_rtsp_message_take_header",
expression=expression at entry=0x7ffff5ae3132 "value != NULL") at
gmessages.c:1128
#4 0x00007ffff5ad9a55 in gst_rtsp_message_take_header
(msg=msg at entry=0x7ffff335aae0, field=field at entry=GST_RTSP_HDR_KEYMGMT,
value=value at entry=0x0)
at gstrtspmessage.c:518
#5 0x00007ffff5f1eff9 in gst_rtspsrc_setup_streams (src=src at entry=0x8fec20,
async=async at entry=1) at gstrtspsrc.c:6122
#6 0x00007ffff5f21152 in gst_rtspsrc_open_from_sdp (async=1, sdp=<optimized
out>, src=0x7fffec03d800) at gstrtspsrc.c:6598
#7 gst_rtspsrc_open (src=src at entry=0x8fec20, async=async at entry=1) at
gstrtspsrc.c:6810
#8 0x00007ffff5f25305 in gst_rtspsrc_thread (src=0x8fec20) at
gstrtspsrc.c:7583
#9 0x00007ffff7b50111 in gst_task_func (task=0x96c050) at gsttask.c:332
#10 0x00007ffff758c44c in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#11 0x00007ffff758bd35 in g_thread_proxy (data=0x7aee30) at gthread.c:778
#12 0x00007ffff72f06aa in start_thread (arg=0x7ffff335b700) at
pthread_create.c:333
#13 0x00007ffff7025e9d 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