[rtmpdump] Core dump in rtmpsrv

NhJm nhjm449 at gmail.com
Tue May 8 23:48:03 CEST 2012


I don't know what you're trying to do (rtmpsrv is a simple RTMP server that
uses the parameters it receives to call rtmpdump), but it should *not* be
segfaulting.

With the values in your backtrace (av = {av_val = 0x0, av_len = 0}), I
don't know how
          for (p=av.av_val+av.av_len-1; p>=av.av_val; p--)
            if (*p == '/')
is even getting to the if statement. (Of course, the playpath ("av") also
shouldn't be pointing to null!)

Trying to play rtmp://127.0.0.1:1935 sounds like a good way to start an
infinite loop, though.

On Tue, May 8, 2012 at 4:18 PM, Juan Castro <jcastro at instant.com.br> wrote:

> On Tue, May 8, 2012 at 6:11 PM, Steven Penny <svnpenn at gmail.com> wrote:
> > Juan Castro wrote:
> >> Freshly checked from git.
> >>
> >> - Run rtmpsrv;
> >>
> >> - In other window, run "mplayer rtmp://127.0.0.1:1935"
> >
> > You should be piping it to mplayer / VLC
> >
> > rtmpdump -r "asdf" -a "asdf" -y "asdf" -W "asdf" | mplayer -
> > rtmpdump -r "asdf" -a "asdf" -y "asdf" -W "asdf" | VLC -
>
> I'll study more how to use it, but one way or another it shouldn't
> core dump, right?
>
> I don't know what to put in place of "asdf" to test rtmpsrv. Maybe I
> should head to that other web forum. :(
>
> Regards.
> Juan
> _______________________________________________
> rtmpdump mailing list
> rtmpdump at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20120508/f55ef3cf/attachment.html>


More information about the rtmpdump mailing list