[xml] Libxml 2.5.7. on plain SUSE 7.2 ES fails with "segmentation violation" running "make tests"



Hi all, 


Pleeding for some help on this: I suffered some "strange errors in an apache 1.3.27 + PHP4.3.1 environment 
with "domxlm enabled". 

So i went back to the native things, got myself newest libxml2 (2.5.7) , compiled o.k., 
then running "make tests"  crashes. 
All this on a plain SUSE 7.2 (EX)  box.

Configure for libxml is a simple "./configure --with-prefix" , alll other is left at default.

It seems to be "something" related to the pthreads, but what ??

snippet from gdb is as follows: 
-------------------------------------------------------------------------------------------------
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
Core was generated by `lt-xmllint --noout --stream --relaxng ./test/relaxng/tutor9_6.rng ./test/relaxn'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /www/src/ops/libxml2-2.5.7/.libs/libxml2.so.2...done.
Loaded symbols for /www/src/ops/libxml2-2.5.7/.libs/libxml2.so.2
Reading symbols from /lib/libpthread.so.0...done.
rw_common (): write: Success.

warning: unable to set global thread event mask
[New Thread 1024 (LWP 3932)]
rw_common (): write: Success.

warning: stop_or_attach_thread: generic error
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x401a2f53 in vfprintf () from /lib/libc.so.6
(gdb) bt
#0  0x401a2f53 in vfprintf () from /lib/libc.so.6
#1  0x401a5f19 in buffered_vfprintf () from /lib/libc.so.6
#2  0x401a15af in vfprintf () from /lib/libc.so.6
#3  0x4003c686 in xmlGenericErrorDefaultFunc (ctx=0x0, msg=0x400f5be0 "%s: file %s element %s\n")
    at error.c:74
#4  0x400ca1d4 in xmlRelaxNGValidErrorContext (ctxt=0x807dd38, node=0x400ca22e, child=0x40102548)
    at relaxng.c:2056
#5  0x400ca278 in xmlRelaxNGShowValidError (ctxt=0x400ca22e, err=1074799944, node=0x400ca22e,
    child=0x40102548, arg1=0x807dd38 "", arg2=0x8072038 "card") at relaxng.c:2096
#6  0x807dd38 in ?? ()
#7  0x36e2838d in ?? ()
Cannot access memory at address 0x56fcc483
-------------------------------------------------------------------------------------

Any help appreciated....





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]