From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24225 invoked by alias); 8 Aug 2012 21:59:37 -0000 Received: (qmail 24217 invoked by uid 22791); 8 Aug 2012 21:59:37 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mho-02-ewr.mailhop.org (HELO mho-02-ewr.mailhop.org) (204.13.248.72) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Aug 2012 21:59:10 +0000 Received: from pool-173-76-45-230.bstnma.fios.verizon.net ([173.76.45.230] helo=cgf.cx) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1SzEHW-000EVY-2d for cygwin@cygwin.com; Wed, 08 Aug 2012 21:59:10 +0000 Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 2C9AD428004 for ; Wed, 8 Aug 2012 17:59:09 -0400 (EDT) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+i8Q1nWqG5rvnb9laQOEp7 Date: Wed, 08 Aug 2012 22:17:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Please test snapshots Message-ID: <20120808215909.GA29761@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <86k3xcaxxh.fsf@w2139spb.ru.yotateam.com> <50203227.50207@dancol.org> <50205E0E.3060406@dancol.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50205E0E.3060406@dancol.org> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00196.txt.bz2 On Mon, Aug 06, 2012 at 05:15:10PM -0700, Daniel Colascione wrote: >On 8/6/2012 2:07 PM, Daniel Colascione wrote: >> I just saw a hang building Emacs (using "make bootstrap") > >Signal handling appears to be broken. Here's a simple testcase. Run the program >and hit control-c. It'll print "got Alarm clock", then stop accepting any >signals at all, even SIGSTOP. The same program works fine on my Debian stable box. I forgot to send out a notice about this. This particular issue should be fixed in the latest snapshot. You mention generic "signal handling" rather than "sigwaitinfo" so I don't know if there are other issues. It doesn't seem like much would work if signal handling was completely broken, though. Thanks for the test case. cgf >#define _GNU_SOURCE 1 >#include >#include >#include >#include >#include > >int >main() >{ > sigset_t waitmask; > int sig; > > sigemptyset (&waitmask); > sigaddset (&waitmask, SIGINT); > sigprocmask (SIG_BLOCK, &waitmask, NULL); > > for (;;) { > sig = sigwaitinfo (&waitmask, NULL); > fprintf (stderr, "got %s\n", sys_siglist[sig]); > if (sig == SIGINT) { > break; > } > } > > return 0; >} > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple