From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#71929: 30.0.60; crash in mark_image_cache Date: Wed, 10 Jul 2024 09:12:37 +0800 Message-ID: <87plrm9hiy.fsf@melete.silentflame.com> References: <87tth1rkfy.fsf@melete.silentflame.com> <87plrprkb2.fsf@melete.silentflame.com> <87frsl3l0p.fsf@yahoo.com> <87plrpvm2y.fsf@melete.silentflame.com> <86a5it3cj2.fsf@gnu.org> <875xth3aym.fsf@yahoo.com> <87ed851gwv.fsf@melete.silentflame.com> <871q452u1b.fsf@yahoo.com> <87frsi226v.fsf@yahoo.com> <874j8y1x3d.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30308"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71929@debbugs.gnu.org, Eli Zaretskii To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 10 03:13:30 2024 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 1sRLth-0007eo-8R for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jul 2024 03:13:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRLtC-0005QU-MV; Tue, 09 Jul 2024 21:12:58 -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 1sRLtB-0005Ps-Ha for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2024 21:12:57 -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 1sRLtB-0006kU-9M for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2024 21:12:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRLtG-0004aN-1k for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2024 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jul 2024 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71929 X-GNU-PR-Package: emacs Original-Received: via spool by 71929-submit@debbugs.gnu.org id=B71929.172057397517606 (code B ref 71929); Wed, 10 Jul 2024 01:13:02 +0000 Original-Received: (at 71929) by debbugs.gnu.org; 10 Jul 2024 01:12:55 +0000 Original-Received: from localhost ([127.0.0.1]:54527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRLt9-0004Zu-7q for submit@debbugs.gnu.org; Tue, 09 Jul 2024 21:12:55 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:54396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRLt7-0004Zh-Ho for 71929@debbugs.gnu.org; Tue, 09 Jul 2024 21:12:53 -0400 DKIM-Signature: a=rsa-sha256; b=IubpBfUdK+xTrHbtiinEk7wXjhiPETSLm+gwIEuJC+96UT0/QoqdB8d/u3RYLUfO45+m1pWg3QxKweJSnZd8WTbcSgOllk/w/GdA9JZkFEiRtmTDz0CRY3XYfjASlqUTKksyB4TVeir5zeiA19NMFofhJSXxEpvLC5ZFqQKYo1gfTmBJ67SwkglvyXIpX0huXulnB83yRzD+S8yRtQK8MTL1z4VD6CSkGV6p4hPLHZYRVUNaCJKYEUgu2qyyqopx6LOjtcw8S1yzh/lJWgx+BWJz0c6/2je29bHDLCS4toXUFjH2XzvUbVds55Z7ScaQS533+c2IV5/NN01ogcUfsg==; s=purelymail2; d=spwhitton.name; v=1; bh=chZ/HOFtELWNDQal5XVSXuSGUevoyK5iX+/eAPxayCA=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=F1FiYjHkYRIFUK9I2aJKX+xN4S1KK08Lr7rgH8o0zGlu/gPEcVNsz95oa9Obbo/Gd+/2fv8xm9D5uC5SzzYZ0cjhE2MtiLipsBsXEPvz5iOv577+JkBFntltt4ST0HSbfJUZwIuaobNR8QZHuZ88irG3YxWzsQ+evq676tOhRdGnhyDkSsENct6A/0TrWizGSXUu2U61Kk45sNotPfNdWrwlK23CrVND+52FHDYMt4pYLIJnuCxAHy8ZL5OV0HG9mAwQEvdnAt5FYJWRIxa05fG6kYPgTxB9v5nU9ldbAqCPM18ZtaarOfp/tvlBdUNc4n9iE3oRCIZFr2sdqmskTw==; s=purelymail2; d=purelymail.com; v=1; bh=chZ/HOFtELWNDQal5XVSXuSGUevoyK5iX+/eAPxayCA=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 71929@debbugs.gnu.org Original-Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -65406972; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 10 Jul 2024 01:12:39 +0000 (UTC) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 46EFA7E9DBF; Wed, 10 Jul 2024 09:12:37 +0800 (CST) In-Reply-To: <874j8y1x3d.fsf@yahoo.com> (Po Lu's message of "Tue, 09 Jul 2024 22:03:34 +0800") 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:288659 Archived-At: Hello, On Tue 09 Jul 2024 at 10:03pm +08, Po Lu wrote: > OK, I believe I understand the source of these crashes. A frame whose > image cache is shared among several frames is destroyed, but its > `image_cache' field is never cleared after it is destroyed, as its cache > continues to be referenced, and, if references to the dead frame remain, > GC attempts to mark the said image cache although its validity is no > longer guaranteed. In earlier Emacs versions, this problem would have > appeared if references to dead frames were preserved beyond the > destruction of a display structure. This has been corrected on the > emacs-30 branch, and therefore if the crashes do not resurface in a few > days, I will close this ticket. Thanks for the fix, running it now. -- Sean Whitton