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 Ashok Kumar Natarajan <as...@infosys.com> on 2003/12/15 09:47:38 UTC

Bus Error (Core Dumped) -- Help Needed

Hi
    i am getting a bus error (core dumped) for a C++ code at runtime.
The explanation for the same is given below: 
 
I have used the xalan1.6 and xercesc2.3 in my code. I have compiled my
code with -AA and +DA2.0N options in HPUX 11 environment.
The libraries that i have used are..
 
  shared library list:
             dynamic
/hphome/aneeshg/ninja2/xerces-c-src_2_3_0/lib/libxerces-c.sl.23
             dynamic
/hphome/aneeshg/ash/xml-xalan/c/lib/libxalan-c.sl.16
             dynamic   /usr/local/ibmxml/hpux11/lib/libicu-uc.sl
             dynamic   /apps_hp9_1/vbroker50/lib/liborb_r.sl
             dynamic   /apps_hp9_1/vbroker50/lib/libcosnm_r.sl
             dynamic   /apps_hp9_1/vbroker50/lib/libcosev_r.sl
             dynamic   /apps_hp9_1/vbroker50/lib/libvport_r.sl
             dynamic   /usr/lib/libstd_v2.2
             dynamic   /usr/lib/libCsup_v2.2
             dynamic   /usr/lib/libm.2
             dynamic   /usr/lib/libcl.2
             dynamic   /usr/lib/libc.2
             static    /usr/lib/libdld.2
             
Now at runtime i am getting a "Bus error(coredump)"
When i tried backtracing the formed core, i got an error like
 
#0  0xc0132368 in $$dyncall_external+0 () from /usr/lib/libc.2
(gdb) bt
#0  0xc0132368 in $$dyncall_external+0 () from /usr/lib/libc.2
#1  0xc02052e8 in __thread_atfork+0x44 () from /usr/lib/libc.2
#2  0xc0202ec0 in __libc_init+0x880 () from /usr/lib/libc.2
#3  0xc039faf4 in hp__pre_init_libc+0x2c () from /usr/lib/libcma.2
(gdb) 
 
what is the reason for this error and how can i rectify the same?
Can anyone of you please help me in this issue?
Any solutions or pointers would be of great help...
 

P.S : I have also compiled the xalan and xercesc libraries with the same
-AA and +DA2.0N options.
 

Thanks and Regards
Ashok


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