You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/04/04 21:26:06 UTC

DO NOT REPLY [Bug 18167] - createDocument core dumps

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=18167>.
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=18167

createDocument core dumps

doug@zadall.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|createDocument core dumps   |createDocument core dumps



------- Additional Comments From doug@zadall.com  2003-04-04 19:26 -------
When building and installing the shared library, the following libraries were
created in my /usr/local/lib/ directory:

libxerces-c.so@
libxerces-c.so.22@
libxerces-c.so.22.0

The dynamic linker, however is looking for libxerces-c2_2_0.so.  When I made a
symlink to that name, the dynamic linker is much happier, although I get a core
dump in the createDocument() method.

The same thing happens if I use gcc 2.95.2 on a SCO openserver platform. I've
tried 2.2.0, and the latest nightly build with the same results.

Here is a smaller program that exhibits the same behaviour:

#include <xercesc/dom/DOM.hpp>
#include <xercesc/util/PlatformUtils.hpp>

XERCES_CPP_NAMESPACE_USE

int main (int argc, char *argv[])
{
   int i=0;
   
   XMLPlatformUtils::Initialize();
   DOMImplementation *impl = 
DOMImplementationRegistry::getDOMImplementation(XMLString::transcode ("LS"));
   DOMDocument* doc = impl->createDocument(0,  // root element namespace URI.
                                           XMLString::transcode("head"),
                                           0); // document type object (DTD).
   return (0);
}

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org