X-Recipient: archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=iJigwIX9Ai+N3Du244CSl4iMNBv9ceVxXdJqY4aepCaekY5kJ039u Y/0GCD8Fig1aqgUe9ONc66oPTUCoSsaZ1ndF2J+Ib56exZjp8H3Duz1sxwszwKmP Rcmidr5lrhm509qNpbWaC685Uyxg/LZPk5qyqmgdI+MFvuLMaSkd6g= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=X5vzP2ZFi1ZUHO8ZA3FExHpvThA=; b=Lv2qx/0P4vjYGuc2OwN09fWnqaR3 VU0FEugvI2H8W6mlQfGwmWeOr4odoz1IadciEyE5+gYBk76I8TEMBihBXpXPKy+J qp7vZ4+ddycbzticCKouweJAMfmJeiRoFJtGlVQUP//9Dy0qhXdlmTHWG4riqCrd bA2wG0H2LbWBZZw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 10 Apr 2014 19:49:53 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.7.29-2: Exception from cygwin_gethostname Message-ID: <20140410174953.GH2437@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5342F343 DOT 6050300 AT acm DOT org> <20140407190942 DOT GU2061 AT calimero DOT vinschen DOT de> <5343035E DOT 4000106 AT cygwin DOT com> <53430FAA DOT 9010409 AT acm DOT org> <20140410091549 DOT GX2437 AT calimero DOT vinschen DOT de> <5346C6C0 DOT 104 AT acm DOT org> <5346D0F7 DOT 2040903 AT acm DOT org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="enQ4buem96rqs4uP" Content-Disposition: inline In-Reply-To: <5346D0F7.2040903@acm.org> User-Agent: Mutt/1.5.21 (2010-09-15) --enQ4buem96rqs4uP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 10 10:12, 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=20 > >>>>> 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? > >=20 > > Thanks, Corinna. That solves my problem. > >=20 > > 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. >=20 > The snapshot fixes the problem on my co-worker's machine as well. Thanks > again! Cool! Thanks for your testing. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --enQ4buem96rqs4uP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTRtnBAAoJEPU2Bp2uRE+g2BIP/3rDfVNNXypDLmIzDyj0TjPj hvFXB7DXpuuMpZgh43qeyZhCOM+/aHx9POARtvSrPxSsLN04P5XijWj9zQ0GqSN9 t+IzPtVdAXgoQPq1B6bs0zSyhh++vzGtUzPMlmc17bFItNIoSZhOyOkPrfNiV2lw 5xEoOtaKQc64V8YPFzwUg3LDbxr+MO103jAx4L/NHQK37ZLVyn0AVpwfd9gi/a3B +rYUeoYFmAywx/zhHfvlcQM1DkBJ4ksol8IE3xozlySDHr0Ep5Vtx4yCIX+7IZWn tAyla3GHRS9/ZxG/QlmzkSXAiTSpvj5LfT1WZWDD4BshjPSVvbfUk2YTqoVu/KgL 2EQ8cFM+kJQpYfQcUFkpNOvEGi85Q0tKoOp/ZNf64v4/tFp+uHvEa6H9g7cvMJFS SWjA52qJXcswQrl+7L/loTcs0MZ6V8ztKYpvqQQTMHfOKU71OS2mhpLBsAvE8n8O 4Eo2MpjIiKGW/hHfRm+cPbMQRlnshQSeM/A6Tu45wIShT/S22r+deO9H62cYVfGD oy0lpm5wu/pLO+BlQEeaafkVPsUYdnf8tiNZI/DjALJgu3yptj8zwJF32qBwiYbk its95cj68kzCWGf74Gjmhgah5JneCbQxPzFuDAW7rO7vlcsyHqbUZ2gvc8NVPLGy //9kAArm3CQ/4cfI2V6m =4EHR -----END PGP SIGNATURE----- --enQ4buem96rqs4uP--