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 "Ricardo (JIRA)" <xe...@xml.apache.org> on 2015/01/25 10:27:34 UTC

[jira] [Created] (XERCESC-2042) SAX2XMLReaderImpl::cleanUp() »» access violation when call _fcloseall();

Ricardo created XERCESC-2042:
--------------------------------

             Summary: SAX2XMLReaderImpl::cleanUp() »» access violation when call _fcloseall();  
                 Key: XERCESC-2042
                 URL: https://issues.apache.org/jira/browse/XERCESC-2042
             Project: Xerces-C++
          Issue Type: Bug
          Components: SAX/SAX2, Validating Parser (XML Schema)
    Affects Versions: Nightly build (please specify the date), 3.1.1
         Environment: Windows 8.1 x64
            Reporter: Ricardo
            Priority: Trivial


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 {0x0000000000000000 <NULL>}	xercesc_3_1::XMLDocumentHandler * *
 "Access violation reading location 0xFFFFFFFFFFFFFFFF."

The following code also breaks.

Thanks
Ricardo



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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