Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Not A Problem
-
Nightly build (please specify the date), 3.1.1
-
None
-
Windows 8.1 x64
Description
Hi there,
When I run
(...)
XMLPlatformUtils::Terminate();
cout << "Closing all resources..." << endl;
_fcloseall(); // <<<< Here gives error
Error appear to be because is called:
void SAX2XMLReaderImpl::cleanUp()
{
fMemoryManager->deallocate(fAdvDHList); <<<< Error here
delete fScanner;
(...)
and fAdvDHList is NULL and create exception:
fAdvDHList 0x000000b230b36940
xercesc_3_1::XMLDocumentHandler * *
"Access violation reading location 0xFFFFFFFFFFFFFFFF."
The following code also breaks.
if I use the error is gone:
gp.release(); (auto_ptr<XMLGrammarPool> gp...)
parser.release(); (auto_ptr<SAX2XMLReader> parser(create_parser(gp.get()));-.....)
Should not be included when calling XMLPlatformUtils::Terminate ?
Thanks
Ricardo