| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| 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 |
| X-Yahoo-SMTP: | jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- |
| Date: | Wed, 30 Mar 2011 01:40:34 -0400 |
| From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: SIGFPE in CVS HEAD |
| Message-ID: | <20110330054034.GG12793@ednor.casa.cgf.cx> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <AANLkTikRFB6gnFcKzxa631guJc9YS=nnKfqzZDBuhvOk AT mail DOT gmail DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <AANLkTikRFB6gnFcKzxa631guJc9YS=nnKfqzZDBuhvOk@mail.gmail.com> |
| User-Agent: | Mutt/1.5.20 (2009-06-14) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 <unistd.h>
>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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |