[FFmpeg-trac] #7492(avfilter:new): ffmpeg crashes when using autothreading (-threads 0)

FFmpeg trac at avcodec.org
Mon Oct 15 11:35:52 EEST 2018


#7492: ffmpeg crashes when using autothreading (-threads 0)
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  ofarrnbacher                       |                 Priority:  normal
               Status:  new          |                  Version:
            Component:  avfilter     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
 % ffmpeg -threads 0 -i input output
 ffmpeg version n4.0.2
 built on Ubuntu 16.04.5 LTS
 }}}

 Results in:
 Error while filtering: Cannot allocate memory
 11800 Failed to inject frame into filter network: Cannot allocate memory

 If I set -threads to e.g. 8 then it works.

 Happens everytime on Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz

 Does NOT happen on Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7492>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list