delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/05/17:44:47

X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT com> <a15a61310907042043m63b85017kcae8f9362b5fafee AT mail DOT gmail DOT com> <4A50A18B DOT 6070407 AT gmail DOT com> <a15a61310907050921o691fb1a5h173dc35a95d732b1 AT mail DOT gmail DOT com> <4A50E9C6 DOT 4030202 AT gmail DOT 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 DOT werpachowski AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019