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 ESMTP id E7F8A456F2 for ; Sat, 18 Feb 2023 19:02:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 49D2968BEDB; Sat, 18 Feb 2023 21:02:54 +0200 (EET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CC65968AC05 for ; Sat, 18 Feb 2023 21:02:47 +0200 (EET) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id E35F3240002 for ; Sat, 18 Feb 2023 19:02:46 +0000 (UTC) Date: Sat, 18 Feb 2023 20:02:45 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230218190245.GF1949656@pb2> References: MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 00/72] Implement support for Vulkan multiplane images and video decoding 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: multipart/mixed; boundary="===============5677033898498238845==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5677033898498238845== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KYkKQAwy4m/T6GZF" Content-Disposition: inline --KYkKQAwy4m/T6GZF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 17, 2023 at 04:43:50AM +0100, Lynne wrote: > This small patchset mostly rewrites Vulkan to enable using multiplane ima= ges, > and implements video decode support. Also, many numerous bugs and issues > were fixed, as well as having quite a lot of performance improvements. >=20 > The patchset can be viewed here as well: > https://github.com/cyanreg/FFmpeg/tree/vulkan_staging >=20 > Patches attached. >=20 [...] =20 > av1dec.c | 3 +++ > avcodec.h | 5 +++++ > h264dec.c | 3 +++ > hevcdec.c | 3 +++ > vp8.c | 3 +++ > vp9.c | 3 +++ > 6 files changed, 20 insertions(+) > 122f9df511e4680d0027afae5d4f9f2f1880874e 0065-avcodec-add-AVHWAccel.flus= h-callback.patch > From 93223fa95389c60c015cfcee22784a1bf0fdb05b Mon Sep 17 00:00:00 2001 > From: Lynne > Date: Fri, 6 Jan 2023 03:32:56 +0100 > Subject: [PATCH 65/72] avcodec: add AVHWAccel.flush callback this patch seems to break fate-vp8-size-change =3D=3D5117=3D=3D Invalid read of size 8 =3D=3D5117=3D=3D at 0xD50598: vp8_decode_flush_impl (vp8.c:171) =3D=3D5117=3D=3D by 0xD5ACB3: ff_vp8_decode_free (vp8.c:2869) =3D=3D5117=3D=3D by 0x84CA73: avcodec_close (avcodec.c:448) =3D=3D5117=3D=3D by 0x644BB5: avformat_find_stream_info (demux.c:2969) =3D=3D5117=3D=3D by 0x243F70: ifile_open (ffmpeg_demux.c:985) =3D=3D5117=3D=3D by 0x25F60D: open_files (ffmpeg_opt.c:1244) =3D=3D5117=3D=3D by 0x25F7C4: ffmpeg_parse_options (ffmpeg_opt.c:1283) =3D=3D5117=3D=3D by 0x278003: main (ffmpeg.c:4160) =3D=3D5117=3D=3D Address 0x70 is not stack'd, malloc'd or (recently) free'd =3D=3D5117=3D=3D=20 =3D=3D5117=3D=3D=20 =3D=3D5117=3D=3D Process terminating with default action of signal 11 (SIGS= EGV) =3D=3D5117=3D=3D Access not within mapped region at address 0x70 =3D=3D5117=3D=3D at 0xD50598: vp8_decode_flush_impl (vp8.c:171) =3D=3D5117=3D=3D by 0xD5ACB3: ff_vp8_decode_free (vp8.c:2869) =3D=3D5117=3D=3D by 0x84CA73: avcodec_close (avcodec.c:448) =3D=3D5117=3D=3D by 0x644BB5: avformat_find_stream_info (demux.c:2969) =3D=3D5117=3D=3D by 0x243F70: ifile_open (ffmpeg_demux.c:985) =3D=3D5117=3D=3D by 0x25F60D: open_files (ffmpeg_opt.c:1244) =3D=3D5117=3D=3D by 0x25F7C4: ffmpeg_parse_options (ffmpeg_opt.c:1283) =3D=3D5117=3D=3D by 0x278003: main (ffmpeg.c:4160) =3D=3D5117=3D=3D If you believe this happened as a result of a stack =3D=3D5117=3D=3D overflow in your program's main thread (unlikely but =3D=3D5117=3D=3D possible), you can try to increase the size of the =3D=3D5117=3D=3D main thread stack using the --main-stacksize=3D flag. =3D=3D5117=3D=3D The main thread stack size used in this run was 8388608. [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you drop bombs on a foreign country and kill a hundred thousand innocent people, expect your government to call the consequence "unprovoked inhuman terrorist attacks" and use it to justify dropping more bombs and killing more people. The technology changed, the idea is old. --KYkKQAwy4m/T6GZF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCY/EgzQAKCRBhHseHBAsP q7IiAKCb5nLhktzJxpz7ptgN9TMiDiXE8QCgmmrzCVtEpSxlP0PuoPy7gPMD29Q= =gOoI -----END PGP SIGNATURE----- --KYkKQAwy4m/T6GZF-- --===============5677033898498238845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============5677033898498238845==--