[FFmpeg-trac] #11592(avcodec:open): [Regression] VP3 Theora decoding crash with threads >= 3 (was: vp3 crash when using threading)

FFmpeg trac at avcodec.org
Fri May 16 16:05:54 EEST 2025


#11592: [Regression] VP3 Theora decoding crash with threads >= 3
-------------------------------------+-------------------------------------
             Reporter:  Mika         |                    Owner:  (none)
  Fischer                            |
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  theora       |               Blocked By:
  SIGSEGV                            |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by MasterQuestionable):

 * analyzed:  0 => 1
 * cc: MasterQuestionable (added)
 * keywords:  vp3, crash, SIGSEGV, regression => theora SIGSEGV
 * summary:  vp3 crash when using threading => [Regression] VP3 Theora
     decoding crash with threads >= 3

Comment:

 ͏    @ 2024-08-12T12:42:20Z
 ͏    lavc: convert frame threading to the receive_frame() pattern
 https://github.com/FFmpeg/FFmpeg/commit/5acbdd2264d3b90dc11369f9e031e762f260882e
 ͏    “Reorganize the code such that the frame threading code does not call
 the decoders directly:
 ͏    But instead calls back into the generic decoding code.

 ͏    This avoids duplicating the logic that wraps the decoder invocation.
 ͏    And allows "receive_frame"-based decoders to use frame threading.”

 ͏
 https://github.com/chromium/chromium/raw/main/media/test/data/blackwhite_yuv444p.ogv
 ͏    (4,921 B; Ogg: VP3 Theora video, 0.04 s, 25 FPS, 240x240, YUV 4:4:4,
 1,520 B; ... 3,401 B)

 ͏    `ffmpeg -v trace -nostdin -nostats -threads 3 -stream_loop 1 -i
 "blackwhite_yuv444p.ogv" -c copy -f null -`
 ͏    ; where "-threads" >= 3.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11592#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list