X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke Subject: How to debug stuck bash? Date: Mon, 19 Jun 2006 15:20:32 -0500 Lines: 10 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.4 (X11/20060516) X-IsSubscribed: yes 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 I have no idea how to approach this. I am seeing a problem where bash occasionally hangs. If I try to attach with gdb, gdb hangs. I can attach with Visual Studio, which claims that there is a deadlock, and shows the current call at least a half dozen calls deep into ntdll. Does anyone have any ideas how I might go about investigating this? -- Matthew ...Ruthlessly beating Windows with a hammer until it looks like POSIX. -- 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/