X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A50E9C6.4030202@gmail.com>
References: <a15a61310907042018t40f47459m6054bb3772ff62d5@mail.gmail.com> 	 <a15a61310907042043m63b85017kcae8f9362b5fafee@mail.gmail.com> 	 <4A50A18B.6070407@gmail.com> 	 <a15a61310907050921o691fb1a5h173dc35a95d732b1@mail.gmail.com> 	 <4A50E9C6.4030202@gmail.com>
Date: Sun, 5 Jul 2009 22:44:29 +0100
Message-ID: <a15a61310907051444w4a71a193uc08bcfb0718b7ccf@mail.gmail.com>
Subject: Re: Segmentation fault when exception is thrown or assertion fails  	[g++/gcc]
From: Roman Werpachowski <roman.werpachowski@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sun, Jul 5, 2009 at 6:58 PM, Dave Korn<XXX> wrote:
> =A0It's not a full core dump, it's just a stack backtrace in human-readab=
le
> format. =A0If you copy and paste the addresses in the second column (Func=
tion)
> into "addr2line --exe <path-to-your-executable>" (and assuming you compil=
ed
> with debug info), it'll turn them into a list of addresses.
>
> =A0(Note that in the examples you gave, all the addresses were in the cyg=
win
> DLL, because the compiler had optimised the implied abort() call in the
> assert() in your main() function into a tail-call; effectively your code =
had
> already returned from main.)

Thanks to you and Chris.

Regards,
Roman Werpachowski

--
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

