From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#66221: 29.1; Animated webp image leaks memory Date: Sat, 30 Sep 2023 00:19:17 +0100 Message-ID: References: <874jjg1xss.fsf@bahnhof.se> <87wmwby0cg.fsf@pc-117-162.gandi.net> <83pm21yuic.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10695"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Garjola Dindi , 66221@debbugs.gnu.org, johanwclaesson@bahnhof.se, johanwclaesson@gmail.com, larsi@gnus.org, Eli Zaretskii To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 30 01:20:06 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qmMmD-0002TM-FN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Sep 2023 01:20:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmMly-0003qQ-AH; Fri, 29 Sep 2023 19:19:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmMlv-0003qD-Ad for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 19:19:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmMlv-0005tb-2b for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 19:19:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmMm9-0005PA-RD for bug-gnu-emacs@gnu.org; Fri, 29 Sep 2023 19:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Sep 2023 23:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66221 X-GNU-PR-Package: emacs Original-Received: via spool by 66221-submit@debbugs.gnu.org id=B66221.169602958720739 (code B ref 66221); Fri, 29 Sep 2023 23:20:01 +0000 Original-Received: (at 66221) by debbugs.gnu.org; 29 Sep 2023 23:19:47 +0000 Original-Received: from localhost ([127.0.0.1]:57300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmMlu-0005OR-PN for submit@debbugs.gnu.org; Fri, 29 Sep 2023 19:19:47 -0400 Original-Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:221f:0:1]:47453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmMlq-0005O1-8k for 66221@debbugs.gnu.org; Fri, 29 Sep 2023 19:19:45 -0400 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Ry5s35drfz2xSM; Fri, 29 Sep 2023 23:19:19 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4Ry5s310LkzHv; Fri, 29 Sep 2023 23:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1696029559; bh=rMvKojOYUH8whmBrGMqmey9jy8eXrpWHt3EiMHrnpTk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S6zNDD7fNCGjJSUWJP/TxMtt97qMMvUGVbJXfZ8jWUZhyaIn6Hw+w75Cy07THHLeS hgiInuT6qnLBLVJQnJkxs2BC9SmRJCeyvSPk3kno+bll8q/J5su+CvLPymT3HdVyr1 RZMSsWEKhFLWhL2MMauGXIaecP3w+9I3NkhyrA+egBINU3Bvdv1r3FI9ftjhfX27th Nj/e/B2LF2REzLfl2yy5Mr+B0m4gNyaNec7Uvs52eo9L3xkax8LRLVgsbyP6vIqPAm kiP/de9NDr2xEe2f0d2POvY7SCbNr1H65OLyT3waRJfnxz7Odf1ZI8oYq33IgJc/fo e931As7kX6LlQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1qmMlR-000QWo-2n; Sat, 30 Sep 2023 00:19:17 +0100 X-Soverin-Authenticated: true Mail-Followup-To: Alan Third , Stefan Kangas , Eli Zaretskii , Garjola Dindi , johanwclaesson@bahnhof.se, johanwclaesson@gmail.com, larsi@gnus.org, 66221@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271527 Archived-At: On Fri, Sep 29, 2023 at 08:42:34AM -0700, Stefan Kangas wrote: > Eli Zaretskii writes: > > > Feel free to step through clear-image-cache and see what happens > > there. > > I noticed that `clear-image-cache' won't clear the rest of the image > cache if we have a non-empty animation_cache. Is that expected? "animation_cache" in this context is an image spec to be removed from the animation cache, not the animation cache itself. It caught me out too when I was looking at this code the other day. -- Alan Third