ntoskrnl.exe: Import MSVCRT which we are forwarding to.

Saulius Krasuckas saulius.krasuckas at ieee.org
Thu May 17 03:40:12 CDT 2007


I am testing "Microsoft Virtual CD-ROM Control Panel" from [*].  It 
searches for "msvcrt._local_unwind2" and "msvcrt._except_handler3", but 
doesn't find them and then makes stack overflow:

000d:trace:loaddll:load_native_dll  Loaded module L"Z:\\mnt\\antras\\usr\\src\\wine-git\\VCDxp\\VCdRom.sys" : native
000d:trace:loaddll:load_builtin_dll Loaded module L"c:\\windows\\system32\\ntoskrnl.exe" : builtin
000d:err:module:find_forwarded_export module not found for forward 'msvcrt._local_unwind2' used by L"c:\\windows\\system32\\ntoskrnl.exe"
000d:err:module:find_forwarded_export module not found for forward 'msvcrt._except_handler3' used by L"c:\\windows\\system32\\ntoskrnl.exe"
000d:trace:loaddll:load_builtin_dll Loaded module L"c:\\windows\\system32\\hal.dll" : builtin
000d:trace:process:set_entry_point setting FT_Thunk at 0x7b8ac080 to 00000000
000d:trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin
000d:trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin
000d:trace:ntoskrnl:IoCreateDevice (0x7ffdf000, 48, L"\\Device\\VirtualCdRom", 2, 3, 0, 0x34fee8)
wine: Call from 0x7b840d20 to unimplemented function ntoskrnl.exe.ExAllocatePoolWithTag, aborting
wine: Call from 0x7bc56dd5 to unimplemented function ntoskrnl.exe._except_handler3, aborting
wine: Call from 0x7bc56dd5 to unimplemented function ntoskrnl.exe._except_handler3, aborting
wine: Call from 0x7bc56dd5 to unimplemented function ntoskrnl.exe._except_handler3, aborting
...

Could that be a simple typo in Makefile.in?


[*] http://support.microsoft.com/kb/916902

---
 dlls/ntoskrnl.exe/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntoskrnl.exe/Makefile.in b/dlls/ntoskrnl.exe/Makefile.in
index 2e91316..b632551 100644
--- a/dlls/ntoskrnl.exe/Makefile.in
+++ b/dlls/ntoskrnl.exe/Makefile.in
@@ -4,7 +4,7 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = ntoskrnl.exe
 IMPORTLIB = libntoskrnl.exe.$(IMPLIBEXT)
-IMPORTS   = kernel32 ntdll
+IMPORTS   = msvcrt kernel32 ntdll
 
 C_SRCS = \
 	ntoskrnl.c
-- 
1.5.0.6



More information about the wine-patches mailing list