From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#70385: Crash in note_fringe_highlight Date: Thu, 18 Apr 2024 20:10:13 +0300 Organization: LINKOV.NET Message-ID: <86v84esjbe.fsf@mail.linkov.net> References: <86h6g49cdv.fsf@mail.linkov.net> <86a5lvnbiy.fsf@gnu.org> <864jc2mvgo.fsf@mail.linkov.net> <86jzkvdj2m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: vekazanov@gmail.com, 70385@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 18 19:36:13 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 1rxVgD-0007fX-2n for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Apr 2024 19:36:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxVfs-0002xT-HP; Thu, 18 Apr 2024 13:35:52 -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 1rxVfq-0002wf-8Y for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 13:35:50 -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 1rxVfp-00054r-W3 for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 13:35:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxVg3-00063N-Hb for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 13:36:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Apr 2024 17:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70385 X-GNU-PR-Package: emacs Original-Received: via spool by 70385-submit@debbugs.gnu.org id=B70385.171346170622766 (code B ref 70385); Thu, 18 Apr 2024 17:36:03 +0000 Original-Received: (at 70385) by debbugs.gnu.org; 18 Apr 2024 17:35:06 +0000 Original-Received: from localhost ([127.0.0.1]:53647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxVf8-0005v8-2b for submit@debbugs.gnu.org; Thu, 18 Apr 2024 13:35:06 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:57125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxVf6-0005uV-GY for 70385@debbugs.gnu.org; Thu, 18 Apr 2024 13:35:04 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id D0334240003; Thu, 18 Apr 2024 17:34:43 +0000 (UTC) In-Reply-To: <86jzkvdj2m.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Apr 2024 14:08:33 +0300") X-GND-Sasl: juri@linkov.net 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:283596 Archived-At: >> > Can you reproduce at will? >> >> It's not reproducible at will, >> and now I got a new crash. >> >> > If so, what does the below show in GDB, >> > when Emacs segfaults and GDB kicks in? >> > >> > (gdb) p w->current_matrix >> > (gdb) p w->current_matrix->rows >> > (gdb) p w->current_matrix->nrows >> > (gdb) p w->window_end_valid >> > (gdb) p window_outdated (w) >> >> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. >> 0x0000555555612343 in note_fringe_highlight (part=, >> y=, x=, window=XIL(0x55555641d7cd), >> f=0x55555641d338) at xdisp.c:35774 >> 35774 if (window_outdated (w) >> (gdb) p w->current_matrix >> $6 = (struct glyph_matrix *) 0x55555a95b6f0 >> (gdb) p w->current_matrix->rows >> $7 = (struct glyph_row *) 0x555556c14310 >> (gdb) p w->current_matrix->nrows >> $8 = 7 >> (gdb) p w->window_end_valid >> $9 = false >> (gdb) p window_outdated (w) >> $10 = false > > Does the current master branch still crash in note_fringe_highlight? No more crashes so far.