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 "K, Dhevendran (OpenView, Teleco)" <dk...@hp.com> on 2007/01/29 09:52:48 UTC

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   : dk@hp.com  
----------------------------------------------------------

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


RE: The xerces 2.5 library for HPUX IA 32 bit is core dumping

Posted by "K, Dhevendran (OpenView, Teleco)" <dk...@hp.com>.
Hi Plamen

Thanks for your reply. I need to compile the xerces 2.5 as 32 bit binary
since our applications (i.e. HP OVO on Itanium ) is an 32 bit
applications. The application is core dumpimg in the same place


Best Regards,
Dheva




-----Original Message-----
From: Kirov Plamen [mailto:pkirov@globul.bg] 
Sent: Monday, January 29, 2007 3:12 PM
To: c-dev@xerces.apache.org
Subject: RE: The xerces 2.5 library for HPUX IA 32 bit is core dumping

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:dk@hp.com]
> Sent: Monday, January 29, 2007 10:53 AM
> To: c-dev@xerces.apache.org; c-dev-help@xerces.apache.org;
c-dev-digest-
> subscribe@xerces.apache.org
> 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   : dk@hp.com
> ----------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org


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


RE: The xerces 2.5 library for HPUX IA 32 bit is core dumping

Posted by Kirov Plamen <pk...@globul.bg>.
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:dk@hp.com]
> Sent: Monday, January 29, 2007 10:53 AM
> To: c-dev@xerces.apache.org; c-dev-help@xerces.apache.org;
c-dev-digest-
> subscribe@xerces.apache.org
> 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   : dk@hp.com
> ----------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org


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


Re: The xerces 2.5 library for HPUX IA 32 bit is core dumping

Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi,

"K, Dhevendran (OpenView, Teleco)" <dk...@hp.com> writes:

> Is there any reason for this?

This probably resulted in a memory corruption which often manifests
itself differently on different platforms.


> Will there be any system resource leak
> (like memory/handler/semaphore/shared memory/..etc ) if I remove this
> call ?

I don't think so if your application is terminating anyway. Though it
would be cleaner to have the call to terminate after releasing all
Xercec-C++ resources.

hth,
-boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding


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


RE: Re: The xerces 2.5 library for HPUX IA 32 bit is core dumping

Posted by "K, Dhevendran (OpenView, Teleco)" <dk...@hp.com>.
Hi 

Thanks a lot for your reply :) After removing the explicit call of the
API XMLPlatformUtils::Terminate() from my application, it is NOT core
dumping :)

This is the legacy code, in one of our class ( which is neither not
static class nor its instance ), in the constructer the API
XMLPlatformUtils::Initialize() is explicitly called and in the
destructor, the API XMLPlatformUtils::Terminate() is explicitly called.
I am surprising to see core dump only in HP-UX IA (But, not in HP-UX PA
). Is there any reason for this? Will there be any system resource leak
(like memory/handler/semaphore/shared memory/..etc ) if I remove this
call ?  

Thanks in Advance

With Warm Regards,
Dheva

-----Original Message-----
From: Boris Kolpackov [mailto:boris@codesynthesis.com] 
Sent: Tuesday, January 30, 2007 12:42 PM
To: c-dev@xerces.apache.org
Subject: Re: The xerces 2.5 library for HPUX IA 32 bit is core dumping

Hi,

"K, Dhevendran (OpenView, Teleco)" <dk...@hp.com> writes:

> #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

>From the stack trace above it appears that you are releasing the DOM
document via static instance destruction, after main() has terminated.
I think the most likely cause of the core dump is that you've already
called XMLPlatformUtils::Terminate().


hth,
-boris

--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding


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


Re: The xerces 2.5 library for HPUX IA 32 bit is core dumping

Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi,

"K, Dhevendran (OpenView, Teleco)" <dk...@hp.com> writes:

> #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

>From the stack trace above it appears that you are releasing the DOM
document via static instance destruction, after main() has terminated.
I think the most likely cause of the core dump is that you've already
called XMLPlatformUtils::Terminate().


hth,
-boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding


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