This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Segmentation fault when exception is thrown or assertion fails [g++/gcc]
On Sun, Jul 5, 2009 at 6:58 PM, Dave Korn<XXX> wrote:
> ?It's not a full core dump, it's just a stack backtrace in human-readable
> format. ?If you copy and paste the addresses in the second column (Function)
> into "addr2line --exe <path-to-your-executable>" (and assuming you compiled
> with debug info), it'll turn them into a list of addresses.
>
> ?(Note that in the examples you gave, all the addresses were in the cygwin
> 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