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: Wed, 18 Mar 2020 12:38:43 +0100 Message-ID: References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <83y2s48yn7.fsf@gnu.org> <83zhck6obg.fsf@gnu.org> <83r1xv73ze.fsf@gnu.org> <83imj5bdct.fsf@gnu.org> <83zhcff131.fsf@gnu.org> <2b2fc990-2917-7970-d88b-7708dbaa48be@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="26455"; 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 , Pip Cet To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 18 12:39:16 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 1jEX2Z-0006jM-G9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Mar 2020 12:39:15 +0100 Original-Received: from localhost ([::1]:49144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEX2Y-00020t-91 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Mar 2020 07:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49548) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEX2N-000208-Lu for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 07:39:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEX2M-0002go-Hz for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 07:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEX2M-0002fe-Dk for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 07:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEX2M-0003cZ-9S for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 07:39: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: Wed, 18 Mar 2020 11:39: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.158453153413903 (code B ref 39962); Wed, 18 Mar 2020 11:39:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 18 Mar 2020 11:38:54 +0000 Original-Received: from localhost ([127.0.0.1]:39921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEX2D-0003cB-UG for submit@debbugs.gnu.org; Wed, 18 Mar 2020 07:38:54 -0400 Original-Received: from smarthost-a.hosting2go.nl ([83.137.198.201]:48916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEX2B-0003by-TY for 39962@debbugs.gnu.org; Wed, 18 Mar 2020 07:38:52 -0400 X-ASG-Debug-ID: 1584531525-0ac37b520521074a0001-PyL51Z Original-Received: from server24.hosting2go.nl (server24.hosting2go.nl [185.135.241.24]) by smarthost-a.hosting2go.nl with ESMTP id 5oMDVLhOJiQBQN6F (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39962@debbugs.gnu.org>; Wed, 18 Mar 2020 12:38:45 +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 2299 invoked from network); 18 Mar 2020 11:38:45 -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; 18 Mar 2020 11:38:45 -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 9B218ABCC090; Wed, 18 Mar 2020 12:38:44 +0100 (CET) X-ASG-Orig-Subj: Re: bug#39962: 27.0.90; Crash in Emacs 27.0.90 In-Reply-To: (Robert Pluim's message of "Wed, 18 Mar 2020 10:22:28 +0100") X-Barracuda-Connect: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Start-Time: 1584531525 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: 1793 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.80679 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:177486 Archived-At: Robert Pluim writes: >>>>>> On Wed, 18 Mar 2020 06:17:01 +0000, Pip Cet said: > > Pip> On Tue, Mar 17, 2020 at 8:59 PM Paul Eggert wrote: > >> Although I haven't been following this in detail, I'd like to suggest trying a > >> GDB watchpoint to find the bug. Watchpoints have been invaluable to me when I > >> debug garbage-collector and other memory management issues. > > Pip> They are! Unfortunately, they require a predictable address at which > Pip> the corruption happens, and we don't appear to have that. > > You have a known address if you use rr and run in reverse. > > Robert > I have a procedure to generate a crash, but it isn't very predictable. I think that is because there are timers running and asynchronous processes. I get a different crash each time I run it. The crash generation involves opening two large mailboxes with VM (it could be that one would also work). I then manipulate them both, re-sorting them in a different order, saving, switching between the two, sorting back to my preferred order, saving and closing. I have saved this procedure in a keyboard macro, giving it a name. I copied the definition to another Emacs session. To recreate the crash, I copy the definition to the new Emacs session in the *scratch* buffer, and I can then invoke it with C-x C-e. For the latest crash, I entered C-x C-e some 40 times, and went to bed. After I awoke, Emacs had not crashed yet. So I entered a few more C-x C-e, and then it crashed immediately. But it was different than the previous one. So, actually, I think it will be very difficult to find prope r watch points. -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]