Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-452

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-452
    Summary: Memory leak in ReaderMgr::createReader
       Type: Bug

     Status: Closed
 Resolution: WON'T FIX

    Project: Xerces-C++
 Components: 
             SAX/SAX2
   Versions:
             1.7.0

   Assignee: 
   Reporter: Georgi Kutiev

    Created: Fri, 10 May 2002 7:46 PM
    Updated: Tue, 19 Oct 2004 9:22 AM
Environment: Operating System: Other
Platform: Other

Description:
Still getting some significant leaks (even though much less than in 1.5.1).

Running xerces 1.7.0 on irix 6 (also happens on solaris 8). I noticed bug 7278
sounds similar, but the locations seem to differ.

Thanks in advance for any suggestions.


         MLK: 98392 bytes leaked at 0x11dd18b0
         This memory was allocated from:
               _malloc        [malloc.c:966]
               __nw__HUi      [new.cxx:85]
               __nw__HUi      [memtypes.c:60]
               ReaderMgr::createReader(const
InputSource&,bool,XMLReader::RefFrom,XMLReader::Types,XMLReader::Sources)
[ReaderMgr.cpp:452]
                          }
                          else
                          {
               =>             retVal = new XMLReader
                                  (
                                  src.getPublicId()
                                  , src.getSystemId()
               XMLScanner::scanReset(const InputSource&) [XMLScanner2.cpp:1045]
                      //  Handle the creation of the XML reader object for this
input source.
                      //  This will provide us with transcoding and basic lexing
services.
                      //
               =>     XMLReader* newReader = fReaderMgr.createReader
                      (
                          src
                          , true
               XMLScanner::scanFirst(const InputSource&,XMLPScanToken&,bool)
[XMLScanner.cpp:601]
                  bool XMLScanner::scanFirst( const   InputSource&    src
                                              ,       XMLPScanToken&  toFill
                                              , const bool           
reuseGrammar)
               => {
                      // Store the reuse validator flag
                      fReuseGrammar = reuseGrammar;
                  
               SAXParser::parseFirst(const InputSource&,XMLPScanToken&,bool)
[SAXParser.cpp:587]
                      if (fParseInProgress)
                          ThrowXML(IOException,
XMLExcepts::Gen_ParseInProgress);
                  
               =>     return fScanner->scanFirst(source, toFill, reuseGrammar);
                  }
                  
                  bool SAXParser::parseNext(XMLPScanToken& token)
               WLEngine::Run(char*) [wl_engine.cc:277]
                                   "WitsML document reader", 
                                   false);
                  
               =>             if (!parser.parseFirst(*WITSMLDocumentMemBuf,
token))
                              {
                                  cerr << "scanFirst() failed\n" << endl;
                                  break;
               wl_MainPanel::DoRun(void) [wl_mainpanel.cc:237]
               Ovm_RunButton(void) [wl_mainpanel.cc:210]
               ovm_StackRoot(ovm_Process*) [ovm_process.cc:1473]
               _SGIPT_pt_start [pt.c:793]


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to