Re: [xslt] Bug with multiple documents output



 I tried again with the last version of libxst/libxml2 and ran xsltproc
within gdb. Here is the result :

Program received signal SIGBUS, Bus error.
xmlHashFree (table=0x49, f=0xff0a2b44 <xmlFreeEntity>) at hash.c:204
204         if (table->table) {
(gdb) bt
#0  xmlHashFree (table=0x49, f=0xff0a2b44 <xmlFreeEntity>) at hash.c:204
#1  0xff0c5494 in xmlFreeDtd (cur=0x3b3b0) at tree.c:492
#2  0xff0c5654 in xmlFreeDoc (cur=0x3b1d0) at tree.c:570
#3  0xff3738f4 in xsltDocumentElem (ctxt=0x28bb8, node=0x3b268,
inst=0x399a8, comp=0x0) at transform.c:1910
#4  0xff37290c in xsltApplyOneTemplate (ctxt=0x28bb8, node=0x384d0,
list=0x38b60, templ=0x39b10, 
    params=0x0) at transform.c:1242
#5  0xff372478 in xsltProcessOneNode (ctxt=0x28bb8, node=0x384d0,
params=0x0) at transform.c:1083
#6  0xff371f0c in xsltDefaultProcessOneNode (ctxt=0x28bb8, node=0x1) at
transform.c:927
#7  0xff372568 in xsltProcessOneNode (ctxt=0x28bb8, node=0x38420,
params=0x0) at transform.c:1060
#8  0xff371f0c in xsltDefaultProcessOneNode (ctxt=0x28bb8, node=0x1) at
transform.c:927
#9  0xff372568 in xsltProcessOneNode (ctxt=0x28bb8, node=0x383c8,
params=0x0) at transform.c:1060
#10 0xff377154 in xsltApplyStylesheetInternal (style=0x26a38,
doc=0x383c8, params=0x2341c, output=0x0, 
    profile=0x0, userCtxt=0x28bb8) at transform.c:3535
#11 0x11744 in xsltProcess (doc=0x383c8, cur=0x26a38,
filename=0xffbeeee1 "split.xml") at xsltproc.c:280
#12 0x12410 in main (argc=3, argv=0xffbeed24) at xsltproc.c:653
(gdb)

xmlFreeDoc() is trying to free an internal subset that seems not to be
created. It sounds strange since nothing in the xsltDocumentElem()
function creates such a subset.

	Fabrice

-- 
Fabrice Desré - France Telecom R&D/DTL/TAL
Tel: +(33) 2 96 05 31 43
Fax: +(33) 2 96 05 39 45



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