Bug#860248: librtmp1 built against GNUTLS results in Segfault when streaming to sources that use username and password authentication

2017-04-14 Thread James Cowgill
Hi,

On 13/04/17 14:53, Ken Rice wrote:
> Package: librtmp1
> Version: 2.4+20151223.gitfa8646d.1-1
> Severity: important
> 
> Dear Maintainer,
> 
> Compiling librtmp1 against GNUTLS results in a segfault in the library.
> 
> simple Test to duplicate
> avconv -i /PATH/TO/MEDIA.mp4 -f flv -c:a libvo_aacenc
> 'rtmp://URL.FOR.STREAM/MOUNT/POINT pubUser=USERNAME pubPasswd=PASSWORD
> flashver=FMLE/3.0'

Do you have a backtrace for this? How do you know librtmp is to blame
and not gnutls (or any other library)?

I assume that to reproduce this will require setting up some rtmp server
which requires authentication. Are there any existing servers this could
be tested against to avoid having to do that?

Note your test case won't work on stretch because ffmpeg doesn't use
librtmp anymore.

Thanks,
James



Bug#860248: librtmp1 built against GNUTLS results in Segfault when streaming to sources that use username and password authentication

2017-04-13 Thread Ken Rice
Package: librtmp1
Version: 2.4+20151223.gitfa8646d.1-1
Severity: important

Dear Maintainer,

Compiling librtmp1 against GNUTLS results in a segfault in the library.

simple Test to duplicate
avconv -i /PATH/TO/MEDIA.mp4 -f flv -c:a libvo_aacenc
'rtmp://URL.FOR.STREAM/MOUNT/POINT pubUser=USERNAME pubPasswd=PASSWORD
flashver=FMLE/3.0'

but only shows up when in debian/rulesi
MAKEVARS= includes CRYPTO=GNUTLS
changing to CRYPTO=OPENSSL fixes the issue.

This is valid on current packages in Jessie and Sid



-- System Information:
Debian Release: 8.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages librtmp1 depends on:
ii  libc62.19-18+deb8u7
ii  libssl1.0.0  1.0.1t-1+deb8u6
ii  zlib1g   1:1.2.8.dfsg-2+b1

librtmp1 recommends no packages.

librtmp1 suggests no packages.

-- no debconf information