<div dir="ltr"><span style="font-size:12.800000190734863px">Hi,</span><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I am exploring SAML2.0 C++ version. I followed the code snippet to Unmarshall the XML.</div><div style="font-size:12.800000190734863px"><a href="https://wiki.shibboleth.net/confluence/display/OpenSAML/OSTwoUsrManCPPCreateFromXML" target="_blank" style="color:purple;font-family:calibri,sans-serif;font-size:14px">https://wiki.shibboleth.net/<wbr>confluence/display/OpenSAML/<wbr>OSTwoUsrManCPPCreateFromXML</a><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I see a core dump while calling XMLString::transcode. Here is the stack. </div><div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Program terminated with signal SIGSEGV, Segmentation fault.</div><div style="font-size:12.800000190734863px">#0  0x00007f8c15587ea0 in xercesc_3_1::XMLString::<wbr>transcode (toTranscode=0x0, manager=0x0) at xercesc/util/XMLString.cpp:615</div><div style="font-size:12.800000190734863px">615<span class="gmail-m_3981983477279635584gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>    return gTranscoder->transcode(<wbr>toTranscode, manager);</div><div style="font-size:12.800000190734863px">(gdb) bt</div><div style="font-size:12.800000190734863px">#0  0x00007f8c15587ea0 in xercesc_3_1::XMLString::<wbr>transcode (toTranscode=0x0, manager=0x0) at xercesc/util/XMLString.cpp:615</div><div style="font-size:12.800000190734863px">#1  0x00007f8c1564918d in xercesc_3_1::InputSource::<wbr>InputSource (this=0x7ffc0fd0c8e0, systemId=<optimized out>, manager=<optimized out>)</div><div style="font-size:12.800000190734863px">    at xercesc/sax/InputSource.cpp:<wbr>115</div><div style="font-size:12.800000190734863px">#2  0x00007f8c15b719ee in xmltooling::StreamInputSource:<wbr>:StreamInputSource(std::<wbr>istream&, char const*) () from /usr/local/lib/libxmltooling.<wbr>so.7</div><div style="font-size:12.800000190734863px">#3  0x00007f8c15b751cd in xmltooling::ParserPool::parse(<wbr>std::istream&) () from /usr/local/lib/libxmltooling.<wbr>so.7</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I see the same issue when I ran the xmltooling test suites.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">If I am calling XMLString::transcode() then by calling  XMLPlatformUtils::Initialize() would initialise  <span style="font-family:monaco;font-size:11px">fgMemoryManager.</span></div><div>But here the call is made by the xerces-c library. In the call stack I could not see reference to call above API to intialize.</div></div><div><br></div><div>is there any macro need to be enabled to get rid of this error.</div><div><br></div><div>Please let me know the right group if this is only related usage of Shibboleth IDP.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I would appreciate your help.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Regards,</div><div style="font-size:12.800000190734863px">Akbar</div></div>