[xslt] crash on namespaced templates



Hello,

Given:

<?xml version="1.0"?>

<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:a="a">
   <xsl:template match="/">
        <xsl:call-template name="a:a"/>
   </xsl:template>
</xsl:transform>


.I get..

(gdb) run --version
Starting program:
/afs/iastate.edu/virtual/wwwred/download-prefix/bin/xsltproc --version
[New Thread 16384 (LWP 12989)]
Using libxml 20607, libxslt 10104 and libexslt 804
xsltproc was compiled against libxml 20607, libxslt 10104 and libexslt 804
libxslt 10104 was compiled against libxml 20607
libexslt 804 was compiled against libxml 20607

Program exited normally.
(gdb) run a.xslt a.xslt
Starting program: /afs/iastate.edu/virtual/wwwred/download-prefix/bin/xsltproc
a.xslt a.xslt
[New Thread 16384 (LWP 12990)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 12990)]
0x42074bd0 in _int_free () from /lib/i686/libc.so.6
(gdb) bt
#0  0x42074bd0 in _int_free () from /lib/i686/libc.so.6
#1  0x42075a5c in free () from /lib/i686/libc.so.6
#2  0x4001fb3f in xsltGetQNameURI (node=0x42138c80, name=0xbffff828) at
xsltutils.c:699
#3  0x40030fdf in xsltCallTemplateComp (style=0x8060908, inst=0x8060b10) at
preproc.c:824
#4  0x40031a7d in xsltStylePreCompute (style=0x8060908, inst=0x8060b10) at
preproc.c:1229
#5  0x4001d6c7 in xsltPrecomputeStylesheet (style=0x8060908, cur=0x8060b10) at
xslt.c:1203
#6  0x4001e77a in xsltParseStylesheetProcess (ret=0x8060908, doc=0x8060740) at
xslt.c:1955
#7  0x4001e95c in xsltParseStylesheetImportedDoc (doc=0x8060740,
style=0x86b7133) at xslt.c:2051
#8  0x4001ea12 in xsltParseStylesheetDoc (doc=0x8060740) at xslt.c:2080
#9  0x0804a031 in main (argc=3, argv=0xbffff9b4) at xsltproc.c:824
#10 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6


Do others see this?  Should I file a bug report?

-Brett



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