Please test snapshots

Christopher Faylor
Wed Aug 8 22:17:00 GMT 2012

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.


>#define _GNU_SOURCE 1
>#include <unistd.h>
>#include <stdio.h>
>#include <stdlib.h>
>#include <signal.h>
>#include <pthread.h>
>    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:
Unsubscribe info:

More information about the Cygwin mailing list