[FFmpeg-trac] #2288(undetermined:new): Decoding with h264_vda crashes ffplay

FFmpeg trac at avcodec.org
Wed Feb 20 21:41:00 CET 2013


#2288: Decoding with h264_vda crashes ffplay
-------------------------------------+-------------------------------------
             Reporter:  gjdfgh       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  crash        |               Resolution:
  SIGSEGV vda regression h264        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by pigoz):

 I ran some tests which hopefully will help with this.

 This is the BT I'm getting:

 {{{
 [Switching to process 64824 thread 0xad03]
 0x00007fff8e4b412b in memset ()
 (gdb) bt
 #0  0x00007fff8e4b412b in memset ()
 #1  0x00000001004bf44b in avpriv_color_frame (frame=0x103042e00,
 c=0x10977e760) at _string.h:83
 }}}

 git bisect shows this
 {{{
 dece584a639c9fd61a72e21800815e8397b3b617 is the first bad commit
 commit dece584a639c9fd61a72e21800815e8397b3b617
 Author: Michael Niedermayer <michaelni at gmx.at>
 Date:   Sun Feb 17 20:41:16 2013 +0100

     h264: avoid calling get_format() multiple times

     Some applications do not like that.
     Fixes VDA
     Reduces noise for VDPAU

     Tested-by: Guillaume POIRIER <poirierg at gmail.com>
     Tested-by: Carl Eugen Hoyos <cehoyos at ag.or.at>
     Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
 }}}

 By the way, even on good commits I ged a LOT of spam from ffplay in this
 form. That's probably for another bug though.
 {{{
 [h264_vda @ 0x7f8e21830a00] Reinit context to 1920x832, pix_fmt: 81
 [h264_vda @ 0x7f8e21830a00] Missing reference picture, default is 0
 [h264_vda @ 0x7f8e21830a00] decode_slice_header error
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2288#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list