This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fatal error from Cygwin emacs-w32 every day or so


On 4/14/2014 11:31 AM, KARR, DAVID wrote:
-----Original Message-----
Of Ken Brown
Sent: Sunday, April 13, 2014 5:43 PM
Subject: Re: Fatal error from Cygwin emacs-w32 every day or so

On 4/13/2014 10:53 AM, KARR, DAVID wrote:
I recently installed 1.7.29 on a new Win7/64 laptop.  Every day or so, I
get a "fatal error" dialog from emacs-w32.  It asks me if I want to debug
it, but I'm not sure what info I could pull from gdb that would be useful.

A gdb backtrace might or might not be helpful.  I would start with other
things first (see below).

I just saw it die, and this is the bt I get:

Program received signal SIGSEGV, Segmentation fault.
0x0000000100551354 in wait_reading_process_output (
     time_limit=time_limit@entry=0, nsecs=nsecs@entry=0,
     read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true,
     wait_for_cell=wait_for_cell@entry=4304630834,
     wait_proc=wait_proc@entry=0x0, just_wait_proc=just_wait_proc@entry=0)
     at /usr/src/debug/emacs-24.3-7/src/process.c:4677
4677                      if (wait_proc->gnutls_p /* Check for valid process.  */

This backtrace doesn't make sense. If you look at the source code, you'll see that if wait_proc is NULL on entry to wait_reading_process_output, then line 4677 is never reached. I'm not sure what would cause a bogus backtrace like this. BLODA? Optimization?

In any case, I suggest that you wait a week until I have a chance to build a pretest of 24.4 for you to try. I'll build it without optimization to make debugging easier.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]