Hi Dheva, First, you may check the memory consumption of your application (I'm use Glance tool for this) and kernel parameters for maxdsiz, maxrsessiz, maxssiz and maxtsiz (using /usr/sbin/kctune). Change if needed. I recommend you to compile and use 64 bit mode libraries :-)
BR, Plamen > -----Original Message----- > From: K, Dhevendran (OpenView, Teleco) [mailto:[EMAIL PROTECTED] > Sent: Monday, January 29, 2007 10:53 AM > To: c-dev@xerces.apache.org; [EMAIL PROTECTED]; c-dev-digest- > [EMAIL PROTECTED] > Subject: The xerces 2.5 library for HPUX IA 32 bit is core dumping > > Hi Xerces Guru > > I compiled xerces 2.5 on HPUX IA withe th following options > > runConfigure -p hp-11 -b 32 -r pthread -z -mt -P /XERCES_INSTALL/ -x > aCC -z +DSitanium2 [ I manually edited the Makefile.incl to remove the > flags +DAportable to make it for Itanium ]. I was able to build and > create the XERCERS library [ Most of the tests are passed without any > failure [ i.e. the following tests are passed . 1. DOMMemTest, 2. > DeprecatedDOMCount, 3. DOMTest, 4. DOMTypeInfoTest, 5. RangeTest ] . > But, when I am using in one of our 32 bit applications [ which uses the > Depricated APIs in xerces 2.5 ], our application is dumping core. > > ======================================================================== > ======================================================================= > (gdb) where > #0 0x60000000c03502f0:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1 > #1 0x60000000c0247130:0 in raise+0x30 () from /usr/lib/hpux32/libc.so.1 > #2 0x60000000c0308c30:0 in abort+0x190 () from > /usr/lib/hpux32/libc.so.1 > #3 0x60000000c0b93040:0 in __cxa_pure_virtual+0x20 () from > /usr/lib/hpux32/libCsup.so.1 > #4 0x60000000ccb5d8b0:0 in xercesc_2_5::XMemory::operator delete () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/util/XMemory.cpp:122 > #5 0x60000000cc7bde60:0 in inline () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/NamedNodeMapImp > l.cpp:96 > #6 0x60000000cc7bdda0:0 in > xercesc_2_5::NamedNodeMapImpl::~NamedNodeMapImpl()+0x20 () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/NamedNodeMapImp > l.cpp:85 > #7 0x60000000cc7be450:0 in xercesc_2_5::NamedNodeMapImpl::removeRef () > at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/NamedNodeMapImp > l.cpp:257 > #8 0x60000000cc6d26f0:0 in inline () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/DocumentTypeImp > l.cpp:126 > #9 0x60000000cc6d2640:0 in > xercesc_2_5::DocumentTypeImpl::~DocumentTypeImpl()+0x30 () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/DocumentTypeImp > l.cpp:121 > #10 0x60000000cc7c5c30:0 in inline > xercesc_2_5::NodeImpl::deleteIf(xercesc_2_5::NodeImpl*) () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/NodeImpl.cpp:21 > 6 > #11 0x60000000cc7c5880:2 in xercesc_2_5::NodeImpl::deleteIf () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/NodeImpl.cpp:21 > 4 > #12 0x60000000cc6ba850:0 in xercesc_2_5::DocumentImpl::unreferenced () > at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/DocumentImpl.cp > p:502 > #13 0x60000000cc840f50:0 in xercesc_2_5::RefCountedImpl::removeRef () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/RefCountedImpl. > cpp:105 > #14 0x60000000cc6342d0:0 in inline () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/DOM_Node.cpp:11 > 5 > #15 0x60000000cc6342a0:0 in xercesc_2_5::DOM_Node::~DOM_Node()+0x20 () > at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/DOM_Node.cpp:11 > 3 > #16 0x60000000cc62ba10:0 in inline () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/DOM_Document.cp > p:91 > #17 0x60000000cc62b9e0:0 in > xercesc_2_5::DOM_Document::~DOM_Document()+0x20 () at > /XERCES_25/xerces-c-src_2_5_0/src/xercesc/dom/deprecated/DOM_Document.cp > p:89 > #18 0x60000000c96d4a30:0 in _ZN10TXMLHelperD9Ev () at > ./TXMLHelper.cc:96 > #19 0x60000000c96d5250:0 in TXMLHelper::~TXMLHelper()+0x30 () at > nl_TXMLHelper.cc:0 > #20 0x60000000c99b67f0:0 in _ZN11TCfgBuilderD9Ev () at > /opt/aCC/include_std/string:995 > #21 0x60000000c99b4550:0 in TCfgBuilder::~TCfgBuilder()+0x30 () from > /opt/OV/TeOVO/lib/libovtiocfg.3 > #22 0x4017250:0 in > TSingleton<TCfgBuilder,TGuard,TMutex>::Destroyer::~Destroyer()+0x90 () > #23 0x60000000c0b92660:0 in __cxa_finalize+0x1d0 () from > /usr/lib/hpux32/libCsup.so.1 > #24 0x60000000c0b98770:0 in __cxxTerm_body+0x180 () from > /usr/lib/hpux32/libCsup.so.1 > #25 0x60000000c0b988c0:0 in __cxxTerm+0x20 () from > /usr/lib/hpux32/libCsup.so.1 > #26 0x60000000c0295ec0:0 in __exit_handler+0xa0 () from > /usr/lib/hpux32/libc.so.1 > > ======================================================================== > ======================================================================= > > > Can you throw some light on this ? > > > Thanks & Regards, > Dheva > ---------------------------------------------------------- > Ph : +91-80-22052318 > Email : [EMAIL PROTECTED] > ---------------------------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]