X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_46,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jim Marshall Subject: Re: 1.5.25: Intermittent hangs or network issues Date: Fri, 08 May 2009 13:25:08 -0400 Lines: 140 Message-ID: References: <49F72CA4 DOT 1010308 AT gmail DOT com> <49F8AFE1 DOT 5060602 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <49F8AFE1.5060602@cygwin.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Larry Hall (Cygwin) wrote: > Jim Marshall wrote: >> Jim Marshall wrote: >>> Dave Korn wrote: >>>> Jim Marshall wrote: >>>> >>>>> I do not have any firewall software running, >>>> >>>>> Potential app conflicts: >>>>> >>>>> ZoneAlarm Personal Firewall >>>>> Detected: HKLM Registry Key, Named file. >>>> >>>> >>>> Do you possibly suffer from the Cisco VPN client software that >>>> comes with a >>>> built-in version of the core ZA firewall component? >>>> >>>> cheers, >>>> DaveK >>>> >>> Hi Dave et al, >>> I removed the cisco VPN, but I am still seeing the hangs. Also I >>> guess I spoke too soon about other apps not hanging as I have noticed >>> xemacs and xterm hanging when starting (the GUI doesn't open but >>> ctrl-c works to quit them from the terminal I started them from) - it >>> is also happens far less often then ssh and cvs. >>> >>> I've attached a new cygcheck, I know it still says that the zone >>> alarm entry is still present but I don't know of any app that is >>> using it and I don't see any processes running, so I am a bit of a >>> loss as to why that is there. >>> >>> Thanks again > > Maybe a short output file from strace would help point a finger. And > maybe not. ;-) > Finally got around to doing the strace... $ strace ssh mythtv AT mythtv ********************************************** Program name: C:\cygwin\bin\ssh.exe (pid 6028, ppid 1) App version: 1005.25, api: 0.156 DLL version: 1005.25, api: 0.156 DLL build: 2008-06-12 19:34 OS version: Windows NT-5.1 Heap size: 402653184 Date/Time: 2009-05-08 13:17:17 ********************************************** 2179 275368 [main] ssh 6028 wsock_init: res 0 42 275410 [main] ssh 6028 wsock_init: wVersion 514 32 275442 [main] ssh 6028 wsock_init: wHighVersion 514 31 275473 [main] ssh 6028 wsock_init: szDescription WinSock 2.0 30 275503 [main] ssh 6028 wsock_init: szSystemStatus Running 30 275533 [main] ssh 6028 wsock_init: iMaxSockets 0 30 275563 [main] ssh 6028 wsock_init: iMaxUdpDg 0 30 275593 [main] ssh 6028 wsock_init: lpVendorInfo 0 6733 282326 [main] ssh 6028 __set_errno: void __set_winsock_errno(const char*, int):234 val 1 382 282708 [main] ssh 6028 __set_winsock_errno: __dup_ent:334 - winsock error 11004 -> errno 1 36 282744 [main] ssh 6028 cygwin_getservbyname: 0x0 = getservbyname (ssh, tcp) 49 282793 [main] ssh 6028 sig_send: sendsig 0x6E8, pid 6028, signal -34, its_me 1 32 282825 [main] ssh 6028 sig_send: wakeup 0x6B0 31 282856 [main] ssh 6028 sig_send: Waiting for pack.wakeup 0x6B0 799 283655 [sig] ssh 6028 wait_sig: signalling pack.wakeup 0x6B0 723 284378 [main] ssh 6028 sig_send: returning 0x0 from sending signal -34 560 284938 [main] ssh 6028 __dup_ent: duping hostent "mythtv", 0x18BA6CA0 90 285028 [main] ssh 6028 __dup_ent: duped hostent "mythtv", 0x6ACCC8 38 285066 [main] ssh 6028 cygwin_gethostbyname: h_name mythtv 1032 286098 [main] ssh 6028 cygwin_socket: socket (2, 1, 0) 5937 292035 [main] ssh 6028 fdsock: reset socket inheritance 126 292161 [main] ssh 6028 build_fh_pc: fh 0x61169E50 104 292265 [main] ssh 6028 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0 124 292389 [main] ssh 6028 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000 385 292774 [main] ssh 6028 fhandler_base::set_flags: filemode set to binary 290 293064 [main] ssh 6028 fdsock: fd 3, name '', soc 0x6B4 514 293578 [main] ssh 6028 cygwin_socket: 3 = socket (2, 1, 0) 1223 294801 [main] ssh 6028 sig_send: sendsig 0x6E8, pid 6028, signal -34, its_me 1 60 294861 [main] ssh 6028 sig_send: wakeup 0x69C 34 294895 [main] ssh 6028 sig_send: Waiting for pack.wakeup 0x69C 305 295200 [sig] ssh 6028 wait_sig: signalling pack.wakeup 0x69C 51 295251 [main] ssh 6028 sig_send: returning 0x0 from sending signal -34 72 295323 [main] ssh 6028 fhandler_socket::ioctl: socket is now nonblocking 39 295362 [main] ssh 6028 fhandler_socket::ioctl: 0 = ioctl_socket (8004667E, 23B80C) 979 296341 [main] ssh 6028 __set_errno: void __set_winsock_errno(const char*, int):234 val 119 50 296391 [main] ssh 6028 __set_winsock_errno: connect:788 - winsock error 10036 -> errno 119 44 296435 [main] ssh 6028 cygwin_select: 4, 0x0, 0x23B7C0, 0x23B7A0, 0x0 88 296523 [main] ssh 6028 dtable::select_write: fd 3 43 296566 [main] ssh 6028 dtable::select_except: fd 3 51 296617 [main] ssh 6028 cygwin_select: to NULL, ms FFFFFFFF 43 296660 [main] ssh 6028 cygwin_select: sel.always_ready 0 74 296734 [main] ssh 6028 start_thread_socket: Handle 0x6B4 38 296772 [main] ssh 6028 start_thread_socket: Added to writefds 40 296812 [main] ssh 6028 start_thread_socket: Added to exceptfds 2983 299795 [main] ssh 6028 start_thread_socket: opened new socket 0x688 52 299847 [main] ssh 6028 start_thread_socket: exitsock 0x688 41 299888 [main] ssh 6028 start_thread_socket: stuff_start 0x23B724 308 300196 [select_socket] ssh 6028 cygthread::stub: thread 'select_socket', id 0x17B4, stack_ptr 0x190ACDC0 49 300245 [select_socket] ssh 6028 thread_socket: stuff_start 0x6AFE64 47 300292 [main] ssh 6028 select_stuff::wait: m 2, ms 4294967295 65 300357 [select_socket] ssh 6028 thread_socket: Win32 select returned 1 39 300396 [select_socket] ssh 6028 thread_socket: s 0x6ACE20, testing fd 3 () 43 300439 [select_socket] ssh 6028 thread_socket: write_ready 41 300480 [main] ssh 6028 select_stuff::wait: woke up. wait_ret 1. verifying 43 300523 [main] ssh 6028 select_stuff::wait: gotone 1 42 300565 [main] ssh 6028 select_stuff::wait: returning 0 38 300603 [main] ssh 6028 select_stuff::cleanup: calling cleanup routines 39 300642 [main] ssh 6028 socket_cleanup: si 0x6ACE50 si->thread 0x61106F30 85 300727 [main] ssh 6028 socket_cleanup: sent a byte to exitsock 0x688, res -1 83 300810 [main] ssh 6028 socket_cleanup: reading a byte from exitsock 0x688 300002303 300303113 [unknown (0x1424)] ssh 6028 _cygtls::remove: wait 0x0 112 300303225 [unknown (0x1424)] ssh 6028 _cygtls::remove: removed 0x18EACE64 element 1 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/