http://bugs.winehq.org/show_bug.cgi?id=34842
Bug #: 34842 Summary: Garmin BaseCamp 4.1.2 sometimes fails to run when late-bound riched20.dll preferred load base address is already occupied and PE mapped into >2 GiB address range Product: Wine Version: 1.7.5 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
Garmin BaseCamp 4.1.2 runs pretty good with MS .NET Framework 3.5 installed.
There are (albeit rare) cases of startup failures when Wine loader fails to map builtin RichEd20.dll to its preferred load base address because it is already taken by another module.
RichEd20 needs a load address in lower 2 GiB virtual address space. See bug 22551 "Multiple .NET apps fail to load riched20.dll into memory (.NET Framework/Windows Forms wants riched20.dll loaded into lower 2GiB address space range)" for info.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Garmin/BaseCamp ... $ wine ./BaseCamp.exe ... err:eventlog:ReportEventW L"clr20r3" err:eventlog:ReportEventW L"basecamp.exe" err:eventlog:ReportEventW L"4.1.2.0" err:eventlog:ReportEventW L"5134f30b" err:eventlog:ReportEventW L"system.windows.forms" err:eventlog:ReportEventW L"2.0.0.0" err:eventlog:ReportEventW L"471ebf68" err:eventlog:ReportEventW L"4ecd" err:eventlog:ReportEventW L"5b" err:eventlog:ReportEventW L"system.componentmodel.win32" err:eventlog:ReportEventW L"NIL" fixme:advapi:DeregisterEventSource (0xcafe4242) stub err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub err:ole:CoUninitialize Mismatched CoUninitialize err:ole:CoUninitialize Mismatched CoUninitialize
Unhandled Exception: System.ComponentModel.Win32Exception: Cannot load the "RichEd20.DLL" DLL into memory. at System.Windows.Forms.RichTextBox.get_CreateParams() at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext) at System.Windows.Forms.TextBoxBase..ctor() at System.Windows.Forms.RichTextBox..ctor() at bc.FatalErrorDialog_t.InitializeComponent() at bc.FatalErrorDialog_t..ctor(basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
- aAppName)
at bc.FatalError_t.Display(SByte* aFilename, UInt16 aLineNumber, basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >* aWhat, basic_string<char,std::char_traits<char>,std::allocator<char> >* aSubId, Optional_t<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
- aOpenGLVersion,
vector<std::pair<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
,std::allocator<std::pair<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
- aFileList)
at bc.FatalError_t..ctor(Exception aException, Optional_t<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
- aOpenGLVersion,
vector<std::pair<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
,std::allocator<std::pair<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> ,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
- aFileList)
at main(String[] aArgs) at mainCRTStartupStrArray(String[] arguments) wine: Unhandled exception 0xe0434f4d in thread 33 at address 0x7b83a8bf (thread 0033), starting debugger... --- snip ---
RichEd20.dll has a preferred load address:
--- snip --- EXTRADLLFLAGS = -Wl,--image-base,0x7ac00000 --- snip ---
Address space layout in case of collision:
--- snip --- Module Address Debug info Name (139 modules) PE 340000- 362000 Deferred zlibwapi PE 400000- 25a7000 Deferred basecamp PE 25b0000- 278d000 Deferred xerceslib PE 2790000- 2bc6000 Deferred ogckml PE 2df0000- 337f000 Export mscorwks PE e610000- e6ae000 Deferred system.drawing PE e9c0000- ecb2000 Deferred system PE f270000- f73a000 Deferred system.windows.forms PE 10000000-100e5000 Deferred exiv2 PE 5e3a0000-5e42d000 Deferred diasymreader PE 60000000-60008000 Deferred accessibility PE 637a0000-6399c000 Deferred system.xml PE 64020000-64033000 Deferred mscorsec PE 64890000-648fc000 Deferred system.configuration PE 67510000-6756e000 Deferred system.management PE 6a310000-6a31a000 Deferred wminet_utils PE 74e60000-74e79000 Deferred wmiutils PE 78130000-781cb000 Deferred msvcr80 PE 783f0000-78433000 Deferred msvcm90 PE 79000000-79046000 Export mscoree PE 79060000-790b6000 Deferred mscorjit PE 790c0000-79500000 Deferred mscorlib ELF 79afa000-7b800000 Deferred libnvidia-glcore.so.304.108 ELF 7b800000-7ba60000 Dwarf kernel32<elf> -PE 7b810000-7ba60000 \ kernel32 ... ELF f6a22000-f6a89000 Deferred riched20<elf> -PE f6a30000-f6a89000 \ riched20 --- snip ---
"libnvidia-glcore.so.304.108" took the place earlier and "riched20.dll" was mapped into > 2 GiB address space which .NET runtime doesn't like.
Maybe Wine loader could try to map dlls which have requirements of preferred load address always in < 2 GiB address range for Windows compatiblity.
Regards
http://bugs.winehq.org/show_bug.cgi?id=34842
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://www.gawisp.com/perry | |/mapsource/BaseCamp_412.exe
--- Comment #1 from Anastasius Focht focht@gmx.net 2013-11-02 06:36:53 CDT --- Hello folks,
filling fields...
Prerequisite: 'winetricks -q dotnet35' in 32-bit WINEPREFIX
$ sha1sum BaseCamp_412.exe f48b8813dc7f92f1d4fe3a162c3428ed7095d529 BaseCamp_412.exe
$ du -sh BaseCamp_412.exe 51M BaseCamp_412.exe
$ wine --version wine-1.7.5-251-gbcf4ded
Regards
https://bugs.winehq.org/show_bug.cgi?id=34842
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, likely still present.
$ wine --version wine-1.7.40-29-gc1c108f
Regards
https://bugs.winehq.org/show_bug.cgi?id=34842
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Garmin BaseCamp 4.1.2 |Multiple .NET 3.5 apps |sometimes fails to run when |occasionally fail to run |late-bound riched20.dll |when late-bound |preferred load base address |'riched20.dll' prelink |is already occupied and PE |address is already occupied |mapped into >2 GiB address |and PE mapped into >2 GiB |range |address range (Garmin | |BaseCamp 4.1.2, GZDoom | |Builder 2.3)
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Also encountered with GZDoom Builder 2.3 (.NET 3.5 app), from bug 41253
Download: http://devbuilds.drdteam.org/doombuilder2-gzdb/GZDoom%20Builder%20R2364%20In...
Prerequisite:
* clean 64-bit WINEPREFIX * .NET Framework 3.5 installed * .NET GAC updated with 'wine "c:\windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe" update /force'
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/GZDoom Builder
$ wine ./Builder.exe ... 00f6:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00001388,(nil),0x000b,0x00000100,0x3009b09c,0x6cda98): stub 00f6:err:eventlog:ReportEventW L"clr20r3" 00f6:err:eventlog:ReportEventW L"builder.exe" 00f6:err:eventlog:ReportEventW L"2.3.0.2364" 00f6:err:eventlog:ReportEventW L"55a4d369" 00f6:err:eventlog:ReportEventW L"system.windows.forms" 00f6:err:eventlog:ReportEventW L"2.0.0.0" 00f6:err:eventlog:ReportEventW L"471ebf68" 00f6:err:eventlog:ReportEventW L"4ecd" 00f6:err:eventlog:ReportEventW L"5b" 00f6:err:eventlog:ReportEventW L"system.componentmodel.win32" 00f6:err:eventlog:ReportEventW L"NIL" 00f6:fixme:advapi:DeregisterEventSource (0xcafe4242) stub 00f6:fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub 00f6:fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
Unhandled Exception: System.ComponentModel.Win32Exception: Cannot load the "RichEd20.DLL" DLL into memory. at System.Windows.Forms.RichTextBox.get_CreateParams() at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext) at System.Windows.Forms.TextBoxBase..ctor() at System.Windows.Forms.RichTextBox..ctor() at CodeImp.DoomBuilder.DebugConsole.InitializeComponent() at CodeImp.DoomBuilder.DebugConsole..ctor() at CodeImp.DoomBuilder.Windows.MainForm.InitializeComponent() at CodeImp.DoomBuilder.Windows.MainForm..ctor() at CodeImp.DoomBuilder.General.Main(String[] args) wine: Unhandled exception 0xe0434f4d in thread 9 at address 0x7b4473c7 (thread 0009), starting debugger... --- snip ---
--- snip --- $ Wine-dbg>info process pid threads executable (all id:s are in hex) ... 00000013 4 'explorer.exe' 0000000e 6 'services.exe' 0000002f 4 _ 'winedevice.exe' 0000002a 3 _ 'plugplay.exe' 00000024 4 _ 'winedevice.exe' 00000011 4 _ 'mscorsvw.exe' 00000008 3 'Builder.exe'
Wine-dbg>info share Module Address Debug info Name (112 modules) PE 400000- 67a000 Deferred builder PE 2ca0000- 393c000 Export system.windows.forms.ni PE 40c0000- 437e000 Deferred devil PE 10000000-103a7000 Deferred slimdx PE 5e3a0000-5e42d000 Deferred diasymreader PE 637a0000-63d28000 Deferred system.xml.ni PE 641f0000-6420e000 Deferred shfusion PE 783f0000-78433000 Deferred msvcm90 PE 79000000-79070000 Export mscoree PE 79000000-79070000 Export mscorjit PE 790c0000-79bf6000 Deferred mscorlib.ni PE 79e70000-7a3ff000 Export mscorwks PE 7a440000-7ac2a000 Deferred system.ni PE 7ade0000-7af7c000 Deferred system.drawing.ni ELF 7b400000-7b7f4000 Dwarf kernel32<elf> -PE 7b420000-7b7f4000 \ kernel32 ELF 7bc00000-7bd10000 Dwarf ntdll<elf> -PE 7bc30000-7bd10000 \ ntdll ELF 7c000000-7c004000 Deferred <wine-loader> ELF 7e9e0000-7ea07000 Deferred libtinfo.so.6 ELF 7ea07000-7ea34000 Deferred libncurses.so.6 ELF 7eead000-7eec1000 Deferred libnss_files.so.2 ELF 7eec1000-7efc3000 Deferred libm.so.6 ELF f53b4000-f544b000 Deferred riched20<elf> -PE f53d0000-f544b000 \ riched20 ... --- snip ---
In this case 'system.ni' (NGENed native image of MSIL 'system.dll') occupies the address range, forcing relocation of 'riched20.dll' (virtual base address > 2 GB).
$ sha1sum GZDoom\ Builder\ R2364\ Installer.7z aa65a19b1275deb09680f4227f81218d27308422 GZDoom Builder R2364 Installer.7z
$ du -sh GZDoom\ Builder\ R2364\ Installer.7z 13M GZDoom Builder R2364 Installer.7z
$ wine --version wine-3.17-94-g2e754a6527
Regards
https://bugs.winehq.org/show_bug.cgi?id=34842
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=34842
Vitaly Lipatov lav@etersoft.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lav@etersoft.ru
https://bugs.winehq.org/show_bug.cgi?id=34842
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gawisp.com/perry |https://web.archive.org/web |/mapsource/BaseCamp_412.exe |/20171027004627/http://www. | |gawisp.com/perry/mapsource/ | |BaseCamp_412.exe
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable links from Internet Archive:
https://web.archive.org/web/20171027004627/http://www.gawisp.com/perry/mapso...
https://web.archive.org/web/20170113164445/http://devbuilds.drdteam.org/doom...
An instance where 'riched20.dll' was successfully relocated into lower 2 GB range. 'system.ni' (NGENed native image of MSIL 'system.dll') occupies the preferred address range.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/GZDoom Builder
$ winedbg ./Builder.exe ... Wine-dbg>info share
Module Address Debug info Name (164 modules) PE 330000- 3d8000 Deferred shlwapi PE 330000- 3d8000 Deferred version PE 400000- 67a000 Deferred builder PE ac0000- af9000 Deferred imm32 PE d70000- d9f000 Deferred shcore PE da0000- 11c1000 Deferred ole32 PE da0000- 11c1000 Deferred rpcrt4 PE 3400000- 351e000 Deferred setupapi PE 3780000- 3abe000 Deferred comctl32 PE 3780000- 3abe000 Deferred usp10 PE 3ad0000- 3b32000 Deferred uxtheme PE 3b30000- 3b36000 Deferred fusion PE 3b60000- 47fc000 Deferred system.windows.forms.ni PE 4810000- 4898000 Deferred rsaenh PE 48b0000- 49e2000 Deferred winmm PE 48b0000- 49e2000 Deferred msacm32 PE 4b80000- 4b8b000 Deferred shfolder PE 4f70000- 5317000 Deferred slimdx PE 5320000- 53ae000 Deferred msvcp90 PE 5730000- 59ee000 Deferred devil PE 59f0000- 5a77000 Deferred msvcp80 PE 5ee0000- 61e8000 Deferred oleaut32 PE 6140000- 6191000 Deferred propsys PE 6210000- 63c0000 Deferred riched20 PE 6850000- 6968000 Deferred d3d9 PE 6960000- 6b94000 Deferred d3dx9_43 PE 6960000- 6b94000 Deferred d3dcompiler_47 PE 6c40000- 6c97000 Deferred d3dxof PE 6c90000- 6d48000 Deferred buildermodes PE 6e40000- 6e5c000 Deferred buildereffects PE 6e90000- 6ea2000 Deferred colorpicker PE 6eb0000- 6ebe000 Deferred commentspanel PE 6f00000- 6f12000 Deferred nodesviewer PE 6f40000- 6f56000 Deferred soundpropagationmode PE 6fa0000- 6fac000 Deferred tagrange PE 6fd0000- 6fe2000 Deferred tagexplorer PE 7000000- 702a000 Deferred visplaneexplorer PE 7070000- 711b000 Deferred 4mpt51bj PE 7120000- 71cb000 Deferred 0zbjqzwk PE 71d0000- 727b000 Deferred gbw9czhk PE 7280000- 732b000 Deferred 6z76euj4 PE 7330000- 73db000 Deferred bbsv1u54 PE 73e0000- 748b000 Deferred 2y3s4p6m PE 7490000- 753b000 Deferred 8bnhppqm PE 7540000- 75eb000 Deferred dn08bobn PE 7720000- 778e000 Deferred sharpcompress.3.5 PE 7b40000- 7b74000 Deferred jsproxy PE 7cd0000- 7d0f000 Deferred mpr PE 82a0000- 82b1000 Deferred dhcpcsvc PE 10000000-10224000 Deferred kernelbase PE 5e3a0000-5e42d000 Deferred diasymreader PE 60340000-60348000 Deferred culture PE 637a0000-63d28000 Deferred system.xml.ni PE 641f0000-6420e000 Deferred shfusion PE 64220000-64238000 Deferred shfusres PE 64890000-6498c000 Deferred system.configuration.ni PE 6a640000-6b0bc000 Deferred system.design.ni PE 783f0000-78433000 Deferred msvcm90 PE 79000000-79070000 Deferred mscoree PE 79060000-790b6000 Deferred mscorjit PE 790c0000-79bf6000 Deferred mscorlib.ni PE 79e70000-7a3ff000 Deferred mscorwks PE 7a440000-7ac2a000 Deferred system.ni PE 7ade0000-7af7c000 Deferred system.drawing.ni ELF 7b400000-7b670000 Dwarf kernel32<elf> -PE 7b420000-7b670000 \ kernel32 ELF 7bc00000-7beb1000 Dwarf ntdll<elf> -PE 7bc30000-7beb1000 \ ntdll ELF 7c000000-7c004000 Deferred <wine-loader> ... ELF f7b6e000-f7d11000 Deferred libc.so.6 ELF f7d11000-f7d30000 Deferred libpthread.so.0 ELF f7d72000-f7f24000 Dwarf libwine.so.1 ELF f7f26000-f7f4f000 Deferred ld-linux.so.2 --- snip ---
I'm not sure if this should be fixed in Wine by complicating the loader code. Apparently this problem occasionally appears on Windows as well:
* https://forums.tomshardware.com/threads/why-does-my-x360ce-emulator-show-thi... ("Why does my x360ce emulator show this error : RichEd20.dll when i launch it?")
* https://youtrack.jetbrains.com/issue/RSRP-131974 ("System.ComponentModel.Win32Exception: Cannot load the "RichEd20.DLL" DLL into memory. ")
If we follow "bug for bug compatibility" paradigm this could be a documented 'WONTFIX' as well ;-)
$ wine --version wine-5.0-rc4
Regards
https://bugs.winehq.org/show_bug.cgi?id=34842
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- I expect that this is fixed by building it as PE, since in that case it will get loaded in the reserved area. I don't think there's much we can do about the ELF version.
https://bugs.winehq.org/show_bug.cgi?id=34842
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |a6d57b0addc9513f1a938466882 | |5eadf60a51035 Component|ntdll |richedit
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/a6d57b0addc9513f1a93846688... ("riched20: Build with msvcrt."), part of Wine 4.11 release.
Thanks Alexandre
The case with 32-bit 'riched20.dll' PE loaded at preferred load address 0x7ac00000:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/GZDoom Builder
$ winedbg ./Builder.exe ... Wine-dbg>info share
Module Address Debug info Name (83 modules) PE 320000- 35b000 Deferred shlwapi PE 360000- 372000 Deferred shcore PE 380000- 3db000 Deferred setupapi PE 3e0000- 3ea000 Deferred version PE 400000- 67a000 Deferred builder PE 1020000- 1086000 Deferred rpcrt4 PE 1090000- 11a6000 Deferred ole32 PE 11a0000- 11b4000 Deferred imm32 PE 3d20000- 3e45000 Deferred comctl32 PE 3e50000- 3e89000 Deferred usp10 PE 3e90000- 3eb7000 Deferred uxtheme PE 3ec0000- 3ec6000 Deferred fusion PE 3ee0000- 3f43000 Deferred dbghelp PE 43a0000- 43d5000 Deferred rsaenh PE 4420000- 44cb000 Deferred winmm PE 44d0000- 44ee000 Deferred msacm32 PE 44f0000- 457d000 Deferred msvcp90 PE 4c10000- 50da000 Deferred system.windows.forms PE 50e0000- 5487000 Deferred slimdx PE 5d50000- 5d56000 Deferred shfolder PE 5d80000- 603e000 Deferred devil PE 6040000- 60c7000 Deferred msvcp80 PE 62b0000- 63b8000 Deferred oleaut32 PE 6390000- 63aa000 Deferred propsys PE 6970000- 699d000 Deferred d3d9 PE 69e0000- 6a6c000 Deferred d3dx9_43 PE 6a70000- 6acc000 Deferred d3dcompiler_47 PE 6ad0000- 6aec000 Deferred d3dxof PE 6b60000- 6b7c000 Deferred buildereffects PE 6c70000- 6d28000 Deferred buildermodes PE 6d40000- 6d52000 Deferred colorpicker PE 6d80000- 6d8e000 Deferred commentspanel PE 6da0000- 6db2000 Deferred nodesviewer PE 6de0000- 6df6000 Deferred soundpropagationmode PE 6e30000- 6e42000 Deferred tagexplorer PE 6e80000- 6e8c000 Deferred tagrange PE 6ea0000- 6eca000 Deferred visplaneexplorer PE 6f20000- 6fcb000 Deferred vlwrgctb PE 6fd0000- 707b000 Deferred ij3fjjdk PE 7080000- 712b000 Deferred qenlyqre PE 7130000- 71db000 Deferred 9tek7zb0 PE 71e0000- 728b000 Deferred iagdor5v PE 7290000- 733b000 Deferred 9a47oc1c PE 7340000- 73eb000 Deferred hguxjukk PE 73f0000- 749b000 Deferred gb3s4ngz PE 75e0000- 764e000 Deferred sharpcompress.3.5 PE 7f90000- 7fa2000 Deferred jsproxy PE 7fb0000- 7fb9000 Deferred dhcpcsvc PE 8060000- 807b000 Deferred mpr PE 10000000-10023000 Deferred sechost PE 60000000-60008000 Deferred accessibility PE 60340000-60348000 Deferred culture PE 603b0000-60416000 Deferred mscoreei PE 637a0000-6399c000 Deferred system.xml PE 641f0000-6420e000 Deferred shfusion PE 64220000-64238000 Deferred shfusres PE 64890000-648fc000 Deferred system.configuration PE 6a640000-6ab1a000 Deferred system.design PE 783f0000-78433000 Deferred msvcm90 PE 79000000-7906f000 Deferred mscoree PE 79060000-790b6000 Deferred mscorjit PE 790c0000-79500000 Deferred mscorlib PE 79e70000-7a3ff000 Deferred mscorwks PE 7a440000-7a732000 Deferred system PE 7a840000-7a844000 Deferred opengl32 PE 7ac00000-7ac6a000 Deferred riched20 PE 7ade0000-7ae7e000 Deferred system.drawing PE 7b000000-7b09e000 Deferred kernelbase PE 7b420000-7b5db000 Export kernel32 PE 7bc30000-7bc34000 Deferred ntdll PE f4230000-f4234000 Deferred iphlpapi PE f5160000-f5164000 Deferred wined3d PE f5b80000-f5b86000 Deferred windowscodecs PE f5d90000-f5e33000 Deferred msvcr90 PE f5e60000-f5ea4000 Deferred crypt32 PE f6550000-f6554000 Deferred bcrypt PE f67d0000-f67d4000 Deferred winex11 PE f68a0000-f7176000 Deferred shell32 PE f72a0000-f733b000 Deferred msvcr80 PE f7570000-f7577000 Deferred gdi32 PE f76d0000-f77b8000 Deferred user32 PE f7910000-f7914000 Deferred ucrtbase PE f7a00000-f7a04000 Deferred advapi32 --- snip ---
--- snip --- PE 7ac00000-7ac6a000 Deferred riched20 --- snip ---
That's because 'system.drawing' .NET assembly hasn't been NGENed to native image yet which would otherwise occupy this area.
---
After running ngen to generate native images from .NET assemblies (GAC update), the case with 32-bit 'riched20.dll' PE relocated to reserved area:
--- snip --- Wine-dbg>info share
Module Address Debug info Name (82 modules) PE 320000- 35b000 Deferred shlwapi PE 360000- 372000 Deferred shcore PE 380000- 3db000 Deferred setupapi PE 3e0000- 3ea000 Deferred version PE 400000- 67a000 Deferred builder PE 1020000- 1086000 Deferred rpcrt4 PE 1090000- 11a6000 Deferred ole32 PE 11a0000- 11b4000 Deferred imm32 PE 3880000- 39a5000 Deferred comctl32 PE 39b0000- 39e9000 Deferred usp10 PE 39f0000- 3a17000 Deferred uxtheme PE 3a20000- 3a26000 Deferred fusion PE 3a40000- 3aa3000 Deferred dbghelp PE 3aa0000- 473c000 Deferred system.windows.forms.ni PE 4750000- 4785000 Deferred rsaenh PE 47c0000- 486b000 Deferred winmm PE 4870000- 488e000 Deferred msacm32 PE 4890000- 491d000 Deferred msvcp90 PE 4eb0000- 5257000 Deferred slimdx PE 5420000- 5426000 Deferred shfolder PE 5480000- 573e000 Deferred devil PE 5740000- 57c7000 Deferred msvcp80 PE 5940000- 5a48000 Deferred oleaut32 PE 5a20000- 5a3a000 Deferred propsys PE 5ad0000- 5b3a000 Deferred riched20 PE 5fb0000- 5fdd000 Deferred d3d9 PE 6000000- 608c000 Deferred d3dx9_43 PE 6090000- 60ec000 Deferred d3dcompiler_47 PE 60f0000- 610c000 Deferred d3dxof PE 6110000- 61c8000 Deferred buildermodes PE 62e0000- 62fc000 Deferred buildereffects PE 6330000- 633e000 Deferred commentspanel PE 6370000- 6382000 Deferred colorpicker PE 63a0000- 63b2000 Deferred nodesviewer PE 63e0000- 63f6000 Deferred soundpropagationmode PE 6430000- 6442000 Deferred tagexplorer PE 6480000- 648c000 Deferred tagrange PE 64a0000- 64ca000 Deferred visplaneexplorer PE 6510000- 65bb000 Deferred 3boqjxig PE 65c0000- 666b000 Deferred wbul9bom PE 6670000- 671b000 Deferred 0pkkrhh0 PE 6720000- 67cb000 Deferred yq4go7w3 PE 67d0000- 687b000 Deferred 7i99q0kn PE 6880000- 692b000 Deferred vo3sx8ea PE 6930000- 69db000 Deferred f1v6rxoh PE 69e0000- 6a8b000 Deferred w8n49nvl PE 6bc0000- 6c2e000 Deferred sharpcompress.3.5 PE 6f00000- 6f1b000 Deferred mpr PE 76a0000- 76b2000 Deferred jsproxy PE 78c0000- 78c9000 Deferred dhcpcsvc PE 10000000-10023000 Deferred sechost PE 60340000-60348000 Deferred culture PE 603b0000-60416000 Deferred mscoreei PE 637a0000-63d28000 Deferred system.xml.ni PE 641f0000-6420e000 Deferred shfusion PE 64220000-64238000 Deferred shfusres PE 64890000-6498c000 Deferred system.configuration.ni PE 6a640000-6b0bc000 Deferred system.design.ni PE 783f0000-78433000 Deferred msvcm90 PE 79000000-7906f000 Deferred mscoree PE 79060000-790b6000 Deferred mscorjit PE 790c0000-79bf6000 Deferred mscorlib.ni PE 79e70000-7a3ff000 Deferred mscorwks PE 7a440000-7ac2a000 Deferred system.ni PE 7ade0000-7af7c000 Deferred system.drawing.ni PE 7b000000-7b09e000 Deferred kernelbase PE 7b420000-7b5db000 Export kernel32 PE 7bc30000-7bc34000 Deferred ntdll PE f4040000-f4044000 Deferred iphlpapi PE f4f50000-f4f54000 Deferred opengl32 PE f50a0000-f50a4000 Deferred wined3d PE f5be0000-f5be6000 Deferred windowscodecs PE f5df0000-f5e93000 Deferred msvcr90 PE f5ec0000-f5f04000 Deferred crypt32 PE f65b0000-f65b4000 Deferred bcrypt PE f6840000-f6844000 Deferred winex11 PE f6900000-f71d6000 Deferred shell32 PE f7310000-f73ab000 Deferred msvcr80 PE f75d0000-f75d7000 Deferred gdi32 PE f7730000-f7818000 Deferred user32 PE f7970000-f7974000 Deferred ucrtbase PE f7a60000-f7a64000 Deferred advapi32 --- snip ---
--- snip --- PE 5ad0000- 5b3a000 Deferred riched20 --- snip ---
$ wine --version wine-5.9
Regards
https://bugs.winehq.org/show_bug.cgi?id=34842
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.10.