From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90 Date: Sun, 8 Mar 2020 15:34:07 -0700 Organization: UCLA Computer Science Department Message-ID: <22225b66-44f6-d132-3036-92181d53c28d@cs.ucla.edu> References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <329e58b1-6255-311e-bdd8-b6f5b3d5208f@cs.ucla.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------CBD680A4130A68F331AEAEA2" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="69768"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: 39962@debbugs.gnu.org, Pieter van Oostrum To: Pieter van Oostrum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 08 23:35:13 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 1jB4Vs-000I17-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Mar 2020 23:35:12 +0100 Original-Received: from localhost ([::1]:34154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jB4Vr-0000fe-Mg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Mar 2020 18:35:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35693) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jB4Vj-0000fN-6o for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2020 18:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jB4Vi-0001ig-Bo for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2020 18:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43489) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jB4Vi-0001iZ-8R for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2020 18:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jB4Vi-0007mQ-6G for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2020 18:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Mar 2020 22:35: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.158370685629848 (code B ref 39962); Sun, 08 Mar 2020 22:35:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 8 Mar 2020 22:34:16 +0000 Original-Received: from localhost ([127.0.0.1]:49462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jB4Uy-0007lM-AX for submit@debbugs.gnu.org; Sun, 08 Mar 2020 18:34:16 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jB4Uw-0007l8-AI for 39962@debbugs.gnu.org; Sun, 08 Mar 2020 18:34:15 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8583416006B; Sun, 8 Mar 2020 15:34:08 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id pUHdMj2zzkiK; Sun, 8 Mar 2020 15:34:07 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D36D1160091; Sun, 8 Mar 2020 15:34:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TOi8jYjdheVR; Sun, 8 Mar 2020 15:34:07 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A0E4F16006B; Sun, 8 Mar 2020 15:34:07 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:177069 Archived-At: This is a multi-part message in MIME format. --------------CBD680A4130A68F331AEAEA2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 3/8/20 2:37 PM, Pieter van Oostrum wrote: > gdb) p (char *) &lispsym > $35 = 0x100a38d30 "\230\001" In that case, I expect the attached patch to work around the clang bug (and it is a bug in clang - clang is not outputting 'lispsym' debug info anywhere but in lread.o). Please give this patch a try and (assuming it works) go on to debugging the original problem. --------------CBD680A4130A68F331AEAEA2 Content-Type: text/x-patch; charset=UTF-8; name="tt.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tt.diff" diff --git a/src/.gdbinit b/src/.gdbinit index 5dd0133715..30c7b055ce 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -72,7 +72,7 @@ end define xgetsym xgetptr $arg0 - set $ptr = ((struct Lisp_Symbol *) ((char *)lispsym + $ptr)) + set $ptr = ((struct Lisp_Symbol *) ((char *) &lispsym + $ptr)) end # Access the name of a symbol --------------CBD680A4130A68F331AEAEA2--