This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Need help. Latest snapshot may be next cygwin net release.
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: Need help. Latest snapshot may be next cygwin net release.
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 26 May 2000 02:13:13 -0400
- References: <20000525154409.A13047@cygnus.com> <u66s1g7ss.fsf@mailandnews.com>
- Reply-To: cygwin at sourceware dot cygnus dot com
You're not providing any context. Is this something new since 1.1.0?
cgf
On Fri, May 26, 2000 at 10:11:15AM +0400, Vadim Egorov wrote:
>Sorry, the message body seems was lost on the way.
>
>Chris Faylor <cgf@cygnus.com> writes:
>
>> I would appreciate it if any adventurous souls would try out the
>> latest cygwin snapshot by downloading this:
>
>libstdc++-v3 configure hangs again. An old problem with signals.
>This is a piece of code which hangs and a strace log.
>
>#include <unistd.h>
>#include <signal.h>
>#include <setjmp.h>
>
>static jmp_buf env;
>int signo = SIGSEGV;
>
>static void sig_handler(int sig)
>{
> static sigset_t x;
> signal (sig, sig_handler);
> sigemptyset (&x);
> sigprocmask(SIG_SETMASK, &x, NULL);
>
> longjmp(env, 1);
>}
>
>int main(int argc, char * * argv)
>{
> if (setjmp(env) == 0 )
> {
> signal(signo, sig_handler);
> *(char*)0 = 1;
> }
> return 0;
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com