socat-1.7.3.0-2
Cygwin 2.0.4(0.287/5/3)
Windows 7 x64 SP1

Since upgrading socat today I've noticed that when I CTRL+C to terminate it sometimes the spawned process won't terminate. For example open two Cygwin terminals and:

In one:
socat tcp-listen:8080,reuseaddr,fork -

And then in the other:
nc localhost 8080

In the one where socat is running CTRL+C. It will appear to end but sometimes the spawned process lingers. When that happens nc will not terminate either and the connection still shows as established (even though the parent process which supposedly held the connection has ended). This is not exclusive to nc I have this same problem with the client applications I am using to connect to socat. They think the connection is still established so they won't end.

It may take a couple of tries to reproduce. I can reproduce about 20% of the time.

I cannot reproduce using the socat.exe from socat-1.7.2.4-1.

The cygcheck has too much personal information but I have attached the package versions section.
Package                               Version                Status
_autorebase                           001002-1               OK
_update-info-dir                      01396-1                OK
alternatives                          1.3.30c-10             OK
base-cygwin                           3.8-1                  OK
base-files                            4.2-3                  OK
bash                                  4.3.39-2               OK
binutils                              2.25-1                 OK
bzip2                                 1.0.6-2                OK
ca-certificates                       2.4-2                  OK
coreutils                             8.23-4                 OK
crypt                                 1.2-1                  OK
curl                                  7.43.0-1               OK
curl-debuginfo                        7.43.0-1               OK
cygutils                              1.4.14-1               OK
cygwin                                2.0.4-1                OK
cygwin-debuginfo                      2.0.4-1                OK
cygwin-devel                          2.0.4-1                OK
dash                                  0.5.8-3                OK
diffutils                             3.3-2                  OK
dos2unix                              7.2.2-1                OK
editrights                            1.03-1                 OK
file                                  5.22-2                 OK
findutils                             4.5.12-1               OK
gawk                                  4.1.3-1                OK
gcc-core                              4.9.2-3                OK
gcc-g++                               4.9.2-3                OK
getent                                2.18.90-4              OK
gettext                               0.19.4-1               OK
grep                                  2.21-2                 OK
groff                                 1.22.3-1               OK
gzip                                  1.6-1                  OK
hostname                              3.13-1                 OK
info                                  5.2-3                  OK
ipc-utils                             1.0-1                  OK
less                                  471-1                  OK
libargp                               20110921-2             OK
libatomic1                            4.9.2-3                OK
libattr1                              2.4.46-1               OK
libblkid1                             2.25.2-2               OK
libbz2_1                              1.0.6-2                OK
libcharset1                           1.14-3                 OK
libcloog-isl4                         0.18.0-2               OK
libcom_err2                           1.42.12-2              OK
libcurl-devel                         7.43.0-1               OK
libcurl-doc                           7.43.0-1               OK
libcurl4                              7.43.0-1               OK
libdb4.8                              4.8.30-1               OK
libedit0                              20130712-1             OK
libexpat1                             2.1.0-3                OK
libffi6                               3.2.1-1                OK
libgcc1                               4.9.2-3                OK
libgdbm4                              1.8.3-20               OK
libgmp10                              6.0.0a-2               OK
libgmp3                               4.3.2-1                OK
libgomp1                              4.9.2-3                OK
libgssapi_krb5_2                      1.13.2-1               OK
libiconv                              1.14-3                 OK
libiconv2                             1.14-3                 OK
libidn11                              1.29-1                 OK
libintl8                              0.19.4-1               OK
libisl10                              0.11.1-2               OK
libk5crypto3                          1.13.2-1               OK
libkrb5_3                             1.13.2-1               OK
libkrb5support0                       1.13.2-1               OK
liblzma5                              5.2.1-1                OK
libmetalink3                          0.1.2-1                OK
libmpc3                               1.0.3-1                OK
libmpfr4                              3.1.2-2                OK
libncurses10                          5.9-20150530-1         OK
libncursesw10                         5.9-20150530-1         OK
libopenldap2_4_2                      2.4.40-2               OK
libopenssl100                         1.0.2c-1               OK
libp11-kit0                           0.22.1-1               OK
libpcre0                              8.21-2                 OK
libpcre1                              8.37-1                 OK
libpipeline1                          1.4.0-1                OK
Empty package libpopt0
libpopt0                              1.16-1                 OK
libquadmath0                          4.9.2-3                OK
libreadline7                          6.3.8-1                OK
libsasl2_3                            2.1.26-9               OK
libsigsegv2                           2.10-1                 OK
libsmartcols1                         2.25.2-2               OK
libssh2_1                             1.5.0-1                OK
libssp0                               4.9.2-3                OK
libstdc++6                            4.9.2-3                OK
libtasn1_6                            4.4-1                  OK
libuuid1                              2.25.2-2               OK
libwrap0                              7.6-22                 OK
libxml2                               2.9.2-1                OK
login                                 1.11-1                 OK
lynx                                  2.8.7-1                OK
Empty package man
man                                   2.7.1-1                OK
man-db                                2.7.1-1                OK
mingw64-i686-binutils                 2.25.0.1.23f238d-1     OK
mingw64-i686-gcc-core                 4.9.2-1                OK
mingw64-i686-gcc-g++                  4.9.2-1                OK
mingw64-i686-headers                  4.0.2-1                OK
mingw64-i686-runtime                  4.0.2-1                OK
mingw64-i686-windows-default-manifest 6.4-1                  OK
mingw64-i686-winpthreads              4.0.2-1                OK
mintty                                1.1.3-1                OK
nc                                    1.107-3                OK
nc6                                   1.0-1                  OK
openssl                               1.0.2c-1               OK
p11-kit                               0.22.1-1               OK
p11-kit-trust                         0.22.1-1               OK
perl                                  5.14.4-3               OK
perl-Archive-Zip                      1.46-1                 OK
perl-B-Generate                       1.53-1                 OK
perl-Capture-Tiny                     0.30-1                 OK
perl-Compress-Bzip2                   2.22-1                 OK
perl-Config-Perl-V                    0.24-1                 OK
perl-Config-Tiny                      2.22-1                 OK
perl-CPAN-DistnameInfo                0.12-4                 OK
perl-CPAN-Reporter                    1.2014-1               OK
perl-CPAN-Testers-Report              1.999003-1             OK
perl-Data-Alias                       1.18-2                 OK
perl-Data-GUID                        0.048-1                OK
perl-Data-UUID                        1.220-1                OK
perl-Devel-Autoflush                  0.06-1                 OK
perl-Digest-HMAC                      1.03-4                 OK
perl-Digest-SHA                       5.95-1                 OK
perl-Encode-Locale                    1.04-1                 OK
perl-File-Copy-Recursive              0.38-4                 OK
perl-File-HomeDir                     1.00-2                 OK
perl-File-Listing                     6.04-4                 OK
perl-File-pushd                       1.009-1                OK
perl-HTML-Parser                      3.71-2                 OK
perl-HTTP-Cookies                     6.01-4                 OK
perl-HTTP-Daemon                      6.01-4                 OK
perl-HTTP-Date                        6.02-4                 OK
perl-HTTP-Message                     6.06-2                 OK
perl-HTTP-Negotiate                   6.01-4                 OK
perl-IO-CaptureOutput                 1.1104-1               OK
perl-IO-Prompt-Tiny                   0.003-1                OK
perl-IO-Socket-INET6                  2.72-1                 OK
perl-IO-String                        1.08-4                 OK
perl-IO-Tty                           1.12-1                 OK
perl-IPC-Cmd                          0.92-1                 OK
perl-IPC-Run                          0.94-1                 OK
perl-JSON                             2.90-2                 OK
perl-libwww-perl                      6.13-1                 OK
perl-LWP-MediaTypes                   6.02-4                 OK
perl-Metabase-Client-Simple           0.010-1                OK
perl-Metabase-Fact                    0.024-1                OK
perl-Module-ScanDeps                  1.18-1                 OK
perl-Module-Signature                 0.78-1                 OK
perl-Net-DNS                          0.83-1                 OK
perl-Net-HTTP                         6.07-1                 OK
perl-Net-IP                           1.26-2                 OK
perl-PadWalker                        2.1-1                  OK
perl-PAR-Dist                         0.49-2                 OK
perl-Pod-Coverage                     0.23-2                 OK
perl-Pod-Escapes                      1.07-1                 OK
perl-Pod-Simple                       3.30-1                 OK
perl-Probe-Perl                       0.03-2                 OK
perl-Proc-ProcessTable                0.51-1                 OK
perl-Socket6                          0.25-1                 OK
perl-Sub-Exporter                     0.987-2                OK
perl-Sub-Install                      0.928-1                OK
perl-Tee                              0.14-4                 OK
perl-Term-ReadLine-Gnu                1.26-1                 OK
perl-Term-ReadLine-Perl               1.0303-4               OK
perl-TermReadKey                      2.32-1                 OK
perl-Test-NoWarnings                  1.04-3                 OK
perl-Test-Pod                         1.49-1                 OK
perl-Test-Pod-Coverage                1.10-1                 OK
perl-Test-Reporter                    1.62-1                 OK
perl-Test-Reporter-Transport-Metabase 1.999009-1             OK
perl-Test-Simple                      1.001014-1             OK
perl-URI                              1.67-1                 OK
perl-WWW-Curl                         4.17-1                 OK
perl-WWW-Curl-debuginfo               4.17-1                 OK
perl-WWW-RobotRules                   6.02-4                 OK
perl-XML-LibXML                       2.0121-1               OK
perl-XML-NamespaceSupport             1.11-4                 OK
perl-XML-Parser                       2.44-1                 OK
perl-XML-SAX                          0.99-4                 OK
perl-YAML                             1.15-1                 OK
perl_autorebase                       5.14.4-3               OK
perl_base                             5.14.4-3               OK
perl_vendor                           5.14.4-1               OK
php                                   5.6.10-1               OK
php-curl                              5.6.10-1               OK
popt                                  1.16-1                 OK
rebase                                4.4.1-1                OK
run                                   1.3.3-1                OK
sed                                   4.2.2-3                OK
socat                                 1.7.3.0-2              OK
tar                                   1.28-1                 OK
terminfo                              5.9-20150530-1         OK
texinfo                               5.2-3                  OK
tzcode                                2014j-1                OK
util-linux                            2.25.2-2               OK
vim-minimal                           7.4.729-3              OK
w32api-headers                        4.0.2-1                OK
w32api-runtime                        4.0.2-1                OK
which                                 2.20-2                 OK
windows-default-manifest              6.4-1                  OK
xz                                    5.2.1-1                OK
zlib-devel                            1.2.8-3                OK
zlib0                                 1.2.8-3                OK
Use -h to see help about each section
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to