From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71929: 30.0.60; crash in mark_image_cache Date: Tue, 09 Jul 2024 20:13:28 +0800 Message-ID: <87frsi226v.fsf@yahoo.com> References: <87cynrjl84.fsf@melete.silentflame.com> <87o77b2gsr.fsf@yahoo.com> <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> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38909"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71929@debbugs.gnu.org, Eli Zaretskii To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 09 14:15:06 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 1sR9kP-0009uH-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jul 2024 14:15:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sR9kH-00083I-Mq; Tue, 09 Jul 2024 08:14:57 -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 1sR9kG-0007zf-N6 for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2024 08:14:56 -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 1sR9kG-0002l8-DL for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2024 08:14:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sR9kL-00065n-Qr for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2024 08:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2024 12:15:01 +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.172052725323347 (code B ref 71929); Tue, 09 Jul 2024 12:15:01 +0000 Original-Received: (at 71929) by debbugs.gnu.org; 9 Jul 2024 12:14:13 +0000 Original-Received: from localhost ([127.0.0.1]:52314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sR9jZ-00064V-GB for submit@debbugs.gnu.org; Tue, 09 Jul 2024 08:14:13 -0400 Original-Received: from sonic316-20.consmr.mail.ne1.yahoo.com ([66.163.187.146]:38612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sR9jX-00064I-Hc for 71929@debbugs.gnu.org; Tue, 09 Jul 2024 08:14:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720527239; bh=L3yNtKh66T1oQE6NmOGdv+FfB1yyj5uCHu4/OrDh+jk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=S0hlI9QZGhRYDLt9tk1ocNh9N788hHQicXF6yE7ZfwNPb8Qhck9413XZXzoiIBlwfdG72Yn1flEPRCvuaCiL2QCPOe3sNeG4+dOo7tiLYfzRuZItmmgN/nITg55OcCyj6RVtPb1IWxbMfmXQfSjuc7LXfSLcHqErkiU6bY6imMekDqspnbbs/43p4Lq57ieAbpiDOthSDFgVucNOm9UDSB23p1xMpHQ0+L0B+PiGAnFj53Gc/4fyyGUr8bjzyvoylvGcETCKB3vwCXOnp6Vy6r9zmhSNJYNd8oGfmqHWqBzliunbUU6tV5C9liVG65B4HINyqz355hzX2vx91yFAXg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1720527239; bh=5HEL3he1AOWG3LN73+MJq2MYVSqTwvXM3yYbGoRmSw8=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HEcKGThv63xxA4oDjzFiOL/AjTo3DqQ9ec5E6xQx8aJw/4C7tCtPWwG+V0vzqz1eQyoB+koOPmrNwQLZVRnkexQ56+ZJN2cxptdk64CllmBxmoLrsa2u2T34BbhtE/0tSFm8DrEJD+2ZTbMmw74eWmJIQ2G0x/VYlZtPeffHzFA/KGrYMxsaOlhZncOSOxU8LF6GDZZ8Vytdw8jBk9shA3Ui94QcOwjaQKERZpHEN/n7jUWEQs9PpfJujJ7XlRb/DJuf+XYg/S8l+QgGmzksmG31IUh/pf/74WdUpmARDWRiwBCY3CR8xQ1PkpL3KW8ivPfkMrkp6B+OtQZK+0GHYQ== X-YMail-OSG: Um5APiQVM1npwaiWFYMMGhbpOfk1VrupVGNh0PcW6IIkSojH_xc8bm81qqyuf0n YUf5ntkp3Gl5h0R0gu801oiuOyqFOfZLKcquFoOkIn4.OCiR_xIQh1RjtxfxEqpUtntub_w_bpDW HfzxAUUis15XE5oJ38Ied4bw0EbeqDF8tVGqSGkPXkJyruYhW7fo2Y2DdoRY4SmLjqUgZi5cD2O6 94HD_HlgRLyv9gBIr1DoL3issLnU2ajYb8nzkihMv0bSWMN8hiOtXfzHNyfgPGf_m27jJhHVGjRj Gwk6X1gwryXAUPxb4ZI3Ab3fGoSV.mXMXmKnSmPi.9HKB3jwtK_9Ik3NNXPmFPgYEtqN9r6aZWCo CRj82h4fMdEstjiZUcT66LLJS2cpHuJTHmo1SoeR1Dc06Y1juRfCMzhBfw4OQY_w2xHOpuhZlwSJ qprL7zoG8T4KNGYda4s6EPlSMOplaTq0VTvTwTk5HQq0t0TbNAZCaEBOvEMXF6MYYlrtxSKcDFJJ e6KiGX..XnW4zRn.ptkKfRTN_NIog4p7KXvmfLPtwV39MtA4Dsz2DP5N4JYyLLuhiPxJkQe0Cv6M vvLulRKc1EGMI2S0tDN.xfys37cnL.8LYiF3iZ5Gm7TyAOnUoRmeuBkUs.eC7ImoVmej4RAtOWdd OOgKlfrZz1vRElAfj9dLIbYeX62GwCXzKFQnLiaPJRr.9KmUn7cyRd2gZaG7oERJRKkUR_fIXlPv JLov0FL8ZbSpkBZz726VSM7hTVOBVJ_h7VzxjVbGKrE2SRj4mECxX8daJZVXLY3gK4oqSvPaoXRP Xw7MXa_4zDgnZHcG6ESLqRGas1N4mN6.Jqy4l8rYHq X-Sonic-MF: X-Sonic-ID: dbb681c9-a08c-4ef8-aeea-ed2614172757 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Tue, 9 Jul 2024 12:13:59 +0000 Original-Received: by hermes--production-sg3-7b469d9f6-62qs7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a81bb4bf1ca357c3b23ffa044ed2118e; Tue, 09 Jul 2024 12:13:44 +0000 (UTC) In-Reply-To: (Sean Whitton's message of "Tue, 9 Jul 2024 13:48:32 +0800") X-Mailer: WebService/1.1.22464 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:288636 Archived-At: Sean Whitton writes: > On Sun, Jul 07, 2024 at 09:47:28PM +0800, Po Lu wrote: > >> I must ask you to bear with me again, as another detail was not >> correctly accounted for in the last patch. Please retry with this: > > This just crashed. Apparent trigger was 'emacsclient -t', this time. > > verify_image_cache_refcount is not in the backtrace. > > I should be able to keep it open in a stable build of Emacs for at least 24h > if you'd like to ask for more. > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x00005555557a21cd in mark_image_cache (c=0x55555672cc50) at image.c:3776 > 3776 if (c->images[i]) And this is a segmentation fault, not a trap. Can you establish when the frame in question was created, how and where it received its current image cache, and whether this frame exists in Vframe_list? If the answer to the final question is no, can anyone surmise how it is that a live frame's image cache might be prematurely deleted without its references being detected by verify_image_cache_refcount?