[xsd-users] Why see 'xercesc/util/Mutexes.cpp: No such file or directory'

wendy f wendy01142015 at outlook.com
Wed Apr 20 13:01:35 EDT 2016


Hello all,


here is the generated code:


::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument >
EQL_Message_ (const ::MyMessage& s,
              const ::xml_schema::namespace_infomap& m,
              ::xml_schema::flags f)
{
  ::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > d (
    ::xsd::cxx::xml::dom::serialize< char > (
      "MyMessage",
      "",
      m, f));

  ::MyMessage_ (*d, s, f);
  return d;
}

when the application runs to the first line, the application crashes and report the following errors:

Program received signal SIGSEGV, Segmentation fault.
xercesc_3_1::XMLMutex::lock (this=0x0) at xercesc/util/Mutexes.cpp:61
61      xercesc/util/Mutexes.cpp: No such file or directory.
        in xercesc/util/Mutexes.cpp

Currently, I am using xercesc_3.1.3.

Any comment?
Thank you



More information about the xsd-users mailing list