From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16363 invoked by alias); 28 Apr 2006 09:10:10 -0000 Received: (qmail 16353 invoked by uid 22791); 28 Apr 2006 09:10:10 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 28 Apr 2006 09:10:06 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FZOzC-0003Gd-42 for cygwin-talk@cygwin.com; Fri, 28 Apr 2006 11:10:02 +0200 Received: from fbxmetz.linbox.com ([81.56.128.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Apr 2006 11:10:02 +0200 Received: from ludovic.drolez by fbxmetz.linbox.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Apr 2006 11:10:02 +0200 To: cygwin-talk@cygwin.com From: Ludovic Drolez Subject: Re: FW: cygwin-1.dll long-time bug Date: Fri, 28 Apr 2006 09:10:00 -0000 Message-ID: References: <002801c66313$d0d31260$a501a8c0@CAM.ARTIMI.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Cygwin-Talk Maiming List X-SW-Source: 2006-q2/txt/msg00174.txt.bz2 Dave Korn artimi.com> writes: > > "As for the issues looking at threads, the problem is a Cygwin behavior that's incompatible with the > Windows API, RtlQueryProcessDebugInformation, that Process Explorer uses to obtain the list of > modules loaded into a process. That API injects a thread into the remote process to query the loader data > structures. The target process DLLs get a DLL_THREAD_ATTACH notification, which causes some Cygwin DLL > thread to hang and the RtlQueryProcessDebugInformation to never return." > > This gives me even more to go on... we may be able to do something about this. > > cheers, > DaveK Hello, I'm currently trying to debug something which seems to show the same symptoms as the processxp one: When we try to update (with windows update) some multimedia dlls on windows (mediaplayer fixes, itunes, etc), cygrunsrv.exe hogs 75% of the cpu, csrss.exe 25% and the update freezes. Maybe the update process tries to list the threads in a strange way ? But I'm not sure since I do not seen any ref to 'RtlQueryProcessDebugInformation' in the gdb bt: http://www.cygwin.com/ml/cygwin/2006-04/msg00856.html Any ideas if the bugs are related ? (and do you have a tool to find which thread is looping?) Cheers, Ludovic.