From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70385: Crash in note_fringe_highlight Date: Thu, 18 Apr 2024 14:08:33 +0300 Message-ID: <86jzkvdj2m.fsf@gnu.org> References: <86h6g49cdv.fsf@mail.linkov.net> <86a5lvnbiy.fsf@gnu.org> <864jc2mvgo.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: vekazanov@gmail.com, 70385@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 18 13:10:18 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 1rxPej-0005zp-Ps for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Apr 2024 13:10:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxPeW-0000jv-V3; Thu, 18 Apr 2024 07:10:07 -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 1rxPeT-0000hz-G9 for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 07:10:01 -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 1rxPeT-0006f6-4E for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 07:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxPeg-0004Rm-0j for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 07:10:14 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Apr 2024 11:10:13 +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.171343855316756 (code B ref 70385); Thu, 18 Apr 2024 11:10:13 +0000 Original-Received: (at 70385) by debbugs.gnu.org; 18 Apr 2024 11:09:13 +0000 Original-Received: from localhost ([127.0.0.1]:51785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxPdY-0004Lt-Vu for submit@debbugs.gnu.org; Thu, 18 Apr 2024 07:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxPdO-0004JV-TR for 70385@debbugs.gnu.org; Thu, 18 Apr 2024 07:09:00 -0400 Original-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 1rxPd5-0006W2-V6; Thu, 18 Apr 2024 07:08:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=y7ZS85v4F0mA11E45tGDiIBrjKbL8fqe48QJTGxk2T0=; b=fopidB/76WaT LDymyvnG0wIWtC0LSKRysYQHMnKwrOriSokWfPg/res+g7TCllBlQ9wAMzZhqt5BjtBPxtJOISyc6 pILOJQNvLfy0pz9MjGYpoj0r408170rKMqNAPF3l4TPHcSiXrq9Yvo21I4ysS+nGklskWRGH/k/7y GehO9/KWh2IWhR4mBjB+UGbwmYyBCSLaJCrquTm/VARsxVtqEdedz2SS7OM83qtvToyHcn1NN97NY ko3XPnGnfHZV0TS2ylGenFYcLnnORxtT8u9AJ6+Tu3vDqvgEPTchJdqAXmR10XbL2PSlx7NlTEIRT CbZ1nTDXDxAok26SubCmQw==; In-Reply-To: <864jc2mvgo.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 15 Apr 2024 19:39:19 +0300) 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:283553 Archived-At: > From: Juri Linkov > Cc: Vladimir Kazanov , 70385@debbugs.gnu.org > Date: Mon, 15 Apr 2024 19:39:19 +0300 > > > 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?