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 10:05:22 +0300 Message-ID: <83vax2f1e5.fsf@gnu.org> References: <83int3idxl.fsf@gnu.org> <83mviehq0p.fsf@gnu.org> <83eg3qhn29.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 1475996786 23274 195.159.176.226 (9 Oct 2016 07:06:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 07:06:26 +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 09:06:21 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 1bt8Bc-0004qJ-Ke for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 09:06:16 +0200 Original-Received: from localhost ([::1]:43341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bt8Ba-0006ey-T1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 03:06:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bt8BT-0006ei-I4 for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 03:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bt8BO-0003NT-P0 for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 03:06:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bt8BO-0003NI-LX for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 03:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bt8BO-0006HZ-Fu for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 03:06:02 -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 07:06:02 +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.147599672524100 (code B ref 24640); Sun, 09 Oct 2016 07:06:02 +0000 Original-Received: (at 24640) by debbugs.gnu.org; 9 Oct 2016 07:05:25 +0000 Original-Received: from localhost ([127.0.0.1]:49233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bt8An-0006Gd-68 for submit@debbugs.gnu.org; Sun, 09 Oct 2016 03:05:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bt8Al-0006GR-1p for 24640@debbugs.gnu.org; Sun, 09 Oct 2016 03:05:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bt8Ab-00034e-9X for 24640@debbugs.gnu.org; Sun, 09 Oct 2016 03:05:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bt8Ab-00034M-68; Sun, 09 Oct 2016 03:05:13 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3570 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bt8AZ-0005GP-FG; Sun, 09 Oct 2016 03:05:11 -0400 In-reply-to: (message from Reuben Thomas on Sat, 8 Oct 2016 23:08:51 +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:124256 Archived-At: > From: Reuben Thomas > Date: Sat, 8 Oct 2016 23:08:51 +0100 > Cc: 24640@debbugs.gnu.org > > ​In frame #0, the code reads: > > if (XMISCANY (obj)->gcmarkbit) > break; > > at this point obj is 33, XMISCANY(obj) is 20, and gdb tells me "Cannot access memory at address 0x20". What do the following commands say in that frame #0: (gdb) p obj (gdb) xtype > ​If it helps, I'm happy to arrange some sort of live chat to get through the debugging process quicker. 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. >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. I don't see how this can be debugged at all, except by someone who actually has this on his/her machine and knows how to debug these problems. And the first step is to stop using an optimized build, because it makes debugging much harder if not impossible. If you are willing to try the debugging yourself, there's some advice in etc/DEBUG (search for "Debugging problems which happen in GC"). Do I understand correctly that this worked for you with Emacs 24.5? Thanks.