From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90 Date: Fri, 13 Mar 2020 09:58:51 +0200 Message-ID: <83zhck8z44.fsf@gnu.org> References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <329e58b1-6255-311e-bdd8-b6f5b3d5208f@cs.ucla.edu> <22225b66-44f6-d132-3036-92181d53c28d@cs.ucla.edu> <89A83582-358F-43DC-B96E-04EE9D655D5F@vanoostrum.org> <63b88e2d-9888-f3ce-a4b0-fcf344e803e5@cs.ucla.edu> <83d09lbgk5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="4432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39962@debbugs.gnu.org, eggert@cs.ucla.edu, pipcet@gmail.com To: Pieter van Oostrum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 13 08:59:11 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 1jCfDr-00013G-Ci for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 08:59:11 +0100 Original-Received: from localhost ([::1]:55242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCfDq-0001mE-Al for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 03:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47104) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCfDj-0001m3-Ir for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 03:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCfDi-0006Sv-Jx for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 03:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCfDi-0006SC-Gj for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 03:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCfDi-0000ZV-Ge for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 03:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Mar 2020 07:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39962 X-GNU-PR-Package: emacs Original-Received: via spool by 39962-submit@debbugs.gnu.org id=B39962.15840863362185 (code B ref 39962); Fri, 13 Mar 2020 07:59:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 13 Mar 2020 07:58:56 +0000 Original-Received: from localhost ([127.0.0.1]:58064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCfDc-0000ZA-A4 for submit@debbugs.gnu.org; Fri, 13 Mar 2020 03:58:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCfDa-0000Yy-86 for 39962@debbugs.gnu.org; Fri, 13 Mar 2020 03:58:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jCfDT-00061y-Uj; Fri, 13 Mar 2020 03:58:47 -0400 Original-Received: from [176.228.60.248] (port=3565 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jCfDS-0006tu-GT; Fri, 13 Mar 2020 03:58:47 -0400 In-Reply-To: (message from Pieter van Oostrum on Thu, 12 Mar 2020 19:13:10 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177248 Archived-At: > From: Pieter van Oostrum > Date: Thu, 12 Mar 2020 19:13:10 +0100 > Cc: 39962@debbugs.gnu.org, Paul Eggert > > > My guess is 0x7ffeef270000 is your stack's guard page... Can you print > > $rsp to confirm? > > Sorry, because of the erratic behaviour of GDB I killed that one. I have a new segfault in the GC. It is a long stack trace, so it could be a stack overflow. And, by the way, I had the two brakpoints set for the assignments to marker->charpos that Eli suggested, but they were not triggered. I have dumped a part of the stack trace below. > > Thread 3 received signal SIGSEGV, Segmentation fault. > dead_object () at ./lisp.h:1303 > 1303 return make_lisp_ptr (NULL, Lisp_String); > (gdb) bt > #0 dead_object () at ./lisp.h:1303 > #1 0x00000001002b6179 in deadp (x=XIL(0x11e331fb5)) at alloc.c:433 > #2 0x00000001002b80d4 in live_cons_holding (m=0x16033ead0, p=0x170c5c770) > at alloc.c:4365 That does look like a stack overflow, since there's nothing at line 1303 of lisp.h which could cause a segfault, except a function call (which pushes stuff onto the stack). It doesn't seem to be related to the crashes due to markers (unless those were somehow caused by stack overflow). Can you enlarge the run-time stack size of the Emacs binary, e.g., by using ulimit? We may need to do that by default in the build command, but just to check it is effective, could you run for a while with an enlarged stack and see if crashes in GC go away? Thanks.