Mail Archives: cygwin/2006/04/27/05:50:50
Hello,
A few months ago someone reported (subj=Windows update vs. cygrunsrv) that
windows update and cygrunsrv fails when trying to update multimedia programs on
windows (MP, iTunes, etc). cygrunsrv uses nearly all cpu.
With cygrunsrv 1.15-1 and cygwin 1.5.19-4, I still have the problem.
A workaround seems to stop the ssh server but I cannot do this since we use it
for remote admin of windows boxes.
Below you'll find the state of 'cygrunsrv' when it hangs using gdb.
What can I do to get more traces ? Compile cygrunsrv with debugging symbols ?
(I really need to fix this problem, so please tell me how to help...)
Cheers,
Ludovic.
============= gdb session on cygrunsrv ============
(gdb) thread 1
[Switching to thread 1 (thread 648.0x284)]#0 0x78468a87 in ntdll!ZwReadFile
() from /cygdrive/c/WINNT/system32/NTDLL.DLL
(gdb) bt
#0 0x78468a87 in ntdll!ZwReadFile ()
from /cygdrive/c/WINNT/system32/NTDLL.DLL
#1 0x77e86335 in ReadFile () from /cygdrive/c/WINNT/system32/KERNEL32.DLL
#2 0x78edd578 in StartServiceW ()
from /cygdrive/c/WINNT/system32/ADVAPI32.DLL
#3 0x000000e4 in ?? ()
#4 0x0022eb0c in ?? ()
#5 0x00000216 in ?? ()
#6 0x0022ea6c in ?? ()
#7 0x00000000 in ?? () from
(gdb) thread 2
[Switching to thread 2 (thread 648.0x28c)]#0 0x78468a87 in ntdll!ZwReadFile
() from /cygdrive/c/WINNT/system32/NTDLL.DLL
(gdb) bt
#0 0x78468a87 in ntdll!ZwReadFile ()
from /cygdrive/c/WINNT/system32/NTDLL.DLL
#1 0x77e86335 in ReadFile () from /cygdrive/c/WINNT/system32/KERNEL32.DLL
#2 0x61094182 in wait_sig () from /usr/bin/cygwin1.dll
#3 0x61002f12 in cygthread::callfunc () from /usr/bin/cygwin1.dll
#4 0x61003749 in cygthread::stub () from /usr/bin/cygwin1.dll
#5 0x00000f9c in ?? ()
#6 0x00000000 in ?? () from
(gdb) thread 3
[Switching to thread 3 (thread 648.0x290)]#0 0x78468f03 in ntdll!ZwWaitForMulti
pleObjects () from /cygdrive/c/WINNT/system32/NTDLL.DLL
(gdb) bt
#0 0x78468f03 in ntdll!ZwWaitForMultipleObjects ()
from /cygdrive/c/WINNT/system32/NTDLL.DLL
#1 0x77e9a1fb in WaitForMultipleObjectsEx ()
from /cygdrive/c/WINNT/system32/KERNEL32.DLL
#2 0x77e9a10e in WaitForMultipleObjects ()
from /cygdrive/c/WINNT/system32/KERNEL32.DLL
#3 0x18bdec48 in ?? ()
#4 0x00000001 in ?? ()
#5 0x00000000 in ?? () from
(gdb) thread 4
[Switching to thread 4 (thread 648.0x2a4)]#0 0x78468a87 in ntdll!ZwReadFile
() from /cygdrive/c/WINNT/system32/NTDLL.DLL
(gdb) bt
#0 0x78468a87 in ntdll!ZwReadFile ()
from /cygdrive/c/WINNT/system32/NTDLL.DLL
#1 0x77e86335 in ReadFile () from /cygdrive/c/WINNT/system32/KERNEL32.DLL
#2 0x6106f2e9 in proc_waiter () from /usr/bin/cygwin1.dll
#3 0x61002f12 in cygthread::callfunc () from /usr/bin/cygwin1.dll
#4 0x61003749 in cygthread::stub () from /usr/bin/cygwin1.dll
#5 0x00000000 in ?? () from
(gdb) thread 5
[Switching to thread 5 (thread 648.0x6b8)]#0 0x7847193d in ntdll!DbgUiConnectTo
Dbg () from /cygdrive/c/WINNT/system32/NTDLL.DLL
(gdb) bt
#0 0x7847193d in ntdll!DbgUiConnectToDbg ()
from /cygdrive/c/WINNT/system32/NTDLL.DLL
#1 0x77e7fe8d in KERNEL32!DebugActiveProcess ()
from /cygdrive/c/WINNT/system32/KERNEL32.DLL
#2 0x61004409 in _cygtls::call2 () from /usr/bin/cygwin1.dll
#3 0x00000000 in ?? () from
===================================================
--
Ludovic DROLEZ Linbox / Free&ALter Soft
www.linbox.com www.linbox.org
--
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/
- Raw text -