[Wine] I/O error 32 (share error) while opening executable

Jonatan Magnusson jonatan at cmteknik.se
Mon Mar 23 13:32:59 CDT 2009


Hi,

I'm trying to run a win16 delphi application under Wine.

At one point of the execution the program tries to open its own exe file
and read some data from it.

At that point i get an error message dialog: "I/O error 32". A quick
google tells me that has to do with sharing of files.

So I launch the application with "WINEDEBUG=+file" and here's the log
right up until the message box is displayed:

---
trace:file:RtlGetFullPathName_U (L"C:\\DGTSYS\\lccflag1.sl2" 520
0x7e69b6c4 (nil))
warn:file:wine_nt_to_unix_file_name L"lccflag1.sl2" not found
in /home/jonatan/.wine/dosdevices/c:/dgtsys

trace:file:GetShortPathNameA "C:\\condi\\CONDILNK.EXE"
trace:file:GetShortPathNameW L"C:\\condi\\CONDILNK.EXE"
trace:file:GetShortPathNameW returning L"C:\\condi\\CONDILNK.EXE"

trace:file:CreateFileW L"C:\\condi\\CONDILNK.EXE" GENERIC_READ
GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes
0x0

trace:file:RtlDosPathNameToNtPathName_U (L"C:\\condi\
\CONDILNK.EXE",0x7e69b640,(nil),(nil))

trace:file:RtlGetFullPathName_U (L"C:\\condi\\CONDILNK.EXE" 520
0x7e69b384 (nil))

trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\condi\\CONDILNK.EXE" ->
"/home/jonatan/.wine/dosdevices/c:/condi/CONDILNK.EXE"

warn:file:CreateFileW Unable to create file L"C:\\condi\
\CONDILNK.EXE" (status c0000043)

trace:file:CreateFileW returning 0xffffffff
---

I've made sure that the current user has read/write permission on
CONDILNK.EXE.

Any hints?

Does Wine not allow a program to open its own executable?


Regards,

Jonatan Magnusson




More information about the wine-users mailing list