From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id E94BA4BA5B for ; Fri, 31 Jan 2025 04:57:55 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 842CF68BF74; Fri, 31 Jan 2025 06:57:51 +0200 (EET) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5D85A688115 for ; Fri, 31 Jan 2025 06:57:45 +0200 (EET) Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5dc7eba78e6so1623084a12.3 for ; Thu, 30 Jan 2025 20:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738299464; x=1738904264; darn=ffmpeg.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oicY3uBCvWmgHWO8bbimVlJOId3WA/yQDS+8be51F2k=; b=TOIUPWhR2Yv/S6g681VJRglagIE4HiA/TD55x/hIo8HQjb5RQf8qGwC81MMGVLOG+k 9Edy8fBehKtJiyNR7Tl2xZCcWrhl+CHbw0MVMBTO0ehw+4uC27CzgrHbKpwiRlrqaZws GCo3tHA9IuacG9U+eROHFTTRaAHelroVo72k0jy74437TRtKsdPmMtAVRNsPd6Id5b1L eH8CERRicGlJSznuG8KybcBKKNaEyvjw8OgZrFhwcpAW9/HWhsWZYc50CMPZFPxrLKiU CBo2ktkgosHETjZE97rP+9MJkHJ9tDKl16KVinYCJrTT4tu5gPIbJrIablacReNTxAY4 H4Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738299464; x=1738904264; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oicY3uBCvWmgHWO8bbimVlJOId3WA/yQDS+8be51F2k=; b=hBtET2R2VazwAP4dh4sTAcEqkFUySVOmsQ6jNy2LJy7UH4kHQCN/T+DBAEChpzst42 Rb3cvS59E5BM/6mk4Qxf+AXzRzTl+5FVsVtqOtyAMWYXcgKEBRumh0b4EwWmoeeaDFHE yA0VdmUES+5lTNTg4MfTwo1pd5NvWvlZhEsNaFRKGgVbo5OmGoM+bpVLAtECZHb8VifM hPGuiHiJLz7H/HLjWnZnXfhkhIo84MsM9EMtlDGWRN+RHZBhOgaRfSXveAbY4J+lfN6d v4/0q9pwPXTxd78jnVCdj6/T8zJYBr9dIJEbATjF1sZ66HwIECphIGJcAtfb0qJK5Unm xocQ== X-Gm-Message-State: AOJu0YwUp0jRFmDyPMAYk8QPF2KZctP//Cs/V5EZweZ+DBf9HfXZ6laQ 5EAgeVfe1x7gcNrbHg1AgTZN21jl9zb48hiTlggeJhNfZDIqGYhbKEcrPKCWUmUD+KMwaMiDDw9 ejOk9TQzsPwE408OB9GJL/B3aOnUp6tDB X-Gm-Gg: ASbGncvAsLRxvT4VnpuRR+3pWsSHXpSZfx55GFIgmSFpWWW+mt/7ehIW9uvMAV/2H3r 6/Wvy5NBNceVsuU1QKsIT3GtjPwHxdGFbJ8fTgED2lhmyDlTIVYJyGnRUrGZohSfLfgcLbS2pR9 fdfSF4I6XLAsIdZYo2UoqY6tg2fBi1nBE= X-Google-Smtp-Source: AGHT+IH4ts/dtj/yE/pMvRblLB4et0mxzgtF9UTtp5LXsjqaF/ip090TmQx+AHr4kF6GlIlTQfRV9sGa8RqLRp/+CP4= X-Received: by 2002:a05:6402:3510:b0:5da:9d3:bc23 with SMTP id 4fb4d7f45d1cf-5dc5efec2a9mr9911330a12.24.1738299464064; Thu, 30 Jan 2025 20:57:44 -0800 (PST) MIME-Version: 1.0 From: Sean McGovern Date: Thu, 30 Jan 2025 23:57:32 -0500 X-Gm-Features: AWEUYZk5eGCJbNFy0sFVD5bbNCo9aAeExCx5uhMtMmuVy38ikcqFxMuW3lNCQS8 Message-ID: To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] FATE vc1-* failures on PowerPC64 with GCC Address Sanitizer X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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".