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: <4A50A18B DOT 6070407 AT gmail DOT com> <4A50E9C6 DOT 4030202 AT gmail DOT com> Date: Sun, 5 Jul 2009 22:44:29 +0100 Message-ID: Subject: Re: Segmentation fault when exception is thrown or assertion fails [g++/gcc] From: Roman Werpachowski To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Sun, Jul 5, 2009 at 6:58 PM, Dave Korn 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 " (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