GNU bug report logs - #14779
24.3; Failure to resolve IPv6 addresses in make-network-process

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: toke@HIDDEN (Toke Høiland-Jørgensen); dated Wed, 3 Jul 2013 15:43:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 14779) by debbugs.gnu.org; 3 Jul 2013 20:22:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 03 16:22:48 2013
Received: from localhost ([127.0.0.1]:55393 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UuTZg-0005dk-5r
	for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 16:22:48 -0400
Received: from mail.tohojo.dk ([188.40.53.186]:43247)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <toke@HIDDEN>) id 1UuTZd-0005dK-Ov
 for 14779 <at> debbugs.gnu.org; Wed, 03 Jul 2013 16:22:46 -0400
Received: from alrua-desktop.borgediget.toke.dk (unknown [10.42.3.5])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.tohojo.dk (Postfix) with ESMTPSA id 81A0E1EC1EF0;
 Wed,  3 Jul 2013 22:22:39 +0200 (CEST)
Received: by alrua-desktop.borgediget.toke.dk (Postfix, from userid 1000)
 id 7C8F710453; Wed,  3 Jul 2013 22:22:38 +0200 (CEST)
From: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= <toke@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#14779: 24.3;
 Failure to resolve IPv6 addresses in make-network-process
References: <87d2qzzs1t.fsf@HIDDEN> <87k3l7r3y1.fsf@HIDDEN>
 <87mwq34mee.fsf@HIDDEN> <871u7fqukl.fsf@HIDDEN>
Date: Wed, 03 Jul 2013 22:22:36 +0200
In-Reply-To: <871u7fqukl.fsf@HIDDEN> (Andreas Schwab's message of "Wed, 03
 Jul 2013 22:04:10 +0200")
Message-ID: <87d2qz4cmr.fsf@HIDDEN>
User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha1; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 14779
Cc: 14779 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.0 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Andreas Schwab <schwab@HIDDEN> writes:

> Please pass it the address to resolve.

Oh, right. Sorry.

$ getent ahosts google.com
2a00:1450:4013:c00::71 STREAM google.com
2a00:1450:4013:c00::71 DGRAM=20=20
2a00:1450:4013:c00::71 RAW=20=20=20=20
195.249.80.32   STREAM=20
195.249.80.32   DGRAM=20=20
195.249.80.32   RAW=20=20=20=20
195.249.80.46   STREAM=20
195.249.80.46   DGRAM=20=20
195.249.80.46   RAW=20=20=20=20
195.249.80.25   STREAM=20
195.249.80.25   DGRAM=20=20
195.249.80.25   RAW=20=20=20=20
195.249.80.53   STREAM=20
195.249.80.53   DGRAM=20=20
195.249.80.53   RAW=20=20=20=20
195.249.80.52   STREAM=20
195.249.80.52   DGRAM=20=20
195.249.80.52   RAW=20=20=20=20
195.249.80.39   STREAM=20
195.249.80.39   DGRAM=20=20
195.249.80.39   RAW=20=20=20=20
195.249.80.59   STREAM=20
195.249.80.59   DGRAM=20=20
195.249.80.59   RAW=20=20=20=20
195.249.80.38   STREAM=20
195.249.80.38   DGRAM=20=20
195.249.80.38   RAW=20=20=20=20
195.249.80.24   STREAM=20
195.249.80.24   DGRAM=20=20
195.249.80.24   RAW=20=20=20=20
195.249.80.18   STREAM=20
195.249.80.18   DGRAM=20=20
195.249.80.18   RAW=20=20=20=20
195.249.80.31   STREAM=20
195.249.80.31   DGRAM=20=20
195.249.80.31   RAW=20=20=20=20
195.249.80.45   STREAM=20
195.249.80.45   DGRAM=20=20
195.249.80.45   RAW

=2DToke

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQEcBAEBAgAGBQJR1IgMAAoJEENeEGz1+utPIgcH/iWE9NVV/88rFRsLsPGVCoI0
fZLoH16mxu/Q60poayIBHEJwFuHBS5LJQsEj+cPG0uote0EosjyMI6CQkZ2c3o5+
KPh3fMa537tvgvR/yUPNo8WtvIZCBGja6+aj1tgeRMW3fOkbF+ZeSW9F4SiBoJXE
jKUT+gGYZcJZLW47IoSNgQHwsrYd+dAdzo7iPIpnSaWfe3TyRFh/8eBxUIojLIkL
h8x1bvTiV6Cemu/yhJBJ9edA0dQ8I7vpAnwcLmJZjLelH3hpwU9Vunz9slIIOF6V
A/DVA5hxx5+VS/S8bRa7Z3U29gokQ0yRnbzhsKLZjigMC90Goc8pPlDhzGs50bo=
=7cFA
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14779; Package emacs. Full text available.

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


Received: (at 14779) by debbugs.gnu.org; 3 Jul 2013 20:04:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 03 16:04:16 2013
Received: from localhost ([127.0.0.1]:55373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UuTHj-0004qm-Sl
	for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 16:04:16 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:50275)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <whitebox@HIDDEN>) id 1UuTHh-0004qa-7W
 for 14779 <at> debbugs.gnu.org; Wed, 03 Jul 2013 16:04:14 -0400
Received: from frontend1.mail.m-online.net (unknown [192.168.8.180])
 by mail-out.m-online.net (Postfix) with ESMTP id 3bltZ416ySz4KK43;
 Wed,  3 Jul 2013 22:04:12 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3bltZ40rqszbbjV;
 Wed,  3 Jul 2013 22:04:12 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.180])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id aLng57CUY2cd; Wed,  3 Jul 2013 22:04:11 +0200 (CEST)
X-Auth-Info: tuW3Td7aV/mgYK+fxN2ZzscBZpIJgtOdYIeC0dapJqU=
Received: from igel.home (ppp-88-217-96-142.dynamic.mnet-online.de
 [88.217.96.142]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Wed,  3 Jul 2013 22:04:11 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id DA499E5195; Wed,  3 Jul 2013 22:04:10 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= <toke@HIDDEN>
Subject: Re: bug#14779: 24.3;
 Failure to resolve IPv6 addresses in make-network-process
References: <87d2qzzs1t.fsf@HIDDEN> <87k3l7r3y1.fsf@HIDDEN>
 <87mwq34mee.fsf@HIDDEN>
X-Yow: Is this "BIKINI BEACH"?
Date: Wed, 03 Jul 2013 22:04:10 +0200
In-Reply-To: <87mwq34mee.fsf@HIDDEN> ("Toke =?utf-8?Q?H=C3=B8iland-J?=
 =?utf-8?Q?=C3=B8rgensen=22's?= message of
 "Wed, 03 Jul 2013 18:51:37 +0200")
Message-ID: <871u7fqukl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 14779
Cc: 14779 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.0 (/)

Please pass it the address to resolve.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14779; Package emacs. Full text available.

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


Received: (at 14779) by debbugs.gnu.org; 3 Jul 2013 16:51:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 03 12:51:52 2013
Received: from localhost ([127.0.0.1]:55118 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UuQHX-0004Au-Ql
	for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 12:51:52 -0400
Received: from mail.tohojo.dk ([188.40.53.186]:39903)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <toke@HIDDEN>) id 1UuQHU-0004AH-7O
 for 14779 <at> debbugs.gnu.org; Wed, 03 Jul 2013 12:51:49 -0400
Received: from alrua-desktop.borgediget.toke.dk (unknown [10.42.3.5])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.tohojo.dk (Postfix) with ESMTPSA id D6F661EC1EF0;
 Wed,  3 Jul 2013 18:51:41 +0200 (CEST)
Received: by alrua-desktop.borgediget.toke.dk (Postfix, from userid 1000)
 id 0DA4510406; Wed,  3 Jul 2013 18:51:41 +0200 (CEST)
From: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= <toke@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#14779: 24.3;
 Failure to resolve IPv6 addresses in make-network-process
References: <87d2qzzs1t.fsf@HIDDEN> <87k3l7r3y1.fsf@HIDDEN>
Date: Wed, 03 Jul 2013 18:51:37 +0200
In-Reply-To: <87k3l7r3y1.fsf@HIDDEN> (Andreas Schwab's message of "Wed, 03
 Jul 2013 18:41:42 +0200")
Message-ID: <87mwq34mee.fsf@HIDDEN>
User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha1; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 14779
Cc: 14779 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -0.0 (/)

--=-=-=
Content-Type: text/plain

Andreas Schwab <schwab@HIDDEN> writes:

> I cannot reproduce that.  What does getent ahosts show?

$ getent ahosts
127.0.0.1       localhost.localdomain localhost
127.0.0.1       localhost.localdomain localhost

$ getent ahostsv6
127.0.0.1       localhost.localdomain localhost
127.0.0.1       localhost.localdomain localhost

Other applications do not seem to have problems resolving dual-address
hosts. And as I mentioned, passing :family 0 to make-network-process
makes emacs correctly resolve the addresses as well...

-Toke

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQEcBAEBAgAGBQJR1FaZAAoJEENeEGz1+utPk6MH/27pWXTdgOHq2vCoS10PkdUg
AXEwCP6Al8LvdjMOHQ9ei8vu55f1YeNcaN1InneHOVmTnXHwBT81PovNMAG7W96J
j3eRCq/vDzEb6375+y6oQVWoTc96c4c9yi63KTnHwna9GjbzcCWj3ymOEwrjRQJ0
j4GO/jHC3A6qWkLxeqxst8RaPPY8QR3RTjKM9R/TRD0OuawrXeOG2hcY1LKdvlnr
SMcBGigyPf4uTSfrZH8thMe6iXRY75JN8qC1UvPCvEhTzfOb2M8S62I/SoNOHRpn
ObO3oyzR3ncBU34V5vxoOmiCpHfekZ/0siUr1w+ggpSjbBUKdZS0ggfVgvDU+Zw=
=HUpU
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14779; Package emacs. Full text available.

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


Received: (at 14779) by debbugs.gnu.org; 3 Jul 2013 16:41:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 03 12:41:51 2013
Received: from localhost ([127.0.0.1]:55113 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UuQ7q-0003jy-R3
	for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 12:41:51 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:60663)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <whitebox@HIDDEN>) id 1UuQ7m-0003jh-AE
 for 14779 <at> debbugs.gnu.org; Wed, 03 Jul 2013 12:41:47 -0400
Received: from frontend1.mail.m-online.net (unknown [192.168.8.180])
 by mail-out.m-online.net (Postfix) with ESMTP id 3blp4S6VMCz4KK3w;
 Wed,  3 Jul 2013 18:41:44 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3blp4S5ftczbbgL;
 Wed,  3 Jul 2013 18:41:44 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.180])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id voB2BW7dE_SK; Wed,  3 Jul 2013 18:41:43 +0200 (CEST)
X-Auth-Info: KfsZVu2L4TwiM6re35oeDmhMUFhsVL8xq7uaF2lCMN8=
Received: from igel.home (ppp-88-217-96-142.dynamic.mnet-online.de
 [88.217.96.142]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Wed,  3 Jul 2013 18:41:43 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 3716EE5147; Wed,  3 Jul 2013 18:41:43 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: toke@HIDDEN (Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?=)
Subject: Re: bug#14779: 24.3;
 Failure to resolve IPv6 addresses in make-network-process
References: <87d2qzzs1t.fsf@HIDDEN>
X-Yow: I want to read my new poem about pork brains and outer space...
Date: Wed, 03 Jul 2013 18:41:42 +0200
In-Reply-To: <87d2qzzs1t.fsf@HIDDEN> ("Toke =?utf-8?Q?H=C3=B8iland-J?=
 =?utf-8?Q?=C3=B8rgensen=22's?= message of
 "Wed, 03 Jul 2013 15:33:50 +0200")
Message-ID: <87k3l7r3y1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 14779
Cc: 14779 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: 0.0 (/)

I cannot reproduce that.  What does getent ahosts show?

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#14779; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 3 Jul 2013 15:42:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 03 11:42:40 2013
Received: from localhost ([127.0.0.1]:55006 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UuPCY-0001Qa-Ui
	for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 11:42:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45794)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <toke@HIDDEN>) id 1UuNU6-0005GY-5h
 for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 09:52:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <toke@HIDDEN>) id 1UuNTw-0004Pg-1O
 for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 09:52:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38108)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <toke@HIDDEN>)
 id 1UuNTv-0004PV-TJ
 for submit <at> debbugs.gnu.org; Wed, 03 Jul 2013 09:52:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47466)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <toke@HIDDEN>) id 1UuNTp-0005sB-Us
 for bug-gnu-emacs@HIDDEN; Wed, 03 Jul 2013 09:52:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <toke@HIDDEN>) id 1UuNBx-0005Q9-Ij
 for bug-gnu-emacs@HIDDEN; Wed, 03 Jul 2013 09:34:00 -0400
Received: from mail.tohojo.dk ([188.40.53.186]:51097)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <toke@HIDDEN>)
 id 1UuNBx-0005Ph-7c
 for bug-gnu-emacs@HIDDEN; Wed, 03 Jul 2013 09:33:53 -0400
Received: from alrua-desktop.borgediget.toke.dk (unknown [10.42.3.5])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.tohojo.dk (Postfix) with ESMTPSA id D57851EC1EF0
 for <bug-gnu-emacs@HIDDEN>; Wed,  3 Jul 2013 15:33:50 +0200 (CEST)
Received: by alrua-desktop.borgediget.toke.dk (Postfix, from userid 1000)
 id 27EDA103ED; Wed,  3 Jul 2013 15:33:50 +0200 (CEST)
From: toke@HIDDEN (Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?=)
To: bug-gnu-emacs@HIDDEN
Subject: 24.3; Failure to resolve IPv6 addresses in make-network-process
Date: Wed, 03 Jul 2013 15:33:50 +0200
Message-ID: <87d2qzzs1t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 03 Jul 2013 11:42:36 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -4.0 (----)

I'm using ERC to connect to IRC, and was wondering why the connection
used IPv4 rather than IPv6 when the server has both addresses
configured. Messing with the DNS resolver so the address only resolves
to IPv6 made Emacs unable to connect at all.

Investigating this further, it seems that by default
make-network-process does not resolve IPv6 addresses at all unless
specifically asked to do so. More precisely, patch open-network-stream
to pass :family 0 (line 143 of network-stream.el) makes resolution work
as expected (i.e. first IPv6, then v4 if no v6 address exists), but the
default of leaving out the :family parameter (or setting it to nil)
makes resolution IPv4-only, resulting in a 'Name or service not known'
error when trying to connect.

Perusing the source code of process.c, it seems to me that it *should*
do the right thing, when :family is nil, and I can't figure out why it's
not.

I have installed Emacs from the binary packages provided by my
distribution (Arch linux).

Regards,
-Toke


In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.1)
 of 2013-04-29 on eric
Windowing system distributor `The X.Org Foundation', version 11.0.11402000
Configured using:
 `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
 '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
 --param=ssp-buffer-size=4'
 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_MESSAGES: en_GB.UTF-8
  value of $LANG: da_DK.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: ERC

Features:
(shadow bbdb-message mail-extr emacsbug message idna rfc822 mml mml-sec
mm-decode mm-bodies mm-encode gmm-utils mailheader sendmail mail-utils
misearch multi-isearch gnutls network-stream starttls erc-menu erc-join
erc-ring erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp
erc-netsplit autoinsert eieio-opt helm-misc helm-files image-dired ffap
helm-tags helm-bookmark helm-adaptative helm-info helm-net browse-url
helm-plugin bookmark helm-locate helm-help helm-match-plugin
helm-external helm-buffers helm-grep helm-regexp grep helm-elscreen
helm-utils helm find-file-in-repository-autoloads flymake-lua-autoloads
lua-mode-autoloads sauron-autoloads yaml-mode-autoloads package xcscope
helm-config sunrise-x-loop sunrise-commander recentf tree-widget
wid-edit sort hl-line find-dired esh-var esh-io esh-cmd esh-opt esh-ext
esh-proc esh-arg eldoc esh-groups eshell esh-util esh-module esh-mode
enriched dired-x dired-aux desktop preview-latex tex-site auto-loads
undo-tree autopair browse-kill-ring iedit gnus-article-treat-patch
gnus-dired dired magit-bisect magit-key-mode magit epa epg epg-config
diff-mode uniquify auto-complete-config auto-complete popup pydoc-info
info-look info python-mode rx cc-cmds compile ropemacs pymacs cc-styles
cc-align cc-engine cc-vars cc-defs bbdb-mua bbdb-vcard bbdb-com crm
mailabbrev vcard bbdb timezone bbdb-loaddefs znc erc-services
erc-networks erc-spelling flyspell ispell erc-goodies erc erc-backend
erc-compat thingatpt pp notify dbus w3m-load multi-term term disp-table
ehelp electric post ox-beamer org-caldav icalendar diary-lib
diary-loaddefs org-id ox-latex ox-icalendar ox-html ox-ascii ox-publish
ox org-element url-http tls url url-proxy url-privacy url-expand
url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047
rfc2045 ietf-drums url-cookie url-domsuf url-gw url-dav url-handlers
url-util url-parse url-vars xml org-protocol org org-macro org-footnote
org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs find-func cal-menu calendar cal-loaddefs
solarized-dark-theme solarized-definitions ido autorevert alist pym
static apel-ver product jka-compr protbuf tramp tramp-compat auth-source
eieio warnings byte-opt bytecomp byte-compile cconv inversion gnus-util
mm-util mail-prsvr password-cache tramp-loaddefs shell pcomplete comint
ansi-color format-spec nxhtml-autostart nxhtml-autoload majmodpri vc-git
nxhtml-menu web-autoload nxhtml-base wc yasnippet help-mode skeleton
paren cus-start cus-load log-edit ring pcvs-util add-log server
zencoding-mode ebib derived advice advice-preload help-fns cl-macs gv
bibtex easymenu cl cl-lib edmacro kmacro gnus-load easy-mmode time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)




Acknowledgement sent to toke@HIDDEN (Toke Høiland-Jørgensen):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#14779; 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: Fri, 31 Oct 2014 17:00:04 UTC

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