X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding
	:reply-to; q=dns; s=default; b=ZQ+S8NOhnk6tCbX82xAyi2pYsFBx6o+fg
	ulsbTshh5ZchOmCzX7qpokMFuwBRRC+5EwE8kRmCPB1rzNTYeU+6K/hyZZmPeYA7
	2DgbFCRZ72/GNKrFByq4ton5PKNU9uKAV1+nSleEoVw6nSrTDcQOHlBu5QaZT/m5
	sHt3InuzXc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding
	:reply-to; s=default; bh=evk8qCWsD0aMHbCxnlNV1oMjfC4=; b=tbjy5TZ
	+M+HmZhXG5C/7mUUm2InxzGRNUsjiFNwSFHwHbeFj7FNI/fYVonhUDQ3RGNWkJ4v
	+6B8AohPX9VKHElLKs1D84Rn6XC/Y2A9bUxD9T2INvcYJrD82AnoWFdtzzqwEEzv
	3UL18FjEYT13jaO4h/x6/S1G1P0ih0EZcOZQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: qmta05.emeryville.ca.mail.comcast.net
Message-ID: <5346F80C.9000301@acm.org>
Date: Thu, 10 Apr 2014 12:59:08 -0700
From: David Rothenberger <daveroth@acm.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7.29-2: Exception from cygwin_gethostname
References: <5342F343.6050300@acm.org> <20140407190942.GU2061@calimero.vinschen.de> <5343035E.4000106@cygwin.com> <53430FAA.9010409@acm.org> <20140410091549.GX2437@calimero.vinschen.de> <5346C6C0.104@acm.org> <5346D0F7.2040903@acm.org>
In-Reply-To: <5346D0F7.2040903@acm.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

David Rothenberger wrote:
> David Rothenberger wrote:
>> Corinna Vinschen wrote:
>>> Hi David, Hi Ken [in CC],
>>>
>>> On Apr  7 13:50, David Rothenberger wrote:
>>>> Larry Hall (Cygwin) wrote:
>>>>> On 4/7/2014 3:09 PM, Corinna Vinschen wrote:
>>>>>> On Apr  7 11:49, David Rothenberger wrote:
>>>>>>> I'm having a problem doing hostname resolution on one of my
>>>>>>> Windows 7 64 machines after updating cygwin to 1.7.29-2. I
>>>>>>> first noticed it with ssh. I get an error whenever I try to
>>>>>>> ssh to any machine using a hostname; it complains the
>>>>>>> hostname cannot be resolved.
>>>>>>>
>>>>>>> An strace of ssh shows an exception occuring right after
>>>>>>> the call to cygwin_gethostname is logged.
>>>>>>>
>>>>>>> 96   58624 [main] ssh 3536 cygwin_gethostname: name
>>>>>>> daver-pc --- Process 3536, exception 000006ba at
>>>>>>> 000007FEFDD4940D 860   59484 [main] ssh 3536 __set_errno:
>>>>>>> void san::leave():315 setting errno 14
>>>>>>
>>>>>> Exception 0x6ba is "The RPC server is unavailable".  I have
>>>>>> no idea why this exception is generated at all on your
>>>>>> machine.  Usually this is a first-chance exception only,
>>>>>> which can be ignored, but this is the first time I ever saw
>>>>>> this and in the above scenario there's no such exception 
>>>>>> expected, so it doesn't get ignored.
>>>>>>
>>>>>> Oh well, it would have been helpful if this had been
>>>>>> encountered last week :(
>>>
>>> I have uploaded a new snapshot to http://www.cygwin.com/snapshots/
>>> which is supposed to workaround this problem by only handling the
>>> very exceptions the exception handler was designed to handle at
>>> this point. Can you please check if this works for you?
>>
>> Thanks, Corinna. That solves my problem.
>>
>> A co-worker had a slightly different problem with 1.7.29-2. I'll test
>> the snapshot on his machine as soon as he's available today and report
>> back.
> 
> The snapshot fixes the problem on my co-worker's machine as well. Thanks
> again!

Looks like I spoke too soon. It fixed my simple test case of running
ssh, but I still get the exception when I try to run "git push", where
git spawns ssh. The exception is exactly the same as before (same
address too).

-- 
David Rothenberger  ----  daveroth@acm.org

A light wife doth make a heavy husband.
                -- Wm. Shakespeare, "The Merchant of Venice"

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

