From: Sean McGovern <gseanmcg@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: [FFmpeg-devel] FATE vc1-* failures on PowerPC64 with GCC Address Sanitizer
Date: Thu, 30 Jan 2025 23:57:32 -0500
Message-ID: <CAPBf_O=Efhopa7AP4hCavec=OFRFBw-Ac5tDn33HR+CMGf25_g@mail.gmail.com> (raw)
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".
reply other threads:[~2025-01-31 4:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPBf_O=Efhopa7AP4hCavec=OFRFBw-Ac5tDn33HR+CMGf25_g@mail.gmail.com' \
--to=gseanmcg@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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