From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gong Qijian Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 01:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 74274@debbugs.gnu.org Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Gong Qijian X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173111523021675 (code B ref -1); Sat, 09 Nov 2024 01:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Nov 2024 01:20:30 +0000 Received: from localhost ([127.0.0.1]:52706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9a9O-0005dX-7Q for submit@debbugs.gnu.org; Fri, 08 Nov 2024 20:20:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:45846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9a9M-0005dP-Ow for submit@debbugs.gnu.org; Fri, 08 Nov 2024 20:20:29 -0500 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 1t9a9L-0006EI-Ob for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2024 20:20:28 -0500 Received: from [58.17.93.74] (helo=MBP33.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9a9K-0005AQ-26; Fri, 08 Nov 2024 20:20:27 -0500 Received: by MBP33.local (Postfix, from userid 501) id DF100BDC074; Fri, 8 Nov 2024 14:38:33 +0800 (CST) From: Gong Qijian Date: Fri, 8 Nov 2024 14:31:50 +0800 Message-ID: <20241108063148.30423-3-gongqijian@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 58.17.93.74 (failed) Received-SPF: none client-ip=58.17.93.74; envelope-from=gqj@MBP33.local; helo=MBP33.local X-Spam_score_int: 46 X-Spam_score: 4.6 X-Spam_bar: ++++ X-Spam_report: (4.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, NO_DNS_FOR_FROM=0.001, PP_MIME_FAKE_ASCII_TEXT=0.239, RCVD_IN_PBL=3.335, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=0.001, SPOOFED_FREEMAIL_NO_RDNS=0.001, SPOOF_GMAIL_MID=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Patch for branch scratch/tty-child-frames to avoid segmentation fault. The issue can be triggered by the message function when creating a tty child frame during the initialization process. Reproduce: $ src/emacs -nw -Q --eval "\ (progn (require 'cl-lib) (require 'tty-tip) (advice-add 'tty-tip--compute-position :around (defun tty-tip--compute-position@fix-nil-error (&rest args) (cl-letf ((orig-mouse-position (symbol-function #'mouse-position)) ((symbol-function #'mouse-position) (lambda () (if (terminal-parameter nil 'xterm-mouse-x) (funcall orig-mouse-position) (cons (window-frame) (posn-x-y (posn-at-point))))))) (apply args)))) (tty-tip--create-frame \"line1\nline2\") (message \"tty-type: %S\" (tty-type)))" Fatal error 11: Segmentation fault ^[[Ifish: Job 1, 'src/emacs -nw -Q --eval "\…' terminated by signal (pro… (SIGABRT) fish: Job Abort, '' terminated by signal () --- src/term.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/term.c b/src/term.c index a7f7baa6e3..8aeabd76b7 100644 --- a/src/term.c +++ b/src/term.c @@ -781,7 +781,11 @@ tty_write_glyphs (struct frame *f, struct glyph *string, int len) { /* Identify a run of glyphs with the same face. */ int face_id = string->face_id; - struct frame *face_id_frame = string->frame; + /* FIXME/tty: it happens that a single glyph's frame is NULL. It + might depend on a tab bar line being present, then switching + from a buffer without header line to one with header line and + opening a child frame. */ + struct frame *face_id_frame = string->frame ? string->frame : f; for (n = 1; n < stringlen; ++n) if (string[n].face_id != face_id || string[n].frame != face_id_frame) -- 2.42.0 From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 04:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Gong Qijian Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.173112579518551 (code B ref 74274); Sat, 09 Nov 2024 04:17:02 +0000 Received: (at 74274) by debbugs.gnu.org; 9 Nov 2024 04:16:35 +0000 Received: from localhost ([127.0.0.1]:52873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ctn-0004p9-CM for submit@debbugs.gnu.org; Fri, 08 Nov 2024 23:16:35 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:45282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ctl-0004p1-FA for 74274@debbugs.gnu.org; Fri, 08 Nov 2024 23:16:34 -0500 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-43161e7bb25so23101365e9.2 for <74274@debbugs.gnu.org>; Fri, 08 Nov 2024 20:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731125732; x=1731730532; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/jMTJ6ehZIILSiPI/0z8vY9wHoWQv2SQmDqSsNisjfM=; b=SysTxeEigRU5hEDA4+zZIJxKD793TuOUJ3BEl9NvKZqzkd8NcB+rb/D/hFxnY0WABd W/jLx0G1RV98YpjWVXJi+/0Vfw/c42xCPcd9kl9sgRK+dwEAoHyv/1IwtUD7kaupPD0m t0wD6hghJggfKefCu6mZGyc87Up0/xvqb1P3jrAjRTK6F+XtoBkmTy0ys+rqfJrXMLaB 7uO5Dj7YshdvR3mrBKZmVCTLZS7oaMO13iypNEn1YgVLxYAHj2qwMBqAEXurEBVHHjs5 A1RLjwBwVN296IoDatS68maYlrdu1kuH863vDLEyh1ANaSLo4K94VCWpll/F2G88qSLU iR+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731125732; x=1731730532; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/jMTJ6ehZIILSiPI/0z8vY9wHoWQv2SQmDqSsNisjfM=; b=abY5NoG8eKvm5bPDNsnjVt8QNHgabcBNmmzND2wFbvEn9yjmPk59tO9AnA7BkEOXW1 66XOhsTXikZ1Sg16Obx4YM5fNen7brLakLNo2OQHxObC1jR/xNRxM6r+8nWTppwLbZkp n2JdQIDKavBP92yC3Hs9qQTsn/6I2MD7RL+4pNRxJ9v5eU3gLiayQ2DFt0blxDTnsYoi 8+eahmeDAl6GrREmmQmZ/gYVdqZrzpyXXdDfNF0DKpyoJaxP7Cab/ZofHlLZWJ3DW25f wiFc64MgR5nmJkfPUngBNtsRT6vgxGdI9zu8croDeiHG1jJ5TezV9K/aXeNQr55tg6B3 z8lg== X-Gm-Message-State: AOJu0YwcQwj3T5GC9vF8e/K58XM/igAdEbTh03M7QCtHx4F/dchhwgx6 cDpbH9w2QPBE1qvM5J7YSe/2hcObqbAbDSbaRGNp2Sa42Zm8ReYJ X-Google-Smtp-Source: AGHT+IH3zuvKALsf7R+W8AI7H1q/Rm1qdsemPTftSPhEgX4u25eAhZPq2JD1XVI0qbNf8c8haAJnvg== X-Received: by 2002:a05:6000:2d11:b0:381:f443:21b7 with SMTP id ffacd0b85a97d-381f44324abmr2464190f8f.4.1731125732054; Fri, 08 Nov 2024 20:15:32 -0800 (PST) Received: from pro2 (p4fe3afe2.dip0.t-ipconnect.de. [79.227.175.226]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed99681csm6796098f8f.49.2024.11.08.20.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 20:15:30 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: <20241108063148.30423-3-gongqijian@gmail.com> (Gong Qijian's message of "Fri, 8 Nov 2024 14:31:50 +0800") References: <20241108063148.30423-3-gongqijian@gmail.com> Date: Sat, 09 Nov 2024 05:15:29 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gong Qijian writes: > Patch for branch scratch/tty-child-frames to avoid segmentation fault. > > The issue can be triggered by the message function when creating a tty > child frame during the initialization process. > > [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.53 listed in sa-trusted.bondedsender.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.53 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.53 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.53 listed in bl.score.senderscore.com] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gong Qijian writes: > Patch for branch scratch/tty-child-frames to avoid segmentation fault. > > The issue can be triggered by the message function when creating a tty > child frame during the initialization process. > > [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.53 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.53 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.53 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.53 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Gong Qijian writes: > Patch for branch scratch/tty-child-frames to avoid segmentation fault. > > The issue can be triggered by the message function when creating a tty > child frame during the initialization process. > > Reproduce: > > $ src/emacs -nw -Q --eval "\ > (progn > (require 'cl-lib) > (require 'tty-tip) > (advice-add 'tty-tip--compute-position :around > (defun tty-tip--compute-position@fix-nil-error (&rest args) > (cl-letf ((orig-mouse-position (symbol-function #'mouse-position= )) > ((symbol-function #'mouse-position) > (lambda () > (if (terminal-parameter nil 'xterm-mouse-x) > (funcall orig-mouse-position) > (cons (window-frame) (posn-x-y (posn-at-point))))= ))) > (apply args)))) > > (tty-tip--create-frame \"line1\nline2\") > (message \"tty-type: %S\" (tty-type)))" > Fatal error 11: Segmentation fault > ^[[Ifish: Job 1, 'src/emacs -nw -Q --eval "\=E2=80=A6' terminated by si= gnal (pro=E2=80=A6 (SIGABRT) > fish: Job Abort, '' terminated by signal () Thanks Gong Qijian, I think I can reproduce this here. Before debugging this, I'd like to understand your test case a bit better, though. (And I'm procrastinating a bit :-).) Do I understand this right, that the advice you add to tty-tip-compute-position only serves the purpose of being able to pop up a tip frame early, when mouse-position doesn't really have a position to report? Or does it also serve another purpose? Another interesting question would be in which other, let's say more normal, circumstances you observe this segfault. From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: qijian gong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 06:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.17311327076592 (code B ref 74274); Sat, 09 Nov 2024 06:12:01 +0000 Received: (at 74274) by debbugs.gnu.org; 9 Nov 2024 06:11:47 +0000 Received: from localhost ([127.0.0.1]:53009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ehG-0001iF-Ko for submit@debbugs.gnu.org; Sat, 09 Nov 2024 01:11:46 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:60654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ehE-0001hz-3F for 74274@debbugs.gnu.org; Sat, 09 Nov 2024 01:11:44 -0500 Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5ceb75f9631so3481027a12.0 for <74274@debbugs.gnu.org>; Fri, 08 Nov 2024 22:11:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731132638; x=1731737438; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vGjeyqn+ZLC7WHCHMGm4jwgkcVAmnQHycvl45XobBZc=; b=WyHel5h62qKGlvILk5TmL1ip2FnmR7gfmDQT7Qiyftt/FldJuBqNsA33H6W3hr1QG/ TjveTrYKxGb7WVWyp3izIiORbvP0u4mc/V2bJrPsik5KfaozvsKbs1DdWoITVMoQMRiu pof7P6ISyiksg8n7luNFErlbak7bOgqvkN1CTjXIQ7xCDZU4c3TOM4LUfCFc4kx+VrCB EsRghGN6Gm82H2XlvAOgquMY39Nbvhix2AcEFmAYUYwsT2fqg+G2kExLyEz25bz73JES dZBYHHdE7d53cheHbHBjBK5kclct9DbyztHSNxuF2oHLbwGZ0iqXduUR6sNSgjOl1nOC b74Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731132638; x=1731737438; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vGjeyqn+ZLC7WHCHMGm4jwgkcVAmnQHycvl45XobBZc=; b=EFI5WmQUahXgLDc7jYf5LFJQT314FwXetalCGP6ub2kI63+xGTnQEbfpberEWvVDq4 B4JYbPl0hdWAOuVKZ7rYD9ctxeUrZnTHhkkLdECtIWkkUNke0KzBgT3IGNicLdhyhlHl oDhg2BsA2RXzzxVmkj00JUwp2Ds68IeXpyKBIZ6+hsJFiCWVJm/xibf7OXn4rJJlpFHd T8GjCnVITKSsv+jU0CDxIGKG4Ub9dae/KPpn/C+9kFJ9TyW6RpbsuQqNTvoszJby0+kx OQhIT1/l3ipHIkEf46qB6oLvMUOF+2rPrMzEgP8ditfJLQJFLuzBeaiaoOFru7yD7lkD hjSw== X-Gm-Message-State: AOJu0YxI1DcYJAzaMio+5vygz2zR+ANuZn2uWNZgbVcE8P3eL4yRTI4d 8X4XZjF8ImVSYa4Ltb8R7qDCw7l4kY/J+km2IEXGskzcq4CXF24R4AslJ8PZIFiturQkMRdu62x bwOOunmbQnudd9aCU5p3XrJBrr6I= X-Google-Smtp-Source: AGHT+IHRn9R8C+bGqiSWA3VYuOea02fXOWIQmSqwm4htm96reHOsatyl3/367qXYL6IYExtyq972M5wMlrGxaUfI0NQ= X-Received: by 2002:a17:907:318e:b0:a9a:cf6:b629 with SMTP id a640c23a62f3a-a9eeff4458amr535781366b.29.1731132637941; Fri, 08 Nov 2024 22:10:37 -0800 (PST) MIME-Version: 1.0 References: <20241108063148.30423-3-gongqijian@gmail.com> In-Reply-To: From: qijian gong Date: Sat, 9 Nov 2024 14:10:26 +0800 Message-ID: Content-Type: multipart/alternative; boundary="000000000000f197b4062674b91b" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000f197b4062674b91b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Gerd M=C3=B6llmann =E4=BA=8E2024=E5=B9=B411=E6=9C= =889=E6=97=A5 =E5=91=A8=E5=85=AD=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81=93= =EF=BC=9A Do I understand this right, that the advice you add to > tty-tip-compute-position only serves the purpose of being able to pop up > a tip frame early, when mouse-position doesn't really have a position to > report? Or does it also serve another purpose? > Yes, that's correct, there is no other purpose. It seems mouse-position doesn't really have a position until the mouse was moved by user. > --000000000000f197b4062674b91b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Gerd M=C3=B6llmann <ger= d.moellmann@gmail.com>=E4=BA=8E2024=E5=B9=B411=E6=9C=889=E6=97=A5 = =E5=91=A8=E5=85=AD=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81=93=EF=BC=9A
Do I understand this right, that the advice you add to
tty-tip-compute-position only serves the purpose of being able to pop up a tip frame early, when mouse-position doesn't really have a position t= o
report? Or does it also serve another purpose?

Yes, that's correct, there is no other purpose.=C2=A0 It seems mouse= -position doesn't really have a position until the mouse was moved by u= ser.
--000000000000f197b4062674b91b-- From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: qijian gong Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.173113566816053 (code B ref 74274); Sat, 09 Nov 2024 07:02:02 +0000 Received: (at 74274) by debbugs.gnu.org; 9 Nov 2024 07:01:08 +0000 Received: from localhost ([127.0.0.1]:53181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9fT1-0004Ar-DG for submit@debbugs.gnu.org; Sat, 09 Nov 2024 02:01:07 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:49452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9fSv-0004A8-P5 for 74274@debbugs.gnu.org; Sat, 09 Nov 2024 02:01:06 -0500 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4316a44d1bbso24031265e9.3 for <74274@debbugs.gnu.org>; Fri, 08 Nov 2024 23:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731135595; x=1731740395; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=faz8rbs38O+cvBiFq85vLdzDodFInozVcAOkKCmvA+Y=; b=QQv7NimtDtnEzTaAg5Oo9N51Uj8s5ccha3vQAZB5wlf/ivYkCz2qxPNtEWFCzYixtA lFA66GFOs7fI5bYJ3v92zOHCVwPyqfREPx9xmuGURSVcPn8KI/bKfKKcRXmYvukiO9a9 b2kF5AX+ThzIC1WSOB4Wpr9xEePmi3/oCLlmwAdyKlNfVXAppJslwwD87nQu5olHzcY0 yitosVcFrYyTksvYF2JpKdfBpAhRQ7gPOBN4GxcgnIDTptw4Fcb8SUouixzMTjFxRy5j TP4vdzgyx1LIlguTtvE+k2R4c/N5vg4t2xAaFv6nd0Vnef+uwo10Dh+IMOPC121b7KT/ d6jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731135595; x=1731740395; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=faz8rbs38O+cvBiFq85vLdzDodFInozVcAOkKCmvA+Y=; b=UDr2l4kJ0KGnYrOCrc3l8wdeWt24B7dzR7lQavt4Bd+f/cxX9j1Ui0GuMPB8jqdT4R Ft1uYpFbnHnFjgsJagLtrSpZaznIy+GiV+dYiJ/8T8nG47bNzi4l0CWBEXF6aCtw5v95 eC8rp9ke4oMFEc9Fi822ReEVD9iJUnn3N3hBmwLCP3WBQ1hPpPqSJFHRR+b26JqUuSf6 PQLKsp26fpjUwugUxKexWZNtMvKWR/K7me8fnO77TLeBKDOsY5sz9vXtUDh/4FGvfGjM u6gpGQ7P71aXkNM5zFNwGDoGFO0Z45pAmlM+J/lxpi/MKPDbchlSE4e8tYl38Ct0bsjy HIJQ== X-Forwarded-Encrypted: i=1; AJvYcCVKzi8DjN399ng79n5nB+oCfNFnwszl0EBFGP7X5cm5kXRM4utzeLxqO9bGBns03ZGQq0HtDg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyx8PKOutc6sfPNppuiOrt58XODH3LmMM64nof5Woi06SThvwy2 ZR5ZzQXnFSoJF21cWN3PMSZktgfwPmbDN5QPleLzzHGRHFHjJW6zhzqUlg== X-Google-Smtp-Source: AGHT+IHI09n1FUEki5ug/jz1qFII2xMJ7t/NGkXZCERugwGfxP5t13+u5tPT6b5tGxNJk3u7CsarEg== X-Received: by 2002:a05:600c:1d20:b0:431:6060:8b16 with SMTP id 5b1f17b1804b1-432b751ceb4mr42661495e9.30.1731135595011; Fri, 08 Nov 2024 22:59:55 -0800 (PST) Received: from pro2 (p4fe3afe2.dip0.t-ipconnect.de. [79.227.175.226]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432bc468d94sm15426825e9.0.2024.11.08.22.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 22:59:54 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: (qijian gong's message of "Sat, 9 Nov 2024 14:10:26 +0800") References: <20241108063148.30423-3-gongqijian@gmail.com> Date: Sat, 09 Nov 2024 07:59:53 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: qijian gong writes: > Gerd =?UTF-8?Q?M=C3=B6llmann_?= =?UTF-8?Q?=E4=BA=8E2024=E5=B9=B411=E6=9C=889=E6=97=A5_?= =?UTF-8?Q?=E5=91=A8=E5=85=AD?= =?UTF-8?Q?=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81=93=EF=BC=9A?= > > Do I understand this right, that the advice you add to > tty-tip-compute-position only serves the purpose of being able to pop up > [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in sa-trusted.bondedsender.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.47 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in bl.score.senderscore.com] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: qijian gong writes: > Gerd =?UTF-8?Q?M=C3=B6llmann_?= =?UTF-8?Q?=E4=BA=8E2024=E5=B9=B411=E6=9C=889=E6=97=A5_?= =?UTF-8?Q?=E5=91=A8=E5=85=AD?= =?UTF-8?Q?=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81=93=EF=BC=9A?= > > Do I understand this right, that the advice you add to > tty-tip-compute-position only serves the purpose of being able to pop up > [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.47 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in bl.score.senderscore.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.47 listed in list.dnswl.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager qijian gong writes: > Gerd M=C3=B6llmann =E4=BA=8E2024=E5=B9=B411=E6= =9C=889=E6=97=A5 =E5=91=A8=E5=85=AD=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81= =93=EF=BC=9A > > Do I understand this right, that the advice you add to > tty-tip-compute-position only serves the purpose of being able to pop up > a tip frame early, when mouse-position doesn't really have a position to > report? Or does it also serve another purpose? > > Yes, that's correct, there is no other purpose. It seems > mouse-position doesn't really have a position until the mouse was > moved by user. Ok, thanks. I think I know what this is. It's the very particular case of the very first redisplay + presence of a child freame, which copies glyphs from a current matrix that is still clear, i.e. zeroed, so that glyph::frame is zero and so on. I wonder a bit - how did you come up with such a test case? :-) Did you perhaps see this happening elsewhere? That would be interesting. From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 07:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: qijian gong Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.173113709719583 (code B ref 74274); Sat, 09 Nov 2024 07:25:02 +0000 Received: (at 74274) by debbugs.gnu.org; 9 Nov 2024 07:24:57 +0000 Received: from localhost ([127.0.0.1]:53200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9fq5-00055n-5F for submit@debbugs.gnu.org; Sat, 09 Nov 2024 02:24:57 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:44518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9fq1-00055V-0o for 74274@debbugs.gnu.org; Sat, 09 Nov 2024 02:24:54 -0500 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4314fa33a35so23869005e9.1 for <74274@debbugs.gnu.org>; Fri, 08 Nov 2024 23:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731137027; x=1731741827; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tST1RrKRxyo/vKUFPfchtRTy+0JJyj/OjLGQbLsENhg=; b=LJ1weFSXalBYfIp2x5jzs1UxR65ncTTzL81u7qr8Wr7LgcYtPXyNVBYdng4sxLFknD iW8n7UTPDtYihYyQKjVM858bkepDGic5SxinX7nhxkCMAcYaTKINemq2wkCt4sMSR1Qe B2/43cW4sUy42MBp9clRTo67alCyLz7xOfK/4AFZxSjF9ij/X3tYMPLehUDB6h7sURJg 9FKzOoYsSK8EfvNtNgtD9ERm39WIxclavLBouiidYBFJeobJiQUfu23b0IRr21Kx5mT2 cx4SllfA9ktzGg5CcOeI7W0+uATKHKij/Q8ddhsX/qfr6nEznzFotevHlG1mjKqPQOua gAUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731137027; x=1731741827; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tST1RrKRxyo/vKUFPfchtRTy+0JJyj/OjLGQbLsENhg=; b=HNathKMwl2LDeOupNJP8Cds+FNqxtVlKQJ/jy9++XJwGJCM9UYtK4umPY38Fr8iznY RK1agPLDLYshnGu9OFJNlKNDb9uwVASTVF3bgiopacvjlo6Ko4Q7kvL8TFCiylKNByfe SGLJRBiQldZpay5EFA1iduVsOcHw3BXsJSLjZq1zKdEu31ymnTpfDq2GLwDUx4usp76E lGk6TeYdGcnA+FZhl433/ZuL0oDSuUr0k6431wJ0aKgDUJ3/F0VhOuJi+a+RZjeOB4Ii FzYjzrgcaQ4IP2u3qPswbsP1RSmVY5oXReLZEhJEIrdmiPR3GsENXfZLWjCZspHYz9x3 S1AQ== X-Forwarded-Encrypted: i=1; AJvYcCXaVPlRSy2ZV6CxoeWbfhniq24KXbToYNQmytr3mBxm2cKXZGJ+LcbbG5mZV+tw6YnOJon4RQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yxc6Jt8bE9sGejhBls3Y4r6rZcWd5X7HwO53DTKMo3OkyC1R/Zc K6vilAKGgzi8C7Mj4UtXRDbqj7uMljt+h2ckdqkQ2c0jSUJej7zoA3DDvQ== X-Google-Smtp-Source: AGHT+IFUFOsvWChLOKVawUK1eSqWNfZedL9F4Hq3Y6n80MvJ/1GcswhpRDNxisKBg7oSCq4UwsMANA== X-Received: by 2002:a05:6000:461e:b0:37c:cf3a:42dc with SMTP id ffacd0b85a97d-381f184c64fmr4827297f8f.37.1731137026836; Fri, 08 Nov 2024 23:23:46 -0800 (PST) Received: from pro2 (p4fe3afe2.dip0.t-ipconnect.de. [79.227.175.226]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b05e5d29sm99422615e9.39.2024.11.08.23.23.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 23:23:45 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sat, 09 Nov 2024 07:59:53 +0100") References: <20241108063148.30423-3-gongqijian@gmail.com> Date: Sat, 09 Nov 2024 08:23:44 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gerd =?UTF-8?Q?M=C3=B6llmann?= writes: > qijian gong writes: > >> Gerd =?UTF-8?Q?M=C3=B6llmann?= =?UTF-8?Q?=E4=BA=8E2024=E5=B9=B411=E6=9C=889=E6=97=A5_?= =?UTF-8?Q?=E5=91=A8=E5=85=AD?= =?UTF-8?Q?=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81=93=EF=BC=9A?= >> >> Do I understand this right, that the advice you add to >> tty-tip-compute-position only serves the pur [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.47 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.47 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in bl.score.senderscore.com] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gerd =?UTF-8?Q?M=C3=B6llmann?= writes: > qijian gong writes: > >> Gerd =?UTF-8?Q?M=C3=B6llmann?= =?UTF-8?Q?=E4=BA=8E2024=E5=B9=B411=E6=9C=889=E6=97=A5_?= =?UTF-8?Q?=E5=91=A8=E5=85=AD?= =?UTF-8?Q?=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81=93=EF=BC=9A?= >> >> Do I understand this right, that the advice you add to >> tty-tip-compute-position only serves the pur [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.47 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.47 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.47 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Gerd M=C3=B6llmann writes: > qijian gong writes: > >> Gerd M=C3=B6llmann =E4=BA=8E2024=E5=B9=B411=E6= =9C=889=E6=97=A5 =E5=91=A8=E5=85=AD=E4=B8=8B=E5=8D=8812:15=E5=86=99=E9=81= =93=EF=BC=9A >> >> Do I understand this right, that the advice you add to >> tty-tip-compute-position only serves the purpose of being able to pop up >> a tip frame early, when mouse-position doesn't really have a position to >> report? Or does it also serve another purpose? >> >> Yes, that's correct, there is no other purpose. It seems >> mouse-position doesn't really have a position until the mouse was >> moved by user. > > Ok, thanks. > > I think I know what this is. It's the very particular case of the very > first redisplay + presence of a child freame, which copies glyphs from a > current matrix that is still clear, i.e. zeroed, so that glyph::frame > is zero and so on. Which is fixed for me with 1 file changed, 6 insertions(+), 3 deletions(-) src/dispnew.c | 9 ++++++--- modified src/dispnew.c @@ -3544,9 +3544,12 @@ prepare_desired_root_row (struct frame *root, int y) if (!root_row->enabled_p) { struct glyph_row *from =3D MATRIX_ROW (root->current_matrix, y); - memcpy (root_row->glyphs[0], from->glyphs[0], - root->current_matrix->matrix_w * sizeof (struct glyph)); - root_row->enabled_p =3D true; + if (from->enabled_p) + { + memcpy (root_row->glyphs[0], from->glyphs[0], + root->current_matrix->matrix_w * sizeof (struct glyph)); + root_row->enabled_p =3D true; + } } return root_row; } From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 08:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: qijian gong Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.173113942625938 (code B ref 74274); Sat, 09 Nov 2024 08:04:02 +0000 Received: (at 74274) by debbugs.gnu.org; 9 Nov 2024 08:03:46 +0000 Received: from localhost ([127.0.0.1]:53254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9gRe-0006kI-4Q for submit@debbugs.gnu.org; Sat, 09 Nov 2024 03:03:46 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:53316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9gRb-0006k2-Jb for 74274@debbugs.gnu.org; Sat, 09 Nov 2024 03:03:44 -0500 Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-37d4ac91d97so2607851f8f.2 for <74274@debbugs.gnu.org>; Sat, 09 Nov 2024 00:03:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731139357; x=1731744157; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eLG3m483636NsRMvOyDYGaK8DC2slOnsYeNLFJYgJLo=; b=FHp1BDseFYUgzc6NzsZgo0wBF+JA07YHX/VCRv46XxRhiJpOmQQ14f0XAHYyY4MkyC aWCDONNtZJ0bxFugifoVYf/n8BEh9lCW5d4HggQYQIxxqe/8bWW1kA+x+c+E23pYxdl5 Z+CLjJKrhhNN8SZArFctFHngBtIh5Cn0P+RvgLZPOYrPhHW6u44fuNS2jHEdty8ht4p9 nSaHtmL+SBZLjgtj2IlFn4D1AKzhrOHYHlTuBB3CNe8UOobe+GFobeKMp6lyP7lAY3v8 ri/i647gvcgtL/oWxBtYpFFPUKB49dRAT5bXvaAWPGjjH0u/i3x74eRpRBUdLZDnhgzn a4ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731139357; x=1731744157; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=eLG3m483636NsRMvOyDYGaK8DC2slOnsYeNLFJYgJLo=; b=Qpins6W9Bm6hr8caTr9kNn2OKLttpkxl+bewHoBWF2rcIYW/Yo0ruuunwyh4+ufumx RWC33r/2udw48uAXQS8ZKTWajOmCWEPm8anJ6aajL04L5fbkqPBKxdZLrJ+ijVSC08XF h4Aret6YtzUf57zUvpchi6odrd7UnV7ZGMR9HkAgEub3qFOpnvGUt0fSWQNAvmwwydSC 2SyYjyJEKGeYM6FJ0MEiVaF2lFuUOFWPdKoUs6u/f0jOTxqzjIfurYMx0lNH+jmf2TZ3 jcmA5KcdUOWFWP48HCV8Vetyz25Wl9f/YOuvDHlXpQEQWeWR39eb67YK4feMkYaC5EIJ NVCA== X-Forwarded-Encrypted: i=1; AJvYcCV1UG+cRsX+n6YEw/J2YOpPnMwp3mczwFSZ/iC4tUvoSe+o1RKwr9WY/9oD7uPzMXWF0r0QUQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxNnDQAFXDFe2S8PtXhALiEtPdvFtADUOw/Nc6ahaHUlWLpIVpE l7rmu+Dv/kx5X6W5E7i+c4bamBnvaSHrBv/9fZw9oMPbBc58/PJruLRa0Q== X-Google-Smtp-Source: AGHT+IHiAjVCpzKm/iOuJux0wrXm0OiEW828YYuf+uBovmV0e5DKdZmFRlUf2dJbVChJz9k8KwArMQ== X-Received: by 2002:a5d:6487:0:b0:37c:d2e3:1298 with SMTP id ffacd0b85a97d-381f188aecbmr5817691f8f.55.1731139357250; Sat, 09 Nov 2024 00:02:37 -0800 (PST) Received: from pro2 (p4fe3afe2.dip0.t-ipconnect.de. [79.227.175.226]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed9706e2sm7189403f8f.7.2024.11.09.00.02.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Nov 2024 00:02:36 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sat, 09 Nov 2024 08:23:44 +0100") References: <20241108063148.30423-3-gongqijian@gmail.com> Date: Sat, 09 Nov 2024 09:02:34 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gerd =?UTF-8?Q?M=C3=B6llmann?= writes: > Which is fixed for me with Also committed to savannah now. Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.50 listed in sa-trusted.bondedsender.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.50 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.50 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.50 listed in bl.score.senderscore.com] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gerd =?UTF-8?Q?M=C3=B6llmann?= writes: > Which is fixed for me with Also committed to savannah now. Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.50 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.50 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.50 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.50 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Gerd M=C3=B6llmann writes: > Which is fixed for me with Also committed to savannah now. From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 08:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Cc: gerd@gnu.org, gongqijian@gmail.com, 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.173114025428222 (code B ref 74274); Sat, 09 Nov 2024 08:18:02 +0000 Received: (at 74274) by debbugs.gnu.org; 9 Nov 2024 08:17:34 +0000 Received: from localhost ([127.0.0.1]:53276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9gez-0007L8-U4 for submit@debbugs.gnu.org; Sat, 09 Nov 2024 03:17:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9gex-0007Ku-6J for 74274@debbugs.gnu.org; Sat, 09 Nov 2024 03:17:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9ger-00036i-H9; Sat, 09 Nov 2024 03:17:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=O3qivieJf8UKNE1kbMt+HpMBwUfF9yeUv8Q87udxnC4=; b=LPmGMigW6F0zf3nahJXC TwMXX1CGqawhWOOEkjzrcJrFfjQwd/3BiBMUA65N4SrBvQB9XHvxtcAHk19d/An0uoex02BJuvIWu Mgnau80LOSm8tAFbarm0UrIcMndAWH2b3bIBTOvZO8Z0onD0nrwgA4nPbZVoY/8kciTmtRT8cOeAa uZeVqH9Imt2YDFoX3RjiyKt6EO8C/PZ1n1vRfQ9jWfQlKuQRzsXfLfRp9j4l+Gui3azUXUdUpZ8ZA AhfyQFijhwkaHYigH6jzkNe2z4K+bvMD0j8wXRxBvSIju2Mc55EG4hgiQo1OfHkjZNnKZMW9tz6u3 9s9POmWrA2eJZQ==; Date: Sat, 09 Nov 2024 10:17:23 +0200 Message-Id: <86cyj4om7g.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sat, 09 Nov 2024 08:23:44 +0100) References: <20241108063148.30423-3-gongqijian@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Gerd Möllmann , 74274@debbugs.gnu.org > From: Gerd Möllmann > Date: Sat, 09 Nov 2024 08:23:44 +0100 > > Gerd Möllmann writes: > > > qijian gong writes: > > > >> Gerd Möllmann 于2024年11月9日 周六下午12:15写道: > >> > >> Do I understand this right, that the advice you add to > >> tty-tip-compute-position only serves the purpose of being able to pop up > >> a tip frame early, when mouse-position doesn't really have a position to > >> report? Or does it also serve another purpose? > >> > >> Yes, that's correct, there is no other purpose. It seems > >> mouse-position doesn't really have a position until the mouse was > >> moved by user. > > > > Ok, thanks. > > > > I think I know what this is. It's the very particular case of the very > > first redisplay + presence of a child freame, which copies glyphs from a > > current matrix that is still clear, i.e. zeroed, so that glyph::frame > > is zero and so on. > > Which is fixed for me with > > 1 file changed, 6 insertions(+), 3 deletions(-) > src/dispnew.c | 9 ++++++--- > > modified src/dispnew.c > @@ -3544,9 +3544,12 @@ prepare_desired_root_row (struct frame *root, int y) > if (!root_row->enabled_p) > { > struct glyph_row *from = MATRIX_ROW (root->current_matrix, y); > - memcpy (root_row->glyphs[0], from->glyphs[0], > - root->current_matrix->matrix_w * sizeof (struct glyph)); > - root_row->enabled_p = true; > + if (from->enabled_p) > + { > + memcpy (root_row->glyphs[0], from->glyphs[0], > + root->current_matrix->matrix_w * sizeof (struct glyph)); > + root_row->enabled_p = true; > + } > } > return root_row; > } Should this perhaps have an eassert which verifies that every glyph has a valid frame pointer? At the very least please add a comment there explaining the need for the enabled_p test and mentioning the frame pointer of the glyphs. Thanks. From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 08:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: gerd@gnu.org, gongqijian@gmail.com, 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.173114085329861 (code B ref 74274); Sat, 09 Nov 2024 08:28:02 +0000 Received: (at 74274) by debbugs.gnu.org; 9 Nov 2024 08:27:33 +0000 Received: from localhost ([127.0.0.1]:53295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9gof-0007lZ-Cr for submit@debbugs.gnu.org; Sat, 09 Nov 2024 03:27:33 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:57383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9god-0007lM-Cy for 74274@debbugs.gnu.org; Sat, 09 Nov 2024 03:27:31 -0500 Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-37d4a5ecc44so1832544f8f.2 for <74274@debbugs.gnu.org>; Sat, 09 Nov 2024 00:27:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731140785; x=1731745585; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=qhjKMwyvwc2D8jQ2BNhNp4zmkBNrBdOBqOHxn6lZj4o=; b=AsnB1H+VDa0Guqw31TezTvL4Ac9XnGZnLFIFIh1x568mOrgVvmdB+bPPl/RSVxTjE3 D40sxiZvB65Hnq0tXFovuaTAYTomeZbv+EwGo1HI/RAiQtFOnu8st772h1nrn2IiKhYA uQJrepsem/sZO8CfMm5H21WGwo2zNHQt1duxQTkSOmkgDmXYbTIf+6Muhu0FJDZFztFt hhg45qTEvRu+VbbSS+gpmsTBz8rsG0SwIGTXY6NmUzbQfrsdHDYgHfabRDgt4aSOsmJm zPe1bmVGMEd3o9JOHZ4YGHDl/KOYl+1I6FLz0z94QZT76Zgx5yGRLdrq5wg8yteSaNjl mGrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731140785; x=1731745585; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qhjKMwyvwc2D8jQ2BNhNp4zmkBNrBdOBqOHxn6lZj4o=; b=aYPm5z+cfEYKmv/ppO00qZKwL/fVBiBOSmEX9Zt+BeV9XBhFUshiDWvzHnsP4bwk1W acvejcl+2lxoYFYK2DaEsXdPwFKjdYojnHZFfCSR7UiL5iOQlvGfdGHUzKhmF91K/9Wl x/wmsl5CbnS0trzBxUIfk7hucQV0bVuGwvZAzhx382S80rjVZKYfAwvDdCBinBAKMny1 C6ADZDSvtbHzyifGpMjbL8vMKW7F+7EhLhjFRf3VfcOHLY/7N1Wrln8ajhsO07y1Jaf0 NXow9JDKfxZRl89HfgrP3ohzS0R8xIalS0ry3t7Njd/jMf+MoDhp3lSsKKwSI5bexIh7 63Ww== X-Forwarded-Encrypted: i=1; AJvYcCXPS7L4HHNAJ+fidua04y9a/o5m87sYHxj5S8CAJmNrhVChYhUDCz02bKa0uD8PN/zdqlE/Uw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy+3Ajbowo9/8J+dPX5xubDfD7DytdTQLxQLIPW5crkcqKwOIYK 5R0A7ZgTMMuNYKV3or7QehAK29wNoA+FS72PmfuT8c3VzbOrUfZ2la+hmw== X-Google-Smtp-Source: AGHT+IGaiMHekrU1q0LZ5T0gIzzMtLd6Nuv42LRL6kjRDWsamrkctKTmCHyex0zI3DVWaEKPkIunYw== X-Received: by 2002:a5d:5f45:0:b0:37d:3f81:153e with SMTP id ffacd0b85a97d-381f186cbd5mr4690869f8f.14.1731140785261; Sat, 09 Nov 2024 00:26:25 -0800 (PST) Received: from pro2 (p4fe3afe2.dip0.t-ipconnect.de. [79.227.175.226]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed97c6b6sm7014617f8f.24.2024.11.09.00.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Nov 2024 00:26:24 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: <86cyj4om7g.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 09 Nov 2024 10:17:23 +0200") References: <20241108063148.30423-3-gongqijian@gmail.com> <86cyj4om7g.fsf@gnu.org> Date: Sat, 09 Nov 2024 09:26:23 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: > Should this perhaps have an eassert which verifies that every glyph > has a valid frame pointer? At the very least please add a comment > there explaining the need for the enabled_p test and mention [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.49 listed in bl.score.senderscore.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.49 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.49 listed in sa-accredit.habeas.com] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: > Should this perhaps have an eassert which verifies that every glyph > has a valid frame pointer? At the very least please add a comment > there explaining the need for the enabled_p test and mention [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.49 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.49 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.49 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.49 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [79.227.175.226 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Eli Zaretskii writes: > Should this perhaps have an eassert which verifies that every glyph > has a valid frame pointer? At the very least please add a comment > there explaining the need for the enabled_p test and mentioning the > frame pointer of the glyphs. I don't know. It's one of the most basic things about the meaning of enabled_p in current glyphs, and it's not limited the frame pointer in any way. From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Nov 2024 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: gerd@gnu.org, gongqijian@gmail.com, 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.173123623313747 (code B ref 74274); Sun, 10 Nov 2024 10:58:02 +0000 Received: (at 74274) by debbugs.gnu.org; 10 Nov 2024 10:57:13 +0000 Received: from localhost ([127.0.0.1]:55889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA5d2-0003Ze-Uu for submit@debbugs.gnu.org; Sun, 10 Nov 2024 05:57:13 -0500 Received: from mail-wm1-f45.google.com ([209.85.128.45]:48362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA5d0-0003ZV-UE for 74274@debbugs.gnu.org; Sun, 10 Nov 2024 05:57:12 -0500 Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4315e9e9642so29550455e9.0 for <74274@debbugs.gnu.org>; Sun, 10 Nov 2024 02:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731236170; x=1731840970; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ahens6pbGRcVT6JQRwsnviBR1m+STY8zbVo000zC2nA=; b=HF8WRhEqHAi0r+owQviUcnw9LDZarIZg210+30G8sWWLCtv/qfd2Guxg5KisluLFRh W/UhuFBJaD9o2X37UKZNxWZfCEy9akNSWuBKtonYdBDJIQj904Gu06PXTUyxHRhdOeIU o7KVHQtqwJE92siX2QOyWXS3rxBUOLysDbC57u0QAOBXpgR7H8/ns+dP5b+VTdd1fJuA HLhNqJAZPCuVw+rXC9V7LvJw5pcusPox1w/DbmX9b7bWQdhPWcfbN8lQcXC5PUgNlZ7t kmbm6CCj2X7njJPT29c7nwZYfhpGd57QPgW9dAhcVbiM6OARKhpAN1ejbJxXWUNnpnlO lL9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731236170; x=1731840970; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ahens6pbGRcVT6JQRwsnviBR1m+STY8zbVo000zC2nA=; b=JGZ48jpHwk1G6sJokTAib1xij9jIX80LFArK93pLBAXSlWA561LXp/K+5WMsfHhb4n MNPB5seKvmBPGvmxtTKw7yXb3gF2qfmaiXZzaXXRs+jukTznCsu9BqlaB/41PuP49zQ2 OgXxaoeajKY2jslhwdEWSZlyOvzxxv4aB7K8HXKyMqsyIhTHT/qeG/HzvNq6xTMlMS7L /zjZ15hrOoQDWnfgbROkR6Y/OXxpgh2TMedaO4zrUFs43avAw8X7gJU13QCvf3wfFSEe aD0ca/5qmqn/zE3rjPpEmxbOXTeZYLqYfszBkSeJT7fwKy0Rf+zLF0F791YAzuPjlsoZ 1TJQ== X-Forwarded-Encrypted: i=1; AJvYcCXXtRtCGy9fzMaZ9yKNYzPktVMfrxlAAKKvjPJflOaUtzWE+zXhaN9KnL2TrZaHmMzMzU2XNA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwAq8wLYQ+VyBfZ3zFf7wEEGSPpTtPRmyIbfPEt7RY/5gDe3tj1 /8Qay/2DbMZ8VE1fVqe6nUayj6ADrwOoSbUCCpGOrKorI7nt+7MwIqF5cg== X-Google-Smtp-Source: AGHT+IHBCUiNDHAYpiM4z3Gfbicgp7TKPL/7zsledZL/WoHulf8IEJUegT5TffTdbJnltNUMkNvY1g== X-Received: by 2002:a05:600c:138a:b0:431:5c17:d575 with SMTP id 5b1f17b1804b1-432b750274fmr67964395e9.11.1731236169649; Sun, 10 Nov 2024 02:56:09 -0800 (PST) Received: from pro2 (p4fe3a255.dip0.t-ipconnect.de. [79.227.162.85]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b05c2161sm136523675e9.31.2024.11.10.02.56.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2024 02:56:09 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sat, 09 Nov 2024 09:26:23 +0100") References: <20241108063148.30423-3-gongqijian@gmail.com> <86cyj4om7g.fsf@gnu.org> Date: Sun, 10 Nov 2024 11:56:07 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > Eli Zaretskii writes: > >> Should this perhaps have an eassert which verifies that every glyph >> has a valid frame pointer? At the very least please add a comment >> there explaining the need for the enabled_p test and mentioning the >> frame pointer of the glyphs. > > I don't know. It's one of the most basic things about the meaning of > enabled_p in current glyphs, and it's not limited the frame pointer in > any way. Found another case of copying from non-enabled glyphs. Reproducable with emacs -q -l with a file containing (with-current-buffer (get-buffer-create "1") (setq header-line-format '((:eval (format "*package*: - symbol-packages: - lexical-bindin= g: %s" lexical-binding))))) (with-current-buffer (get-buffer-create "2") (insert "something")) (let ((w1 (selected-window)) (w2 (split-window-right))) (set-window-buffer w1 (get-buffer "1")) (set-window-buffer w2 (get-buffer "2")) (message "message")) It's a 30 years old bug, so it isn't something urgent to fix. I'll port something to savannah as soon as I find the time. From unknown Sat Sep 20 07:39:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74274: [PATCH] Revert part of d3f8ed730f to avoid segmentation fault Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Nov 2024 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: gerd@gnu.org, gongqijian@gmail.com, 74274@debbugs.gnu.org Received: via spool by 74274-submit@debbugs.gnu.org id=B74274.17312656911054 (code B ref 74274); Sun, 10 Nov 2024 19:09:01 +0000 Received: (at 74274) by debbugs.gnu.org; 10 Nov 2024 19:08:11 +0000 Received: from localhost ([127.0.0.1]:56633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tADIB-0000Gv-9U for submit@debbugs.gnu.org; Sun, 10 Nov 2024 14:08:11 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:53689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tADI7-0000Gg-VG for 74274@debbugs.gnu.org; Sun, 10 Nov 2024 14:08:09 -0500 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4316cce103dso48511395e9.3 for <74274@debbugs.gnu.org>; Sun, 10 Nov 2024 11:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731265622; x=1731870422; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TQikAJr4F2EODuxHou906IYmtgf622HY/Tm0Ra7UgH8=; b=FBcteL5sPbznuGl2/4e9BA9VC8gxZcEBmvstuBJqQ9uTt8DSwkwQdbQ/fqqAp+CMMA lYpwcJSePcrYHkURjccM9t7q//wZ4bOtlfogubRfvKSYanlqS8R+RBPPItxoY+8YgeAk cYO8tpiTdcKdRabFbQSXerRid319O4hjE9JzHWGRLOMY9hvflkD2nnyL2517d9tjPXDN jRLx9uTsgQtUjfhAsdFhy6wB7lgkewZ8lZNnRc+JIMACqEo0spTlP+AcYeR/IsWUxFCi K0dIKGHJKx0X9v6vyOls5KWUMbLmWFuDtvvCHcBATZwgryKu+Ndd+cq0DbQeo5WJWrE2 XlSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731265622; x=1731870422; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TQikAJr4F2EODuxHou906IYmtgf622HY/Tm0Ra7UgH8=; b=sUnr+rFkD0yAKpfH2Ww6uy6uyko2jhdN5B0o214ZrzPqI3VxOGcuHrOpSx6nY9cdoX x6Ab7B92vyTo795IK4cmomRcdeKDY4RudPXGz3DOYPkuUkXymRY8yCmjdnxqtFhMDl3K ZgmIezXFphkhIbAUcccVPDSvM4VuGaOsCFR9UmZUWm476GKVc2NiVMluUDOLWM1NlAlk KvxjeTTtOtS9fu9RoMtYnoAK4XT5z92Gcbhh2XXEpWbfwj6u7cyuxKuCizCnPws2xhkD nIaDmbDIXQODVRhNa/HqQuypEWMZO6DyT6NE/jWEwNCnxRxfs1ksV/xO+Yho16HTIIhx qFaA== X-Forwarded-Encrypted: i=1; AJvYcCUAB56DLWxrBhL5uME6CLfmYrffrAEJgtMqymad2Sb3w1sTqiskov4UF/pIP31x6W9VgZBZIQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwqrCyxEFdKHzCmXruddgkf4szriBbSMhDOXE3YOvxXU/WqlJ0M AchCZVhTUVm3du3apSqk/Px/0cXkj2a2gVlv0JrEUkLrKaCt7mIP544pjQ== X-Google-Smtp-Source: AGHT+IHXJvJ7dKhTiAleKTDloNYO1/5LCs6eCvjTUIFAkrZAMq4Li+GG+VUbAgxqFL7Ts9loFDYArQ== X-Received: by 2002:a05:600c:4f4a:b0:431:9a26:3cf6 with SMTP id 5b1f17b1804b1-432b74fed4amr113928335e9.4.1731265621446; Sun, 10 Nov 2024 11:07:01 -0800 (PST) Received: from pro2 (p4fe3a255.dip0.t-ipconnect.de. [79.227.162.85]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b05c1f61sm155205285e9.35.2024.11.10.11.06.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2024 11:07:00 -0800 (PST) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sun, 10 Nov 2024 11:56:07 +0100") References: <20241108063148.30423-3-gongqijian@gmail.com> <86cyj4om7g.fsf@gnu.org> Date: Sun, 10 Nov 2024 20:06:58 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > I'll port something to savannah as soon as I find the time. Done, and closing because I don't expect further input. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 10 14:08:14 2024 Received: (at control) by debbugs.gnu.org; 10 Nov 2024 19:08:14 +0000 Received: from localhost ([127.0.0.1]:56636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tADIE-0000HB-JV for submit@debbugs.gnu.org; Sun, 10 Nov 2024 14:08:14 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:54546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tADIB-0000Gw-OA for control@debbugs.gnu.org; Sun, 10 Nov 2024 14:08:12 -0500 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4315c1c7392so33315885e9.1 for ; Sun, 10 Nov 2024 11:08:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731265631; x=1731870431; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=sQASY5Vn/+BFlRnp+UX+5MyWBPHDrRkV9Yiit1WEWRw=; b=VAIH7sGdcgN5DpeCAVgvdSY+f/be3PBbUExoA8AhZZsRorUum9EFhMYLz4NvrALUk+ ZvhRy0vZoHbj7nHoZUH88EqgkQvCi8mL8AWnsrIMsLDdedeMmb1kBk6uZvoR22s1c5I0 jW1OIDRh9usvBBNf5lwO3Wchvj43bhd+SF5QGeyMJU3s6S94PoIV5So8liECwEH8OZDg baMjRfviAU/m74WzKhmbDrbQ+xoGBJFws02kXPwyt+69KQWz+y2+n5a5NCRm96XdJ4BV Kcg6NhFS2pPegk1q6Byr2d/i238M9PKRirpuZ2gjAyB5Xy+Z+Jcy2Ymq5/xNGQhwkDS0 0NFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731265631; x=1731870431; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sQASY5Vn/+BFlRnp+UX+5MyWBPHDrRkV9Yiit1WEWRw=; b=r3FH7WWr70qnwVayCq3+gZM29IEyl/qB0q5DaoxrZ15IwYXfVbuQ/tapAOXaq+Pu6+ XQOFg25Qde9Ligu2/ytXA22gdwRK7kwOIEBF4Bw8D6f+g64mkevBxk0i19Vh8utwFO0D G3Dbw3jGSaID0WOVYCuvFznFEuop2HnRExiGsFn0IU9lSjNpXJ2a0TPBBZkE29VWrTc3 3Xfxzo6fILYNLaaTZt/SeMi6BjqSP5CKHS0VgboGrTZpThSqqg/X4r7AAH5mK/qs6BvG CFgyh0DBlcqVeZ1TklRop7yX4VSYXqKKMQGQ7zSmyYLy0WNFMcyu+5tiURxDnYGoJRoi ihdA== X-Gm-Message-State: AOJu0Yz3BdwRf9AyVOGuHx4X0QWsb/26G1IKVi1O3uhjghEm9E+SWjje +T+jd31YP7unm2S78Va/bwpmrwj9NIWbRExtZOEtfTqQODewE2RMcCIWwQ== X-Google-Smtp-Source: AGHT+IE2ebfxSLsUj1YlRV4E5fxh424rLZjWLYh6jg7DvcZsLC8Tah97LocTQ5U6MoVrEGkqywAn1A== X-Received: by 2002:a05:600c:46c4:b0:431:5e3c:2ff0 with SMTP id 5b1f17b1804b1-432b75031famr85680715e9.8.1731265630719; Sun, 10 Nov 2024 11:07:10 -0800 (PST) Received: from pro2 (p4fe3a255.dip0.t-ipconnect.de. [79.227.162.85]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b05c2161sm150227805e9.31.2024.11.10.11.07.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2024 11:07:10 -0800 (PST) Date: Sun, 10 Nov 2024 20:07:09 +0100 Message-Id: To: control@debbugs.gnu.org From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Subject: control message for bug #74274 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 74274 31.1 quit