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 X-Authenticated: #14308112 Date: Thu, 13 Oct 2005 16:50:57 +0300 From: Pavel Tsekov To: Cygwin List Subject: Re: Windows update vs. cygrunsrv In-Reply-To: <434D8D34.D7AFDE2E@dessent.net> Message-ID: References: <101220051545 DOT 21471 DOT 434D2FA800096FCD000053DF22007613940A050E040D0C079D0A AT comcast DOT net> <434D8D34 DOT D7AFDE2E AT dessent DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Y-GMX-Trusted: 0 X-IsSubscribed: yes On Wed, 12 Oct 2005, Brian Dessent wrote: > Eric Blake wrote: > > > I don't know it this was unique to my machine, but am > > reporting it in case anyone else runs into the same > > issue. When running Microsoft update today, on Win2k, > > the patch for Security Update for DirectX 9 for Windows > > 2000 (KB904706) hung during installation, with an > > instance of cygrunsrv hogging 100% CPU, until I had > > stopped every last one of my cygrunsrv processes. I > > don't know what the Microsoft update was trying to do > > to running services during the update, but it obviously > > didn't interact very well with cygrunsrv. I've just installed this update too. cygrunsrv was using about 80 % of the CPU while CSRSS.EXE was using what was left. Here are backtraces from cygrunsrv and cygserver at the time the hang occured - both look pretty strange, both indicate that the programs are stuck in NTDLL.DLL. [cygrunsrv] (gdb) thread 1 [Switching to thread 1 (thread 700.0x2b8)]#0 0x77f82926 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82926 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x7c5862e9 in ReadFile () from /mnt/c/WINNT/system32/KERNEL32.DLL #2 0x000000f0 in ?? () #3 0x00000000 in ?? () from (gdb) thread 2 [Switching to thread 2 (thread 700.0x2c4)]#0 0x77f82926 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82926 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x7c5862e9 in ReadFile () from /mnt/c/WINNT/system32/KERNEL32.DLL #2 0x000000e8 in ?? () #3 0x00000000 in ?? () from (gdb) thread 3 [Switching to thread 3 (thread 700.0x2c8)]#0 0x77f8287e in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f8287e in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x7c59a1af in WaitForMultipleObjectsEx () from /mnt/c/WINNT/system32/KERNEL32.DLL #2 0x00000001 in ?? () #3 0x18bfed58 in ?? () #4 0x00000001 in ?? () #5 0x00000000 in ?? () from [Switching to thread 4 (thread 700.0x2f0)]#0 0x77f82926 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82926 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x7c5862e9 in ReadFile () from /mnt/c/WINNT/system32/KERNEL32.DLL #2 0x0000012c in ?? () #3 0x00000000 in ?? () from (gdb) thread 5 [Switching to thread 5 (thread 700.0x780)]#0 0x77f813b2 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f813b2 in HT_Get8BPPMaskPalette () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x7c57fe8f in KERNEL32!DebugActiveProcess () from /mnt/c/WINNT/system32/KERNEL32.DLL #2 0x7c57fe66 in KERNEL32!DebugActiveProcess () from /mnt/c/WINNT/system32/KERNEL32.DLL #3 0xffffffff in ?? () #4 0x192dffb4 in ?? () #5 0x61004055 in _cygtls::call2 (func=0, arg=0x0, buf=0x192deff0) at ../../../../src/winsup/cygwin/cygtls.cc:96 #6 0x00000000 in ?? () from [cygserver] Load new symbol table from "/usr/sbin/cygserver.exe"? (y or n) y Reading symbols from /usr/sbin/cygserver.exe...done. [Switching to thread 764.0x6fc] (gdb) bt #0 0x77f813b2 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0xffffffff in ?? () #2 0x1a7cffb4 in ?? () #3 0x61004055 in _cygtls::call2 (func=0, arg=0x0, buf=0x1a7ceff0) at ../../../../src/winsup/cygwin/cygtls.cc:96 #4 0x00000000 in ?? () from (gdb) thread 2 [Switching to thread 2 (thread 764.0x2e8)]#0 0x77f82926 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82926 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 3 [Switching to thread 3 (thread 764.0x2f4)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 4 [Switching to thread 4 (thread 764.0x300)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 5 [Switching to thread 5 (thread 764.0x304)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 6 [Switching to thread 6 (thread 764.0x308)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 6 [Switching to thread 6 (thread 764.0x308)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 8 [Switching to thread 8 (thread 764.0x310)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 9 [Switching to thread 9 (thread 764.0x314)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from (gdb) thread 10 [Switching to thread 10 (thread 764.0x318)]#0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL (gdb) bt #0 0x77f82870 in RpcSsDontSerializeContext () from /mnt/c/WINNT/system32/NTDLL.DLL #1 0x00000000 in ?? () from -- 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/