[FFmpeg-trac] #6364(undetermined:new): ffmpeg is triggering an assertion and the assertion is causing a malloc corruption

FFmpeg trac at avcodec.org
Tue May 2 14:11:26 EEST 2017


#6364: ffmpeg is triggering an assertion and the assertion is causing a malloc
corruption
-------------------------------------+-------------------------------------
             Reporter:  crow         |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  backtrace    |               Resolution:
  crash coredump glibc               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Cigaes):

 It is hard to say who is responsible for what here. A few issues are yet
 obvious:

 - the libc is calling i18n functions from an assert failure handler, that
 is just stupid;

 - the crashing code is using {{{assert()}}} instead of {{{av_assert0()}}}.

 Now, neither of these is the cause of the bug itself. There are two
 possibilities:

 - either this is really a bug in FFmpeg;

 - or vdr is somehow corrupting the memory, and that later triggers the
 assertion failure.

 Anyway, it is not a part of the code that I know.

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


More information about the FFmpeg-trac mailing list