[xsd-users] Help to find the cause of the crash

Prakash, Arul Arul.Prakash2 at rsa.com
Fri Mar 21 14:57:30 EDT 2014


Hi,

When I run my multithreaded application an  quadcore machine I am facing a crash in xerces dll. My windbg stacktrace points out this

FAULTING_IP:
xerces_c_3_1_vc80!xercesc_3_1::DOMImplementationRegistry::getDOMImplementation+31
120e2681 8b30            mov     esi,dword ptr [eax]

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 120e2681 (xerces_c_3_1_vc80!xercesc_3_1::DOMImplementationRegistry::getDOMImplementation+0x00000031)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: 00000000
Attempt to read from address 00000000

FAULTING_THREAD:  000019ec

I tried to catch this exception with these catch blocks unsuccessfully

catch (const XMLException& toCatch)
    {
        char* message = XMLString::transcode(toCatch.getMessage());
        cout << "xerces exception :" << message;
        XMLString::release(&message);
        return -1;
    }
    catch (const DOMException& toCatch)
    {
        char* message = XMLString::transcode(toCatch.msg);
        cout <<"xerces DOMexception :" << message;
        XMLString::release(&message);
        return -1;
    }

What could be the reason for this exception?

Thanks
Arul


More information about the xsd-users mailing list