From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Overlays as an AA-tree Date: Tue, 27 Sep 2016 07:50:04 -0400 Message-ID: References: <87d1jylv43.fsf@fastmail.com> <87a8f0p69w.fsf@fastmail.com> <878tujlmp0.fsf@fastmail.com> <87k2dx97tq.fsf@fastmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474977543 32377 195.159.176.226 (27 Sep 2016 11:59:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2016 11:59:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Joakim Jalap Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 27 13:58:58 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bor2F-0007XY-3R for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2016 13:58:55 +0200 Original-Received: from localhost ([::1]:50078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bor2E-0002wu-EH for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2016 07:58:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boqts-0003O2-5R for emacs-devel@gnu.org; Tue, 27 Sep 2016 07:50:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boqtn-00073d-7o for emacs-devel@gnu.org; Tue, 27 Sep 2016 07:50:15 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:55922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boqtn-00071U-31 for emacs-devel@gnu.org; Tue, 27 Sep 2016 07:50:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DdBQALW9BX/5dzoWxdGwEBAQMBAQGDLQEBAQEBHoRNhVCvdoIDhhYEAgKBaTsSAQIBAQEBAQEBXieEYgEBAwFWIwULCzQSFBgNJIhVCLxVAQEBBwIlin2KHAEEmVmRK4dihguMYB6CD4E+JQ4hhGwghgoBAQE X-IPAS-Result: A0DdBQALW9BX/5dzoWxdGwEBAQMBAQGDLQEBAQEBHoRNhVCvdoIDhhYEAgKBaTsSAQIBAQEBAQEBXieEYgEBAwFWIwULCzQSFBgNJIhVCLxVAQEBBwIlin2KHAEEmVmRK4dihguMYB6CD4E+JQ4hhGwghgoBAQE X-IronPort-AV: E=Sophos;i="5.30,296,1470715200"; d="scan'208";a="273707016" Original-Received: from 108-161-115-151.dsl.teksavvy.com (HELO ceviche.home) ([108.161.115.151]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Sep 2016 07:50:05 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A275D66223; Tue, 27 Sep 2016 07:50:04 -0400 (EDT) In-Reply-To: <87k2dx97tq.fsf@fastmail.com> (Joakim Jalap's message of "Tue, 27 Sep 2016 08:26:41 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207829 Archived-At: > I managed to get it to compile at last, but now I'm hitting another > issue. temacs segfaults in a gc while loading simple.el. It seems > somehow some memory doesn't look like it should, because the stack trace > from the gc is about 1100 frames! Mostly mark_object, with some > mark_vectorlike here and there. How do I debug something like that? > I tried putting a breakpoint in mark_buffer, but that function is called > like a million times, and from what I can see at least the first hundred > or so don't cause a crash. You might like to take a look at etc/DEBUG, although in your case the most likely problem is that you haven't updated the marking code properly so that it knows about your new objects. Stefan