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 bu...@apache.org on 2001/06/06 11:10:59 UTC

[Bug 2021] New: - Janitor/MemBufInputSource crash

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2021

*** shadow/2021	Wed Jun  6 02:10:59 2001
--- shadow/2021.tmp.9901	Wed Jun  6 02:10:59 2001
***************
*** 0 ****
--- 1,22 ----
+ +============================================================================+
+ | Janitor/MemBufInputSource crash                                            |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2021                        Product: Xerces-C                |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Major                    OS/Version: Linux                   |
+ |     Priority: Other                     Component: Validating Parser (DTD) |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-c-dev@xml.apache.org                                  |
+ |  Reported By: tomas.fors@tietotech.se                                      |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When parsing a document that contains an external subset, the parser crashes in 
+ the destructor in MemBufInputSource. Looking in the source code, it seems to me 
+ that a Janitor is set twice on the input source; once in 
+ ReaderMgr::createReader method and once in the DTDScanner::scanDocTypeDecl 
+ method. When I then commented out the Janitor-statement on line 1744 in 
+ DTDScanner::scanDocTypeDecl, it worked fine.
\ No newline at end of file

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