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: 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > 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(). 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