[Wine] winedos.dll question

Martin Gregorie martin at gregorie.org
Tue Mar 3 06:12:09 CST 2009


On Mon, 2009-03-02 at 18:28 -0600, Austin English wrote:

> http://wiki.winehq.org/PreloaderPageZeroProblem
> 

Well, Fedora 8 doesn't have /etc/sysctl.d/wine.conf, so Fedora 8/yum
evidently didn't set it. I created a file:

===========/etc/sysctl.d/wine.conf================ 
vm.mmap_min_addr = 0
==================================================

This has had no effect. I'm still just seeing:

$ wine setup.exe
err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem
unavailable
winevdm: unable to exec 'D:\ewview3.08.2\one\setup.exe': DOS support
unavailable

Since DOS support *is* apparently available in the form of 

/usr/lib/wine/winedos.dll.so

why can't wine find it? A related program, the EW logfile uploader, a
graphical Win95 programs runs successfully.

I tried running wineconsole with the same result. I also tried and
winedbg, which initially showed:

0x60419652:movl	%esi,0x0(%esp)

which I assume is expected. Typing 'cont' produced:

First chance exception: page fault on write access to 0x00010400 in
32-bit code (0x601de3d7).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:601de3d7 ESP:0033f308 EBP:0033f368 EFLAGS:00210246(   - 00
-RIZP1)
 EAX:00000000 EBX:60948798 ECX:00000023 EDX:00000000
 ESI:00010400 EDI:00010400
Stack dump:
0x0033f308:  0010e6f5 60911ad3 00010400 00000000
0x0033f318:  0000008c 602fd561 601404c4 60949f0c
0x0033f328:  6030e97d 602fcedf 00010000 00100000
0x0033f338:  00000600 6030f914 60367aa4 00000000
0x0033f348:  00110014 60948798 00000000 0000ffff
0x0033f358:  0000f301 60948798 00000000 60900000
Backtrace:
=>1 0x601de3d7 (0x0033f368)
  2 0x60911f52 in winedos (+0x11f52) (0x0033f398)
  3 0x60939d93 in winedos (+0x39d93) (0x0033f3b8)
  4 0x6030e965 call_dll_entry_point+0x15() in ntdll (0x0033f3d8)
  5 0x603109b9 in ntdll (+0x309b9) (0x0033f518)
  6 0x60311164 in ntdll (+0x31164) (0x0033f568)
  7 0x60312827 LdrLoadDll+0x87() in ntdll (0x0033f598)
  8 0x604098a0 in kernel32 (+0x498a0) (0x0033f7f8)
  9 0x60409aab LoadLibraryExW+0x4b() in kernel32 (0x0033f828)
  10 0x60409be3 LoadLibraryExA+0x43() in kernel32 (0x0033f848)
  11 0x60409c1d LoadLibraryA+0x2d() in kernel32 (0x0033f868)
  12 0x604fd9fd main+0xad() in winevdm (0x0033fed8)
  13 0x604feccb in winevdm (+0xeccb) (0x0033ff08)
  14 0x60419657 in kernel32 (+0x59657) (0x0033ffe8)
0x601de3d7: repe stosl	%es:(%edi)
Wine-dbg>

Entering 'cont' a few times merely repeated the error and stack dump.
'quit' exits and reports:

$ err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem
unavailable
winevdm: unable to exec 'D:\ewview3.08.2\one\setup.exe': DOS support
unavailable
 

All this means very little to me since I don't know wine's internals.
Does it mean anything more to someone who does understand the innards?

As I said, this is wine-1.1.9 - the latest version in the Fedora 8
repository. WINE release notes don't mention this problem, so presumably
upgrading to a later version would not help.


Thanks,
Martin





More information about the wine-users mailing list