GNU bug report logs - #28542
Temporary failure in name resolution while quitting emacs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Baylis Shanks <bshanks3@HIDDEN>; dated Thu, 21 Sep 2017 17:22:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Sep 2017 17:21:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 21 13:21:21 2017
Received: from localhost ([127.0.0.1]:51830 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dv5A9-0003AY-2v
	for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 13:21:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52492)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bshanks3@HIDDEN>) id 1dv53J-0002xt-5K
 for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 13:14:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bshanks3@HIDDEN>) id 1dv53C-0001th-A0
 for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 13:14:11 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,
 RECEIVED_FROM_WINDOWS_HOST,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57478)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bshanks3@HIDDEN>)
 id 1dv53C-0001ta-5v
 for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 13:14:10 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43462)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bshanks3@HIDDEN>) id 1dv53A-0004ft-Vc
 for bug-gnu-emacs@HIDDEN; Thu, 21 Sep 2017 13:14:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bshanks3@HIDDEN>) id 1dv536-0001rv-KK
 for bug-gnu-emacs@HIDDEN; Thu, 21 Sep 2017 13:14:08 -0400
Received: from mail-oln040092009058.outbound.protection.outlook.com
 ([40.92.9.58]:45157 helo=NAM04-BN3-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bshanks3@HIDDEN>)
 id 1dv536-0001pG-8h
 for bug-gnu-emacs@HIDDEN; Thu, 21 Sep 2017 13:14:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
 s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=W91EQONFemjyGw+dx28tbR3FpM136f56AMIE9XrP1Wk=;
 b=uTpinUwUJp+uMBhGGe88D6b5Mge3P5QlxHQrNIxFPgy3XIP6g3qc98yzlxcEsB7CM/eqIXbXIjV7PX/Ek7HGXBqIF9x3MOKIv7Y5682z7yIjYpl+LYyCjNvu+2bIq64sinEPSFeHfPPSVlDjhP53DRR5tsfaTLIdJScBOuenqUHrdFHKVuHnmDZan6uwUrL8p2tYv6gTehkNmqPg9xEHvP4TJHVfyeflhQbcOH88CWknTgPVS6x8grM+5fDbst3aUSHOuuHYgNnNoY2JoUpTP4ePAmRDeSdTPHOpAnPFUhOwfDK+vzcc2xY0O3XlFf767/8sDAY/A1xLEvtowZJhkg==
Received: from SN1NAM04FT027.eop-NAM04.prod.protection.outlook.com
 (10.152.88.57) by SN1NAM04HT125.eop-NAM04.prod.protection.outlook.com
 (10.152.89.194) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.35.14; Thu, 21
 Sep 2017 17:14:00 +0000
Received: from BN6PR10MB1700.namprd10.prod.outlook.com (10.152.88.60) by
 SN1NAM04FT027.mail.protection.outlook.com (10.152.88.165) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id
 15.20.35.14 via Frontend Transport; Thu, 21 Sep 2017 17:14:00 +0000
Received: from BN6PR10MB1700.namprd10.prod.outlook.com ([10.172.20.18]) by
 BN6PR10MB1700.namprd10.prod.outlook.com ([10.172.20.18]) with mapi id
 15.20.0077.011; Thu, 21 Sep 2017 17:14:00 +0000
From: Baylis Shanks <bshanks3@HIDDEN>
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Subject: Temporary failure in name resolution while quitting emacs
Thread-Topic: Temporary failure in name resolution while quitting emacs
Thread-Index: AQHTMvzO8L4pZHBVFE6FqXSDGBUJjQ==
Date: Thu, 21 Sep 2017 17:13:59 +0000
Message-ID: <BN6PR10MB17006C4999F9A9170DE674F992660@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: gnu.org; dkim=none (message not signed)
 header.d=none;gnu.org; dmarc=none action=none header.from=hotmail.com;
x-incomingtopheadermarker: OriginalChecksum:5B6E2C10DB86385CEC2F2095B15FF690373CA5047EA7DD34F0F38963EDB1F735;
 UpperCasedChecksum:16DA1772A2FD20373A0BE52A09CEAA11D59D396D6A2D6B84832FAF91636BAD33;
 SizeAsReceived:6870; Count:44
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [QKDIVMwRSztFIrrDO2Xn5RHAwjJA4vd3]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; SN1NAM04HT125;
 6:HlJcunP7Bmg0iKsq1yQeQhx50mAvAl9S2kLba8thnO9TSTWqPB0QdGeuLQPOqYei3e2EQEJurXB3fzCw3Y8xXUsSFVx60MUw1RuH8BpbfR6P+eMLwwoXhcTNBF+6pF/evA7OKmNvnzP+XurF1HY++JmkCHSzZjK2w/MFtHCKjfuEZNpwcpUagLYvSICzfvJhpWsxehXxYDVTwMDOr4coq9HQXlCu0dRMoFPt9LiPYVRWQqd5Y8Sv1fO9sADaY4sd9z1BtpxzfDQZ2yz+NXYFkK7q2LYQ97GUUXBOcVRa6Fs1feLff4ZXKzf4Zujvl9ifM2SqtdzMafmuawThcY9pSA==;
 5:7pDtnOoIYnT90SfWVQQZqNRbV5v2cqf/P2YMslYb9rknFDwj7G+pDb0mmKAeB3stsZHmj+ttSjJr2oiqX5/p87OoMUdbLdrGQfeGsnV9hzphpZk5UoCMQSh+CwxAcHmAYjrc1VnfqS2CcS8K3kL+4A==;
 24:AIZa9l7tRIKaH4C+Nb0+eXtbf8SwW+oMYb0GmmVueSuHccW1ngWXMHsfqqDetGgUkYu2UczHHCVtg8VJe22EH5PUq6y8EbthS1Oq0Ztuj98=;
 7:FF+hA3nUtRWoc0SrFc4q9uRVfxW3oolLtuyN+QF6K47E8dZXP9smm+hX2a6tYfUx1hbyadWM6XdmTnlHX2pjsR56nMxiPFZI387frUuaD+oubNYMUSbVpT4451xjnB41bPZDtRqwdnsgvUYvUl8QQU0CO3ry8ZvP8nZ0hJ6Q5Qz1k0uSHIFHvM3bNx2S5SdKyETcKUhaBcb9Omof3LhTYaDs6l4Dpi9F8hZH+2qnwso=
x-incomingheadercount: 44
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 2d15b7ff-c0d4-4705-5f15-08d50114269d
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);
 SRVR:SN1NAM04HT125; 
x-ms-traffictypediagnostic: SN1NAM04HT125:
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
 RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031);
 SRVR:SN1NAM04HT125; BCL:0; PCL:0;
 RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);
 SRVR:SN1NAM04HT125; 
x-forefront-prvs: 04371797A5
x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT;
 SFP:1901; SCL:1; SRVR:SN1NAM04HT125; H:BN6PR10MB1700.namprd10.prod.outlook.com;
 FPR:; SPF:None; LANG:; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
 boundary="_000_BN6PR10MB17006C4999F9A9170DE674F992660BN6PR10MB1700namp_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2017 17:13:59.7552 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM04HT125
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 21 Sep 2017 13:21:19 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

--_000_BN6PR10MB17006C4999F9A9170DE674F992660BN6PR10MB1700namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I had an http address open in a buffer (i think i closed that buffer), and =
then i disconnected from the internet and then attempted to quit emacs. Ema=
cs would not quit; when i attempted to quit it, a message involving 'open-n=
etwork-stream' and 'temporary failure in name resolution' would be displaye=
d in *messages* and then nothing would happen.


Manually opening an elisp buffer and using setq to remove save-place-kill-e=
macs-hook from kill-emacs-hook solved the problem.


I think there are really two bugs here;


1) whatever save-place-kill-emacs-hook is doing should be robust to 'tempor=
ary failure in name resolution' errors


2) more importantly, if there is an error in something called from kill-ema=
cs-hook, emacs should not just return to normal functioning (without quitti=
ng), but rather should give the user a choice of whether to continue to qui=
t or not (if continue to quit is chosen, the remaining items in kill-emacs-=
hook should be called). It's really frustrating to a user when the user can=
not figure out how to quit a program.


--_000_BN6PR10MB17006C4999F9A9170DE674F992660BN6PR10MB1700namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p>I had an http address open in a buffer (i think i closed that buffer), a=
nd then i disconnected from the internet and then attempted to quit emacs. =
Emacs would not quit; when i attempted to quit it, a message involving 'ope=
n-network-stream' and 'temporary
 failure in name resolution' would be displayed in *messages*&nbsp;and then=
 nothing would happen.</p>
<p><br>
</p>
<p>Manually opening an elisp buffer and&nbsp;using setq to remove&nbsp;<spa=
n>save-place-kill-emacs-hook</span> from kill-emacs-hook solved the problem=
.</p>
<p><br>
</p>
<p>I think there are really two bugs here;</p>
<p><br>
</p>
<p>1) whatever <span>save-place-kill-emacs-hook</span> is doing should be r=
obust to '<span>temporary failure in name resolution</span>' errors</p>
<p><br>
</p>
<p>2) more importantly, if there is an error in something called from <span=
>kill-emacs-hook</span>, emacs should not just return to normal functioning=
 (without quitting), but rather should give the user a choice of whether to=
 continue to quit or not (if continue
 to quit is chosen, the remaining items in <span>kill-emacs-hook</span> sho=
uld be called). It's really frustrating to a user when the user cannot figu=
re out how to quit a program.</p>
<p><br>
</p>
</div>
</body>
</html>

--_000_BN6PR10MB17006C4999F9A9170DE674F992660BN6PR10MB1700namp_--




Acknowledgement sent to Baylis Shanks <bshanks3@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#28542; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 21 Sep 2017 17:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.