| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_YG |
| X-Spam-Check-By: | sourceware.org |
| X-Yahoo-SMTP: | Uu383n6swBCEN1G9up0WSnxbvN8fCPmk |
| Message-ID: | <4D5D7156.2090400@cygwin.com> |
| Date: | Thu, 17 Feb 2011 14:04:54 -0500 |
| From: | "Larry Hall \(Cygwin\)" <reply-to-list-only-lh AT cygwin DOT com> |
| Reply-To: | cygwin AT cygwin DOT com |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: assert broken? |
| References: | <20110217184934 DOT GA25353 AT home DOT invalid> |
| In-Reply-To: | <20110217184934.GA25353@home.invalid> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 2/17/2011 1:49 PM, Stan wrote:
>
> I've run cygcheck and tried this on two systems with the same
> results; at this point I'm assuming the problem is not local so I'm
> not including the typically requested data. I will be glad to follow
> up if my assumption turns out to be incorrect.
>
> The issue is triggering an assert dumps core. Trivial test case:
>
> #include<assert.h>
>
> int main()
> {
> assert(1==0);
> return 1;
> }
>
> causes a core dump. I originally noticed this is a gdb session and the
> triggered assert leaves a bt showing windows info so it looks like the
> stack unwinding is having a bad day.
When an assertion fails, it calls abort().
<http://pubs.opengroup.org/onlinepubs/009695399/functions/assert.html>
Are you saying it's not doing this?
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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 |