Hello!
I thought I would try running Cygwin on a ReactOS CVS build, and after talking with some of you on IRC, I went ahead.
After setting PATH=c:\cygwin\bin;%PATH%, dd.exe, uniq.exe, bash.exe, and ls.exe all drop ros to the kernel debugger with an exception 14. This is on the now dead Command Prompt:
41 [Main] ? 10 cygheap_user::init: SetTokenInformation (TokenDefaultDacl): Win32 error 1
Here is the debug output leading up to the exection of uniq.exe:
(objects/gdiobj.c:401) Can't delete hObj:0x00042d77, type:0x007f0000, flag:0 (objects/gdiobj.c:401) Can't delete hObj:0x00042f72, type:0x007f0000, flag:0 (ntuser/desktop.c:808) RtlQueryRegistryValues failed for PaintDesktopVersion: status=c0000005 (NTDLL:ldr/utils.c:2060) Relocating (10000000 -> 631000) C:\cygwin\bin\cygiconv-2.dll (NTDLL:ldr/utils.c:2060) Relocating (77f00000 -> 941000) C:\ReactOS\system32\KERNEL32.dll (NTDLL:ldr/utils.c:2060) Relocating (77dc0000 -> 9ba000) C:\ReactO(NTDLL:ldr/utils.c:2060) Relocating (61000000 -> 9d0000) C:\cygwin\bin\cygwin1.dll S\system32\advapi32.dll (sec/misc.c:489) GetUserNameA: stub Entered debugger on exception number 14.
Entered kernel debugger (type "help" for a list of commands)
kdb:> bt Frames: <ntoskrnl.exe: e326c (ob/security.c:311 (NtSetSecurityObject))> <ntoskrnl.exe: 3e5b (:148 (KeUserModeCallback))> <ntdll.dll: 3379 (napi.c:404 (NtSetSecurityObject))>
All of the above commands result in the "GetUserNameA: stub" error and the message on the command prompt.
Andy