raise() produces random behaviour in Cygwin 3.5.5

brian.inglis@systematicsw.ab.ca brian.inglis@systematicsw.ab.ca
Fri Dec 27 16:29:11 GMT 2024


On 2024-12-26 17:49, Takeshi Nishimura via Cygwin wrote:
> On Wed, Dec 25, 2024 at 3:02 PM Takashi Yano via Cygwin wrote:
>> On Wed, 25 Dec 2024 07:21:44 +0100, Bruno Haible wrote:
>>> An invocation of raise(SIGABRT), that is, of a synchronous signal, produces
>>> random behaviour in Cygwin 3.5.5: Sometimes it succeeds, sometimes it fails
>>> with error ENOSYS. In previous releases of Cygwin and in all other operating
>>> systems, it always succeeds.
>>>
>>> How to reproduce:
>>> Find test-sigaction.c attached.
>>> Compile it and run it 10 times:
>>> $ x86_64-pc-cygwin-gcc -O2 -Wall test-sigaction.c \
>>>    && ./a && ./a && ./a && ./a && ./a && ./a && ./a && ./a && ./a && ./a
>>> ret = -1, errno = 88
>>> ret = -1, errno = 88
>>> ret = 0, errno = 0
>>> ret = -1, errno = 88
>>> ret = -1, errno = 88
>>> ret = -1, errno = 88
>>> ret = -1, errno = 88
>>> ret = -1, errno = 88
>>> ret = -1, errno = 88
>>> ret = 0, errno = 0
>>>
>>> This unit test is part of Gnulib. Really, it is a pity that none of the
>>> Cygwin maintainers is running the Gnulib tests before making a new Cygwin
>>> release.
>>
>> Thanks for the report. This issue will be fixed by the patch:
>> https://cygwin.com/pipermail/cygwin-patches/2024q4/013145.html
> 
> Will Cygwin 3.5.5 be respun with this fix, or Cygwin 3.5.6 out soon?

Normally, the volunteers will create a new cygwin test release after a series of 
patches have been applied and tested successfully, often every few days; see:

	https://cygwin.com/packages/summary/cygwin.html

but it is under an end of year freeze, as some volunteers take some personal 
time away from the project, to avoid creating issues which may not be able to be 
addressed, until volunteers again have free time to work on the project, in the 
new year.

Decisions about backports to current release series are made by the volunteers 
depending on the impact and their available time, as are when the next 3.6 
series will be released.

Other volunteers happen to be actively working on series of patches for hangs 
from various causes, so once they have all been tested successfully, decisions 
will be reached by consensus about where they should be applied, and how and 
when they may be released.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin mailing list