Subject: bug#14569: 24.3.50; bootstrap fails on Cygwin

From: Jan Djärv <[email-masked]>
Date: Sat, 15 Jun 2013 11:54:16 +0200

Hello.

15 jun 2013 kl. 09:04 skrev Eli Zaretskii <[email-masked]>:

>> Date: Fri, 14 Jun 2013 16:22:26 -0400
>> From: Ken Brown <[email-masked]>
>> Cc: [email-masked]
>> 
>> Unfortunately, the emacs maintainer doesn't have any idea why the recent 
>> emacs changes are causing random crashes on Cygwin.  It's almost 
>> impossible to catch this under gdb; and the one time it was caught, the 
>> backtrace didn't make sense.  Also, the crash doesn't occur when emacs 
>> is run under strace.
> 
> What are the difficulties of catching this when Emacs is run under
> GDB?

Its not difficult, but takes some time.  The error happens when make compiles one lisp file at the time with emacs.  It appears to be random so it does not crash in the same lisp-file.  Thus, you have to start emacs from gdb, and repet run, quit in gdb for each lisp file until it crashes.  Running in gdb is slow with cygwin, and running in gdb makes the bug appear less often.

The make rule is in lisp/Makefile, compile-onefile.

	Jan D.