From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#41321: 27.0.91; Emacs aborts due to invalid pseudovector objects Date: Fri, 22 May 2020 14:04:03 +0000 Message-ID: References: <83zha8cgpi.fsf@gnu.org> <83r1vibmyj.fsf@gnu.org> <83imgublku.fsf@gnu.org> <831rncjuwf.fsf@gnu.org> <83tv082mm1.fsf@gnu.org> <83lflk2l07.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5781"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41321@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 22 16:05:10 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 1jc8IP-0001Mn-Vm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 May 2020 16:05:09 +0200 Original-Received: from localhost ([::1]:37408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jc8IP-0006D8-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 May 2020 10:05:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc8II-000698-I0 for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 10:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jc8II-0004sr-8J for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 10:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jc8II-0000yJ-3s for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 10:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 May 2020 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41321 X-GNU-PR-Package: emacs Original-Received: via spool by 41321-submit@debbugs.gnu.org id=B41321.15901562983723 (code B ref 41321); Fri, 22 May 2020 14:05:02 +0000 Original-Received: (at 41321) by debbugs.gnu.org; 22 May 2020 14:04:58 +0000 Original-Received: from localhost ([127.0.0.1]:59922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc8I2-0000xl-PF for submit@debbugs.gnu.org; Fri, 22 May 2020 10:04:58 -0400 Original-Received: from mail-oi1-f172.google.com ([209.85.167.172]:34196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc8I1-0000xY-Ee for 41321@debbugs.gnu.org; Fri, 22 May 2020 10:04:45 -0400 Original-Received: by mail-oi1-f172.google.com with SMTP id w4so9411465oia.1 for <41321@debbugs.gnu.org>; Fri, 22 May 2020 07:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YQFPxd60jkr+tIVaDYyLX4LXmqKGH/tymvJyhkS4i/0=; b=f+z+BF2KSk6EpctT+BVFATQ2iGh2zfKEhhiIKcXX/b0LdQrOlUfPARP6PdxPKkOhxn vqEdDiRErbdOmu8gIrBqoNd1UbbwwiwcdNOD23dIC77Z1eGB/WkS94DZ+HjqPMUMbEbt tcmfQO02jgLP2Azt2cZU6DpKHXYAW9bC27K89w5e8CWhotfGMTlZgIjaeZrDqlU2kKU7 lUQ9Zcu/crvhSrDh+iH5Ic9Db7yazsIiV+0pTw+oVlYURQMMGO2PBugJvv64/3jlxsMi ikdOkxDOKrsSvy+qgqojU8Tu86VRF1EZyfPEP9A98Lh6772AfdCt8e77VeLSYRPsN9aA D1CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YQFPxd60jkr+tIVaDYyLX4LXmqKGH/tymvJyhkS4i/0=; b=dsB7nlLpRSs5Urp4RSGaYsm7I1qmTTXno49rwaHFis9gP+QJlKyjjFCTFxoNbj4NDa ICeGHNRp0KxqNu3XiRwFbEi+FxN2ccFEc04oQwQ7QYRrKOrDGfh1Rns2i7ZoHkO/3frh +6p1mYYtI3OeZG1dEvXnj27hogujNuvTz2F+fVFprxjjpOeBfjeatsVBV71otWCdubCX q9XEn1iu2s+ERZD1CDRq9cR+7n31X4dx3/vgcI6/gBk0dkkPHIe4Dh1QN5odGci1mf+i T9dvzc/qphO9mGNdMSjXgAqqa0J6urVyKwdXaKqiiT4uFNuZivHrs+XHHb3VEcv4KsdJ bSCQ== X-Gm-Message-State: AOAM532vOWp+q/MsPkLqMwyPq+5Bv1bhHU9pgGNrd6eBd6urv21c2spu 3OSHz3jS/wzjbb3JtoIx1PSSPCjEvLxRgihoEy0= X-Google-Smtp-Source: ABdhPJxqbjVBfVWA7z/2wlB3nAARmoWZPULTSvKCjWsmzMerhOq++xnMFWFiACqoMN5S9g3grvauucqwg0YRAy6PIxE= X-Received: by 2002:aca:c6d3:: with SMTP id w202mr2869083oif.44.1590156279735; Fri, 22 May 2020 07:04:39 -0700 (PDT) In-Reply-To: <83lflk2l07.fsf@gnu.org> 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:180771 Archived-At: On Fri, May 22, 2020 at 12:48 PM Eli Zaretskii wrote: > > From: Pip Cet > > Date: Fri, 22 May 2020 12:39:27 +0000 > > Cc: Stefan Monnier , 41321@debbugs.gnu.org > > > > > Sorry, I don't follow. "xtype" shows the type of the last result, > > > AFAIK, in this case the type of $29. If this changed somehow, either > > > we have a bug in .gdbinit or I have been using GDB incorrectly for I > > > don't know how many years. > > > > I think it's most likely to be a GDB bug, and I can't reproduce it here. > > > > But it's definitely trying to access memory at address 0x18ac04f8, > > which corresponds to start_marker. > > My interpretation of that equality was that both start_marker and the > buffer's overlay chain git invalidated because some code relocated > objects and unmapped the previously referenced memory, perhaps due to > GC. I don't yet have an explanation for how this could happen, so > maybe this hypothesis is wrong. I think it has to be, because the error message would then read "Cannot access memory at address 0x170cb040", which is the only address xvectype is supposed to look at. > But I very much doubt there's such a blatant bug in GDB: this is the > latest GDB 9.1, and I'm using these commands from .gdbinit all the > time. I tend to think this is somehow part of the bug that caused the > crash. I'm not sure how it could be. I don't think posting the disassembled code for `signal_before_change' can hurt, since there's no easy way for anyone else to reproduce it.