bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14569: 24.3.50; bootstrap fails on Cygwin


From: Jan Djärv
Subject: bug#14569: 24.3.50; bootstrap fails on Cygwin
Date: Fri, 14 Jun 2013 11:11:04 +0200

Hi.

13 jun 2013 kl. 19:39 skrev Paul Eggert <eggert@cs.ucla.edu>:

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

Glib 2.32.3.  If g_type_init isn't run, an error message will be shown at once. 
 As it is now, Emacs runs for a bit before crashing.

> 
> 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?).

Could be.  Unfortunately, Emacs does not crash when running under strace.

        Jan D.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]