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 M....@idnt.de on 2000/12/06 17:53:57 UTC

RE: Have segfault with xcerces 1.30 on linux

xerces-1.2.0 has the same problems on my setup. only the MemParser example 
works with both versions. 

My source tree is NFS-Imported... If I compile xerces on a local drive on 
the same machine with the

same environment and compile settings IT WORKS !?

Maybe this is a problem with the clib but I don't have this trouble with 
any other code? Is there some
special I/O used by xerces?


Marcus





M.Zoller@idnt.de
06.12.2000 15:16
Bitte antworten an xerces-c-dev

 
        An:     xerces-c-dev@xml.apache.org
        Kopie: 
        Thema:  Have segfault with xcerces 1.30 on linux

Hmm... I'm new with xerces, so maybe this is known but I think I need some 

help with this...

I've compiled xerces without any errors but I can't run any of
the examples without getting an SEGFAULT.

gdb can't tell me where and I don't know much about the source right
now, so I need some help.

gdb tells (the same happens with every example I try):
(I haven't tried some ddebug options right now...)

Core was generated by `bin/PParse samples/data/personal.xml'.

Program terminated with signal 11, Segmentation fault.
Reading symbols from /home/idnt/marc/src/server/cisax/v2.0.0/src/gpl/xerce
s-c-src1_3_0/lib/libxerces-c1_3.so...done.
Reading symbols from /usr/lib/libstdc++-libc6.1-1.so.2...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x2f in ?? ()
(gdb) where
#0  0x2f in ?? ()
(gdb)

I've build xerces:

export XERCESCROOT=`/bin/pwd`
cd $XERCESCROOT/src
autoconf
sh ./runConfigure -plinux -cegcs -xg++ -minmem -tnative -nfileonly
gmake

I'm running:

Linux version 2.2.14-5.0 (root@(none)) (gcc version egcs-2.91.66 19990314/
Linux (egcs-1.1.2 release)) #5 SMP Sun Jul 30 23:50:52 CEST 2000

The lib path:

/usr/IBMdb2/V6.1/lib:/lib:/usr/lib:/usr/X11R6/lib:/mnt/md0/db2/inst/db2ins
t1/sqllib/lib:/usr/local/jre/lib/i386:/usr/local/jre/lib/i386/green_thread
s:/usr/local/jre/lib/i386/classic:/home/idnt/marc/src/server/cisax/v2.0.0/
src/gpl/xerces-c-src1_3_0/lib

This is where the libxerces-c1_3.so lives:

/home/idnt/marc/src/server/cisax/v2.0.0/src/gpl/xerces-c-src1_3_0/lib

Thanks!


Marcus Zoller

The finest in eTransactions http://www.idnt.de

PGP Key: http://www.idnt.de/pgp/mzoller.txt

IDNT Integrated Digital Network Technologies
Perchstaetten 14-16, 35428 Langgöns, Germany
Tel. +49 (6403) 95260, Fax +49 (6403) 952633

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