From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19462 invoked by alias); 30 Mar 2011 05:40:41 -0000 Received: (qmail 19316 invoked by uid 22791); 30 Mar 2011 05:40:40 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm16-vm0.bullet.mail.ac4.yahoo.com (HELO nm16-vm0.bullet.mail.ac4.yahoo.com) (98.139.52.238) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 30 Mar 2011 05:40:36 +0000 Received: from [98.139.52.192] by nm16.bullet.mail.ac4.yahoo.com with NNFMP; 30 Mar 2011 05:40:34 -0000 Received: from [74.6.228.39] by tm5.bullet.mail.ac4.yahoo.com with NNFMP; 30 Mar 2011 05:40:34 -0000 Received: from [127.0.0.1] by smtp108.mail.ac4.yahoo.com with NNFMP; 30 Mar 2011 05:40:34 -0000 Received: from cgf.cx (cgf@72.70.43.165 with login) by smtp108.mail.ac4.yahoo.com with SMTP; 29 Mar 2011 22:40:34 -0700 PDT X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Received: from ednor.cgf.cx (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 6EAF513C02A for ; Wed, 30 Mar 2011 01:40:34 -0400 (EDT) Received: by ednor.cgf.cx (Postfix, from userid 201) id 62D012B35F; Wed, 30 Mar 2011 01:40:34 -0400 (EDT) Date: Wed, 30 Mar 2011 08:28:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: SIGFPE in CVS HEAD Message-ID: <20110330054034.GG12793@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 2011-03/txt/msg00830.txt.bz2 On Tue, Mar 29, 2011 at 11:05:58PM -0500, Yaakov (Cygwin/X) wrote: >Corinna, > >One of your changes post-1.7.9 is causing a SIGFPE in the DLL: > >$ cat test.c >#include >int main(void) { sleep(1); return 0; } > >$ gcc -o test test.c > >$ ./test >Floating point exception > >$ gdb ./test >GNU gdb (GDB) 7.2 >[snip] >(gdb) run >Starting program: /usr/src/src/winsup/cygwin/test >[New Thread 5684.0xefc] >warning: section .gnu_debuglink not found in >/cygdrive/c/cygwin17/bin/cygwin1.dbg >[New Thread 5684.0xff4] > >Program received signal SIGFPE, Arithmetic exception. >0x610cd147 in nanosleep (rqtp=0x28cc58, rmtp=0x28cc50) > at ../../../../winsup/cygwin/signal.cc:114 >114 + resolution - 1) / resolution) * resolution; >(gdb) bt >#0 0x610cd147 in nanosleep (rqtp=0x28cc58, rmtp=0x28cc50) > at ../../../../winsup/cygwin/signal.cc:114 >#1 0x610cd3f5 in sleep (seconds=1) at ../../../../winsup/cygwin/signal.cc:159 >#2 0x610ca565 in _sigfe () from /cygdrive/c/cygwin17/bin/cygwin1.dll >#3 0x00000000 in ?? () >(gdb) I'll bet it's related to the changes to times.cc. cgf -- 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