From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Serious stability problem in current pretest of Emacs 27.1 Date: Sat, 16 May 2020 19:25:31 +0000 Message-ID: <20200516192531.GB4150@ACM> References: <83sgg0cfz9.fsf@gnu.org> <1de8850c-3a58-809b-024e-3906e4a2e109@yandex.ru> <835zcvd8yf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113449"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Dmitry Gutov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 16 21:26:13 2020 Return-path: Envelope-to: ged-emacs-devel@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 1ja2Ro-000TPG-Td for ged-emacs-devel@m.gmane-mx.org; Sat, 16 May 2020 21:26:12 +0200 Original-Received: from localhost ([::1]:54530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja2Rn-0006hY-SD for ged-emacs-devel@m.gmane-mx.org; Sat, 16 May 2020 15:26:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja2RE-0006IW-T7 for emacs-devel@gnu.org; Sat, 16 May 2020 15:25:36 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:42362 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1ja2RD-0008NS-Bx for emacs-devel@gnu.org; Sat, 16 May 2020 15:25:36 -0400 Original-Received: (qmail 34161 invoked by uid 3782); 16 May 2020 19:25:31 -0000 Original-Received: from acm.muc.de (p2e5d56ba.dip0.t-ipconnect.de [46.93.86.186]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Sat, 16 May 2020 21:25:31 +0200 Original-Received: (qmail 9762 invoked by uid 1000); 16 May 2020 19:25:31 -0000 Content-Disposition: inline In-Reply-To: <835zcvd8yf.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/16 15:25:31 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250518 Archived-At: Hello, Eli. On Sat, May 16, 2020 at 21:35:20 +0300, Eli Zaretskii wrote: > > From: Dmitry Gutov > > Date: Sat, 16 May 2020 21:25:48 +0300 > > On 16.05.2020 13:48, Eli Zaretskii wrote: > > > See bug#41321 for the details. Did someone see anything similar? > > FWIW, emacs-27 has been very stable here in the recent months > > (GNU/Linux). No crashes. And I do use global-auto-revert-mode. CC > > Mode--not so much, only occasionally. > Thanks for the feedback. I don't use auto-revert, so if the problem > only happens when the changes are large (for some value of "large"), > auto-revert might prevent you from seeing that. > OTOH, if I'm the only one who sees this, then the problem is not so > serious. I think that would be being very optimistic. There's a definite problem here. Maybe it only hits 32-bit systems, or only Windows systems. But ... It screams out "Finsert_file_contents" to me. Maybe you've thought of this yourself already, but the next time you need to revert a file because of this, why not put a breakpoint at the start of that function and eyeball all the clever manipulation it does with markers. Or something like that. But there haven't been any recent changes to Finsert_file_contents in the emacs-27 branch. Maybe there's been a recent change to something it depends on. I'm not sure how helpful this will be, but I thought I'd say it anyhow. -- Alan Mackenzie (Nuremberg, Germany).