Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 26 May 2000 02:13:13 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Need help. Latest snapshot may be next cygwin net release. Message-ID: <20000526021313.A12392@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <20000525154409 DOT A13047 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from egorovv@mailandnews.com on Fri, May 26, 2000 at 10:11:15AM +0400 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 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 >#include >#include > >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 AT sourceware DOT cygnus DOT com