[corinna-cygwin@cygwin.com: Re: ENOTSOCK errors with cygwin dll 1.3.21 and 1.3.22]

Pierre A. Humblet Pierre.Humblet@ieee.org
Mon May 26 10:41:00 GMT 2003


At 07:22 PM 5/25/2003 -0400, Jason Tishler wrote:
>Pierre,
>
>On Sun, May 25, 2003 at 06:27:06PM -0400, Pierre A. Humblet wrote:
>> At 05:20 PM 5/25/2003 -0400, Christopher Faylor wrote:
>> >It would be nice to figure out what's going on here, though.
>> 
>> I don't think I figure it in that time frame. The problem doesn't
>> happen on my systems, I need to find a sick machine first.
>
>I can give you ssh access to my machine.

OK, thanks Jason. I will take you up on that if I don't find a real machine
real soon.

Meanwhile, here is another winsock problem.
I was checking my statfs changes on a antique Win95 without GetDiskFreeSpaceEx
(no problem), and for the heck of it I ran exim. It used to work just fine, 
but now connect fails on line 570 of fhandler_socket.cc

CYGWIN_95-4.0 erg 1.3.22(0.78/3/2) 2003-03-18 09:20 i586 unknown unknown
Cygwin

FYI, winsock2 is not present:
 1044 5517303 [main] exim-4.20-1 537535 fhandler_socket::fixup_after_fork:
WSASocket begin, dwServiceFlags1=0
42479 5559782 [main] exim-4.20-1 537535 wsock_init: res 10092
 1101 5560883 [main] exim-4.20-1 537535 wsock_init: wVersion 0
 1009 5561892 [main] exim-4.20-1 537535 wsock_init: wHighVersion 0
 1023 5562915 [main] exim-4.20-1 537535 wsock_init: szDescription 
 1025 5563940 [main] exim-4.20-1 537535 wsock_init: szSystemStatus 
 1020 5564960 [main] exim-4.20-1 537535 wsock_init: iMaxSockets 0
 1006 5565966 [main] exim-4.20-1 537535 wsock_init: iMaxUdpDg 0
 1005 5566971 [main] exim-4.20-1 537535 wsock_init: lpVendorInfo 0
 1029 5568000 [main] exim-4.20-1 537535 fhandler_base::fixup_after_fork:
inheriting '/dev/udp' from parent
 1059 5569059 [main] exim-4.20-1 537535 fhandler_socket::fixup_after_fork:
Without Winsock 2.0

and here is the whole story

 3212 6286491 [main] exim-4.20-1 537535 cygwin_socket: socket (2, 1, 0)
 1800 6288291 [main] exim-4.20-1 537535 set_socket_inheritance:
DuplicateHandle succeeded osock 0x22, sock 0x29
13338 6288822 [select_pipe] exim-4.20-1 720923 fhandler_pipe::hit_eof:
stupid_pipe.720923.1 0x5C
 1797 6290088 [main] exim-4.20-1 537535 dtable::build_fhandler: fd 9, fh
0x615F22F8
 4120 6294208 [main] exim-4.20-1 537535 fhandler_base::set_flags: flags
0x10002, supplied_bin 0x0
 1530 6295738 [main] exim-4.20-1 537535 fhandler_base::set_flags:
O_TEXT/O_BINARY set in flags 0x10000
 1132 6296870 [main] exim-4.20-1 537535 fhandler_base::set_flags: filemode
set to binary
 1070 6297940 [main] exim-4.20-1 537535 fdsock: fd 9, name '/dev/tcp', soc
0x29
 1062 6299002 [main] exim-4.20-1 537535 cygwin_socket: 9 = socket (2, 1, 0)
 1188 6300190 [main] exim-4.20-1 537535 cygwin_setsockopt: setsockopt optval=1
12564 6301386 [select_pipe] exim-4.20-1 720923 fhandler_pipe::hit_eof:
stupid_pipe.720923.1 0x5C
 1432 6301622 [main] exim-4.20-1 537535 cygwin_setsockopt: 0 = setsockopt
(9, 6, 1 (SO_DEBUG), 0x80BBF8, 4)
 2576 6304198 [main] exim-4.20-1 537535 __set_winsock_errno: connect:570 -
winsock error 127 -> errno 1
 1102 6305300 [main] exim-4.20-1 537535 cygwin_connect: -1 = connect (9,
0x80BBB0, 16)
 1140 6306440 [main] exim-4.20-1 537535 close: close (9)
 1291 6307731 [main] exim-4.20-1 537535 fhandler_socket::close: 0 =
fhandler_socket::close()
 1132 6308863 [main] exim-4.20-1 537535 close: 0 = close (9)



More information about the Cygwin-developers mailing list