[ http://nagoya.apache.org/jira/browse/XERCESC-958?page=history ]
Alberto Massari updated XERCESC-958: ------------------------------------ Priority: Major > DOMImplementation Multi-Thread > ------------------------------ > > Key: XERCESC-958 > URL: http://nagoya.apache.org/jira/browse/XERCESC-958 > Project: Xerces-C++ > Type: Bug > Components: DOM > Versions: 2.3.0 > Environment: Operating System: Other > Platform: PC > Reporter: Martial Gourde > Assignee: Xerces-C Developers Mailing List > > In multi-thread apps I get an Access Violation (C0000005) error at the > getDOMImplementation method when the second and subsequent threads starts. > More precisely the failure occurs at the XMLMutex::lock() call. The code I > used was derived from the DOMCount example. The three source lines may be of > interest where 'xmlParser' is defined as 'DOMBuilder *' : > static const XMLCh gLS[] = { chLatin_L, chLatin_S, chNull }; > DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(gLS); > xmlParser = ((DOMImplementationLS*)impl)->createDOMBuilder > (DOMImplementationLS::MODE_SYNCHRONOUS, 0); > Thanks > Martial Gourde -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.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]