fixme:(H:\trunk\reactos_clean\dll\win32\shell32\shlexec.cpp:1774) flags ignored: 0x00000004 fixme:(H:\trunk\reactos_clean\win32ss\user\user32\misc\dllmain.c:362) ClientThreadSetup is UNIMPLEMENTED! (H:\trunk\reactos_clean\win32ss\user\winsrv\consrv\frontends\terminal.c:272) Using FrontEndIFace HACK(1), should be removed after proper implementation! (H:\trunk\reactos_clean\dll\win32\kernel32\client\console\readwrite.c:69) IntReadConsole(ExeName = EnumDeleteRenameCreate.exe) < Here I press '5' then ENTER > (H:\trunk\reactos_clean\win32ss\user\winsrv\consrv\lineinput.c:434) TODO: Expand aliases < Here the test application hangs, so I break into WinDbg > Break instruction exception - code 80000003 (first chance) ******************************************************************************* * * * You are seeing this message because you pressed the SysRq/PrintScreen * * key on your test machine's keyboard. * * * * THIS IS NOT A BUG OR A SYSTEM CRASH * * * * If you did not intend to break into the debugger, press the "g" key, then * * press the "Enter" key now. This message might immediately reappear. If it * * does, press "g" and "Enter" again. * * * ******************************************************************************* nt!RtlpBreakWithStatusInstruction: 8050e828 cc int 3 kd> !process 0 0 **** NT ACTIVE PROCESS DUMP **** PROCESS b1320d88 SessionId: none Cid: 0004 Peb: 00000000 ParentCid: 0000 DirBase: 0068b000 ObjectTable: e1000818 HandleCount: 148. Image: System PROCESS b11c1020 SessionId: none Cid: 0058 Peb: 7ffdf000 ParentCid: 0004 DirBase: 02f1b000 ObjectTable: e1014308 HandleCount: 13. Image: smss.exe PROCESS b1137a20 SessionId: 0 Cid: 0088 Peb: 7ffdf000 ParentCid: 0058 DirBase: 1d601000 ObjectTable: e1480c30 HandleCount: 141. Image: csrss.exe PROCESS b111a280 SessionId: 0 Cid: 00a0 Peb: 7ffd7000 ParentCid: 0058 DirBase: 1d21a000 ObjectTable: e142d928 HandleCount: 49. Image: winlogon.exe PROCESS b110ed88 SessionId: 0 Cid: 00b0 Peb: 7ffdb000 ParentCid: 00a0 DirBase: 1cf03000 ObjectTable: e148cc68 HandleCount: 58. Image: services.exe PROCESS b110b020 SessionId: 0 Cid: 00b8 Peb: 7ffdb000 ParentCid: 00a0 DirBase: 1ceac000 ObjectTable: e148efb8 HandleCount: 56. Image: lsass.exe PROCESS b10f62b0 SessionId: 0 Cid: 00d0 Peb: 7ffd6000 ParentCid: 00b0 DirBase: 1cbc0000 ObjectTable: e148e8d8 HandleCount: 37. Image: eventlog.exe PROCESS b109d7a0 SessionId: 0 Cid: 0134 Peb: 7ffaf000 ParentCid: 00b0 DirBase: 1ac59000 ObjectTable: e154d300 HandleCount: 22. Image: rpcss.exe PROCESS b1094d88 SessionId: 0 Cid: 0148 Peb: 7ffdf000 ParentCid: 00b0 DirBase: 1ad23000 ObjectTable: e15c5e20 HandleCount: 10. Image: thmsvc.exe PROCESS b10850e8 SessionId: 0 Cid: 0194 Peb: 7ffd6000 ParentCid: 00b0 DirBase: 15043000 ObjectTable: e1db1a90 HandleCount: 28. Image: svchost.exe PROCESS b10a1aa0 SessionId: 0 Cid: 019c Peb: 7ffaf000 ParentCid: 0110 DirBase: 15086000 ObjectTable: e1db39b8 HandleCount: 58. Image: explorer.exe PROCESS b10823f8 SessionId: 0 Cid: 01ac Peb: 7ffd7000 ParentCid: 00b0 DirBase: 148fe000 ObjectTable: e1db35d8 HandleCount: 44. Image: svchost.exe PROCESS b105e4f8 SessionId: 0 Cid: 01dc Peb: 7ffaf000 ParentCid: 00b0 DirBase: 14d69000 ObjectTable: e1db53f8 HandleCount: 13. Image: wlansvc.exe PROCESS b1056670 SessionId: 0 Cid: 01f0 Peb: 7ffd4000 ParentCid: 019c DirBase: 14dfc000 ObjectTable: e1dc3e20 HandleCount: 31. Image: kbswitch.exe PROCESS b1034350 SessionId: 0 Cid: 0210 Peb: 7ffd9000 ParentCid: 00b0 DirBase: 14752000 ObjectTable: e1dcb540 HandleCount: 7. Image: spoolsv.exe PROCESS b100e428 SessionId: 0 Cid: 0424 Peb: 7ffdd000 ParentCid: 019c DirBase: 00993000 ObjectTable: e1e3ca30 HandleCount: 11. Image: EnumDeleteRenameCreate.exe kd> .process /i b100e428 You need to continue execution (press 'g' ) for the context to be switched. When the debugger breaks in again, you will be in the new process context. kd> g (H:\trunk\reactos_clean\win32ss\user\ntuser\hotkey.c:234) err: Hot key pressed for Debug Activation! ShiftF12 = 0 or F12 = 1 Break instruction exception - code 80000003 (first chance) nt!RtlpBreakWithStatusInstruction: 8050e828 cc int 3 kd> .process /r /p b100e428 Implicit process is now b100e428 .cache forcedecodeuser done Loading User Symbols ... *** ERROR: Module load completed but symbols could not be loaded for EnumDeleteRenameCreate.exe kd> !ntsdexts.locks -v CritSec ntdll!RtlCriticalSectionLock+0 at 7c999030 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec ntdll!RtlpVectoredHandlerLock+0 at 7c9995c0 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec ntdll!LdrpLoaderLock+0 at 7c982914 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec ntdll!FastPebLock+0 at 7c999140 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec ntdll!RtlpProcessHeapsListLock+0 at 7c9995e0 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec +130640 at 00130640 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec +230640 at 00230640 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec KERNEL32!BaseDllDirectoryLock+0 at 7c84c200 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec KERNEL32!CodePageListLock+0 at 7c84c028 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec KERNEL32!ConsoleLock+0 at 7c84c100 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec KERNEL32!ExeNameLock+0 at 7c84bf48 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec KERNEL32!gcsAppCert+0 at 7c84c140 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec +240640 at 00240640 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39440 at 00439440 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39458 at 00439458 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39470 at 00439470 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39488 at 00439488 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+394a0 at 004394a0 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+394b8 at 004394b8 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+394d0 at 004394d0 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+394e8 at 004394e8 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39500 at 00439500 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39518 at 00439518 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39530 at 00439530 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39548 at 00439548 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39560 at 00439560 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec EnumDeleteRenameCreate+39578 at 00439578 LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec +24099c at 0024099c LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec +2409dc at 002409dc LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 CritSec +240a1c at 00240a1c LockCount NOT LOCKED RecursionCount 0 OwningThread 0 EntryCount 0 ContentionCount 0 Scanned 30 critical sections kd> !kdexts.locks -v **** DUMP OF ALL RESOURCE OBJECTS **** < Some resources available... > Resource @ 0xb123e0d0 Exclusively owned Contention Count = 145 NumberOfExclusiveWaiters = 4 Threads: b131f8d0-01<*> THREAD b131f8d0 Cid 0004.0014 Teb: 00000000 Win32Thread: 00000000 WAIT: (WrResource) KernelMode Non-Alertable b103dce8 SynchronizationEvent b131f948 NotificationTimer Not impersonating Owning Process b1320d88 Image: System Attached Process N/A Image: N/A Wait Start TickCount 21710 Ticks: 230 (0:00:00:03.448) Context Switch Count 15 UserTime 00:00:00.000 KernelTime 00:00:00.000 Start Address nt!ExpWorkerThreadEntryPoint (0x80437cc0) Stack Init f8929000 Current f8928bb8 Base f8929000 Limit f8926000 Call 0 Priority 14 BasePriority 13 PriorityDecrement 1 ChildEBP RetAddr f8928bf8 80482ea5 nt!KiSwapContext+0x19 f8928c60 8042f5c5 nt!KeWaitForSingleObject+0x425 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\ke\wait.c @ 547] f8928cc4 8042fa21 nt!ExpWaitForResource+0x45 (FPO: [Non-Fpo]) (CONV: fastcall) [h:\trunk\reactos_clean\ntoskrnl\ex\resource.c @ 642] f8928cf0 f8b93b14 nt!ExAcquireResourceExclusiveLite+0x121 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\ex\resource.c @ 830] f8928d10 f8b93a32 fastfat!VfatCleanupFile+0x94 (FPO: [Non-Fpo]) (CONV: cdecl) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\cleanup.c @ 50] f8928d20 f8ba1fd1 fastfat!VfatCleanup+0x62 (FPO: [Non-Fpo]) (CONV: cdecl) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\cleanup.c @ 165] f8928d3c f8ba250a fastfat!VfatDispatchRequest+0x141 (FPO: [Non-Fpo]) (CONV: cdecl) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\misc.c @ 168] f8928d48 80437e4d fastfat!VfatDoRequest+0x1a (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\misc.c @ 307] f8928d8c 804d9064 nt!ExpWorkerThreadEntryPoint+0x18d (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\ex\work.c @ 165] f8928dc0 804f20b2 nt!PspSystemThreadStartup+0x64 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\ps\thread.c @ 158] f8928ddc 804d8fff nt!KiThreadStartup+0x42 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\ke\i386\thrdini.c @ 81] f8928de0 80437cbf nt!PspUnhandledExceptionInSystemThread+0xcf (CONV: cdecl) f8928de4 00000000 nt!ExpDesktopClose+0x4f (CONV: stdcall) Threads Waiting On Exclusive Access: b100d840 b131e020 b131f660 b100ab00 < Some other resources available... > Resource @ win32k!UserLock (0xf875d940) Available Contention Count = 142 Resource @ win32k!TimerLock (0xf875d240) Available < Some other resources available... > Resource @ 0xb10ea768 Available Contention Count = 1 < Some other resources available... > Resource @ 0xb101a43c Shared 1 owning threads Contention Count = 4 NumberOfExclusiveWaiters = 1 Threads: b100d840-01<*> THREAD b100d840 Cid 0424.0434 Teb: 7ffdc000 Win32Thread: 00000000 WAIT: (WrResource) KernelMode Non-Alertable b11c0d50 SynchronizationEvent b100d8b8 NotificationTimer IRP List: b100bd28: (0006,00dc) Flags: 00000800 Mdl: 00000000 Not impersonating Owning Process b100e428 Image: EnumDeleteRenameCreate.exe Attached Process N/A Image: N/A Wait Start TickCount 21710 Ticks: 230 (0:00:00:03.448) Context Switch Count 71 UserTime 00:00:00.000 KernelTime 00:00:00.000 Win32 Start Address EnumDeleteRenameCreate (0x0041187f) Start Address KERNEL32!BaseThreadStartupThunk (0x7c80ae10) Stack Init f8077000 Current f80767b4 Base f8077000 Limit f8074000 Call 0 Priority 14 BasePriority 8 PriorityDecrement 6 ChildEBP RetAddr f80767f4 80482ea5 nt!KiSwapContext+0x19 f807685c 8042f5c5 nt!KeWaitForSingleObject+0x425 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\ke\wait.c @ 547] f80768c0 8042fa21 nt!ExpWaitForResource+0x45 (FPO: [Non-Fpo]) (CONV: fastcall) [h:\trunk\reactos_clean\ntoskrnl\ex\resource.c @ 642] f80768ec f8b95d30 nt!ExAcquireResourceExclusiveLite+0x121 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\ex\resource.c @ 830] f8076ba8 f8b959ab fastfat!DoQuery+0x330 (FPO: [Non-Fpo]) (CONV: cdecl) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\dir.c @ 508] f8076bbc f8ba1f70 fastfat!VfatDirectoryControl+0x3b (FPO: [Non-Fpo]) (CONV: cdecl) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\dir.c @ 635] f8076bd8 f8ba1e77 fastfat!VfatDispatchRequest+0xe0 (FPO: [Non-Fpo]) (CONV: cdecl) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\misc.c @ 148] f8076bf4 804633d7 fastfat!VfatBuildRequest+0x77 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\drivers\filesystems\fastfat\misc.c @ 235] f8076c34 8045acd2 nt!IofCallDriver+0xb7 (FPO: [Non-Fpo]) (CONV: fastcall) [h:\trunk\reactos_clean\ntoskrnl\io\iomgr\irp.c @ 1235] f8076c50 8045ce0c nt!IopPerformSynchronousRequest+0x32 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\io\iomgr\iofunc.c @ 136] f8076ce0 804f4ffb nt!NtQueryDirectoryFile+0x4ac (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\ntoskrnl\io\iomgr\iofunc.c @ 2015] f8076d1c 804f469f nt!KiSystemCallTrampoline+0x1b (FPO: [Non-Fpo]) (CONV: cdecl) [h:\trunk\reactos_clean\ntoskrnl\include\internal\i386\ke.h @ 742] f8076d5c 80403e23 nt!KiSystemServiceHandler+0x22f (FPO: [Non-Fpo]) (CONV: fastcall) [h:\trunk\reactos_clean\ntoskrnl\ke\i386\traphdlr.c @ 1738] f8076d5c 7c92c80e nt!KiFastCallEntry+0x8c (FPO: [0,0] TrapFrame @ f8076d64) 0053bb9c 7c9515d1 ntdll!KiFastSystemCallRet (FPO: [0,0,0]) 0053bba0 7c7ebff1 ntdll!NtQueryDirectoryFile+0xc (FPO: [0,0,0]) 0053fc48 7c7eb1ba KERNEL32!FindFirstFileExW+0x561 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\dll\win32\kernel32\client\file\find.c @ 888] 0053fc68 00412836 KERNEL32!FindFirstFileW+0x1a (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\dll\win32\kernel32\client\file\find.c @ 326] WARNING: Stack unwind information not available. Following frames may be wrong. 0053ffb8 7c7d9764 EnumDeleteRenameCreate+0x12836 0053ffec 00000000 KERNEL32!BaseThreadStartup+0x54 (FPO: [Non-Fpo]) (CONV: stdcall) [h:\trunk\reactos_clean\dll\win32\kernel32\client\thread.c @ 69] Threads Waiting On Exclusive Access: b131f8d0 < Some other resources available... > 729 total locks, 2 locks currently held