Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.7.0, 2.8.0
-
None
-
Tru64 5.1, gcc 3.4.4
Description
in src/xercesc/util/Platforms/Tru64/Tru64PlatformUtils.cpp:
void* XMLPlatformUtils::makeMutex(MemoryManager* manager)
{ return new (manager) RecursiveMutex(manager); }placement overload of new uses STL overload instead of the overload in XMemory, since RecursiveMutex doesn't inherit from XMemory, hence, each consequential instantiation of Mutex overwrites memory manager, causing xercesc to crash.
A trivial fix for this would be:
-class RecursiveMutex
+class RecursiveMutex : public XMemory