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 12:39:27 +0000 Message-ID: References: <83zha8cgpi.fsf@gnu.org> <83r1vibmyj.fsf@gnu.org> <83imgublku.fsf@gnu.org> <831rncjuwf.fsf@gnu.org> <83tv082mm1.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="27674"; 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 14:41: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 1jc6z8-00077S-1h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 May 2020 14:41:10 +0200 Original-Received: from localhost ([::1]:58258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jc6z7-0001Ty-2v for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 May 2020 08:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc6z0-0001PA-AY for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 08:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jc6z0-0005uZ-05 for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 08:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jc6yz-0006xs-V4 for bug-gnu-emacs@gnu.org; Fri, 22 May 2020 08:41:01 -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 12:41:01 +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.159015121126670 (code B ref 41321); Fri, 22 May 2020 12:41:01 +0000 Original-Received: (at 41321) by debbugs.gnu.org; 22 May 2020 12:40:11 +0000 Original-Received: from localhost ([127.0.0.1]:58339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc6yB-0006w6-Ke for submit@debbugs.gnu.org; Fri, 22 May 2020 08:40:11 -0400 Original-Received: from mail-oi1-f177.google.com ([209.85.167.177]:43009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc6y9-0006vk-OV for 41321@debbugs.gnu.org; Fri, 22 May 2020 08:40:10 -0400 Original-Received: by mail-oi1-f177.google.com with SMTP id i22so9138070oik.10 for <41321@debbugs.gnu.org>; Fri, 22 May 2020 05:40:09 -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=0cZlLosrT1wh8dox16BR6Di3FXorI+5qCyGxJJbZTQA=; b=jKeABuOw0k4TKgVly0KMk9i3WOU4REo3PX9fua9uoeWsd2brhq7ssZVDRdZYuMmbJm GgR0fJ20PXyNjnF1MDEcRZ4tRYi5agPJ0/AsSUbLwAD3YOyXPBD7MehYxH3j4Pv9jjK2 lOC+Q+O5CdjIBOW8iTNwf0JigsQIJQ9hGkFKwLJfbxeomBGDdLTLYmabmeXLSklb+7xX vL5Q+49z+2Cs7k76C9AumwnIwN2vdXjKc/gVEulnEJLlLlAONl6PPGNpnAEcbtxdrqWd Pg7ZjXZk5GIp9xrkI++JUH5AIddIPKNAunEJb6fBe0gdRD1B7UEbjPw4x8N6Dts3TO/5 D8lg== 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=0cZlLosrT1wh8dox16BR6Di3FXorI+5qCyGxJJbZTQA=; b=stgHPvrkOJsiL0zkoCbgenWFdofRHsPIeH3s2a0YhPDj0LY0CK8P2CWrrToT+sZJTE NYw6uwH+E72dvMGpJuHPMfeSiUfjOF+mErJf6twuXLKbBflEZ41BaJerVBhFor56f+HL Zy8hCA1pNrLEtYolPe6T8leulzzFzcqX7ibhC3PYBnY9ncAotzyE3qwfLr+ylnyi1ZZN NxLTpy66NcpcpMcQIJTGEImfM8On9yNPC/HduQfss4fRoZ4xrZ/V0KOSxh5oV5a+qAWg Ve8pBTPSFFP/0wWfipboETkxwnWRvF4a2zIHPVAxD7tvsClK7C7VFjUVEPgCbpXv2PG8 Pn6A== X-Gm-Message-State: AOAM532t/iL+dNgyfbwpZ2expbDIm9fimOrA02C4kyiXaqWLSnaQVVAz CB4tdruDv//sD3ilXRO7YazeJYTSLrxJrcRBc/8= X-Google-Smtp-Source: ABdhPJykumIl4Rc7irumuH2CJGFQfPAD1dRLPQVlBndRNAzWPQln90+IHdAYaoBwAGciv8jVWMBWZ2lcmMQhjLlvu4Y= X-Received: by 2002:a05:6808:1c8:: with SMTP id x8mr2396294oic.30.1590151203910; Fri, 22 May 2020 05:40:03 -0700 (PDT) In-Reply-To: <83tv082mm1.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:180761 Archived-At: On Fri, May 22, 2020 at 12:13 PM Eli Zaretskii wrote: > > From: Pip Cet > > Date: Fri, 22 May 2020 11:47:03 +0000 > > Cc: Stefan Monnier , 41321@debbugs.gnu.org > > > > On Fri, May 22, 2020 at 7:22 AM Eli Zaretskii wrote: > > > (gdb) p current_buffer->overlays_before > > > $28 = (struct Lisp_Overlay *) 0x170cb080 > > > (gdb) p $28->start > > > $29 = XIL(0xa0000000170cb040) > > > (gdb) xtype > > > Lisp_Vectorlike > > > Cannot access memory at address 0x18ac04f8 > > > > Note that didn't try to print $29, but the original invalid marker. > > 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. (gdb) p rvoe_arg.location $35 = (Lisp_Object *) 0x15c9298 (gdb) xtype Lisp_Vectorlike Cannot access memory at address 0x18ac04f8 (gdb) p rvoe_arg.errorp $36 = false Surely rvoe_arg.location isn't a vectorlike, so that also points to GDB not dealing with things correctly.