From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24640: Crashes in 25.1 Date: Fri, 14 Oct 2016 23:06:00 +0300 Message-ID: <83vawu3dcn.fsf@gnu.org> References: <20161012180726.GA6818@marvin.cs.ucl.ac.uk> <83d1j59y4w.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1476475661 3141 195.159.176.226 (14 Oct 2016 20:07:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 20:07:41 +0000 (UTC) Cc: tsc25@cantab.net, 24640-done@debbugs.gnu.org, phillip.lord@russet.org.uk To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 22:07:36 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv8lF-0006KH-ET for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 22:07:21 +0200 Original-Received: from localhost ([::1]:49284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv8l8-0003ge-CB for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 16:07:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv8l0-0003ex-47 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:07:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv8kx-0005pT-1K for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:07:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bv8kw-0005pF-UO for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bv8kw-0002LI-NP for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:07:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2016 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 24640@debbugs.gnu.org, eliz@gnu.org, rrt@sc3d.org Original-Received: via spool by 24640-done@debbugs.gnu.org id=D24640.14764755828954 (code D ref 24640); Fri, 14 Oct 2016 20:07:02 +0000 Original-Received: (at 24640-done) by debbugs.gnu.org; 14 Oct 2016 20:06:22 +0000 Original-Received: from localhost ([127.0.0.1]:55762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv8kD-0002KI-Tr for submit@debbugs.gnu.org; Fri, 14 Oct 2016 16:06:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv8kB-0002K4-RB for 24640-done@debbugs.gnu.org; Fri, 14 Oct 2016 16:06:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv8k4-0005Tf-5R for 24640-done@debbugs.gnu.org; Fri, 14 Oct 2016 16:06:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv8k4-0005TP-21; Fri, 14 Oct 2016 16:06:08 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2717 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bv8k2-0004hJ-Pm; Fri, 14 Oct 2016 16:06:07 -0400 In-reply-to: (message from Reuben Thomas on Wed, 12 Oct 2016 21:45:14 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124484 Archived-At: > From: Reuben Thomas > Date: Wed, 12 Oct 2016 21:45:14 +0100 > Cc: Toby Cubitt , Phillip Lord , 24640@debbugs.gnu.org > > On 12 October 2016 at 20:15, Eli Zaretskii wrote: > > Your surprise is IMO a reason good enough to ask Reuben to send you > the undo-tree history file for analysis. Who knows, it might even be > the clue we are looking for. (I agree that the error alone should > not, and most probably is not, the cause of the crash.) > > ​Toby, I'm happy to send you this file if you like.​ > > ​Apologies, I'm having trouble following all the ramifications of Eli's energetic debugging effort; is there any > other action you (Toby) would like me to take? This bug is now fixed on the emacs-25 branch. It was caused by a change 2 years ago that placed a stack-allocated cons cell in a staticpro'd list that is a value of a global variable, which isn't cleared when that stack slot goes out of scope. Many thanks to Reuben for letting me (ab)use his system and his time in order to find and fix this bug.