You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2018/03/12 02:28:00 UTC

[jira] [Resolved] (XERCESC-1420) XMLPlatformUtils::makeMutex() creates mutex objects using the C++ runtime heap instead of using a MemoryManager instance

     [ https://issues.apache.org/jira/browse/XERCESC-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor resolved XERCESC-1420.
-----------------------------------
    Resolution: Fixed

> XMLPlatformUtils::makeMutex() creates mutex objects using the C++ runtime heap instead of using a MemoryManager instance
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1420
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1420
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.6.0
>            Reporter: David Bertoni
>            Assignee: David Bertoni
>            Priority: Blocker
>             Fix For: 2.7.0
>
>         Attachments: XMLHolder.c, XMLHolder.hpp, patch.txt
>
>
> XMLPlatformUtils::makeMutex() needs to accept a MemoryManager instance as a parameter to use pluggable memory management.  As it stands now, mutex objects on the various platforms are created using the C++ run-time heap.  This is causing memory allocation issues and crashes in our application.
> I am preparing a patch, but it covers all platforms, so I won't be able to test every one of them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org