Fatal error from Cygwin emacs-w32 every day or so

Ken Brown kbrown@cornell.edu
Tue Apr 15 16:13:00 GMT 2014


On 4/15/2014 12:12 AM, Eli Zaretskii wrote:
>> Date: Mon, 14 Apr 2014 21:08:15 -0700
>> From: Ken Brown
>>
>>> 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)
>>>      @/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.
>
> This is a known problem with GnuTLS support, it was solved in the
> Emacs repository last November (bzr revision 114956, if someone wants
> the diffs), and surely should be solved in the upcoming Emacs 24.4.

Thanks, Eli!  In that case I'll make a new release of emacs-24.3 with 
that patch applied, to see if it resolves the issue for the OP.

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



More information about the Cygwin mailing list