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=OQSX2S7GAM5tIYYFWPJK0/jxpy1Ezyugw
	x7V9T4Ver9u+igkepbJdc+3mZbcy3/+J882bn3abFLFw0EC6oVwcnDhqY7zDlbDX
	zVx9upu6tMMTGfY65U599EKfMPtfzOb3jYDMKmsLK9fUg9cZcR0yoWkWx89crWY4
	AvSteOK4LI=
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=xhfNwzl7DXVE5sGrQDaL3aZ8uE8=; b=RJxwTsa
	wozbua7ykE5vybigM5J671tD4xFKNI4Au9DI673f24PPGksNz2OlqZRml5RGGmAD
	PpFhArQAEVvA41N4DP91gCD8oL67eejaSEkXHALywhAn3DRXWe9yt2FnQiKRqSj5
	Jz1pYWaNkS5IKm3oq0ZxORA3Bv5f6fQRogeE=
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.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: qmta04.emeryville.ca.mail.comcast.net
Message-ID: <5346C6C0.104@acm.org>
Date: Thu, 10 Apr 2014 09:28:48 -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>
In-Reply-To: <20140410091549.GX2437@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

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.

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

"The pyramid is opening!"
   "Which one?"
"The one with the ever-widening hole in it!"
                -- The Firesign Theatre

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

