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=jW0jVgN6ghVI+ivAoJCKAgInze0+NLOj7
	1aJLomX08vsWsdPoOhOXfUPYVQJ6nKR6Bey+KS89jxTjEkMiejacUxuhoMQ8YFh8
	3oLQtlwv6RQzrE16Y6cazIoPvzlCDS8xpnhag0DiwtzH/IRKYv8hRActBFHYm5Ls
	GfUKooWKhM=
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=ocDD+4S6ASlnfmiIlLBPJ8eNuJo=; b=akW5zXK
	b5R7xF31/LGTHdSNsdU9m8OYR7jArrnMhzTHvAX7ofuibGYLn5XiJx8SQYjsBUWd
	Dhw4zINP7WVxNEWNhFx2163JpEpiWiu8vDXSwkC65BVhJnYPSMZk0VcrmDVLfiAx
	nnybRTDxsn4mtzW50/KRCo9ALP/0hT+p7HA4=
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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: qmta11.emeryville.ca.mail.comcast.net
Message-ID: <5346D0F7.2040903@acm.org>
Date: Thu, 10 Apr 2014 10:12:23 -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>
In-Reply-To: <5346C6C0.104@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:
> 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!

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

"You tried it just for once, found it alright for kicks,
 but now you find out you have a habit that sticks,
 you're an orgasm addict,
 you're always at it,
 and you're an orgasm addict."
                -- The Buzzcocks

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

