Coredump while using xmltooling library

Akbar Bash akbar.bs at gmail.com
Thu Sep 22 18:12:34 EDT 2016


Hi,

I have installed opensaml version 2.6 and corresponding libraries. I
followed the code snippet to to parse the XML.
https://wiki.shibboleth.net/confluence/display/OpenSAML/OSTwoUsrManCPPCreateFromXML

I see a core dump while calling XMLString::transcode. Here is the stack.


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f8c15587ea0 in xercesc_3_1::XMLString::transcode
(toTranscode=0x0, manager=0x0) at xercesc/util/XMLString.cpp:615
615    return gTranscoder->transcode(toTranscode, manager);
(gdb) bt
#0  0x00007f8c15587ea0 in xercesc_3_1::XMLString::transcode
(toTranscode=0x0, manager=0x0) at xercesc/util/XMLString.cpp:615
#1  0x00007f8c1564918d in xercesc_3_1::InputSource::InputSource
(this=0x7ffc0fd0c8e0, systemId=<optimized out>, manager=<optimized out>)
    at xercesc/sax/InputSource.cpp:115
#2  0x00007f8c15b719ee in
xmltooling::StreamInputSource::StreamInputSource(std::istream&, char
const*) () from /usr/local/lib/libxmltooling.so.7
#3  0x00007f8c15b751cd in xmltooling::ParserPool::parse(std::istream&) ()
from /usr/local/lib/libxmltooling.so.7

is it a bug? how can I pass the pointer of MemoryManager?

Thanks in advance.

Regards,
Akbar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160922/591572ee/attachment.html>


More information about the dev mailing list