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: Sun, 09 Oct 2016 12:57:34 +0300 Message-ID: <83r37pg7zl.fsf@gnu.org> References: <83int3idxl.fsf@gnu.org> <83mviehq0p.fsf@gnu.org> <83eg3qhn29.fsf@gnu.org> <83vax2f1e5.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 1476007109 11505 195.159.176.226 (9 Oct 2016 09:58:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 09:58:29 +0000 (UTC) Cc: 24640@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 09 11:58:25 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 1btAs7-0001jA-9p for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 11:58:19 +0200 Original-Received: from localhost ([::1]:43734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btAs5-0006xT-Pw for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 05:58:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btArv-0006v6-IK for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 05:58:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btArp-0006mQ-UD for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 05:58:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btArp-0006mL-RM for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 05:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1btArp-0001v7-LQ for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 05:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Oct 2016 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24640-submit@debbugs.gnu.org id=B24640.14760070557338 (code B ref 24640); Sun, 09 Oct 2016 09:58:01 +0000 Original-Received: (at 24640) by debbugs.gnu.org; 9 Oct 2016 09:57:35 +0000 Original-Received: from localhost ([127.0.0.1]:49335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btArO-0001uI-SM for submit@debbugs.gnu.org; Sun, 09 Oct 2016 05:57:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btArO-0001u1-20 for 24640@debbugs.gnu.org; Sun, 09 Oct 2016 05:57:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btArE-0006Rg-Er for 24640@debbugs.gnu.org; Sun, 09 Oct 2016 05:57:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btArE-0006RZ-Bi; Sun, 09 Oct 2016 05:57:24 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4284 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1btArD-0008Qo-F9; Sun, 09 Oct 2016 05:57:23 -0400 In-reply-to: (message from Reuben Thomas on Sun, 9 Oct 2016 08:45:08 +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:124262 Archived-At: > From: Reuben Thomas > Date: Sun, 9 Oct 2016 08:45:08 +0100 > Cc: 24640@debbugs.gnu.org > > The only efficient way to speed up debugging (or rather to make sure > it succeeds at all) is for you to come up with a reproducible recipe > and post here all the files needed for reproducing the crashes. > > ​That would seem to require me to bisect my .desktop and potentially post dozens of personal files, so doesn't > seem feasible.​ If you just start a fresh session, save its desktop, then restart it, while using the lazy-load feature, does it start normally? Maybe all that's needed is to do this, with no personal files involved. > I thought it might be faster for you to drive a debugging session live than to engage in > back-and-forth by email. It would require me to explain too many things, so it won't be efficient enough. > >From what I see in the backtraces, your setup fires a timer that runs > some complicated Lisp, and that Lisp somehow corrupts some Lisp > objects, which then cause crashes during GC. > > ​You make it sound as though this is some arcane personal setup, when in fact I am simply using desktop.el! So do I, but it never crashes for me. Nor did we have such crash reports until now. So there's something you do that I and others don't, although I didn't mean (and didn't say AFAIK) that it's something arcane. > And the first step is > to stop using an optimized build, because it makes debugging much > harder if not impossible. > > I'll see if, having rebuilt from source without optimisation, the bug still fires.​ > > If you are willing to try the debugging yourself, there's some advice > in etc/DEBUG (search for "Debugging problems which happen in GC"). > > ​I'll have a look.​ Thanks. > Do I understand correctly that this worked for you with Emacs 24.5? > > ​Yes, the identical setup loads fine in 24.5. I've never seen this sort of crash before.​ Does Emacs crash when restoring a desktop file written by Emacs 24.5, or only when it restores files written by Emacs 25?