[ros-bugs] [Bug 5683] heap: driver installer error with new heap

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Tue Oct 19 06:14:36 UTC 2010


http://www.reactos.org/bugzilla/show_bug.cgi?id=5683


RoMe <roelmessiant at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roelmessiant at gmail.com




--- Comment #1 from RoMe <roelmessiant at gmail.com>  2010-10-19 06:14:34 CET ---
This occurs when a virtual allocated heap entry gets reallocated to a smaller
size. Part of the memory may be eligible for decommit or release in such a
case.

The code attempts to release part of the memory then, but ReactOS can't do a
partial release yet, so it fails. A decommit can be used, but
NtFreeVirtualMemory doesn't properly return how much memory has been
decommitted yet, so it would screw up the heap entry's metadata.

When the heap entry is free, the heap is destroyed or the process exits, the
memory does get properly released. In a nutshell: can be safely ignored until
the MM rewrite is complete.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Ros-bugs mailing list