Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: jreif AT speakeasy DOT net To: cygwin AT cygwin DOT com Sensitivity: Normal Message-ID: X-Originating-IP: [216.27.181.196] Date: Fri, 11 Jun 2004 03:32:39 +0000 Subject: Bash hangs in WaitForMultipleObjects MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i5B3WumE015052 I have bash processes that hang sometimes and have been investigating with gdb. I have gathered the output from gdb about an offending process and included below. I am running 1.5.9 of the cygwin dll, I have searched through other postings and in google. Have seen some references to hanging in bash but mostly occurring with rsync or ssh. This is very reproducable for me. Any help is appreciated. (gdb) attach 7804 Attaching to process 7804 ---Type to continue, or q to quit--- [Switching to thread 7804.0x18fc] (gdb) bt #0 0x77fa144c in ntdll!DbgUiConnectToDbg () from /cygdrive/c/WINNT/system32/ntd ll.dll #1 0x7c57feb4 in KERNEL32!DebugActiveProcess () from /cygdrive/c/WINNT/system32 /KERNEL32.DLL #2 0x61003e24 in getprogname () from /usr/bin/cygwin1.dll #3 0x61003dda in getprogname () from /usr/bin/cygwin1.dll (gdb) thread 3 [Switching to thread 3 (thread 7804.0x14d8)]#0 0x77f9323e in ntdll!ZwWaitForMul tipleObjects () from /cygdrive/c/WINNT/system32/ntdll.dll (gdb) bt #0 0x77f9323e in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINNT/syste m32/ntdll.dll #1 0x7c59a059 in WaitForMultipleObjectsEx () from /cygdrive/c/WINNT/system32/KE RNEL32.DLL #2 0x7c599f6c in WaitForMultipleObjects () from /cygdrive/c/WINNT/system32/KERN EL32.DLL #3 0x61003e24 in getprogname () from /usr/bin/cygwin1.dll #4 0x61003dda in getprogname () from /usr/bin/cygwin1.dll (gdb) -- 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/