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#44047: current HEAD has been crashing on startup Date: Sat, 17 Oct 2020 20:15:34 +0300 Message-ID: <83v9f8srih.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1542"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44047@debbugs.gnu.org To: Liam Stitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 17 19:16:15 2020 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 1kTpoV-0000He-5A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Oct 2020 19:16:15 +0200 Original-Received: from localhost ([::1]:47992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTpoS-0000xL-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Oct 2020 13:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTpoI-0000xC-1j for bug-gnu-emacs@gnu.org; Sat, 17 Oct 2020 13:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTpoH-00081D-NF for bug-gnu-emacs@gnu.org; Sat, 17 Oct 2020 13:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTpoH-0001JJ-Jk for bug-gnu-emacs@gnu.org; Sat, 17 Oct 2020 13:16: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: Sat, 17 Oct 2020 17:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44047 X-GNU-PR-Package: emacs Original-Received: via spool by 44047-submit@debbugs.gnu.org id=B44047.16029549405010 (code B ref 44047); Sat, 17 Oct 2020 17:16:01 +0000 Original-Received: (at 44047) by debbugs.gnu.org; 17 Oct 2020 17:15:40 +0000 Original-Received: from localhost ([127.0.0.1]:35455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTpnw-0001Ik-Ei for submit@debbugs.gnu.org; Sat, 17 Oct 2020 13:15:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTpnv-0001IY-Ag for 44047@debbugs.gnu.org; Sat, 17 Oct 2020 13:15:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58702) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTpnp-0007zf-WB; Sat, 17 Oct 2020 13:15:34 -0400 Original-Received: from [176.228.60.248] (port=1488 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kTpnp-0007QI-8D; Sat, 17 Oct 2020 13:15:33 -0400 In-Reply-To: (message from Liam Stitt on Sat, 17 Oct 2020 11:06:23 -0600 (MDT)) 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" Xref: news.gmane.io gmane.emacs.bugs:190822 Archived-At: > Date: Sat, 17 Oct 2020 11:06:23 -0600 (MDT) > From: Liam Stitt > > > I waited a few days before reporting this because I'm not sure how much > useful information I can provide in this report, but it hasn't been > mentioned by anyone else, so here goes. > > Running ./emacs in src/ within gdb (invoking it with -Q), I'm getting: > > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > > Program received signal SIGSEGV, Segmentation fault. > > build_frame_matrix_from_leaf_window (w=0x555555b8c140, > frame_matrix=) at dispnew.c:2531 > 2531 fill_up_frame_row_with_spaces (frame_row, > window_matrix->matrix_x); > > This is on a Linux 5.7 kernel, Debian unstable, x86-64, but I can > replicate it on a raspi running 5.4 and stable. > > It appears to be related to -nw somehow; using that triggers the crash on > the Pi (otherwise it starts up normally). You are saying that "./src/emacs -Q -nw" crashes on startup? That doesn't happen to me with today's master branch. Can you build an unoptimized version, run it under GDB, and when it crashes, show a backtrace?