Segmentation fault when exception is thrown or assertion fails [g++/gcc]

Roman Werpachowski roman.werpachowski@gmail.com
Sun Jul 5 21:49:00 GMT 2009


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



More information about the Cygwin mailing list