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 C742B4DA5D for ; Fri, 28 Feb 2025 01:23:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9368968DCDD; Fri, 28 Feb 2025 03:23:29 +0200 (EET) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0CF8368DACF for ; Fri, 28 Feb 2025 03:23:23 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 6464E20453 for ; Fri, 28 Feb 2025 01:23:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1740705802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2RH/DWITk9Wc3S13ZUTJ40L2AgOcbAwCqidgxpRofgA=; b=Bs1XNkIwBHonZVlcAQ6UtBeG7IKhss36dkJBmOAu3cIXyEQU0onYJZb05HsOPTDgICEjxM exl9TMKXGNkz4ucJnX2m4jHoR5CqcFvffbDza9dpsjDX+0cCT1+c8BeQVF43Hm+O4wibKF XxPRfCK5uJIgoLpTsIiqQsIDoXUXlgsroOZRI3YTrJqF2BqyyalAOQIGiuGPbF6hMFVbpn qsjLrDdMNM6Kb0Pi5HJSGj66V6RzFUWimzo5upYzd539qI+ch8odBh4DtaiEqnOep+iQfO acsngwPu2w9l1QjP8MVyivyGelnd0nuIGEl3gykQUJ872pxK6ZlFiQvqQeviaA== Date: Fri, 28 Feb 2025 02:23:21 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250228012321.GP4991@pb2> References: <89d538cab47c517b35ecaccb563e14334c9f9927.1740664900.git.ffmpegagent@gmail.com> MIME-Version: 1.0 In-Reply-To: <89d538cab47c517b35ecaccb563e14334c9f9927.1740664900.git.ffmpegagent@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdekledtgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 2/8] ffprobe/avtextformat: Rename and move writer functions and options 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="===============0306394721530442723==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0306394721530442723== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vvTj8DEE5DtV9H4y" Content-Disposition: inline --vvTj8DEE5DtV9H4y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 27, 2025 at 02:01:34PM +0000, softworkz wrote: > From: softworkz >=20 > Signed-off-by: softworkz > --- > fftools/ffprobe.c | 910 ++++++---------------------- > libavutil/Makefile | 1 + > libavutil/avtextformat.h | 50 ++ > libavutil/textformat/avtextformat.c | 620 +++++++++++++++++++ > 4 files changed, 848 insertions(+), 733 deletions(-) > create mode 100644 libavutil/textformat/avtextformat.c this and patch 1 crash =3D=3D1574970=3D=3D Invalid read of size 1 =3D=3D1574970=3D=3D at 0x483EF46: strlen (in /usr/lib/x86_64-linux-gnu/v= algrind/vgpreload_memcheck-amd64-linux.so) =3D=3D1574970=3D=3D by 0x7683D14: __vfprintf_internal (vfprintf-internal= =2Ec:1688) =3D=3D1574970=3D=3D by 0x7696F99: __vsnprintf_internal (vsnprintf.c:114) =3D=3D1574970=3D=3D by 0x1239AA1: av_vbprintf (in ffmpeg/ffprobe_g) =3D=3D1574970=3D=3D by 0x1256473: av_log_default_callback (in ffmpeg/ffp= robe_g) =3D=3D1574970=3D=3D by 0x1256162: av_log (in ffmpeg/ffprobe_g) =3D=3D1574970=3D=3D by 0x125CB4B: av_opt_set_defaults2 (in ffmpeg/ffprob= e_g) =3D=3D1574970=3D=3D by 0x127611C: avtext_context_open (in ffmpeg/ffprobe= _g) =3D=3D1574970=3D=3D by 0x2F9672: main (in ffmpeg/ffprobe_g) =3D=3D1574970=3D=3D Address 0xffffffff is not stack'd, malloc'd or (recent= ly) free'd =3D=3D1574970=3D=3D =3D=3D1574970=3D=3D =3D=3D1574970=3D=3D Process terminating with default action of signal 11 (S= IGSEGV) =3D=3D1574970=3D=3D Access not within mapped region at address 0xFFFFFFFF =3D=3D1574970=3D=3D at 0x483EF46: strlen (in /usr/lib/x86_64-linux-gnu/v= algrind/vgpreload_memcheck-amd64-linux.so) =3D=3D1574970=3D=3D by 0x7683D14: __vfprintf_internal (vfprintf-internal= =2Ec:1688) =3D=3D1574970=3D=3D by 0x7696F99: __vsnprintf_internal (vsnprintf.c:114) =3D=3D1574970=3D=3D by 0x1239AA1: av_vbprintf (in ffmpeg/ffprobe_g) =3D=3D1574970=3D=3D by 0x1256473: av_log_default_callback (in ffmpeg/ffp= robe_g) =3D=3D1574970=3D=3D by 0x1256162: av_log (in ffmpeg/ffprobe_g) =3D=3D1574970=3D=3D by 0x125CB4B: av_opt_set_defaults2 (in ffmpeg/ffprob= e_g) =3D=3D1574970=3D=3D by 0x127611C: avtext_context_open (in ffmpeg/ffprobe= _g) =3D=3D1574970=3D=3D by 0x2F9672: main (in ffmpeg/ffprobe_g) =3D=3D1574970=3D=3D If you believe this happened as a result of a stack =3D=3D1574970=3D=3D overflow in your program's main thread (unlikely but =3D=3D1574970=3D=3D possible), you can try to increase the size of the =3D=3D1574970=3D=3D main thread stack using the --main-stacksize=3D flag. =3D=3D1574970=3D=3D The main thread stack size used in this run was 838860= 8. testcase: ./ffprobe_g -v 99 ~/tickets/3679/wgetmjpegdump tell me if this file is not in the ticket and ill send it to you thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I have no means of knowing whether they exist or not or of what sort they may be, because of the obscurity of the subject, and the brevity of human life -- Protagoras --vvTj8DEE5DtV9H4y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ8EQCQAKCRBhHseHBAsP qzg4AJ41YrL8b0ac5EqCVwGupLm6lx6bfACdEfqut+ridwWag02KiUONBInyEiE= =8T0p -----END PGP SIGNATURE----- --vvTj8DEE5DtV9H4y-- --===============0306394721530442723== 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". --===============0306394721530442723==--