GNOME Bugzilla – Bug 61215
xsltproc crashes with core dump
Last modified: 2009-08-15 18:40:50 UTC
run servercrashcourse.xsl test.xml Starting program: /usr/bin/xsltproc servercrashcourse.xsl test.xml servercrashcourse.xsl:1: warning: Namespace prefix xsl is not defined <xsl:param name="grp">0</xsl:param> (no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. I am going to add the xsl and xml file. I have libxml 2.4.5 and libxslt 1.0.4.
Created attachment 5697 [details] testcase
Hum, one of the recent changes I made to libxml are the cause of the crash. I fixed it in CVS: (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y `/u/veillard/XSLT/xsltproc/xsltproc' has changed; re-reading symbols. Starting program: /u/veillard/XSLT/xsltproc/xsltproc servercrashcourse.xsl test.xml servercrashcourse.xsl:1: warning: Namespace prefix xsl is not defined <xsl:param name="grp">0</xsl:param> ^ servercrashcourse.xsl:2: error: Extra content at the end of the document <xsl:if test="count(/Object/memberlist/groups/group[@id=$grp])!=0"/> ^ cannot parse servercrashcourse.xsl Program exited normally. (gdb) The stylesheet is clearly not XML and hence not XSLT but this should really not crash, thanks a lot for the report, Daniel
Should be fixed in the last releases, Daniel