You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by SSreedhar <ss...@gmail.com> on 2010/09/01 10:27:07 UTC

Xalan memery management initialization error in HPUX IA64

Dear,

I am getting the below error (core dump) while initializing xalanc-c.  

Assertion failed: ptr != 0, file
/hcsd/home/id820821/QCT/5436/xml-xalan/c/src/xalanc/PlatformSupport/XalanMemoryManagement.cpp,
line 73

I am using HPUX Itanium 11.23 machine, xerces 2.7.0, xalanc1.10 and GNUMAKE
3.75. 

It was working properly before, but I am getting this error after I
recompiled xerces and xalanc.  Here are the options I used to recompile
xerces and xalanc.

Xerces: ./runConfigure -p hp-11 -c cc -x aCC -d -b 64 -P <installation
directory>
Xalanc: ./runConfigure -p hp-11-ia64 -c cc -x aCC -d -b 64 -P <installation
directory>

Stack trace from core file:

#0  0xc000000000369b10:0 in kill+0x30 () from /usr/lib/hpux64/libc.so.1
(gdb) where
#0  0xc000000000369b10:0 in kill+0x30 () from /usr/lib/hpux64/libc.so.1
#1  0xc00000000028d510:0 in raise+0x30 () from /usr/lib/hpux64/libc.so.1
#2  0xc00000000032ae90:0 in abort+0x190 () from /usr/lib/hpux64/libc.so.1
#3  0xc0000000002282f0:0 in _assert+0x260 () from /usr/lib/hpux64/libc.so.1
#4  0xc00000001a4ae340:0 in
xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr
    ()
    at
/hcsd/home/id820821/QCT/5436/xml-xalan/c/src/xalanc/PlatformSupport/XalanMemoryManagement.cpp:73
#5  0x400000000027e150:0 in SimplePrefixResolver::SimplePrefixResolver (
    this=0x9fffffffffffb8a0)
    at /hcsd/home/id820821/XALANLIB/src/SimplePrefixResolver.cpp:20
#6  0x40000000002872e0:0 in XPathQuery::XPathQuery (this=0x9fffffffffffb880,
    sBoolXPath_in=0x9fffffffffffb628, aPrefix=0x9fffffffffffb630,
    aNamespaceURI=0x9fffffffffffb638)
    at /hcsd/home/id820821/XALANLIB/src/XPathQuery.cpp:53
#7  0x4000000000287890:0 in
XPathQuery::XPathQuery(std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::basic_string<char,std::char_traits<char>,std::allocator<char> >)+0x50
()
    at /hcsd/home/id820821/XALANLIB/src/XPathQuery.cpp:52
#8  0x40000000001773e0:0 in CampaignXPathQuery::CampaignXPathQuery (
    this=0x9fffffffffffb880, sBoolXPath_in=0x9fffffffffffb700,
    cMandatory_in=77 'M')

Could you please help me in fixing this issue?

Thanks and Regards,
Sreedhar
-- 
View this message in context: http://old.nabble.com/Xalan-memery-management-initialization-error-in-HPUX-IA64-tp29591156p29591156.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.


RE: Xalan memery management initialization error in HPUX IA64

Posted by Martin Elzen <Ma...@usoft.com>.
>I am getting the below error (core dump) while initializing xalanc-c.

>Assertion failed: ptr != 0, file
>/hcsd/home/id820821/QCT/5436/xml-xalan/c/src/xalanc/PlatformSupport/XalanMemoryManagement.cpp,
>line 73

That looks a lot like an error I had on AIX recently.  Are you absolutely sure the new Xalan lib files are refering to the correct new Xerces lib files?  You may need to put the directory containing the new Xerces libs in an spot that will be seen 'earlier' within the LD_LIBRARY_PATH (or LIBPATH) environment variable...

The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to MailAdmin@usoft.com and then delete it from your system.

USoft is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.