[FFmpeg-devel] [FFmpeg-cvslog] Merge commit '79331df362fb05a0d04ca9489c87e5b80077a3f4'

Michael Niedermayer michael at niedermayer.cc
Fri Oct 6 02:10:33 EEST 2017


On Wed, Oct 04, 2017 at 02:20:07AM +0000, James Almer wrote:
> ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Oct  3 23:08:06 2017 -0300| [1e7b6e47d2752a91bcd6d0c91ed2aaf118eaeee9] | committer: James Almer
> 
> Merge commit '79331df362fb05a0d04ca9489c87e5b80077a3f4'
> 
> * commit '79331df362fb05a0d04ca9489c87e5b80077a3f4':
>   rtsp: Lazily set up the pollfd array once
> 
> Merged-by: James Almer <jamrial at gmail.com>
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e7b6e47d2752a91bcd6d0c91ed2aaf118eaeee9
> ---
> 
>  libavformat/rtsp.c | 53 ++++++++++++++++++++++++++---------------------------
>  libavformat/rtsp.h |  1 +
>  2 files changed, 27 insertions(+), 27 deletions(-)

This breaks rtsp

example:
./ffmpeg -itsoffset 2 -re -i matrixbench_mpeg2.mpg -acodec libspeex -ar 16K -ac 1 -vn -t 3 -f rtp rtp://127.0.0.1:19745 > speex.sdp </dev/null & sleep 1 ; ./ffmpeg -protocol_whitelist file,rtp,udp -i speex.sdp -y -t 0.9 out.wav

segfaults but i think this is not specific to this one case


Program received signal SIGSEGV, Segmentation fault.
0x0000000000649110 in ffurl_read_complete (h=0x0, buf=0x7fffffff9f17 "", size=1) at libavformat/avio.c:414
414         if (!(h->flags & AVIO_FLAG_READ))
[Current thread is 1 (Thread 0x7ffff7f93800 (LWP 13134))]
(gdb) bt
Python Exception <type 'exceptions.ImportError'> No module named gdb.frames:
#0  0x0000000000649110 in ffurl_read_complete (h=0x0, buf=0x7fffffff9f17 "", size=1) at libavformat/avio.c:414
#1  0x000000000077243a in ff_rtsp_read_reply (s=0x2171640, reply=0x7fffffffbd50, content_ptr=0x0, return_on_interleaved_data=0, method=0x0) at libavformat/rtsp.c:1165
#2  0x000000000077511d in udp_read_packet (s=0x2171640, prtsp_st=0x7fffffffd8d0, buf=0x21a2600 "\200\341\002:\354\347^\301\220\362x\357\066\235m\232 \001\r\376\265\270\251`\340\260\350", <incomplete sequence \313>, buf_size=81920, wait_end=0) at libavformat/rtsp.c:1999
#3  0x000000000077547d in read_packet (s=0x2171640, rtsp_st=0x7fffffffd8d0, first_queue_st=0x0, wait_end=0) at libavformat/rtsp.c:2075
#4  0x00000000007758ba in ff_rtsp_fetch_packet (s=0x2171640, pkt=0x7fffffffda90) at libavformat/rtsp.c:2161
#5  0x00000000007ab592 in ff_read_packet (s=0x2171640, pkt=0x7fffffffda90) at libavformat/utils.c:816
#6  0x00000000007ae65c in read_frame_internal (s=0x2171640, pkt=0x7fffffffde90) at libavformat/utils.c:1518
#7  0x00000000007af674 in av_read_frame (s=0x2171640, pkt=0x7fffffffde90) at libavformat/utils.c:1722
#8  0x000000000043a7a1 in get_input_packet (f=0x2179140, pkt=0x7fffffffde90) at fftools/ffmpeg.c:4097
#9  0x000000000043abfd in process_input (file_index=0) at fftools/ffmpeg.c:4217
#10 0x000000000043c9ba in transcode_step () at fftools/ffmpeg.c:4553
#11 0x000000000043cb05 in transcode () at fftools/ffmpeg.c:4607
#12 0x000000000043d2e4 in main (argc=9, argv=0x7fffffffe3a8) at fftools/ffmpeg.c:4813
[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171006/f211c29a/attachment.sig>


More information about the ffmpeg-devel mailing list