From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pieter van Oostrum Newsgroups: gmane.emacs.bugs Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90 Date: Tue, 10 Mar 2020 17:36:04 +0100 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="65640"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin) Cc: 39962@debbugs.gnu.org, Paul Eggert To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 10 17:37: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 1jBhsY-000Gvz-JE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Mar 2020 17:37:14 +0100 Original-Received: from localhost ([::1]:36642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBhsX-0002FG-M3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Mar 2020 12:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60807) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBhsN-0002Ex-Uk for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBhsM-0002Gu-TO for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBhsM-0002Gj-Ow for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBhsM-0004My-Mt for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2020 12:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pieter van Oostrum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Mar 2020 16:37: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.158385817716732 (code B ref 39962); Tue, 10 Mar 2020 16:37:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 10 Mar 2020 16:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:53182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBhrd-0004Li-6v for submit@debbugs.gnu.org; Tue, 10 Mar 2020 12:36:17 -0400 Original-Received: from smarthost-a.hosting2go.nl ([83.137.198.201]:37780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBhrY-0004LK-MJ for 39962@debbugs.gnu.org; Tue, 10 Mar 2020 12:36:16 -0400 X-ASG-Debug-ID: 1583858165-0ac37b67521d61110001-PyL51Z Original-Received: from server24.hosting2go.nl (server24.hosting2go.nl [185.135.241.24]) by smarthost-a.hosting2go.nl with ESMTP id BS3QfOeA2CoYtGWX (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39962@debbugs.gnu.org>; Tue, 10 Mar 2020 17:36:05 +0100 (CET) X-Barracuda-Envelope-From: pieter-l@vanoostrum.org X-Barracuda-Effective-Source-IP: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Apparent-Source-IP: 185.135.241.24 Original-Received: (qmail 14369 invoked from network); 10 Mar 2020 16:36:05 -0000 Original-Received: from static-145.132.212.31.ip.telfort.nl (HELO cochabamba.vanoostrum.org) (145.132.212.31) by server24.hosting2go.nl with SMTP; 10 Mar 2020 16:36:05 -0000 Received-SPF: unknown (server24.hosting2go.nl: domain at 83.137.194.9 does not designate permitted sender hosts) Original-Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 097FFAACADA9; Tue, 10 Mar 2020 17:36:04 +0100 (CET) X-ASG-Orig-Subj: Re: bug#39962: 27.0.90; Crash in Emacs 27.0.90 In-Reply-To: (Pip Cet's message of "Tue, 10 Mar 2020 14:19:14 +0000") X-Barracuda-Connect: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Start-Time: 1583858165 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://83.137.198.201:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 1721 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.5 tests=BSF_SC0_MISMATCH_TO A-X-Hosting2GO-Smarthost: Clean X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.80582 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header 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:177149 Archived-At: Pip Cet writes: > On Tue, Mar 10, 2020 at 10:53 AM Pieter van Oostrum > wrote: >> I think we got stuck here. I don't think the problem is in the actual >> code that Emacs was executing at this point. Rather, the problem was >> that a marker was corrupted (m->charpos == 0). > > Inspecting the rest of the marker structure, in particular the header, > might let us know whether, as I suspect, the marker was wrongly freed > and re-allocated. > > What does "x/32gx marker" produce? #2 0x0000000100233af4 in adjust_markers_for_insert (from=36399, from_byte=36399, to=36401, to_byte=36401, before_markers=false) at insdel.c:294 294 eassert (m->bytepos >= m->charpos (gdb) x/32gx m 0x1609db830: 0x4000000003005000 0x000000015b29a4b0 0x1609db840: 0x00000001609dba44 0x00000001609db800 0x1609db850: 0x0000000000000000 0x0000000000002d12 0x1609db860: 0x4000000003005000 0x000000015b29a4b0 0x1609db870: 0x0000000000000000 0x00000001609db830 0x1609db880: 0x0000000000002d6f 0x0000000000002d6f 0x1609db890: 0x4000000004001003 0x00000001609db835 0x1609db8a0: 0x00000001609db865 0x00000001054d2723 0x1609db8b0: 0x00000001609db7a0 0x0000000000000000 0x1609db8c0: 0x4000000003005000 0x000000015b29a4b0 0x1609db8d0: 0x0000000000000010 0x00000001609db860 0x1609db8e0: 0x0000000000002d12 0x0000000000002d12 0x1609db8f0: 0x4000000003005000 0x000000015b29a4b0 0x1609db900: 0x0000000000000008 0x00000001609db8c0 0x1609db910: 0x0000000000002d6f 0x0000000000002d6f 0x1609db920: 0x4000000003005000 0x000000015b29a4b0 (gdb) p m->charpos $186 = 0 (gdb) -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]