After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 61215 - xsltproc crashes with core dump
xsltproc crashes with core dump
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-09-26 12:01 UTC by astra
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (2.12 KB, text/plain)
2001-09-26 12:03 UTC, astra
Details

Description astra 2001-09-26 12:01:30 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.
Comment 1 astra 2001-09-26 12:03:15 UTC
Created attachment 5697 [details]
testcase
Comment 2 Daniel Veillard 2001-10-04 15:06:22 UTC
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
Comment 3 Daniel Veillard 2001-10-30 18:51:02 UTC
Should be fixed in the last releases,

Daniel