DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21708>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

DOMImplementation Multi-Thread

           Summary: DOMImplementation Multi-Thread
           Product: Xerces-C++
           Version: 2.3.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

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

Reply via email to