DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BPE2xxK4117266 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4BPE2xxK4117266 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=gFgbhlQM X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C9723858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1735135378; bh=RlXPoU5BGEZrI/oc/ebTy2X+pif4oy40pylD0cQ0+RU=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=gFgbhlQMNObffM3jhPC1tZQU8t71+8bzcCrrpGKaHkupmkkXgyzdyqIlVrsmAzSih +CD9TtMyMBfbS0wFR9plT9AiHCMxriY5xurUlx/6CLceOWJFTb/onURCZxWYyI4DN/ BUJKO/KTdFYPFHa7axRETbUHkWIc1vAGTHxZb5RY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3BC603858C48 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3BC603858C48 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735135320; cv=none; b=nR9nOMOU6tFwRObTO1k4zYwn6IxA200YXPAn6yKA3O1nfjIqRZ3WsRq3M1qive6l7TqCTFhVM4Nia2NshYjXwPSc+n9vrtR28Ch8F4XPVLLyKCCqHRFecomCrtE6Dz7zSQ6hp1dhNvhzDTscY+cTbJOXgLzPi+e70RcKCqibVug= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735135320; c=relaxed/simple; bh=eGffyXuVpCer2uIKjf5m3w1tUfDEBUG2opj3oKuOcvw=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=QpViRzu3tmuuBtA7mbHRQ4cwjFsMrIosoecKNuZgLkx2gPwXeiJQTJcostkNkA+W1kyFDSetqgPPcQ3vXRVHXGsj1Wzr2J8hrnKAEPmasDbqkgKl6ewoZReoZW+7I5ERnrYiDAxyzSXYtKsuyVhItz/1lKdZW079v8cRIICuxM8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BC603858C48 Date: Wed, 25 Dec 2024 23:01:57 +0900 To: cygwin AT cygwin DOT com Subject: Re: raise() produces random behaviour in Cygwin 3.5.5 Message-Id: <20241225230157.d1cde6bfcafb13ab7eeb7665@nifty.ne.jp> In-Reply-To: <3393531.CAdn2TfLgq@nimes> References: <3393531 DOT CAdn2TfLgq AT nimes> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple