delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/21/09:58:27

X-Recipient: archive-cygwin AT delorie DOT 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:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=TkYda6T+BCde7Z2K
D1o8v1xD//ruFviJfhg9BGTswC59m7UcH5d1gew4341buyPMOrP19+K9Ev5U9I6/
qM6xTaP/VYw222kXY7q3Iz5XvOkkyZYR2YIDD215dmOZ6vvLAEeZ+si8AIJSDHQi
/dcGUc6BT+RbLIRTsgB/sAHH6ws=
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:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=i3/ngVvcWoo0RBrWNuxTxo
ZPuQo=; b=puCy9iFmBHnWtqcS4XgaSZHLkKeX07yIdBYgLJHajDGNRYd0bQ1+TA
JP4h0HFQjqByDGbe6OkoH2IWIUmqZKNped8epGGJkTSnQ9XIAq/RnMswHxBgDb5n
W18O09/06DAoklYy56+h15gecdEL7t5ZeW4HHIHCLVwiD4v+0E8LE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <53F5FB09.3050308@cornell.edu>
Date: Thu, 21 Aug 2014 09:58:33 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: [ANNOUNCEMENT] Updated: emacs-24.3.93-1 [TEST]
References: <announce DOT 53F1F088 DOT 40706 AT cornell DOT edu> <8761hmbfaf DOT fsf AT Rainer DOT invalid> <loom DOT 20140821T140131-263 AT post DOT gmane DOT org>
In-Reply-To: <loom.20140821T140131-263@post.gmane.org>
X-IsSubscribed: yes

On 8/21/2014 8:12 AM, Achim Gratz wrote:
> Achim Gratz <Stromeko <at> nexgo.de> writes:
>> There are still crashes of emacs-w32 that take down Emacs completely
>> (sometimes with but mostly without it asking for the debugger to be
>> attached).  So far these have all occured directly in response to
>> keyboard input (as in the window disappears while the key is still
>> pressed down).  Let me know if the stackdump would be useful or if I
>> need to wait out an occasion for when it asks for the debugger to attach
>> and what to do then.
>
> Just had another one w/ the message and managed to attach the debugger.  I
> don't know if the back trace makes any sense.  When entering the debugger I
> think the crash was indicated to be inside the cyggobject library (sorry,
> that line scrolled off the screen), but that may just have been the message
> window.
>
[...]
> Thread 1 (Thread 10724.0x3340):
> #0  0x000007fefdba3ca3 in KERNELBASE!DebugBreak () from
> /cygdrive/c/Windows/system32/KERNELBASE.dll
> #1  0x0000000100577794 in emacs_abort () at
> /usr/src/debug/emacs-24.3.93-1/src/w32fns.c:8478
> #2  0x00000001004ca456 in overlays_at (pos=pos AT entry=23459,
> extend=extend AT entry=false, vec_ptr=0x42a2d0, vec_ptr AT entry=0x100927f60 <Qnil>,
>      len_ptr=len_ptr AT entry=0x42a2d8, next_ptr=next_ptr AT entry=0x0,
> prev_ptr=prev_ptr AT entry=0x0, change_req=change_req AT entry=false)
>      at /usr/src/debug/emacs-24.3.93-1/src/buffer.c:2854
> #3  0x000000010056968f in get_char_property_and_overlay
> (position=position AT entry=93836, prop=prop AT entry=4305239426,
> object=object AT entry=25772655621,
>      overlay=overlay AT entry=0x0) at
> /usr/src/debug/emacs-24.3.93-1/src/textprop.c:663
> #4  0x00000001005697b8 in Fget_char_property (position=position AT entry=93836,
> prop=prop AT entry=4305239426, object=object AT entry=25772655621)
>      at /usr/src/debug/emacs-24.3.93-1/src/textprop.c:703
> #5  0x000000010056622a in get_local_map (position=<optimized out>,
> position AT entry=23459, buffer=0x6002b8400, type=4305239426)
>      at /usr/src/debug/emacs-24.3.93-1/src/intervals.c:2234
> #6  0x00000001004c0688 in Fcurrent_active_maps (olp=4304926818,
> position=position AT entry=4304926770) at
> /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1594
> #7  0x00000001004c09f6 in Fkey_binding (key=key AT entry=4304949141,
> accept_default=accept_default AT entry=4304926770, no_remap=4304926818,
>      position=4304926770) at /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1721
> #8  0x00000001004c0ba8 in Fcommand_remapping (command=<optimized out>,
> position=<optimized out>, keymaps=<optimized out>)
>      at /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1248
> #9  0x00000001004c0bca in Fcommand_remapping (command=<optimized out>,
> position=<optimized out>, keymaps=<optimized out>)
>      at /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1253
> #10 0x00000001004b8cfa in read_key_sequence (keybuf=keybuf AT entry=0x42a710,
> prompt=<optimized out>, dont_downcase_last=dont_downcase_last AT entry=false,
>      can_return_switch_frame=can_return_switch_frame AT entry=true,
> fix_current_buffer=fix_current_buffer AT entry=true,
>      prevent_redisplay=prevent_redisplay AT entry=false, bufsize=30) at
> /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:9708
> #11 0x00000001004b9c54 in command_loop_1 () at
> /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:1452
> #12 0x000000010051a0dd in internal_condition_case
> (bfun=bfun AT entry=0x1004b9a30 <command_loop_1>, handlers=<optimized out>,
>      hfun=hfun AT entry=0x1004b0560 <cmd_error>) at
> /usr/src/debug/emacs-24.3.93-1/src/eval.c:1354
> #13 0x00000001004ab9ea in command_loop_2 (ignore=ignore AT entry=4304926770) at
> /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:1177
> #14 0x0000000100519fdc in internal_catch (tag=4304985026,
> func=func AT entry=0x1004ab9c0 <command_loop_2>, arg=4304926770)
>      at /usr/src/debug/emacs-24.3.93-1/src/eval.c:1118
> #15 0x00000001004b0154 in command_loop () at
> /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:1156
> #16 recursive_edit_1 () at /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:777
> #17 0x00000001004b0476 in Frecursive_edit () at
> /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:848
> #18 0x00000001005b5953 in main (argc=<optimized out>, argv=<optimized out>)
> at /usr/src/debug/emacs-24.3.93-1/src/emacs.c:1646

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.

Do you remember what you were doing at the time of the crash?

Ken

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019