Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

God requireth not a uniformity of religion. -- Roger Williams


devel / comp.lang.tcl / Re: Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10

SubjectAuthor
* Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10Scott Zhong
`* Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on WindowsHarald Oehlmann
 `- Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10Scott Zhong

1
Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10

<0515658f-98fe-43ff-bd3e-d62113c46332n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=12234&group=comp.lang.tcl#12234

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:4f0a:0:b0:66d:4e5:3d68 with SMTP id fb10-20020ad44f0a000000b0066d04e53d68mr194644qvb.1.1697239551591;
Fri, 13 Oct 2023 16:25:51 -0700 (PDT)
X-Received: by 2002:a05:620a:140a:b0:770:93fb:a60e with SMTP id
d10-20020a05620a140a00b0077093fba60emr404933qkj.15.1697239551273; Fri, 13 Oct
2023 16:25:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Fri, 13 Oct 2023 16:25:49 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=76.115.212.80; posting-account=rBol-woAAABgXSbMH8pr3SIbkqvdPUE1
NNTP-Posting-Host: 76.115.212.80
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0515658f-98fe-43ff-bd3e-d62113c46332n@googlegroups.com>
Subject: Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10
From: zcat5...@gmail.com (Scott Zhong)
Injection-Date: Fri, 13 Oct 2023 23:25:51 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3474
 by: Scott Zhong - Fri, 13 Oct 2023 23:25 UTC

I'm running into an issue where socket.test is hanging on my Windows 10 machine using Visual Studio 2013 with Tcl 8.6.7 and Tcl 8.6.13. It looks like it hangs at the end of the test when close() is being called on the socket.

nmake -f makefile.vc MACHINE=AMD64 release
nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
....
++++ socket-15.1.0 PASSED
---- socket-15.1.1 start
++++ socket-15.1.1 PASSED
---- socket-15.1.2 start
++++ socket-15.1.2 PASSED
---- socket-15.1.3 start
++++ socket-15.1.3 PASSED
---- socket-15.1.4 start
++++ socket-15.1.4 PASSED
---- socket-15.1.5 start
++++ socket-15.1.5 PASSED
---- socket-15.1.6 start
++++ socket-15.1.6 PASSED
---- socket-15.1.7 start
++++ socket-15.1.7 PASSED
---- socket-15.1.8 start
++++ socket-15.1.8 PASSED
(hangs)

Using git bisect, I have found the first bad commit to be

5d0864fb41175752fd026bc818facf5849387c5a is the first bad commit
commit 5d0864fb41175752fd026bc818facf5849387c5a
Merge: 237c46512c 2f5a766c71
Author: jan.nijtmans <nijtmans@users.sourceforge.net>
Date: Mon May 1 08:20:54 2017 +0000

Fix [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl pipes prevents windows threads from starting up. Patch by sebres (Dipl. Ing. Sergey G. Brester)
(also fix duplicate test-case number in link.test)

tests/link.test | 2 +-
win/tclWinConsole.c | 223 +++++++------------
win/tclWinInit.c | 20 ++
win/tclWinInt.h | 75 +++++++
win/tclWinPipe.c | 621 ++++++++++++++++++++++++++++++++++++++--------------
win/tclWinSerial.c | 93 ++------
6 files changed, 643 insertions(+), 391 deletions(-)

I have also used Visual Studio 2019 to compile Tcl 6.8.13 and reproduce the hang, but on a different test within socket.test.

++++ socket_inet6-13.1 SKIPPED: thread
++++ socket_inet6-13.2.tr1 SKIPPED: thread
++++ socket_inet6-13.2.tr2 SKIPPED: thread
++++ socket_inet6-13.2.cl1 SKIPPED: thread
++++ socket_inet6-13.2.cl2 SKIPPED: thread
(hangs)

It hangs in the sendCommand()

socket.test: 1932
# cleanup
if {$remoteProcChan ne ""} {
catch {sendCommand exit}
}

Is anyone else running into this problem?

Re: Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10

<uge10r$3rj91$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=12237&group=comp.lang.tcl#12237

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortka...@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows
10
Date: Sat, 14 Oct 2023 14:19:40 +0200
Organization: A noiseless patient Spider
Lines: 74
Message-ID: <uge10r$3rj91$1@dont-email.me>
References: <0515658f-98fe-43ff-bd3e-d62113c46332n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 14 Oct 2023 12:19:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f5e1c63d613641bd4d3181012a38412a";
logging-data="4050209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18laRWX3ChE0gEE6UCdE3YQ"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:vcvfn4vglmv3pEFklgjKNk/QgcI=
In-Reply-To: <0515658f-98fe-43ff-bd3e-d62113c46332n@googlegroups.com>
Content-Language: en-GB
 by: Harald Oehlmann - Sat, 14 Oct 2023 12:19 UTC

Am 14.10.2023 um 01:25 schrieb Scott Zhong:
> I'm running into an issue where socket.test is hanging on my Windows 10 machine using Visual Studio 2013 with Tcl 8.6.7 and Tcl 8.6.13. It looks like it hangs at the end of the test when close() is being called on the socket.
>
> nmake -f makefile.vc MACHINE=AMD64 release
> nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> ...
> ++++ socket-15.1.0 PASSED
> ---- socket-15.1.1 start
> ++++ socket-15.1.1 PASSED
> ---- socket-15.1.2 start
> ++++ socket-15.1.2 PASSED
> ---- socket-15.1.3 start
> ++++ socket-15.1.3 PASSED
> ---- socket-15.1.4 start
> ++++ socket-15.1.4 PASSED
> ---- socket-15.1.5 start
> ++++ socket-15.1.5 PASSED
> ---- socket-15.1.6 start
> ++++ socket-15.1.6 PASSED
> ---- socket-15.1.7 start
> ++++ socket-15.1.7 PASSED
> ---- socket-15.1.8 start
> ++++ socket-15.1.8 PASSED
> (hangs)
>
> Using git bisect, I have found the first bad commit to be
>
> 5d0864fb41175752fd026bc818facf5849387c5a is the first bad commit
> commit 5d0864fb41175752fd026bc818facf5849387c5a
> Merge: 237c46512c 2f5a766c71
> Author: jan.nijtmans <nijtmans@users.sourceforge.net>
> Date: Mon May 1 08:20:54 2017 +0000
>
> Fix [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl pipes prevents windows threads from starting up. Patch by sebres (Dipl. Ing. Sergey G. Brester)
> (also fix duplicate test-case number in link.test)
>
> tests/link.test | 2 +-
> win/tclWinConsole.c | 223 +++++++------------
> win/tclWinInit.c | 20 ++
> win/tclWinInt.h | 75 +++++++
> win/tclWinPipe.c | 621 ++++++++++++++++++++++++++++++++++++++--------------
> win/tclWinSerial.c | 93 ++------
> 6 files changed, 643 insertions(+), 391 deletions(-)
>
> I have also used Visual Studio 2019 to compile Tcl 6.8.13 and reproduce the hang, but on a different test within socket.test.
>
> ++++ socket_inet6-13.1 SKIPPED: thread
> ++++ socket_inet6-13.2.tr1 SKIPPED: thread
> ++++ socket_inet6-13.2.tr2 SKIPPED: thread
> ++++ socket_inet6-13.2.cl1 SKIPPED: thread
> ++++ socket_inet6-13.2.cl2 SKIPPED: thread
> (hangs)
>
> It hangs in the sendCommand()
>
> socket.test: 1932
> # cleanup
> if {$remoteProcChan ne ""} {
> catch {sendCommand exit}
> }
>
> Is anyone else running into this problem?

Scott,
thanks for the report, I appreciate.
I did not see that hang. But I compiled for 32 bit.
Please open a ticket at core.tcl-lang.org/tcl . This should be discussed
there. If I should do it for you, give me a sign.

Thanks and take care,
Harald

Re: Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10

<867f522a-75d9-4c5c-8664-5d34ede2ca14n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=12246&group=comp.lang.tcl#12246

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:41a0:b0:66d:2f83:980e with SMTP id ld32-20020a05621441a000b0066d2f83980emr175927qvb.10.1697468680386;
Mon, 16 Oct 2023 08:04:40 -0700 (PDT)
X-Received: by 2002:a9d:7758:0:b0:6bf:ae4:5128 with SMTP id
t24-20020a9d7758000000b006bf0ae45128mr4116747otl.3.1697468679988; Mon, 16 Oct
2023 08:04:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 16 Oct 2023 08:04:39 -0700 (PDT)
In-Reply-To: <uge10r$3rj91$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=76.115.212.80; posting-account=rBol-woAAABgXSbMH8pr3SIbkqvdPUE1
NNTP-Posting-Host: 76.115.212.80
References: <0515658f-98fe-43ff-bd3e-d62113c46332n@googlegroups.com> <uge10r$3rj91$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <867f522a-75d9-4c5c-8664-5d34ede2ca14n@googlegroups.com>
Subject: Re: Tcl 8.6.7 - Tcl 8.6.13 socket.test hang intermittently on Windows 10
From: zcat5...@gmail.com (Scott Zhong)
Injection-Date: Mon, 16 Oct 2023 15:04:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Scott Zhong - Mon, 16 Oct 2023 15:04 UTC

On Saturday, October 14, 2023 at 5:19:45 AM UTC-7, Harald Oehlmann wrote:
> Am 14.10.2023 um 01:25 schrieb Scott Zhong:
> > I'm running into an issue where socket.test is hanging on my Windows 10 machine using Visual Studio 2013 with Tcl 8.6.7 and Tcl 8.6.13. It looks like it hangs at the end of the test when close() is being called on the socket.
> >
> > nmake -f makefile.vc MACHINE=AMD64 release
> > nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> > nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> > nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> > nmake -f makefile.vc MACHINE=AMD64 TESTFLAGS="-verbose tpse -file socket.test" test
> > ...
> > ++++ socket-15.1.0 PASSED
> > ---- socket-15.1.1 start
> > ++++ socket-15.1.1 PASSED
> > ---- socket-15.1.2 start
> > ++++ socket-15.1.2 PASSED
> > ---- socket-15.1.3 start
> > ++++ socket-15.1.3 PASSED
> > ---- socket-15.1.4 start
> > ++++ socket-15.1.4 PASSED
> > ---- socket-15.1.5 start
> > ++++ socket-15.1.5 PASSED
> > ---- socket-15.1.6 start
> > ++++ socket-15.1.6 PASSED
> > ---- socket-15.1.7 start
> > ++++ socket-15.1.7 PASSED
> > ---- socket-15.1.8 start
> > ++++ socket-15.1.8 PASSED
> > (hangs)
> >
> > Using git bisect, I have found the first bad commit to be
> >
> > 5d0864fb41175752fd026bc818facf5849387c5a is the first bad commit
> > commit 5d0864fb41175752fd026bc818facf5849387c5a
> > Merge: 237c46512c 2f5a766c71
> > Author: jan.nijtmans <nijt...@users.sourceforge.net>
> > Date: Mon May 1 08:20:54 2017 +0000
> >
> > Fix [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl pipes prevents windows threads from starting up. Patch by sebres (Dipl. Ing.. Sergey G. Brester)
> > (also fix duplicate test-case number in link.test)
> >
> > tests/link.test | 2 +-
> > win/tclWinConsole.c | 223 +++++++------------
> > win/tclWinInit.c | 20 ++
> > win/tclWinInt.h | 75 +++++++
> > win/tclWinPipe.c | 621 ++++++++++++++++++++++++++++++++++++++--------------
> > win/tclWinSerial.c | 93 ++------
> > 6 files changed, 643 insertions(+), 391 deletions(-)
> >
> > I have also used Visual Studio 2019 to compile Tcl 6.8.13 and reproduce the hang, but on a different test within socket.test.
> >
> > ++++ socket_inet6-13.1 SKIPPED: thread
> > ++++ socket_inet6-13.2.tr1 SKIPPED: thread
> > ++++ socket_inet6-13.2.tr2 SKIPPED: thread
> > ++++ socket_inet6-13.2.cl1 SKIPPED: thread
> > ++++ socket_inet6-13.2.cl2 SKIPPED: thread
> > (hangs)
> >
> > It hangs in the sendCommand()
> >
> > socket.test: 1932
> > # cleanup
> > if {$remoteProcChan ne ""} {
> > catch {sendCommand exit}
> > }
> >
> > Is anyone else running into this problem?
> Scott,
> thanks for the report, I appreciate.
> I did not see that hang. But I compiled for 32 bit.
> Please open a ticket at core.tcl-lang.org/tcl . This should be discussed
> there. If I should do it for you, give me a sign.
>
> Thanks and take care,
> Harald
Thank you Herald, I have opened a ticket at core.tcl-lang.org/tcl with the same title name.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor