Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 30 Jun 2005 12:58:26 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Mysterious random crashes with latest snapshots
Message-ID: <20050630165826.GA27204@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <20050630145818.GB23000@trixie.casa.cgf.cx> <SERRANO1O0aAGgWtpe1000002f1@SERRANO.CAM.ARTIMI.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <SERRANO1O0aAGgWtpe1000002f1@SERRANO.CAM.ARTIMI.COM>
User-Agent: Mutt/1.5.8i

On Thu, Jun 30, 2005 at 05:45:52PM +0100, Dave Korn wrote:
>----Original Message----
>>From: Christopher Faylor
>>Sent: 30 June 2005 15:58
>>On Thu, Jun 30, 2005 at 03:37:25PM +0100, Dave Korn wrote:
>>>I think I remember noticing that backtracing across sigfe doesn't
>>>always work too well.  Then again, there could be a problem with the
>>>debug info:
>>
>>"doesn't always" == "never".
>>
>>>>#3 0x00435d27 in fhandler_pipe::get_guard ()
>>>
>>>makes no sense.  But I would imagine the peculiarity is down to sigfe;
>>>it does something unexpected to the stack frame, that the debug info
>>>doesn't reflect.
>>
>>No, it's due to the fact that 0x00435d27 is an address in the
>>application and the application has no debugging symbols.
>
>That doesn't explain how it managed to think that 0x0040xxxx was
>somewhere in the middle of the dll.

Nor does the existence of sigfe in a stack chain cause gdb to change the way
an address is turned into a symbol.

fhandler_pipe::get_guard is a strange symbol that gdb is incorrectly
choosing for the name of a function, possibly because it has the sign
bit set and there's some inappropriate signed comparison somewhere in gdb's
symbol handling code.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

