[revisited] [OLE #31] Dynamically Allocate the MTA

Rob Shearman rob at codeweavers.com
Thu May 5 18:00:07 CDT 2005


Dustin Navea wrote:

> >Vincent Béron wrote:
> >
> >>Le mar 11/01/2005 à 14:03, Robert Shearman a écrit :
> >>
> >>
> >>>Changelog:
> >>>- Make MTA dynamically allocated so that proxies and other 
> resources are
> >>>freed at the proper time.
> >>>- Changed/removed some incorrect comments regarding apartments.
> >>>----
> >>>
> >>>
> >>>
> >>
> >>This patch broke wineprefixcreate invocation for me.
> >>
> >>What happens is I get a:
> >>X Error of failed request:  BadWindow (invalid Window parameter)
> >>  Major opcode of failed request:  18 (X_ChangeProperty)
> >>  Resource id in failed request:  0x77e61740
> >>  Serial number of failed request:  107
> >>  Current serial number in output stream:  114
> >>error while wineprefixcreate runs "wine rundll32.exe
> >>setupapi.dll,InstallHinfSection DefaultInstall 128 wine.inf".
> >>
> >>The error do go away if one of avifil32.dll or devenum.dll is commented
> >>out in [RegisterDllsSection] in wine.inf.
> >>
> >>My personal guess is that one (or both) of those dlls do something 
> which
> >>they should not, and we end up with using freed or unallocated memory.
> >>
> >>
> >
> >I don't see the problem on my machine. Do the tests in dlls/ole32/tests
> >work for you?
> >Is it possible to capture a +ole log for the wineprefixcreate 
> >invocation?
> >I'll do a review of the code paths that patch touches anyway, but I
> >don't see how it could affect things - devenum does not use MTAs and
> >avifil32 does not use COM.
> >
> >Rob
>
> Apparently this is affecting more than 1 user (see bug 2398).  Was the 
> cause (and a proper fix) ever found for this problem other than 
> commenting out the necessary line?


The problem was a heap overrun in quartz. The bug was fixed. I haven't 
seen any more reports of this problem with cvs Wine.

Rob



More information about the wine-devel mailing list