United Devices Client

illie illie at home.com
Thu Mar 29 14:20:12 CST 2001


In article <99vhbf$451$1 at news1.xs4all.nl>, rklazes at casema.net says...
> On Thu, 29 Mar 2001 05:53:59 GMT, in comp.emulators.ms-windows.wine
> illie <illie at home.com> wrote:
> 
> 
> 
> > Still don't see anything of much interest. Here are the 200 lines before 
> > the Invalid picture, with the CriticalSections stripped out. The full 
> > debug log using the above options is available at 
> > http://pentium.tc.ca/~iwhite/udwinedebug.txt if it is of any further
> 
> Some hunderd lines up the trace:
> 
>  
> | Call ole32.144: StgCreateDocfile(00000000,04000012,00000000,653c6314) ret=653a88fd fs=008f
> | Call kernel32.505: GetTempPathW(00000104,405e6434) ret=40836840 fs=008f
> | Ret  kernel32.505: GetTempPathW() retval=00000008 ret=40836840 fs=008f
> | Call kernel32.503: GetTempFileNameW(405e6434 L"C:\\TEMP\\",405e642c L"STO",00000000,405e6644) ret=40836863 fs=008f
> | trace:string:lstrcpynA (0x405e5230, "/dos", 1024)
> | trace:string:lstrcpynA (0x405e5a78, "/dos", 1024)
> | Ret  kernel32.503: GetTempFileNameW() retval=0000c17d ret=40836863 fs=008f
> | fixme:storage:GetCreationModeFromSTGM unhandled storage mode : 0x04000012
> | Call kernel32.195: CreateFileW(405e6644 L"C:\\TEMP\\STOc17d.tmp",c0000000,00000000,00000000,00000001,14000000,00000000) ret=40836914 fs=008f
> | trace:string:lstrcpynA (0x405e5af0, "/dos", 1024)
> | Ret  kernel32.195: CreateFileW() retval=ffffffff ret=40836914 fs=008f
>                                    ^^^^^^^^^^^^^^^
> The createfile fails to create the indicated temporary file. Check the
> directory has proper permissions, otherwise run with 
> --debugmsg +relay,+file,+dosfs to find out why the file cannot be
> created.

Permissions are fine. It has been able to create other files on the 
filesystem... Here is the relevant section of the new debug log:

Call ole32.144: StgCreateDocfile(00000000,04000012,00000000,653c6314) 
ret=653a88fd fs=008f
Call kernel32.505: GetTempPathW(00000104,405e6434) ret=40836840 fs=008f
Ret  kernel32.505: GetTempPathW() retval=00000008 ret=40836840 fs=008f
Call kernel32.503: GetTempFileNameW(405e6434 L"C:\\TEMP\\",405e642c 
L"STO",00000000,405e6644) ret=40836863 fs=008f
trace:file:CreateFileA C:\TEMP\STO94b3.tmp GENERIC_WRITE CREATE_NEW
trace:dosfs:DOSFS_GetFullName C:\TEMP\STO94b3.tmp (last=0)
trace:dosfs:DOSFS_FindUnixName /dos,TEMP\STO94b3.tmp
trace:dosfs:DOSFS_FindUnixName (/dos,TEMP\STO94b3.tmp) -> temp (TEMP)
trace:dosfs:DOSFS_FindUnixName /dos/temp,STO94b3.tmp
warn:dosfs:DOSFS_FindUnixName 'STO94b3.tmp' not found in '/dos/temp'
trace:dosfs:DOSFS_GetFullName returning /dos/temp/STO94b3.tmp = 
C:\TEMP\sto94b3.tmp
trace:file:FILE_GetTempFileName created C:\TEMP\STO94b3.tmp
trace:dosfs:DOSFS_GetFullName C:\TEMP\STO94b3.tmp (last=0)
trace:dosfs:DOSFS_FindUnixName /dos,TEMP\STO94b3.tmp
trace:dosfs:DOSFS_FindUnixName (/dos,TEMP\STO94b3.tmp) -> temp (TEMP)
trace:dosfs:DOSFS_FindUnixName /dos/temp,STO94b3.tmp
trace:dosfs:DOSFS_FindUnixName (/dos/temp,STO94b3.tmp) -> STO94b3.tmp 
(STO94B3.TMP)
trace:dosfs:DOSFS_GetFullName returning /dos/temp/STO94b3.tmp = 
C:\TEMP\STO94B3.TMP
trace:file:FILE_GetTempFileName returning C:\TEMP\STO94b3.tmp
Ret  kernel32.503: GetTempFileNameW() retval=000094b3 ret=40836863 
fs=008f
fixme:storage:GetCreationModeFromSTGM unhandled storage mode : 0x04000012
Call kernel32.195: CreateFileW(405e6644 
L"C:\\TEMP\\STO94b3.tmp",c0000000,00000000,00000000,00000001,14000000,000
00000) ret=40836914 fs=008f
trace:file:CreateFileA C:\TEMP\STO94b3.tmp GENERIC_READ GENERIC_WRITE 
CREATE_NEW
trace:dosfs:DOSFS_GetFullName C:\TEMP\STO94b3.tmp (last=0)
trace:dosfs:DOSFS_FindUnixName /dos,TEMP\STO94b3.tmp
trace:dosfs:DOSFS_FindUnixName (/dos,TEMP\STO94b3.tmp) -> temp (TEMP)
trace:dosfs:DOSFS_FindUnixName /dos/temp,STO94b3.tmp
trace:dosfs:DOSFS_FindUnixName (/dos/temp,STO94b3.tmp) -> STO94b3.tmp 
(STO94B3.TMP)
trace:dosfs:DOSFS_GetFullName returning /dos/temp/STO94b3.tmp = 
C:\TEMP\STO94B3.TMP
warn:file:FILE_CreateFile Unable to create file '/dos/temp/STO94b3.tmp' 
(GLE 183)
Ret  kernel32.195: CreateFileW() retval=ffffffff ret=40836914 fs=008f
Ret  ole32.144: StgCreateDocfile() retval=80004005 ret=653a88fd fs=008f

It did make a file however:
[iwhite at pentium /dos]# ls -la /dos/temp
total 18
drwxr-xr-x    2 iwhite     wheel        2048 Mar 29 12:03 ./
drwxr-xr-x    8 iwhite     wheel       16384 Mar 28 21:16 ../
-rwxr-xr-x    1 iwhite     wheel           0 Mar 29 12:01 STO94b3.tmp*

So the question then becomes, why does it think it failed to make the 
file?

Ian



More information about the wine-users mailing list