delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/21/13:07:33

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:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=GtbkxBIWSYBuwWQJOshWTBab/D8qVktXruR+Ck964an
veB4mrT7Qkgm4CdivPDH95Nnbv7aJpNW2MscdyyW7xnj5A4oPgAYOCZbOWIS/Gv5
RyAIRBoMc3GxHCSeqM4RsaxIXE7Dh9MbEfyDwV0jM2/cq4bTHRZuKXsNXUVBc7zA
=
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:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=LNgNkxO520DtyrWNM9BlvstRFCg=; b=jbJ72ZR+y21qtqtGF
Ozl3t9seY20UlxY4RJZLamjh1goZstLFiwS/IKBi51Z5N7RbmJ6IjEqLVnXuh18N
FbtvtTM4KF1OCP7mgAFrmhH7fvYmplzIo7T/UxrPkAxnHbfEIJoHoGnsNooj+yH7
kpkwgouuQhU8s2piaGamvwR3KQ=
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.8 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-yh0-f50.google.com
X-Received: by 10.236.77.231 with SMTP id d67mr1253735yhe.113.1385057213957; Thu, 21 Nov 2013 10:06:53 -0800 (PST)
Message-ID: <528E4BB4.9000606@gmail.com>
Date: Thu, 21 Nov 2013 13:06:44 -0500
From: SDS <sds DOT biz DOT main AT gmail DOT com>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: emacs-w32/X11 24.3-7 aborts frequently
References: <528DC853 DOT 3020503 AT gmail DOT com>
In-Reply-To: <528DC853.3020503@gmail.com>

I have some new information. I tried using

> export CYGWIN="error_start=gdb -nw %1 %2"

and I was able to catch an abort in emacs-w32 that gave no abort dialog 
box, similar to emacs-X11 aborts. The log from GDB is given below:

> (gdb) continue
> Continuing.
> [Thread 5840.0x1220 exited with code 0]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 5840.0x112c]
> 0x0000000100551354 in wait_reading_process_output (
>     time_limit=time_limit AT entry=0, nsecs=nsecs AT entry=0,
>     read_kbd=read_kbd AT entry=-1, do_display=do_display AT entry=true,
>     wait_for_cell=wait_for_cell AT entry=4304630834,
>     wait_proc=wait_proc AT entry=0x0, just_wait_proc=just_wait_proc AT entry=0)
>     at /usr/src/debug/emacs-24.3-7/src/process.c:4677
> 4677			  if (wait_proc->gnutls_p /* Check for valid process.  */
>
> (gdb) bt
> #0  0x0000000100551354 in wait_reading_process_output (
>     time_limit=time_limit AT entry=0, nsecs=nsecs AT entry=0,
>     read_kbd=read_kbd AT entry=-1, do_display=do_display AT entry=true,
>     wait_for_cell=wait_for_cell AT entry=4304630834,
>     wait_proc=wait_proc AT entry=0x0, just_wait_proc=just_wait_proc AT entry=0)
>     at /usr/src/debug/emacs-24.3-7/src/process.c:4677
> #1  0x00000001004ab2ae in kbd_buffer_get_event (end_time=0x0,
>     used_mouse_menu=0x42a2e7, kbp=<synthetic pointer>)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:3803
> #2  read_char (commandflag=1, nmaps=2, maps=0x42a1c0, prev_event=4304630834,
>     used_mouse_menu=0x42a2e7, end_time=end_time AT entry=0x0)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:2769
> #3  0x00000001004ad463 in read_key_sequence (keybuf=keybuf AT entry=0x42a430,
>     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, bufsize=30)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:9231
> #4  0x00000001004af75e in command_loop_1 ()
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:1459
> #5  0x0000000100510cde in internal_condition_case (
>     bfun=bfun AT entry=0x1004af540 <command_loop_1>, handlers=4304832354,
>     hfun=hfun AT entry=0x1004a58a0 <cmd_error>)
>     at /usr/src/debug/emacs-24.3-7/src/eval.c:1289
> #6  0x00000001004a09da in command_loop_2 (ignore=ignore AT entry=4304630834)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:1168
> #7  0x0000000100510b9f in internal_catch (tag=<optimized out>,
>     func=func AT entry=0x1004a09b0 <command_loop_2>, arg=4304630834)
>     at /usr/src/debug/emacs-24.3-7/src/eval.c:1060
> #8  0x00000001004a5374 in command_loop ()
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:1147
> #9  recursive_edit_1 () at /usr/src/debug/emacs-24.3-7/src/keyboard.c:779
> #10 0x00000001004a56a7 in Frecursive_edit ()
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:843
> #11 0x00000001005ab7d3 in main (argc=<optimized out>, argv=<optimized out>)
>     at /usr/src/debug/emacs-24.3-7/src/emacs.c:1532
>
> (gdb) continue
> Continuing.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000100551354 in wait_reading_process_output (
>     time_limit=time_limit AT entry=0, nsecs=nsecs AT entry=0,
>     read_kbd=read_kbd AT entry=-1, do_display=do_display AT entry=true,
>     wait_for_cell=wait_for_cell AT entry=4304630834,
>     wait_proc=wait_proc AT entry=0x0, just_wait_proc=just_wait_proc AT entry=0)
>     at /usr/src/debug/emacs-24.3-7/src/process.c:4677
> 4677			  if (wait_proc->gnutls_p /* Check for valid process.  */
>
> (gdb) bt
> #0  0x0000000100551354 in wait_reading_process_output (
>     time_limit=time_limit AT entry=0, nsecs=nsecs AT entry=0,
>     read_kbd=read_kbd AT entry=-1, do_display=do_display AT entry=true,
>     wait_for_cell=wait_for_cell AT entry=4304630834,
>     wait_proc=wait_proc AT entry=0x0, just_wait_proc=just_wait_proc AT entry=0)
>     at /usr/src/debug/emacs-24.3-7/src/process.c:4677
> #1  0x00000001004ab2ae in kbd_buffer_get_event (end_time=0x0,
>     used_mouse_menu=0x42a2e7, kbp=<synthetic pointer>)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:3803
> #2  read_char (commandflag=1, nmaps=2, maps=0x42a1c0, prev_event=4304630834,
>     used_mouse_menu=0x42a2e7, end_time=end_time AT entry=0x0)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:2769
> #3  0x00000001004ad463 in read_key_sequence (keybuf=keybuf AT entry=0x42a430,
>     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, bufsize=30)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:9231
> #4  0x00000001004af75e in command_loop_1 ()
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:1459
> #5  0x0000000100510cde in internal_condition_case (
>     bfun=bfun AT entry=0x1004af540 <command_loop_1>, handlers=4304832354,
>     hfun=hfun AT entry=0x1004a58a0 <cmd_error>)
>     at /usr/src/debug/emacs-24.3-7/src/eval.c:1289
> #6  0x00000001004a09da in command_loop_2 (ignore=ignore AT entry=4304630834)
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:1168
> #7  0x0000000100510b9f in internal_catch (tag=<optimized out>,
>     func=func AT entry=0x1004a09b0 <command_loop_2>, arg=4304630834)
>     at /usr/src/debug/emacs-24.3-7/src/eval.c:1060
> #8  0x00000001004a5374 in command_loop ()
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:1147
> #9  recursive_edit_1 () at /usr/src/debug/emacs-24.3-7/src/keyboard.c:779
> #10 0x00000001004a56a7 in Frecursive_edit ()
>     at /usr/src/debug/emacs-24.3-7/src/keyboard.c:843
> #11 0x00000001005ab7d3 in main (argc=<optimized out>, argv=<optimized out>)
>     at /usr/src/debug/emacs-24.3-7/src/emacs.c:1532
>
> (gdb) continue
> Continuing.
> [Thread 5840.0x6a0 exited with code 3221225477]
> [Thread 5840.0x52c exited with code 3221225477]
> [Thread 5840.0xbb8 exited with code 3221225477]
> [Thread 5840.0x1408 exited with code 3221225477]
> [Thread 5840.0xa14 exited with code 3221225477]
> [Thread 5840.0xb10 exited with code 3221225477]
> [Inferior 1 (process 5840) exited with code 030000000005]


Cheers,

SDS

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