I've built libxml-2.9.4 on Solaris 10 with the Sun C compiler and the testsuite is giving a SEGV: $ gtar zxf libxml2-2.9.4.tar.gz $ cd libxml2-2.9.4 $ ./configure CC=cc CFLAGS="-g -xs" --disable-shared \ --disable-silent-rules --without-python $ gmake ... $ gmake check ... [ -d test ] || ln -s ./test . [ -d result ] || ln -s ./result . ./runtest && ./testrecurse && ./testapi && ./testchar&& ./testdict && ./runxmlconf ## XML regression tests ## XML regression tests on memory ## XML entity subst regression tests ## XML Namespaces regression tests ## Error cases regression tests file result/errors/759398.xml.err is 626 bytes, result is 4077 bytes Error for ./test/errors/759398.xml failed File ./test/errors/759398.xml generated an error ## Error cases stream regression tests ## Reader regression tests ## Reader entities substitution regression tests ## Reader on memory regression tests ## Walker regression tests ## SAX1 callbacks regression tests ## SAX2 callbacks regression tests ## XML push regression tests ## HTML regression tests ## Push HTML regression tests ## HTML SAX regression tests /bin/bash: line 1: 22187 Segmentation Fault (core dumped) ./runtest gmake: *** [runtests] Error 139 $ dbx runtest core (dbx) where t@1 (l@1) program terminated by signal SEGV (no mapping at the fault address) 0xfed32d50: strlen+0x0050: ld [%o2], %o1 Current function is internalSubsetDebug 881 fprintf(SAXdebug, "SAX.internalSubset(%s,", name); (dbx) where current thread: t@1 [1] strlen(0x0, 0xfffffaf0, 0x0, 0x28, 0x0, 0x2b), at 0xfed32d50 [2] _ndoprnt(0x1f3a01, 0xffbff6f0, 0xffbfed69, 0x0, 0x0, 0x0), at 0xfed9f498 [3] _fprintf(0x22abf0, 0x1f39ec, 0x0, 0xa1010, 0x378c4, 0xfee423f0), at 0xfeda14c8 =>[4] internalSubsetDebug(ctx = (nil), name = (nil), ExternalID = (nil), SystemID = (nil)), line 881 in "runtest.c" [5] htmlParseDocTypeDecl(ctxt = 0x23fdd0), line 3501 in "HTMLparser.c" [6] htmlParseContentInternal(ctxt = 0x23fdd0), line 4629 in "HTMLparser.c" [7] htmlParseDocument(ctxt = 0x23fdd0), line 4813 in "HTMLparser.c" [8] htmlSAXParseFile(filename = 0x22af90 "./test/HTML/758606.html", encoding = (nil), sax = 0x220efc, userData = (nil)), line 6418 in "HTMLparser.c" [9] saxParseTest(filename = 0x22af90 "./test/HTML/758606.html", result = 0x4136a0 "result/HTML/758606.html.sax", err = (nil), options = 16842752), line 1733 in "runtest.c" [10] launchTests(tst = 0x220a84), line 4413 in "runtest.c" [11] runtest(i = 15), line 4464 in "runtest.c" [12] main(argc = 1, argv = 0xffbffb24), line 4504 in "runtest.c"
Any ideas? -- albert chin (ch...@thewrittenword.com) _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml