[Top][All Lists]

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

Re: Crash at startup in Cygwin w32 build on emacs-25 branch

From: Andy Moreton
Subject: Re: Crash at startup in Cygwin w32 build on emacs-25 branch
Date: Fri, 27 Nov 2015 23:44:55 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (windows-nt)

On Fri 27 Nov 2015, Eli Zaretskii wrote:

>> From: Andy Moreton <address@hidden>
>> Date: Fri, 27 Nov 2015 00:13:16 +0000
>> Cc: Eli Zaretskii <address@hidden>
>> The changes in commit d696d62fea48 cause an instant crash at startup for
>> the cygwin w32 build, as the main Windows thread ID is not initialized.
> Thanks, fixed.  (I couldn't imagine Cygwin needs the thread
> information.)

Only the Cygwin w32 build, which sets HAVE_NTGUI and uses the Windows
GUI code for display (so no need for an X11 server).

The module code also uses dwMainThreadId for error checking, and may
need similar changes for the Cygwin w32 build. It may be safer to
provide the thread ID from a function to ensure that it has been
initialised before callers try to use it.

> Btw, it's high time you got write access to the repository.  Would you
> like that?

That would prbably make sense. What needs to be done to arrange that ?


reply via email to

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