delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/09/12:50:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Wed, 9 Mar 2005 12:49:50 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin.dll 1.5.13-1: hangs
Message-ID: <20050309174950.GA10189@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <d0k08s$k2p$1 AT sea DOT gmane DOT org> <20050308111549 DOT GD2839 AT cygbert DOT vinschen DOT de> <MPG DOT 1c97935f3a54e6e99896c5 AT localhost> <20050308163612 DOT GJ2839 AT cygbert DOT vinschen DOT de> <20050308165641 DOT GL2839 AT cygbert DOT vinschen DOT de> <d0mtfn$757$1 AT sea DOT gmane DOT org> <20050309141647 DOT GB3685 AT cygbert DOT vinschen DOT de> <d0na20$lb6$1 AT sea DOT gmane DOT org> <20050309172436 DOT GQ2839 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20050309172436.GQ2839@cygbert.vinschen.de>
User-Agent: Mutt/1.4.2.1i

On Wed, Mar 09, 2005 at 06:24:36PM +0100, Corinna Vinschen wrote:
>On Mar  9 12:00, Chuck wrote:
>>Corinna Vinschen wrote:
>>>The 2005-03-08 snapshot has been recreated by Chris yesterday, so it
>>>already contains the change.
>>
>>In my case, this snapshot does not fix the problem.  Now instead of
>>ssh-add hanging the first time it's run before prompting for the
>>passphrase, it now hangs *every* time after prompting for the
>>passphrase.  Plus, if I try to kill ssh-agent with "eval `ssh-agent
>>-k`", that hangs too.  Nothing will kill the agent.  Not even kill -9.
>
>Doesn't happen for me.  I can call ssh-agent, ssh-add, ssh-agent -k
>just fine.
>
>Sure you're not having another cygwin1.dll in the path?  Otherwise
>there's some difference in the environment which influences that,
>perhaps.
>
>>I guess that's why they're snapshots.  I am rolling back to the
>>pre-snapshot version of cygwin1.dll.
>
>Oh yeah, that's helpful.  What about sending your cygcheck output
>instead as explained on http://cygwin.com/problems.html and trying to
>see if strace shows something which points to the problem?
>
>Since I can't reproduce this so far, there won't be any change to this
>issue unless somebody helps debugging.

Getting strace output would be helpful.  You might have to modify the .bat
file which starts cygwin to do something like:

  strace -oc:\strace.out bash --login -i

or just run the above command from a normal cmd window.

It would also be useful to see what your startup scripts look like.  I
created an ssh-add.sh script in /etc/profile.d which looks like this:

  . /tmp/.sshagent 2>/dev/null

  if ! kill -0 $SSH_AGENT_PID 2>/dev/null; then
      setsid ssh-agent > /tmp/.sshagent
      . /tmp/.sshagent; ssh-add
  fi

This creates a ssh-agent once, connects to it via ssh-add, and then uses
it in subsequent operations.  It never hangs.

This particular problem is holding back the release of 1.5.14 so it
would be nice if someone could put some more effort into helping us
debug the problem.

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/

- Raw text -


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