delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/08/14:58:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Hannu E K Nevalainen" <garbage_collector AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: cygpath hang - using gdb
Date: Wed, 8 Oct 2003 20:53:45 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEAEAGDFAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <20031008183653.GB29282@redhat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Christopher Faylor
> Sent: Wednesday, October 08, 2003 8:37 PM
> To: cygwin AT cygwin DOT com
> Subject: Re: cygpath hang - using gdb
>
>
> On Wed, Oct 08, 2003 at 08:00:21PM +0200, Hannu E K Nevalainen wrote:
> >> I will be investigating the problem in every way that anyone can
> >> think of as time permits. No promises though, as usual.
> >> I'll have to learn bits and pieces of cvs and gdb for starters -
> >> I'll do my best.
> >
> >$ MODE=ironic rant
> >
> > "I'll be back" - is this a general salute nowadays? ;-P
> >
> >You're about to see me trying to use gdb for the first time. Say after me
> >please: "YES, WE LOVE IT!" ...  Ahh... I didn't hear you ;-)
> >
> >$ MODE=serious
> >
> >Looking at "sample use" in "info gdb" I see things that looks fairly
> >straight forward and familiar. Now when I try "gdb --pid=<cygpath pid>" -
> >when cygpath has hung - I end up with a situation that I don't recognise
> >from that sample.
> >
> >A couple of "s" commands and the gdb session ends up having no "(gdb)"
> >prompt. I get the impression that cygpath has stopped somewhere
> in a system
> >DLL, and debugging fails in there. Killing cygpath makes the
> prompt return.
>
> No, you've stepped into the part that is hanging, so gdb is
> waiting patiently
> for it to return.
>
> cgf

Ok. Got that.
Now; Any ideas how to work further on this?
Set breakpoints at "random" places in cygpath?

I've been persuing a display of source to get a grip on what and where
things are happening, but that seems to be totally over my head at the
moment.

Probable cause: I don't know a single thing about Windows nor Cygwin
internals - and I'm seeing nothing but those parts of memory.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019