[Wine]Re: "Severe - Unable to create a directory under ..."

Mark Knecht markknecht at gmail.com
Mon Oct 25 15:36:11 CDT 2004


On Mon, 25 Oct 2004 10:06:18 -0700, Duane Clark <dclark at akamail.com> wrote:
> Mark Knecht wrote:
> > Trying again. Any ideas on this one?
> >
> > Frist sent last Wednesday. No responses so far.
> > Thanks,
> > Mark
> >
> >
> > On Wed, 20 Oct 2004 11:02:10 -0700, Mark Knecht <markknecht at gmail.com> wrote:
> >
> >>Hi,
> >>   I'm playing around with installation of a number of older, Win
> >>98/Win ME era sound programs. One I'm working on right now comes up
> >>with what, for me, is sort of a standard problem. I get a dialog box
> >>with this message:
> >>
> >>"Severe - Unable to create a directory under C:\PROG~FBU\GSampler.
> >>Please check write access to this directory."
> >>
> 
> Normally the approach to this would be something like run the program
> something like:
> WINEDEBUG=file wine program &> wine.log
> That should hopefully give you clues on what call is breaking; grep for
> something like "GSampler" if the file is large. Likely it would be some
> function in the Wine source code in dlls/kernel/file.c or file16.c. If
> that did not help, more can usually be found with:
> WINEDEBUG=file+relay wine program &> wine.log
> Though that creates a much larger file.
> 
> Given a function name from a line in the wine.log file, you can always
> locate it in the source code by putting the function name in here:
> http://source.winehq.org/ident
> 
> If you find something in the traces that looks interesting, post it with
> some preceding lines for context.
> 

Thanks Duane,
   I've done the step "WINEDEBUG=file wine program &> wine.log" which produces:

trace:file:DeleteFileW L"C:\\windows\\_detmp.1"                       
         trace:file:CreateFileW L"C:\\windows\\_detmp.1" GENERIC_READ
GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE FILE_SHARE_DELETE
OPEN_EXISTING attributes 0x4000000
trace:file:RtlDosPathNameToNtPathName_U
(L"C:\\windows\\_detmp.1",0xb7a5fa54,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\windows\\_detmp.1" 520 0xb7a5f7cc (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\_detmp.1" ->
"/home/mark/.wine/dosdevices/c:/windows/_detmp.1"
trace:file:CreateFileW returning 0x40
trace:file:DeleteFileW L"C:\\Program Files\\GSampler\\DeIsL1.isu"
trace:file:CreateFileW L"C:\\Program Files\\GSampler\\DeIsL1.isu"
GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE
FILE_SHARE_DELETE OPEN_EXISTING attributes 0x4000000
trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Program
Files\\GSampler\\DeIsL1.isu",0xb7a5fa54,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"C:\\Program
Files\\GSampler\\DeIsL1.isu" 520 0xb7a5f7cc (nil))
warn:file:wine_nt_to_unix_file_name L"GSampler\\DeIsL1.isu" not found
in /home/mark/.wine/dosdevices/c:/Program Files
warn:file:CreateFileW Unable to create file L"C:\\Program
Files\\GSampler\\DeIsL1.isu" (status c000003a)
trace:file:CreateFileW returning 0xffffffff                           
         trace:file:RtlDosPathNameToNtPathName_U
(L"S:\\",0xb7a5fae8,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"S:\\" 520 0xb7a5f88c (nil))        
         trace:file:wine_nt_to_unix_file_name L"\\??\\S:\\" ->
"/home/mark/.wine/dosdevices/s:/"                                     
                                   trace:file:RtlSetCurrentDirectory_U
curdir now L"S:\\" (nil)
Wine-dbg>Wine-dbg>Wine-dbg>Wine-dbg> 
wine_dbg_cmd: Ctrl-C
Ctrl-C: stopping debuggee
err:seh:setup_exception nested exception on signal stack in thread
000d eip ffffe40e esp b7a83c14 stack 0xb6f27000-0xb7028000

wine_dbg_cmd: Ctrl-C
Ctrl-C: stopping debuggee        


When I jsut try it in a terminal I get the following, the last line
being somewhat interesting:

Loaded debug information from ELF '/usr/lib/wine/imm32.dll.so' (0xb734a000)
Loaded debug information from ELF '/usr/lib/wine/winmm.dll.so' (0xb72d8000)
Loaded debug information from ELF '/usr/lib/wine/wineoss.drv.so' (0xb7297000)
Loaded debug information from ELF '/usr/lib/wine/msacm.drv.so' (0xb727f000)
Loaded debug information from ELF '/usr/lib/wine/msacm32.dll.so' (0xb725a000)
Loaded debug information from ELF '/usr/lib/wine/midimap.drv.so' (0xb712b000)
No debug information in 32bit DLL 'S:\SETUP.EXE' (0xb7a70000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0xb7e40000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0xb7ab0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0xb7700000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0xb7740000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0xb77d0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEDOS.DLL' (0xb7910000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0xb75b0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IMM32.DLL' (0xb7350000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0xb72f0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEOSS.DRV' (0xb72b0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0xb7260000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0xb7290000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0xb7130000)
Unhandled exception: page fault in 16-bit code (11df:4547).
In 16-bit mode.
0x11df:0x4547: lesw0xfffffffa(%bp),%bx
Wine-dbg>fixme:dialog:MSGBOX_OnInit task modal msgbox ! Not modal yet.

Wine-dbg>
Wine-dbg>exit
syntax error
Wine-dbg>quit
WineDbg terminated on pid 12
flash cdrom $ 


I'm curious - Is the last DLL - MIDIMAP.DRV - and the 'Unhandled
exception: page fault' related or is the page fault the error on it's
own? Are the DLL's on the CD of any help here?

flash cdrom $ ls -la *.DLL
-r-xr-xr-x  1 root root 127488 Jan 27  1998 DSETUP.DLL
-r-xr-xr-x  1 root root  63056 Jul 14  1997 DSETUP16.DLL
-r-xr-xr-x  1 root root  41984 Jan 27  1998 DSETUP32.DLL
-r-xr-xr-x  1 root root  10752 Sep 25  1995 _SETUP.DLL
flash cdrom $ ls -al *.dll
-r-xr-xr-x  1 root root  13052 Feb  1  2001 WS16SET.dll
-r-xr-xr-x  1 root root 995383 Aug 12  1998 mfc42.dll
-r-xr-xr-x  1 root root 277776 Dec  1  1998 msvcrt.dll
flash cdrom $ 

Thanks,
Mark



More information about the wine-users mailing list