X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:subject:in-reply-to:to:cc:reply-to
	:message-id:references; q=dns; s=default; b=F7yl4Xd2SVhTJyeb85kM
	dn9AvLulkagDpn7nzFinskCSYdYU6EXW4MLNOtzHRQYWfbKgodzez5sfInSinzNU
	dSaOc5W3/uMeCeh8o4oI9WX1mUcAtkLpolvdFUsk6hvxKNhwBt8TWyPmpWtYmJrO
	9l5VjyPTUnOrvegCP13wpqQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:subject:in-reply-to:to:cc:reply-to
	:message-id:references; s=default; bh=EhcYuHadoeV9a8QfPb3AP/c5kX
	Q=; b=pEEBb3Rk46Aiyovk63jVbBnezEnd1mMUpNOzYPkvzDKfCJoNvTf7TyRvf7
	N4lbQXgWAbpBf03xm6KYENrd0mLSrZtYXvD/NU845BNDjzisBH70BmP/IIdYYu0W
	IfR4eyXNOjoTp2nwtIX5rCmTU1l6eUgV5Y9ALseF2HPSGWAJc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: mtaout20.012.net.il
Date: Thu, 21 Aug 2014 17:48:12 +0300
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: [ANNOUNCEMENT] Updated: emacs-24.3.93-1 [TEST]
In-reply-to: <53F5FB09.3050308@cornell.edu>
To: Ken Brown <kbrown@cornell.edu>
Cc: cygwin@cygwin.com
Reply-to: Eli Zaretskii <eliz@gnu.org>
Message-id: <83r409c30z.fsf@gnu.org>
References: <announce.53F1F088.40706@cornell.edu> <8761hmbfaf.fsf@Rainer.invalid> <loom.20140821T140131-263@post.gmane.org> <53F5FB09.3050308@cornell.edu>

> Date: Thu, 21 Aug 2014 09:58:33 -0400
> From: Ken Brown
> CC: Eli Zaretskii
> 
> Thanks for the report.  The abort comes from here (in buffer.c):
> 
>    for (tail = current_buffer->overlays_before; tail; tail = tail->next)
>      {
>        ptrdiff_t startpos, endpos;
> 
>        XSETMISC (overlay, tail);
> 
>        start = OVERLAY_START (overlay);
>        end = OVERLAY_END (overlay);
>        endpos = OVERLAY_POSITION (end);   <<<<<<<<<<<<<<<<<<<<<
> 
> where OVERLAY_POSITION is defined as follows in buffer.h:
> 
> #define OVERLAY_POSITION(P) \
>   (MARKERP (P) ? marker_position (P) : (emacs_abort (), 0))
> 
> I'm not at all familiar with the code in this area, but I'm copying Eli 
> in the hopes that he can see something in this backtrace.  I don't know 
> if this will turn out to be another one of those backtraces that don't 
> make sense.

Next time it happens, it would be good to know what kind of Lisp
object is 'end'.  Like this:

 (gdb) p end
 (gdb) xtype

To have the xtype command, you need to source the .gdbinit file that
comes with Emacs.  Also, the above assumes that you are in the right
stack call frame, i.e. in the frame that called emacs_abort.  In the
backtrace shown in the message I'm replying to, that is frame #2, so
the command is

 (gdb) frame 2

If "xtype" says it's a symbol, follow with "xymbol", which will show
what symbol is that.  There are other x* commands to display other
Lisp objects.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

