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

From: Paul Eggert <[email-masked]>
Date: Thu, 13 Jun 2013 10:39:22 -0700

On 06/13/13 00:08, Jan Djärv wrote:
> I do get segmentation violations sometimes instead of the pthread abort.  
> But I haven't been able to get one while running the debugger yet 

Which version of glib are you using?  Older versions
require special handholding with initialization,
e.g., g_type_init, and perhaps we're running into
that problem -- or perhaps you're using a newer
version and its autoinitialization code isn't working.

Also, a bit of Googling found this bug:

http://cygwin.com/ml/cygwin/2012-05/msg00472.html

where signals may nor may not reach the correct thread
with pthread_kill.  Emacs uses pthread_kill to redirect
SIGCHLD to the main thread; if this is sent to a random
thread instead, that could explain the random crashes
you're observing (maybe a recursive runaway in a
signal handler?).