[Bug 2332] 16-bit application fails due to regression in NE-module handling

Wine Bugs wine-bugs at winehq.org
Sat Jul 3 08:08:09 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2332





------- Additional Comments From saulius.krasuckas at elst.vtu.lt  2004-03-07 08:08 -------
Created an attachment (id=620)
 --> (http://bugs.winehq.org/attachment.cgi?id=620&action=view)
"wine --debugmsg +module,+loaddll,+file ..." output.

and this one is got by "cvs update"-ing Wine tree at just after the date of
patch [1].

IMHO the most interesting changes are these:

--- led2w.neluzta	2004-07-03 13:24:25.000000000 +0200
+++ led2w.meta_klaida	2004-07-03 13:37:36.000000000 +0200
@@ -1468,34 +1468,34 @@
 trace:module:MODULE_LoadModule16 Trying built-in 'F:\cc\Program
Files\winled\led2w.exe'
 warn:module:NE_LoadBuiltinModule cannot open .so lib for 16-bit builtin
led2w.exe: /usr/local/lib/wine/led2w.exe.so: cannot open
 trace:module:MODULE_LoadModule16 Trying native dll 'F:\cc\Program
Files\winled\led2w.exe'
-trace:file:FILE_DoOpenFile F:\cc\Program Files\winled\led2w.exe OF_READ
OF_SHARE_COMPAT 
-trace:file:FILE_DoOpenFile F:\cc\Program Files\winled\led2w.exe 0000
+trace:file:FILE_DoOpenFile F:\cc\Program Files\winled\led2w.exe OF_READ
OF_SHARE_DENY_WRITE 
+trace:file:FILE_DoOpenFile F:\cc\Program Files\winled\led2w.exe 0020
 trace:file:FILE_DoOpenFile found /home/s2/cc/Program Files/winled/led2w.exe =
L"F:\\CC\\PROG~FBU\\WINLED\\LED2W.EXE"
 trace:file:GetFileInformationByHandle 0x48
 trace:file:FILE_DoOpenFile (F:\cc\Program Files\winled\led2w.exe): OK, return
= 0x48
 trace:file:Win32HandleToDosFileHandle Got 5 for h32 0x48
 trace:file:SetFilePointer handle 0x48 offset 0 high 0 origin 0
-trace:file:ReadFile 0x48 0x40832ba8 64 0x40832ae0 (nil)
+trace:file:ReadFile 0x48 0x40832ba0 64 0x40832ad8 (nil)

@@ -3505,1052 +3305,949 @@
 trace:module:LdrGetDllHandle 0 0 L"user32.dll" -> 0x408b0000
 trace:module:GetModuleFileName16 024e -> 'F:\CC\PROG~FBU\WINLED\LED2W.EXE'
 trace:file:CreateFileW L"F:\\CC\\PROG~FBU\\WINLED\\LED2W.EXE" GENERIC_READ
GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE OPEN_E
-trace:file:CreateFileW returning 0x64
-trace:file:Win32HandleToDosFileHandle Got 5 for h32 0x64
-trace:file:ReadFile 0x64 0x405b0988 1024 0x416112e4 (nil)
-trace:file:ReadFile 0x64 0x405b098b 1021 0x416112e4 (nil)
-trace:file:ReadFile 0x64 0x405b098b 1021 0x416112e4 (nil)

-trace:file:ReadFile 0x64 0x405b098b 1021 0x416112e4 (nil)
-trace:file:ReadFile 0x64 0x405b098b 1021 0x416112e4 (nil)
-trace:file:_lclose16 5 (handle32=0x64)
+warn:file:FILE_CreateFile Unable to create file '/home/s2/cc/Program
Files/winled/led2w.exe' (GLE 32)
+trace:file:CreateFileW returning 0xffffffff
+trace:module:NE_OpenFile (0x4053a6a0)
+trace:module:NE_OpenFile opened 'F:\CC\PROG~FBU\WINLED\LED2W.EXE' -> 0x68
+trace:file:SetFilePointer handle 0x68 offset 125184 high 0 origin 0
+trace:file:ReadFile 0x68 0x405b0970 512 0x4161199c (nil)
+trace:module:GetModuleFileName16 01ef -> 'F:\CC\PROG~FBU\WINLED\LED2W.EXE'
+trace:module:NE_OpenFile (0x4053a6a0)
+trace:module:NE_OpenFile opened 'F:\CC\PROG~FBU\WINLED\LED2W.EXE' -> 0x68
+trace:file:SetFilePointer handle 0x68 offset 126208 high 0 origin 0
+trace:file:ReadFile 0x68 0x405b05a0 256 0x4161199c (nil)
+trace:module:NE_OpenFile (0x4053a6a0)
+trace:module:NE_OpenFile opened 'F:\CC\PROG~FBU\WINLED\LED2W.EXE' -> 0x68
+trace:file:SetFilePointer handle 0x68 offset 126208 high 0 origin 0
+trace:file:ReadFile 0x68 0x405b05a0 256 0x4161199c (nil)
+trace:module:LdrGetDllHandle 0 0 L"user32.dll" -> 0x408b0000
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:LdrGetDllHandle 0 0 L"user32.dll" -> 0x408b0000
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:GetModuleHandle16 (USER)
+trace:module:LdrGetDllHandle 0 0 L"user32.dll" -> 0x408b0000
+fixme:dialog:MSGBOX_OnInit system modal msgbox ! Not modal yet.
 trace:file:CreateFileW L"F:\\CC\\PROG~FBU\\WINLED\\ENGLIT.LEX" GENERIC_READ
GENERIC_WRITE FILE_SHARE_READ OPEN_EXISTING  attribu
-trace:file:CreateFileW returning 0x64
-trace:file:Win32HandleToDosFileHandle Got 5 for h32 0x64
-trace:file:SetFilePointer handle 0x64 offset 0 high 0 origin 0

(sorry for the truncated hunks)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list