From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.os.cygwin,gmane.emacs.devel Subject: Re: is there a cygwin maintainer for gnu emacs? Date: Fri, 19 Aug 2005 11:38:51 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1124441366 1817 80.91.229.2 (19 Aug 2005 08:49:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2005 08:49:26 +0000 (UTC) Cc: jbuehler@spirentcom.com, ehud@unix.mvs.co.il, cygwin@cygwin.com, emacs-devel@gnu.org Original-X-From: cygwin-return-112028-goc-cygwin=m.gmane.org@cygwin.com Fri Aug 19 10:49:19 2005 Return-path: Original-Received: from sourceware.org ([12.107.209.250]) by ciao.gmane.org with smtp (Exim 4.43) id 1E62PO-0008KP-Fg for goc-cygwin@gmane.org; Fri, 19 Aug 2005 10:39:30 +0200 Original-Received: (qmail 27629 invoked by alias); 19 Aug 2005 08:39:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Original-Received: (qmail 27561 invoked by uid 22791); 19 Aug 2005 08:39:05 -0000 Original-Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 19 Aug 2005 08:39:05 +0000 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-9-153.inter.net.il [80.230.9.153]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CDX06900 (AUTH halo1); Fri, 19 Aug 2005 11:38:50 +0300 (IDT) Original-To: "emacs user" In-reply-to: (emacs_user@hotmail.com) Xref: news.gmane.org gmane.os.cygwin:68264 gmane.emacs.devel:42256 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42256 > From: "emacs user" > Date: Thu, 18 Aug 2005 02:45:21 -0400 > Cc: cygwin@cygwin.com, emacs-devel@gnu.org > > some more diagnostics of the GC problem, with the help of some advice from > eliz. does this help? It's a beginning. Thanks. > Breakpoint 1, abort () at emacs.c:461 > 461 kill (getpid (), SIGABRT); > (gdb) where > #0 abort () at emacs.c:461 > #1 0x200ed1c1 in mark_object (arg=536986871) at alloc.c:5468 The next step is to find out what object is the argument passed to mark_object in frame #1. This is the object that caused the abort. Also, please send the output of the GDB command xbacktrace, it should produce the Lisp traceback at this point (although it looks like Emacs crashed right at startup, so the Lisp traceback will not tell anything important). > (gdb) print last_marked_index > $6 = 22 > (gdb) print last_marked[22] > $7 = 539791361 This is wrong. etc/DEBUG says: The variable `last_marked_index' holds the index into the `last_marked' array one place beyond where the pointer to the very last marked object is stored. See that ``one place beyond'' part? So you should have said (gdb) print last_marked[21]