[FFmpeg-trac] #1231(undetermined:new): ffplay access violation

FFmpeg trac at avcodec.org
Thu Apr 19 21:44:15 CEST 2012


#1231: ffplay access violation
-------------------------------------+-------------------------------------
             Reporter:  ronag        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  win64        |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ronag):

 I've tried to reproduce it in VS2010 using the ffmpeg libraries:
 I can also get the w64 build to crash with the following.


 {{{
 while(true)
 {
     AVFormatContext* ic = nullptr;
     avformat_open_input(&ic, "M:\\t.mp4", nullptr, nullptr);
     avformat_find_stream_info(ic, nullptr);
     avformat_close_input(&ic);
     Sleep(1000);
 }
 }}}


 Which crashes. It is interesting that it crashes on vmovaps, since I just
 recently upgraded to a Sandy Bridge cpu with AVX instructions.
 ----------------------------------------------

 {{{
 avcodec-54.dll!000000006a5b7ef0()
 [Frames below may be incorrect and/or missing, no symbols loaded for
 avcodec-54.dll]
 avcodec-54.dll!000000006a5b8035()
 avcodec-54.dll!000000006a5b8e95()
 avcodec-54.dll!000000006a5b8ed5()
 avcodec-54.dll!000000006a5b8f15()
 avcodec-54.dll!000000006a5b8f55()
 avcodec-54.dll!000000006a5badf6()
 avcodec-54.dll!000000006b381fa0()
 }}}

 --------------------------------------------

 {{{
 000000006A5B7EF0  vmovaps     ymm2,ymmword ptr [rcx+40h]  <-- Access
 violation reading location 0xffffffffffffffff.
 000000006A5B7EF5  vmovaps     ymm3,ymmword ptr [rcx+60h]
 000000006A5B7EFA  vsubps      ymm7,ymm2,ymm3
 000000006A5B7EFE  vaddps      ymm2,ymm2,ymm3
 000000006A5B7F02  vxorps      ymm7,ymm7,ymmword ptr [6ADEA300h]
 000000006A5B7F0A  vshufps     ymm3,ymm2,ymm7,0BEh
 000000006A5B7F0F  vshufps     ymm2,ymm2,ymm7,44h
 000000006A5B7F14  vsubps      ymm7,ymm2,ymm3
 000000006A5B7F18  vaddps      ymm2,ymm2,ymm3
 000000006A5B7F1C  vshufps     ymm3,ymm2,ymm7,0DDh
 000000006A5B7F21  vshufps     ymm2,ymm2,ymm7,88h
 }}}

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


More information about the FFmpeg-trac mailing list