[FFmpeg-trac] #407(avcodec:new): Crash in ff_put_pixels16_neon (EXC_BAD_ACCESS)

FFmpeg trac at avcodec.org
Sat Aug 20 12:51:06 CEST 2011

#407: Crash in ff_put_pixels16_neon (EXC_BAD_ACCESS)
Reporter:  redeemarr                |       Owner:
    Type:  defect                   |      Status:  new
Priority:  normal                   |   Component:  avcodec
 Version:  unspecified              |  Resolution:
Keywords:  Crash, Error resilience  |  Blocked By:
Blocking:                           |  Reproduced:  0
Analyzed:  0                        |

Comment (by reimar):

 Do you have a data dump that can be used to reproduce the issue?
 Do you know whether or not the crash also occurs when running on x86 or
 with NEON support disabled (or even just this specific function disabled)?
 Assuming it supports NEON, can you run this through valgrind?
 Alignment seems sufficient (actually vld1 seems to not require any), so it
 seems likely this should not be ARM-specific.
 Since it is the load instruction, it should be the source that is invalid.
 Due to the edge emulation code, the MVs should not be able to cause this.
 So the source picture probably is invalid.
 Purely speculation, but a theory is that either it has been freed (though
 the data pointer usually should be 0-ed then) or it wasn't properly
 discarded in a size change and is too small.

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

More information about the FFmpeg-trac mailing list