Hello, Mike!

On Sat, 2006-07-29 at 18:23 +0900, Mike McCormack wrote:
> Pavel Roskin wrote:
> 
> > Something strange to happened my Wine installation recently.  I'm
> > getting following messages if I run any program from Wine:
> > 
> > $ winemine 
> > wine_main_preload_info not found
> > err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address
> > space, please report
> 
> Looks like the wine-preloader isn't being run, so memory that wine needs 
> isn't reserved.

It is installed and it is run.  If I replace wine-preloader with a
script that logs the arguments and runs the renamed wine-preloader, I
see it being called twice when an exe file with run with Wine.   For
example:

$ wine FarManager170.exe 
wine_main_preload_info not found
wine_main_preload_info not found
wine: could not load L"Z:\\home\\proski\\dist\\windows\\FarManager170.exe": 
Invalid address

In the log of wine-preloader invocations:

/usr/local/bin/../lib/../bin/wine-pthread FarManager170.exe
/usr/local/bin/../lib/../bin/wine-pthread FarManager170.exe

/usr/local/bin/../lib/../bin/wine-pthread is a valid path, wine-pthread
is actually located there.

What's interesting is that running wine-pthread instead of Wine goes one
step further:

$ wine-pthread FarManager170.exe 
wine_main_preload_info not found
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, 
please report
err:x11drv:X11DRV_CreateWindow invalid window width -193421
err:x11drv:X11DRV_CreateWindow invalid window height -2665207
fixme:richedit:RichEditANSIWndProc EM_EXLIMITTEXT: stub
fixme:shell:SHAutoComplete SHAutoComplete stub
fixme:exec:SHELL_execute flags ignored: 0x00000580
wine_main_preload_info not found
wine: could not load L"C:\\windows\\temp\\RarSFX0\\FarManagerSetup.exe": 
Invalid address
wine_main_preload_info not found
wine: could not load L"C:\\windows\\temp\\RarSFX0\\FarManagerSetup.exe": 
Invalid address
fixme:exec:SHELL_execute flags ignored: 0x00000180
wine_main_preload_info not found
wine: could not load L"C:\\windows\\temp\\RarSFX0\\FarManagerSetup.exe": 
Invalid address
wine_main_preload_info not found
wine: could not load L"C:\\windows\\temp\\RarSFX0\\FarManagerSetup.exe": 
Invalid address

I even see a window appearing for a short time.  So, FarManager170.exe
is actually run, but it fails when another file needs to be executed.

Similar test with Jardinains installer:

$ wine jardinains_1_2.exe 
wine_main_preload_info not found
wine_main_preload_info not found
wine: could not load L"Z:\\home\\proski\\dist\\windows\\jardinains_1_2.exe": 
Invalid address

It fails here.  But:

$ wine-pthread jardinains_1_2.exe 
wine_main_preload_info not found
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, 
please report

And I get the installer window here!

> Maybe check that configure is setting the EXTRA_BINARIES variable?
> 
> [EMAIL PROTECTED]:~/wine$ grep ^EXTRA_BINARIES loader/Makefile
> EXTRA_BINARIES = wine-kthread wine-pthread wine-preloader

Same thing here:

$ grep ^EXTRA_BINARIES loader/Makefile
EXTRA_BINARIES = wine-kthread wine-pthread wine-preloader

I enabled all debug in loader/preloader.c, and the stderr output of
"wine jardinains_1_2.exe" is attached.

By the way, "wine winhlp32.exe" was a bad choice.  It tries to
run /usr/local/lib/wine/winhlp32.exe.so, which doesn't exist.  It's a
completely separate bug that exists even on pure 32-bit systems.

-- 
Regards,
Pavel Roskin

stack = ffce0440
argv[00000000] = /usr/local/bin/../lib/../bin/wine-preloader
argv[00000001] = /usr/local/bin/../lib/../bin/wine-pthread
argv[00000002] = jardinains_1_2.exe
AT_SYSINFO = ffffe400
AT_SYSINFO_EHDR = ffffe000
AT_HWCAP = bfebfbff
AT_PAGESZ = 00001000
AT_CLKTCK = 00000064
AT_PHDR = 7bfff034
AT_PHENT = 00000020
AT_PHNUM = 00000003
AT_BASE = 00000000
AT_FLAGS = 00000000
AT_ENTRY = 7c00000c
AT_UID = 000001f4
AT_EUID = 000001f4
AT_GID = 000001f4
AT_EGID = 000001f4
00000017 = 00000000
AT_PLATFORM = ffce05ab
ph = ffcdfa90
 p_type   = 00000006
 p_flags  = 00000005
 p_offset = 00000034
 p_vaddr  = 7bf00034
 p_paddr  = 7bf00034
 p_filesz = 000000e0
 p_memsz  = 000000e0
 p_align  = 00000004
ph = ffcdfab0
 p_type   = 00000003
 p_flags  = 00000004
 p_offset = 00000400
 p_vaddr  = 7bf00400
 p_paddr  = 7bf00400
 p_filesz = 00000013
 p_memsz  = 00000013
 p_align  = 00000001
ph = ffcdfad0
 p_type   = 00000001
 p_flags  = 00000005
 p_offset = 00000000
 p_vaddr  = 7bf00000
 p_paddr  = 7bf00000
 p_filesz = 000012c4
 p_memsz  = 000012c4
 p_align  = 00001000
ph = ffcdfaf0
 p_type   = 00000001
 p_flags  = 00000006
 p_offset = 000012c4
 p_vaddr  = 7bf022c4
 p_paddr  = 7bf022c4
 p_filesz = 00000164
 p_memsz  = 00000174
 p_align  = 00001000
ph = ffcdfb10
 p_type   = 00000002
 p_flags  = 00000006
 p_offset = 000012d8
 p_vaddr  = 7bf022d8
 p_paddr  = 7bf022d8
 p_filesz = 000000e0
 p_memsz  = 000000e0
 p_align  = 00000004
ph = ffcdfb30
 p_type   = 00000004
 p_flags  = 00000004
 p_offset = 00000414
 p_vaddr  = 7bf00414
 p_paddr  = 7bf00414
 p_filesz = 00000020
 p_memsz  = 00000020
 p_align  = 00000004
ph = ffcdfb50
 p_type   = 6474e551
 p_flags  = 00000006
 p_offset = 00000000
 p_vaddr  = 00000000
 p_paddr  = 00000000
 p_filesz = 00000000
 p_memsz  = 00000000
 p_align  = 00000004
ph = ffcdfa90
 p_type   = 00000001
 p_flags  = 00000005
 p_offset = 00000000
 p_vaddr  = 43a6d000
 p_paddr  = 43a6d000
 p_filesz = 00018750
 p_memsz  = 00018750
 p_align  = 00001000
ph = ffcdfab0
 p_type   = 00000001
 p_flags  = 00000006
 p_offset = 00018c80
 p_vaddr  = 43a86c80
 p_paddr  = 43a86c80
 p_filesz = 00000988
 p_memsz  = 00000a48
 p_align  = 00001000
ph = ffcdfad0
 p_type   = 00000002
 p_flags  = 00000006
 p_offset = 00018ef8
 p_vaddr  = 43a86ef8
 p_paddr  = 43a86ef8
 p_filesz = 000000c8
 p_memsz  = 000000c8
 p_align  = 00000004
ph = ffcdfaf0
 p_type   = 6474e550
 p_flags  = 00000004
 p_offset = 00018220
 p_vaddr  = 43a85220
 p_paddr  = 43a85220
 p_filesz = 00000114
 p_memsz  = 00000114
 p_align  = 00000004
ph = ffcdfb10
 p_type   = 6474e551
 p_flags  = 00000006
 p_offset = 00000000
 p_vaddr  = 00000000
 p_paddr  = 00000000
 p_filesz = 00000000
 p_memsz  = 00000000
 p_align  = 00000004
ph = ffcdfb30
 p_type   = 6474e552
 p_flags  = 00000004
 p_offset = 00018c80
 p_vaddr  = 43a86c80
 p_paddr  = 43a86c80
 p_filesz = 00000380
 p_memsz  = 00000380
 p_align  = 00000001
7bf00034 00000007
00000001 00000001
00000001 00000094
00000001 00000179
0000000f 000001c1
0000000c 7bf00b94
0000000d 7bf0123c
6ffffef5 7bf00434
00000005 7bf00770
00000006 7bf004e0
0000000a 0000027f
0000000b 00000010
00000015 00000000
00000003 7bf023bc
00000002 000000b0
00000014 00000011
00000017 7bf00ae4
00000011 7bf00ad4
00000012 00000010
00000013 00000008
6ffffffe 7bf00a44
6fffffff 00000003
6ffffff0 7bf009f0
wine_main_preload_info not found
New auxiliary info:
AT_SYSINFO = ffffe400
AT_SYSINFO_EHDR = ffffe000
AT_HWCAP = bfebfbff
AT_PAGESZ = 00001000
AT_CLKTCK = 00000064
AT_PHDR = 7bf00034
AT_PHENT = 00000020
AT_PHNUM = 00000007
AT_BASE = b453f000
AT_FLAGS = 00000000
AT_ENTRY = 7bf00d20
AT_UID = 000001f4
AT_EUID = 000001f4
AT_GID = 000001f4
AT_EGID = 000001f4
00000017 = 00000000
AT_PLATFORM = ffce05ab
new stack = ffce0444
jumping to f7fac8d0
stack = ffdfa520
argv[00000000] = /usr/local/bin/../lib/../bin/wine-preloader
argv[00000001] = /usr/local/bin/../lib/../bin/wine-pthread
argv[00000002] = jardinains_1_2.exe
AT_SYSINFO = ffffe400
AT_SYSINFO_EHDR = ffffe000
AT_HWCAP = bfebfbff
AT_PAGESZ = 00001000
AT_CLKTCK = 00000064
AT_PHDR = 7bfff034
AT_PHENT = 00000020
AT_PHNUM = 00000003
AT_BASE = 00000000
AT_FLAGS = 00000000
AT_ENTRY = 7c00000c
AT_UID = 000001f4
AT_EUID = 000001f4
AT_GID = 000001f4
AT_EGID = 000001f4
00000017 = 00000000
AT_PLATFORM = ffdfa68b
ph = ffdf9b70
 p_type   = 00000006
 p_flags  = 00000005
 p_offset = 00000034
 p_vaddr  = 7bf00034
 p_paddr  = 7bf00034
 p_filesz = 000000e0
 p_memsz  = 000000e0
 p_align  = 00000004
ph = ffdf9b90
 p_type   = 00000003
 p_flags  = 00000004
 p_offset = 00000400
 p_vaddr  = 7bf00400
 p_paddr  = 7bf00400
 p_filesz = 00000013
 p_memsz  = 00000013
 p_align  = 00000001
ph = ffdf9bb0
 p_type   = 00000001
 p_flags  = 00000005
 p_offset = 00000000
 p_vaddr  = 7bf00000
 p_paddr  = 7bf00000
 p_filesz = 000012c4
 p_memsz  = 000012c4
 p_align  = 00001000
ph = ffdf9bd0
 p_type   = 00000001
 p_flags  = 00000006
 p_offset = 000012c4
 p_vaddr  = 7bf022c4
 p_paddr  = 7bf022c4
 p_filesz = 00000164
 p_memsz  = 00000174
 p_align  = 00001000
ph = ffdf9bf0
 p_type   = 00000002
 p_flags  = 00000006
 p_offset = 000012d8
 p_vaddr  = 7bf022d8
 p_paddr  = 7bf022d8
 p_filesz = 000000e0
 p_memsz  = 000000e0
 p_align  = 00000004
ph = ffdf9c10
 p_type   = 00000004
 p_flags  = 00000004
 p_offset = 00000414
 p_vaddr  = 7bf00414
 p_paddr  = 7bf00414
 p_filesz = 00000020
 p_memsz  = 00000020
 p_align  = 00000004
ph = ffdf9c30
 p_type   = 6474e551
 p_flags  = 00000006
 p_offset = 00000000
 p_vaddr  = 00000000
 p_paddr  = 00000000
 p_filesz = 00000000
 p_memsz  = 00000000
 p_align  = 00000004
ph = ffdf9b70
 p_type   = 00000001
 p_flags  = 00000005
 p_offset = 00000000
 p_vaddr  = 43a6d000
 p_paddr  = 43a6d000
 p_filesz = 00018750
 p_memsz  = 00018750
 p_align  = 00001000
ph = ffdf9b90
 p_type   = 00000001
 p_flags  = 00000006
 p_offset = 00018c80
 p_vaddr  = 43a86c80
 p_paddr  = 43a86c80
 p_filesz = 00000988
 p_memsz  = 00000a48
 p_align  = 00001000
ph = ffdf9bb0
 p_type   = 00000002
 p_flags  = 00000006
 p_offset = 00018ef8
 p_vaddr  = 43a86ef8
 p_paddr  = 43a86ef8
 p_filesz = 000000c8
 p_memsz  = 000000c8
 p_align  = 00000004
ph = ffdf9bd0
 p_type   = 6474e550
 p_flags  = 00000004
 p_offset = 00018220
 p_vaddr  = 43a85220
 p_paddr  = 43a85220
 p_filesz = 00000114
 p_memsz  = 00000114
 p_align  = 00000004
ph = ffdf9bf0
 p_type   = 6474e551
 p_flags  = 00000006
 p_offset = 00000000
 p_vaddr  = 00000000
 p_paddr  = 00000000
 p_filesz = 00000000
 p_memsz  = 00000000
 p_align  = 00000004
ph = ffdf9c10
 p_type   = 6474e552
 p_flags  = 00000004
 p_offset = 00018c80
 p_vaddr  = 43a86c80
 p_paddr  = 43a86c80
 p_filesz = 00000380
 p_memsz  = 00000380
 p_align  = 00000001
7bf00034 00000007
00000001 00000001
00000001 00000094
00000001 00000179
0000000f 000001c1
0000000c 7bf00b94
0000000d 7bf0123c
6ffffef5 7bf00434
00000005 7bf00770
00000006 7bf004e0
0000000a 0000027f
0000000b 00000010
00000015 00000000
00000003 7bf023bc
00000002 000000b0
00000014 00000011
00000017 7bf00ae4
00000011 7bf00ad4
00000012 00000010
00000013 00000008
6ffffffe 7bf00a44
6fffffff 00000003
6ffffff0 7bf009f0
wine_main_preload_info not found
New auxiliary info:
AT_SYSINFO = ffffe400
AT_SYSINFO_EHDR = ffffe000
AT_HWCAP = bfebfbff
AT_PAGESZ = 00001000
AT_CLKTCK = 00000064
AT_PHDR = 7bf00034
AT_PHENT = 00000020
AT_PHNUM = 00000007
AT_BASE = b4526000
AT_FLAGS = 00000000
AT_ENTRY = 7bf00d20
AT_UID = 000001f4
AT_EUID = 000001f4
AT_GID = 000001f4
AT_EGID = 000001f4
00000017 = 00000000
AT_PLATFORM = ffdfa68b
new stack = ffdfa524
jumping to f7f938d0
wine: could not load L"Z:\\home\\proski\\dist\\windows\\jardinains_1_2.exe": Invalid address


Reply via email to