Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.5.0
-
None
-
None
-
Linux SMP
Description
I do following:
1. Create xercesx::XMLGrammarPoolImpl (including xercesc/internal/XMLGrammarPoolImpl.hpp)
2. Create 2 parsers, setting this one pool for both:
new SAXParser(0,XMLPlatformUtils::fgMemoryManager,getGrammarPool())
3. Load grammar, turn on validation
4. fork
5. Do parallel parsing on 2 processors
6. Enjoy following backtrace:
(gdb) bt
#0 0x065db93c in xercesc_2_5::RefHash2KeysTableOfEnumerator<xercesc_2_5::SchemaAttDef>::findNext ()
from /usr/lib/libxerces-c.so.25
#1 0x065dc0a7 in xercesc_2_5::RefHash2KeysTableOfEnumerator<xercesc_2_5::SchemaAttDef>::Reset ()
from /usr/lib/libxerces-c.so.25
#2 0x066ae25e in xercesc_2_5::SchemaAttDefList::Reset () from /usr/lib/libxerces-c.so.25
#3 0x065d93f1 in xercesc_2_5::ComplexTypeInfo::getAttDefList () from /usr/lib/libxerces-c.so.25
#4 0x066672a4 in xercesc_2_5::getAttDefList () from /usr/lib/libxerces-c.so.25
#5 0x06661e89 in xercesc_2_5::IGXMLScanner::buildAttList () from /usr/lib/libxerces-c.so.25
#6 0x0665cdf3 in xercesc_2_5::IGXMLScanner::scanStartTagNS () from /usr/lib/libxerces-c.so.25
#7 0x06658e44 in xercesc_2_5::IGXMLScanner::scanContent () from /usr/lib/libxerces-c.so.25
#8 0x06657941 in xercesc_2_5::IGXMLScanner::scanDocument () from /usr/lib/libxerces-c.so.25
#9 0x066a0647 in xercesc_2_5::SAXParser:arse () from /usr/lib/libxerces-c.so.25
...