* [FFmpeg-devel] FATE vc1-* failures on PowerPC64 with GCC Address Sanitizer
@ 2025-01-31 4:57 Sean McGovern
0 siblings, 0 replies; only message in thread
From: Sean McGovern @ 2025-01-31 4:57 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Hi,
I recently added a new FATE node 'ppc64-linux-gcc-14.2-asan' that runs
GCC Address Sanitizer on my G5 PowerMac.
It currently shows test failures for the vc1-* tests and wmv3-drm-dec
due to the AltiVec acceleration in libavcodec/ppc/vc1dsp_altivec.c
over-reading if the final block is less than 128 bytes[1].
I'm not sure how to go about fixing that -- would it be safe to just
bump the allocated DSP context block to align to that (using
av_cpu_max_align() like magicyuvenc does?) on [2] ?
My other thought was much more drastic -- should we be processing the
final block using the scalar version of the DSP code if it does not
align?
Comments/suggestions are appreciated,
Sean McGovern
[1] https://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/ppc/vc1dsp_altivec.c;h=bbadb2aaeef098449e48d8f6f47c2fc2d9809b8d;hb=HEAD#l252
[2] https://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/vc1dec.c;h=2c314e7b55b9ab7983f565b2ac2bbb08ef0770c6;hb=HEAD#l377
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-31 4:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-31 4:57 [FFmpeg-devel] FATE vc1-* failures on PowerPC64 with GCC Address Sanitizer Sean McGovern
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git