[FFmpeg-trac] #6463(undetermined:new): av_interleaved_write_frame(): Cannot allocate memory

FFmpeg trac at avcodec.org
Fri Mar 15 04:54:17 EET 2019


#6463: av_interleaved_write_frame(): Cannot allocate memory
-------------------------------------+-------------------------------------
             Reporter:  epollia      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by scanlime):

 Replying to [comment:22 cehoyos]:
 > Looks unrelated to me.
 >
 > Please confirm that the issue is also reproducible with a default
 compilation (`./configure && make`), please provide the command line you
 used (yes, I could guess it but that would really simplify understanding
 the issue) and confirm that this is a 64bit binary.
 > massif output may help.

 Ok, I'll try that, thanks. The command was:

 ffmpeg -i /mnt/podcaster/2019-02-28_15-04-50.mkv -c:v copy -c:a copy
 /filebox/shares/vidbox/lapser/auto/temp-mnt-
 podcaster-2019-02-28_15-04-50-remux.mp4

 And I've also tried it with -loglevel trace but that didn't include
 anything additional and relevant. It's also segfaulting while trying to
 write the moov after the original error.

 {{{
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  build_chunks (trk=0x5559f0ae59d0) at libavformat/movenc.c:3858
 3858        uint64_t chunkSize = chunk->size;
 (gdb) bt
 #0  build_chunks (trk=0x5559f0ae59d0) at libavformat/movenc.c:3858
 #1  mov_write_moov_tag (pb=pb at entry=0x5559f0ae8440, mov=0x5559f0ae3180,
 s=0x5559f0b44e00) at libavformat/movenc.c:3940
 #2  0x00005559ec95e5f3 in mov_write_trailer (s=0x5559f0b44e00) at
 libavformat/movenc.c:6730
 #3  0x00005559ec97c4e4 in av_write_trailer (s=0x5559f0b44e00) at
 libavformat/mux.c:1276
 #4  0x00005559ec70a3a6 in transcode () at fftools/ffmpeg.c:4723
 #5  0x00005559ec6e5a35 in main (argc=<optimized out>, argv=0x7ffd33a70308)
 at fftools/ffmpeg.c:4891
 (gdb) p chunk
 $1 = (MOVIentry *) 0x0
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6463#comment:23>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list