From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by sourceware.org (Postfix) with ESMTPS id 33AD6385840B for ; Tue, 23 Nov 2021 09:50:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 33AD6385840B Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mo73N-1mJ5Z02nfP-00pbul for ; Tue, 23 Nov 2021 10:50:37 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3DBDBA80D00; Tue, 23 Nov 2021 10:50:37 +0100 (CET) Date: Tue, 23 Nov 2021 10:50:37 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: raise(-1) has stopped returning an error recently Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:N58PEjaqPaWKd16YGc3BDhNM8UgTqNfFkx+7pHPH/oJr3HUQt7m fJJAt4IaG/6HODAj/JN1VaNS1RnGXWZr8+OSe3URLGkfgzR18odHEjGMLDM+UH54yd5B6nm i2ACRtxvuhswmw+U+LV+taXbQPJneH0I3DPhYXqd7TYaWY1PksTZEVZoJnKDZBI1FrGe6Oi cSZspLLyd9XWoeD9qU+hg== X-UI-Out-Filterresults: notjunk:1;V03:K0:JBZ0gL1sud4=:WHsNOaKIoGp3RmVw4py0x2 WpnwS/h029mYf8J76RwGa90nR5MYxMx2dVJfYvaydkY9UlyZg1mSra0plip6yQMX7xwnrh78H EvIvwhP6UdA4dUlUyTxB0eAMgPv/2Tw4cp2PQFi0IbYixMAHg0Tj6007Q/pqKvI8dhOhVRBrv igl8WAWwhJRJ8zCNYDZK8RUQMUx0COYOa8iC+wv/Iw20+KP9L/k5S0fnez22SbL1Kbryf6Iw5 mJdS7COMTTeZ5poIOyK5AAw3100nim52MEjs0BPrERqvtsEW+1kU9YiD73bB0f2H399t4kYXV tMQ6GpKeUKAcONZrzPG8uC2SWyfbNY7cupMc7s/wNDxMdPoKcMKgt0SdOCBdsXZypCLuj1Lep 9htFcv7MQmQMXFkbrWpYeokqIXQ/NAjaA/3Pfi3mjTOlMjijM7LrqUNpovYjwndAW19aIATB7 ovvSnmN2eE2x3bvfF4eu0Kj/vuPmg/MKR+H4jAgFTj6k4t2LmgJTtVHlaDyZ2U6sP5kh3GtdR l+90w7EHG+/dQU9mfLub8EqNrKELsgTBoPUmMHEy5jLdV+/rQkXkweymQ0gakYM687SJbABex Ra/TCMJa67ErHYM1aWSo/SiMd39+lJ9kpptKdRo0M6pgfW99HSoyRyjooMgQpdMkfPArjoJHb CNEcKO/kG6jX43IebSScml36/EJDJ5509Kz1ppiaQiL6d3fMD4cSADjBD7TCvsGUIvpwA7Yv3 rChCfDmLTaKvK5/F X-Spam-Status: No, score=-99.4 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2021 09:50:40 -0000 On Nov 23 19:27, Duncan Roe wrote: > On Mon, Nov 22, 2021 at 02:06:19PM +0100, cygwin wrote: > > On Nov 22 11:25, Corinna Vinschen via Cygwin wrote: > > > On Nov 22 16:20, Duncan Roe wrote: > > > > #include > > > > #include > > > > > > > > int > > > > main (void) > > > > { > > > > int retcod; > > > > > > > > retcod = raise (-1); > > > > printf("raise(-1) returned %d\n", retcod); > > > > } > > > > > > Thanks for the STC. There are actually two long-standing problems, > > > one in raise, calling pthread_kill even for non-threaded processes, > > > one in pthread_kill, not checking the signal number. > > > > > > I'll patch them right away. > > > > I created a patchset: > > https://sourceware.org/git?p=newlib-cygwin.git;a=commitdiff;h=d54d8f173d66 > > https://sourceware.org/git?p=newlib-cygwin.git;a=commitdiff;h=24bffff63eb7 > > https://sourceware.org/git?p=newlib-cygwin.git;a=commitdiff;h=afb7c557d2af > > > > Please test the latest developer snapshot from http://cygwin.com/snapshots/ > > Thanks, that fixed it. Thanks for testing. > Btw to whoever maintains grep for cygwin: 'make check' should pass on > next release (I patched out the surrogate-pair failre). Great! Brian? Thanks, Corinna