[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)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 2 14:09:11 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=22551

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Capture One 5.x fails on    |Multiple .NET apps fail to
                   |startup due to riched20.dll |load riched20.dll into
                   |module load address too     |memory (.NET
                   |high (.NET                  |Framework/Windows Forms
                   |Framework/Windows Forms     |wants riched20.dll loaded
                   |wants riched20.dll loaded   |into lower 2GiB address
                   |into lower 2GiB address     |space range)
                   |space range)                |

--- Comment #8 from Anastasius Focht <focht at gmx.net> 2012-07-02 14:09:11 CDT ---
Hello,

this also affects "SongSmith 1.0.2" installer (at least on my system).

Managed exception dump:

--- snip ---
Exception object: 00ffe1dc
Exception type: System.ComponentModel.Win32Exception
Message: Cannot load the "RichEd20.DLL" DLL into memory.
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult: 80004005
--- snip ---

CLR stack:

--- snip ---
OS Thread Id: 0x3b (1)
ESP       EIP     
006ee0bc 7b83953f [HelperMethodFrame: 006ee0bc] 
006ee160 037d9838 System.Windows.Forms.RichTextBox.get_CreateParams()
006ee1ac 03421bde System.Windows.Forms.Control..ctor(Boolean)
006ee220 0342aa49 System.Windows.Forms.TextBoxBase..ctor()
006ee234 036476ac System.Windows.Forms.RichTextBox..ctor()
006ee23c 04035b96 SSCustomInstaller.SSReq.InitializeComponent()
006ee2a0 04035b51 SSCustomInstaller.SSReq..ctor()
006ee2a8 04035500
SSCustomInstaller.SSInstaller.SSInstaller_BeforeInstall(System.Object,
System.Configuration.Install.InstallEventArgs)
006ee2c8 649e44f8
System.Configuration.Install.Installer.OnBeforeInstall(System.Collections.IDictionary)
006ee2d4 649e3d60
System.Configuration.Install.Installer.Install(System.Collections.IDictionary)
006ee31c 04034c2a
SSCustomInstaller.SSInstaller.Install(System.Collections.IDictionary)
006ee350 649e3fc6
System.Configuration.Install.Installer.Install(System.Collections.IDictionary)
006ee398 649e5d38
System.Configuration.Install.AssemblyInstaller.Install(System.Collections.IDictionary)
006ee3d0 649e7f6e
System.Configuration.Install.ManagedInstallerClass.InstallHelper(System.String[])
006ee494 649e7734
System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(System.String,
Int32)
--- snip ---

Add explicit load address < 2 GiB address range using EXTRADLLFLAGS to:

http://source.winehq.org/git/wine.git/blob/81b8ee863e1d22e7e169c98e660ad5a6ea7b6ec4:/dlls/riched20/Makefile.in

Make sure to not overlap existing explicit image base from core dlls.
Rebuild.
This fixes the affected apps.

Another download:
http://research.microsoft.com/en-us/um/redmond/projects/songsmith/download.html
("SongSmith 1.0.2")

$ wine --version
wine-1.5.7-309-gb4da889

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list