GNU bug report logs - #23540
25.1.50; make-ipv4-tcp-server-with-unspecified-port fails

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: Ken Brown <kbrown@HIDDEN>; merged with #23508; dated Sun, 15 May 2016 01:38:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed indication that bug 23540 blocks Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 23540) by debbugs.gnu.org; 24 May 2016 15:27:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 24 11:27:53 2016
Received: from localhost ([127.0.0.1]:36539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b5EFM-0005MX-SF
	for submit <at> debbugs.gnu.org; Tue, 24 May 2016 11:27:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49733)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b5EFL-0005ML-Tk
 for 23540 <at> debbugs.gnu.org; Tue, 24 May 2016 11:27:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b5EFC-0005Gf-UU
 for 23540 <at> debbugs.gnu.org; Tue, 24 May 2016 11:27:46 -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.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60522)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b5EF2-0005ET-2D; Tue, 24 May 2016 11:27:32 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4360
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b5EF0-0000hZ-Nc; Tue, 24 May 2016 11:27:31 -0400
Date: Tue, 24 May 2016 18:27:29 +0300
Message-Id: <83posb4gta.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ken Brown <kbrown@HIDDEN>
In-reply-to: <1181b6a8-c007-fbec-cb25-991a716c7b14@HIDDEN> (message from
 Ken Brown on Tue, 24 May 2016 11:09:00 -0400)
Subject: Re: bug#23540: 25.1.50; make-ipv4-tcp-server-with-unspecified-port
 fails
References: <f67248ca-8e26-41f1-f683-72f0a1c50c4b@HIDDEN>
 <dcd393ee-daba-6fe3-9020-9594f123276a@HIDDEN> <83futj5mcl.fsf@HIDDEN>
 <cf6cb626-4f73-0be8-b57f-db40b5a2c6dd@HIDDEN>
 <1181b6a8-c007-fbec-cb25-991a716c7b14@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23540
Cc: 23540 <at> debbugs.gnu.org, larsi@HIDDEN
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>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> Cc: 23540 <at> debbugs.gnu.org, larsi@HIDDEN
> From: Ken Brown <kbrown@HIDDEN>
> Date: Tue, 24 May 2016 11:09:00 -0400
> 
> On 5/15/2016 1:08 PM, Ken Brown wrote:
> > On 5/15/2016 12:15 PM, Eli Zaretskii wrote:
> >> Ffind_operation_coding_system includes an explicit test for the 4th
> >> argument to be an integer:
> >>
> >>   if (!(STRINGP (target)
> >>     || (EQ (operation, Qinsert_file_contents) && CONSP (target)
> >>         && STRINGP (XCAR (target)) && BUFFERP (XCDR (target)))
> >>     || (EQ (operation, Qopen_network_stream) && INTEGERP (target))))
> >>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>     error ("Invalid argument %"pI"d of operation `%s'",
> >>        XFASTINT (target_idx) + 1, SDATA (SYMBOL_NAME (operation)));
> >>
> >> This should obviously be augmented, now that the value can also be t.
> >
> > Presumably the documentation of open-network-stream should also be
> > updated to reflect this.  I hesitate to do this myself without knowing
> > for sure that t is an acceptable value for all calls to
> > open-network-stream.  I'd rather leave it for someone more familiar with
> > the code, like Lars.
> 
> I went ahead and installed the obvious fix, to get rid of the test 
> failure.

Thanks.




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

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


Received: (at 23540) by debbugs.gnu.org; 24 May 2016 15:08:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 24 11:08:56 2016
Received: from localhost ([127.0.0.1]:36532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b5Dx2-0004wO-7a
	for submit <at> debbugs.gnu.org; Tue, 24 May 2016 11:08:56 -0400
Received: from limerock03.mail.cornell.edu ([128.84.13.243]:49486)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kbrown@HIDDEN>) id 1b5Dx1-0004wB-4M
 for 23540 <at> debbugs.gnu.org; Tue, 24 May 2016 11:08:55 -0400
X-CornellRouted: This message has been Routed already.
Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu
 [10.16.197.9])
 by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u4OF8mD0015494;
 Tue, 24 May 2016 11:08:48 -0400
Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36]
 (may be forged)) (authenticated bits=0)
 by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u4OF8kje023735
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
 Tue, 24 May 2016 11:08:47 -0400
Subject: Re: bug#23540: 25.1.50; make-ipv4-tcp-server-with-unspecified-port
 fails
To: Eli Zaretskii <eliz@HIDDEN>
References: <f67248ca-8e26-41f1-f683-72f0a1c50c4b@HIDDEN>
 <dcd393ee-daba-6fe3-9020-9594f123276a@HIDDEN> <83futj5mcl.fsf@HIDDEN>
 <cf6cb626-4f73-0be8-b57f-db40b5a2c6dd@HIDDEN>
From: Ken Brown <kbrown@HIDDEN>
Message-ID: <1181b6a8-c007-fbec-cb25-991a716c7b14@HIDDEN>
Date: Tue, 24 May 2016 11:09:00 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <cf6cb626-4f73-0be8-b57f-db40b5a2c6dd@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-Spam-Score: -3.7 (---)
X-Debbugs-Envelope-To: 23540
Cc: 23540 <at> debbugs.gnu.org, larsi@HIDDEN
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.7 (---)

On 5/15/2016 1:08 PM, Ken Brown wrote:
> On 5/15/2016 12:15 PM, Eli Zaretskii wrote:
>> Ffind_operation_coding_system includes an explicit test for the 4th
>> argument to be an integer:
>>
>>   if (!(STRINGP (target)
>>     || (EQ (operation, Qinsert_file_contents) && CONSP (target)
>>         && STRINGP (XCAR (target)) && BUFFERP (XCDR (target)))
>>     || (EQ (operation, Qopen_network_stream) && INTEGERP (target))))
>>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>     error ("Invalid argument %"pI"d of operation `%s'",
>>        XFASTINT (target_idx) + 1, SDATA (SYMBOL_NAME (operation)));
>>
>> This should obviously be augmented, now that the value can also be t.
>
> Presumably the documentation of open-network-stream should also be
> updated to reflect this.  I hesitate to do this myself without knowing
> for sure that t is an acceptable value for all calls to
> open-network-stream.  I'd rather leave it for someone more familiar with
> the code, like Lars.

I went ahead and installed the obvious fix, to get rid of the test 
failure.  I'm leaving the bug open because someone knowledgeable still 
needs to update the documentation of open-network-stream.

Ken





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23540; Package emacs. Full text available.
Merged 23508 23540. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 23540) by debbugs.gnu.org; 15 May 2016 17:08:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 15 13:08:36 2016
Received: from localhost ([127.0.0.1]:52954 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b1zWt-0003Tu-OT
	for submit <at> debbugs.gnu.org; Sun, 15 May 2016 13:08:35 -0400
Received: from limerock01.mail.cornell.edu ([128.84.13.241]:36068)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kbrown@HIDDEN>) id 1b1zWq-0003TY-Tu
 for 23540 <at> debbugs.gnu.org; Sun, 15 May 2016 13:08:33 -0400
X-CornellRouted: This message has been Routed already.
Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu
 [10.16.197.9])
 by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u4FH8OVA022085;
 Sun, 15 May 2016 13:08:24 -0400
Received: from [192.168.1.3] (mta-68-175-148-36.twcny.rr.com [68.175.148.36]
 (may be forged)) (authenticated bits=0)
 by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u4FH8Ll6029069
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
 Sun, 15 May 2016 13:08:22 -0400
Subject: Re: bug#23540: 25.1.50; make-ipv4-tcp-server-with-unspecified-port
 fails
To: Eli Zaretskii <eliz@HIDDEN>
References: <f67248ca-8e26-41f1-f683-72f0a1c50c4b@HIDDEN>
 <dcd393ee-daba-6fe3-9020-9594f123276a@HIDDEN> <83futj5mcl.fsf@HIDDEN>
From: Ken Brown <kbrown@HIDDEN>
Message-ID: <cf6cb626-4f73-0be8-b57f-db40b5a2c6dd@HIDDEN>
Date: Sun, 15 May 2016 13:08:21 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <83futj5mcl.fsf@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-Spam-Score: -3.7 (---)
X-Debbugs-Envelope-To: 23540
Cc: 23540 <at> debbugs.gnu.org, larsi@HIDDEN
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.7 (---)

On 5/15/2016 12:15 PM, Eli Zaretskii wrote:
>> From: Ken Brown <kbrown@HIDDEN>
>> The error is generated by
>> Ffind_operation_coding_system when it is called by
>>
>> CALLN (Ffind_operation_coding_system,
>> 	Qopen_network_stream, name, p->buffer,
>> 	host, service)
>>
>> in set_network_socket_coding_system.
>
> Ffind_operation_coding_system includes an explicit test for the 4th
> argument to be an integer:
>
>   if (!(STRINGP (target)
> 	|| (EQ (operation, Qinsert_file_contents) && CONSP (target)
> 	    && STRINGP (XCAR (target)) && BUFFERP (XCDR (target)))
> 	|| (EQ (operation, Qopen_network_stream) && INTEGERP (target))))
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     error ("Invalid argument %"pI"d of operation `%s'",
> 	   XFASTINT (target_idx) + 1, SDATA (SYMBOL_NAME (operation)));
>
> This should obviously be augmented, now that the value can also be t.

Presumably the documentation of open-network-stream should also be 
updated to reflect this.  I hesitate to do this myself without knowing 
for sure that t is an acceptable value for all calls to 
open-network-stream.  I'd rather leave it for someone more familiar with 
the code, like Lars.

Ken





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

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


Received: (at 23540) by debbugs.gnu.org; 15 May 2016 16:20:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 15 12:20:56 2016
Received: from localhost ([127.0.0.1]:52926 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b1ymm-0002M0-IP
	for submit <at> debbugs.gnu.org; Sun, 15 May 2016 12:20:56 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52897)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b1yml-0002Lk-3L
 for 23540 <at> debbugs.gnu.org; Sun, 15 May 2016 12:20:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b1ymb-0007bB-Q3
 for 23540 <at> debbugs.gnu.org; Sun, 15 May 2016 12:20:49 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42921)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b1yhV-00074A-ON; Sun, 15 May 2016 12:15:29 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1176
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b1yhT-0003uk-Ce; Sun, 15 May 2016 12:15:28 -0400
Date: Sun, 15 May 2016 19:15:22 +0300
Message-Id: <83futj5mcl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ken Brown <kbrown@HIDDEN>
In-reply-to: <dcd393ee-daba-6fe3-9020-9594f123276a@HIDDEN> (message from
 Ken Brown on Sun, 15 May 2016 08:16:34 -0400)
Subject: Re: bug#23540: 25.1.50;
 make-ipv4-tcp-server-with-unspecified-port fails
References: <f67248ca-8e26-41f1-f683-72f0a1c50c4b@HIDDEN>
 <dcd393ee-daba-6fe3-9020-9594f123276a@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23540
Cc: 23540 <at> debbugs.gnu.org, larsi@HIDDEN
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>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> From: Ken Brown <kbrown@HIDDEN>
> Date: Sun, 15 May 2016 08:16:34 -0400
> Cc: Lars Ingebrigtsen <larsi@HIDDEN>
> 
> On 5/14/2016 9:36 PM, Ken Brown wrote:
> > Commit b73e525, as corrected by commit 4639bc9, causes the test
> > make-ipv4-tcp-server-with-unspecified-port in
> > test/lisp/net/network-streams-tests.el to fail with the error
> >
> >   Invalid argument 4 of operation `open-network-stream'.
> >
> > What happens is that make-network-process calls
> > set_network_socket_coding_system, which calls open-network-stream with
> > service eq t, which leads to the error in a way that I haven't sorted out.
> 
> I didn't get that last step right.  The error is generated by 
> Ffind_operation_coding_system when it is called by
> 
> CALLN (Ffind_operation_coding_system,
> 	Qopen_network_stream, name, p->buffer,
> 	host, service)
> 
> in set_network_socket_coding_system.

Ffind_operation_coding_system includes an explicit test for the 4th
argument to be an integer:

  if (!(STRINGP (target)
	|| (EQ (operation, Qinsert_file_contents) && CONSP (target)
	    && STRINGP (XCAR (target)) && BUFFERP (XCDR (target)))
	|| (EQ (operation, Qopen_network_stream) && INTEGERP (target))))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    error ("Invalid argument %"pI"d of operation `%s'",
	   XFASTINT (target_idx) + 1, SDATA (SYMBOL_NAME (operation)));

This should obviously be augmented, now that the value can also be t.




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

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


Received: (at 23540) by debbugs.gnu.org; 15 May 2016 12:16:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 15 08:16:44 2016
Received: from localhost ([127.0.0.1]:52004 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b1uyS-0002lD-6Y
	for submit <at> debbugs.gnu.org; Sun, 15 May 2016 08:16:44 -0400
Received: from limerock01.mail.cornell.edu ([128.84.13.241]:60189)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kbrown@HIDDEN>) id 1b1uyR-0002l1-1V
 for 23540 <at> debbugs.gnu.org; Sun, 15 May 2016 08:16:43 -0400
X-CornellRouted: This message has been Routed already.
Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu
 [10.16.197.8])
 by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u4FCGavb019383;
 Sun, 15 May 2016 08:16:36 -0400
Received: from [192.168.1.3] (mta-68-175-148-36.twcny.rr.com [68.175.148.36]
 (may be forged)) (authenticated bits=0)
 by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u4FCGXpN023028
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
 Sun, 15 May 2016 08:16:34 -0400
Subject: Re: bug#23540: 25.1.50; make-ipv4-tcp-server-with-unspecified-port
 fails
To: 23540 <at> debbugs.gnu.org
References: <f67248ca-8e26-41f1-f683-72f0a1c50c4b@HIDDEN>
From: Ken Brown <kbrown@HIDDEN>
Message-ID: <dcd393ee-daba-6fe3-9020-9594f123276a@HIDDEN>
Date: Sun, 15 May 2016 08:16:34 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <f67248ca-8e26-41f1-f683-72f0a1c50c4b@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-Spam-Score: -3.7 (---)
X-Debbugs-Envelope-To: 23540
Cc: Lars Ingebrigtsen <larsi@HIDDEN>
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.7 (---)

On 5/14/2016 9:36 PM, Ken Brown wrote:
> Commit b73e525, as corrected by commit 4639bc9, causes the test
> make-ipv4-tcp-server-with-unspecified-port in
> test/lisp/net/network-streams-tests.el to fail with the error
>
>   Invalid argument 4 of operation `open-network-stream'.
>
> What happens is that make-network-process calls
> set_network_socket_coding_system, which calls open-network-stream with
> service eq t, which leads to the error in a way that I haven't sorted out.

I didn't get that last step right.  The error is generated by 
Ffind_operation_coding_system when it is called by

CALLN (Ffind_operation_coding_system,
	Qopen_network_stream, name, p->buffer,
	host, service)

in set_network_socket_coding_system.

Ken




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

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


Received: (at submit) by debbugs.gnu.org; 15 May 2016 01:37:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 14 21:37:13 2016
Received: from localhost ([127.0.0.1]:51886 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b1kzZ-0000ez-82
	for submit <at> debbugs.gnu.org; Sat, 14 May 2016 21:37:13 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33133)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kbrown@HIDDEN>) id 1b1kzX-0000el-1F
 for submit <at> debbugs.gnu.org; Sat, 14 May 2016 21:37:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kbrown@HIDDEN>) id 1b1kzQ-0002ef-Ns
 for submit <at> debbugs.gnu.org; Sat, 14 May 2016 21:37:05 -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]:60970)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kbrown@HIDDEN>) id 1b1kzQ-0002eS-Km
 for submit <at> debbugs.gnu.org; Sat, 14 May 2016 21:37:04 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52336)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kbrown@HIDDEN>) id 1b1kzO-0000X0-KZ
 for bug-gnu-emacs@HIDDEN; Sat, 14 May 2016 21:37:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kbrown@HIDDEN>) id 1b1kzK-0002dt-BO
 for bug-gnu-emacs@HIDDEN; Sat, 14 May 2016 21:37:01 -0400
Received: from limerock02.mail.cornell.edu ([128.84.13.242]:44234)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kbrown@HIDDEN>) id 1b1kzK-0002dZ-6U
 for bug-gnu-emacs@HIDDEN; Sat, 14 May 2016 21:36:58 -0400
X-CornellRouted: This message has been Routed already.
Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu
 [10.16.197.8])
 by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u4F1aqSR012796
 for <bug-gnu-emacs@HIDDEN>; Sat, 14 May 2016 21:36:52 -0400
Received: from [192.168.1.3] (mta-68-175-148-36.twcny.rr.com [68.175.148.36]
 (may be forged)) (authenticated bits=0)
 by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u4F1apLN008582
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
 for <bug-gnu-emacs@HIDDEN>; Sat, 14 May 2016 21:36:52 -0400
To: bug-gnu-emacs@HIDDEN
Subject: 25.1.50; make-ipv4-tcp-server-with-unspecified-port fails
X-Debbugs-Cc: Lars Ingebrigtsen <larsi@HIDDEN>
From: Ken Brown <kbrown@HIDDEN>
Message-ID: <f67248ca-8e26-41f1-f683-72f0a1c50c4b@HIDDEN>
Date: Sat, 14 May 2016 21:36:52 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: submit
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: -4.4 (----)

Commit b73e525, as corrected by commit 4639bc9, causes the test 
make-ipv4-tcp-server-with-unspecified-port in 
test/lisp/net/network-streams-tests.el to fail with the error

   Invalid argument 4 of operation `open-network-stream'.

What happens is that make-network-process calls 
set_network_socket_coding_system, which calls open-network-stream with 
service eq t, which leads to the error in a way that I haven't sorted out.


In GNU Emacs 25.1.50.6 (x86_64-unknown-cygwin, GTK+ Version 3.18.9)
  of 2016-05-14 built on moufang
Repository revision: b73e5254ea9056ee2088ed096ef1de3ef8699855
Windowing system distributor 'The Cygwin/X Project', version 11.0.11802000
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11




Acknowledgement sent to Ken Brown <kbrown@HIDDEN>:
New bug report received and forwarded. Copy sent to larsi@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to larsi@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#23540; 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: Mon, 10 Oct 2016 10:45:02 UTC

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