[
https://issues.apache.org/jira/browse/XERCESC-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boris Kolpackov closed XERCESC-1354.
------------------------------------
Resolution: Cannot Reproduce
Seeing that there is no feeback nor test case from the reporter I am closing
this issue. Feel free to reopen it if there is more information.
> Parallel parsing with validation
> --------------------------------
>
> Key: XERCESC-1354
> URL: https://issues.apache.org/jira/browse/XERCESC-1354
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (XML Schema)
> Affects Versions: 2.5.0
> Environment: Linux SMP
> Reporter: mind
>
> 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
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]