This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Analyzing a SEG FAULT that gdb doesn't help with
- From: Michael Enright <mike at kmcardiff dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 31 Jul 2015 11:46:44 -0700
- Subject: Re: Analyzing a SEG FAULT that gdb doesn't help with
- Authentication-results: sourceware.org; auth=none
- References: <CAOC2fq_fahjLapKbgO8Xer8neEjv1Ohs4bM3JOWcka0ajjcbCg at mail dot gmail dot com> <55BA373A dot 4020909 at dronecode dot org dot uk> <55BB6F47 dot 1000906 at dronecode dot org dot uk>
On Fri, Jul 31, 2015 at 5:51 AM, Jon TURNEY wrote:
>
> I think you need to use the gdb command 'set cygwin-exceptions on' to tell
> gdb to break on exceptions inside the cygwin DLL (by default they are
> ignored, as they may be generated during normal operation when checking a
> pointer is valid)
>
> I shall have to see if I can find a place for these last couple of answers
> in the FAQ or documentation somewhere. It's rather too obscure at the
> moment.
>
This is going to help, I have another application (which I don't even
know yet if it uses strftime because I didn't write it) that is
falling over in a similar fashion, with a different 0x61xxxxxx address
involved.
--
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