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#71224: 30.0.50; SIGSEGV in start_display Date: Mon, 27 May 2024 15:16:50 +0300 Message-ID: <86o78rv499.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26961"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71224@debbugs.gnu.org To: Daniel Clemente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 27 14:18:44 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 1sBZJJ-0006fm-I6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 May 2024 14:18:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBZIm-0000hA-As; Mon, 27 May 2024 08:18:12 -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 1sBZIZ-0000aR-0Q for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 08:17: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 1sBZIX-00028S-FG for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 08:17:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBZIf-00051J-SO for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 08:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 May 2024 12:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71224 X-GNU-PR-Package: emacs Original-Received: via spool by 71224-submit@debbugs.gnu.org id=B71224.171681223719241 (code B ref 71224); Mon, 27 May 2024 12:18:01 +0000 Original-Received: (at 71224) by debbugs.gnu.org; 27 May 2024 12:17:17 +0000 Original-Received: from localhost ([127.0.0.1]:43272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBZHt-00050E-Pi for submit@debbugs.gnu.org; Mon, 27 May 2024 08:17:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBZHr-000501-Uz for 71224@debbugs.gnu.org; Mon, 27 May 2024 08:17:12 -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 1sBZHc-00022Z-Rz; Mon, 27 May 2024 08:16:57 -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=Qa5oQwu4+C93xNrtIv3zFc8E6u4S8PaBnZ4eI4guteQ=; b=jfQqWfqS2CtJ USn+uzvngOH38FRzJuU9ANFgvXj+YgPT0O7dj39fjbbj6sgs1OmligrcIaEcaAaw+h1l18Jy29t+K XmNTDU3leIpnahsnK/Ms6TXSzJp/dPUTnhAo6DU3fpxMLew6S0ZtyjikATiJrwSStj98c2WHLd471 mMl6Wjl22fp7n5K/0+x8DN+oBN13EGR7onjxJE4UxbTGa2CxXwD8MqYR1Cdv7XnYjUyvRkOOWC6tT cVzufyinH2jWxuqcU1NyBkwlxuhYtz9uE2h5v1z65gZHqZWEZGSEfkfaf8m1a6za6KcNQ7kdEQE/h CE18O0PMflp84GxXJ6/17w==; In-Reply-To: (message from Daniel Clemente on Mon, 27 May 2024 11:03:49 +0000) 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:286023 Archived-At: > From: Daniel Clemente > Date: Mon, 27 May 2024 11:03:49 +0000 > > I ran a command to constantly open and close emacsclient TTY frames. > See details in the previous bug report, bug#71223 > Copying it for reference: > emacs --fg-daemon -Q > for j in `seq 300`; do for i in `seq 10`; do urxvt -e emacsclient '-nw' '-e' '(dired "~")' &; done; sleep 1 && killall > emacsclient; done > > It crashed with SIGSEGV. > This happened only once in the last days, after dozens of attempts running that command. I can't reproduce > it. > > Program received signal SIGSEGV, Segmentation fault. > start_display (it=0x7fffffb61a60, w=0x555556fa5ae0, pos=...) at xdisp.c:3734 > 3734 row = w->desired_matrix->rows + first_vpos; If you can still reproduce it, please show the data which is involved in the segfault: (gdb) frame 0 (gdb) p w->desired_matrix (gdb) p w->desired_matrix->nrows (gdb) p window_wants_tab_line (w) (gdb) p window_wants_header_line (w) TBH, I'm quite confused to see that line 3734 segfault, because I cannot understand how w->desired_matrix can be NULL or bogus. Thanks.