[Bug 48941] New: Wine's implementation of IMalloc.DidAlloc relies on a spy mechanism, while Windows just calls "HeapValidate"

WineHQ Bugzilla wine-bugs at winehq.org
Thu Apr 16 07:21:40 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48941

            Bug ID: 48941
           Summary: Wine's implementation of IMalloc.DidAlloc relies on a
                    spy mechanism, while Windows just calls "HeapValidate"
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: other
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: contact at kcsoftwares.com

Created attachment 66916
  --> https://bugs.winehq.org/attachment.cgi?id=66916
Executable allowing to raise the problem.

When using this test application :
https://jira.reactos.org/secure/attachment/56514/ros.exe initially during
ReactOS tests using latest development version, the problem described in
https://jira.reactos.org/browse/CORE-15262 has been observed.

Investigation by the ReactOS dev team, pointed out that the root cause was on
Wine side because Wine's implementation of IMalloc.DidAlloc relies on a spy
mechanism, while Windows just calls "HeapValidate".

See comments on Wine's implementation of IMalloc.DidAlloc relies on a spy
mechanism, while Windows just calls "HeapValidate" for further details.

Reproduce : 
Open ros.exe attachment
Click on button "once", select a folder : Pop-up showing the folder path
Click again on button => nothing happens due to the bug in Wine's
IMalloc.DidAlloc while this works perfectly in Windows.

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