Hello everyone:
 
I have a test suite issue from LibXML2 2.7.7 on ia64 (SuSE Linux 9.2), I
have reviewed Bugzilla and the mailing list archives since it's release.
I do not have the issue on x86-64 with SuSE 10.2.
 
make tests ends with:

        ## Module tests
        Success!
        make[1]: Entering directory
`/src/build/dev/20100427/libxml2-2.7.7/doc/examples'
        ## examples regression tests
        0a1,30
        [NOTE: XML removed]
        0a1,14
        > 0 10 doc 0 0
        > 0 1 doc 0 0
        > 1 14 #text 0 1
        >
        > 1 1 src 1 0
        > 1 14 #text 0 1
        >
        > 1 1 dest 1 0
        > 1 14 #text 0 1
        >
        > 1 1 src 1 0
        > 1 14 #text 0 1
        >
        > 0 15 doc 0 0
        0a1,3
        > test1.xml: Processed ok
        > test2.xml: Processed ok
        > test3.xml: Processed ok
        make[1]: *** [tests] Error 139
        make[1]: Leaving directory
`/src/build/dev/20100427/libxml2-2.7.7/doc/examples'
        make: *** [tests] Error 2

Of course, I can reproduce this when I:
$ cd doc/examples
$ make -f Makefile tests

When I remove the @ from tests section in the makefile and then rerun
the above, I see this tail:

        > test1.xml: Processed ok
        > test2.xml: Processed ok
        > test3.xml: Processed ok
        (grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" ;
exit 0)
        ( ./parse2 test2.xml)
        make: *** [tests] Error 139

I believe I've isolated the error to a segmentation fault. With
LD_LIBRARY_PATH environment variable empty, I check and then run parse2
in the doc/examples/ directory after I figured .libs/parse2 needed help.
You can see that it links against zlib 1.2.4 in /data/20100427/lib:
 
$ LD_LIBRARY_PATH=.libs:../../.libs ldd .libs/parse2
 linux-gate.so.1 =>  (0xa000000000000000)
 libxml2.so.2 => ../../.libs/libxml2.so.2 (0x2000000000044000)
 libdl.so.2 => /lib/libdl.so.2 (0x20000000002f4000)
 libz.so.1 => /data/20100427/lib/libz.so.1 (0x200000000030c000)
 libm.so.6.1 => /lib/tls/libm.so.6.1 (0x2000000000348000)
 libc.so.6.1 => /lib/tls/libc.so.6.1 (0x20000000003fc000)
 /lib/ld-linux-ia64.so.2 (0x2000000000000000)

$ LD_LIBRARY_PATH=.libs:../../.libs ./parse2 test2.xml
Segmentation fault

Can anyone help me figure out how to troubleshoot this further? I
realize I can skip these tests, but this is new in 2.7.7 on ia64 and did
not happen on the same platform with libxml2-2.7.6 and zlib-1.2.3. I
could try to build with zlib 1.2.3 to confirm if it is the culprit?
 
Thanks,

Mark Lavi
Senior Web Producer

sgi

46600 Landing Parkway
Fremont, CA 94538
(510) 933-5234 direct
[email protected] <blocked::mailto:[email protected]>  
www.sgi.com <blocked::http://www.sgi.com/> 

 
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to