[xml/sgml-pkgs] Bug#347542: Segfaults and unimplemented block at preproc.c:877

Braun Gabor braung at renyi.hu
Wed Jan 11 12:36:31 UTC 2006


Package: xsltproc
Version: 1.1.15-2
Severity: normal

*** Please type your report below this line ***

Xsltproc exits with cryptic error messages in the following 
situations:

Input files: (lines starting with -- are not parts of the files)

-- File: lista.xsl ----
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

<xsl:output method="xml" encoding="UTF-8" />

<xsl:template match="/" >
  <element xml:lang="en">
    <xsl:for-each select="//entry">
      <xsl:number value="position()" format="1" lang="de" />
    </xsl:for-each>
  </element>
</xsl:template>

</xsl:stylesheet>
-- End of lista.xsl ---

-- File: test.xml ---
<?xml version="1.0" encoding="UTF-8" ?>
<empty/>
-- End of test.xml ---

Let's try to apply the stylesheet:

xsltproc -o output.xml lista.xsl test.xml
Unimplemented block at preproc.c:877

XSL process segmentation fault at Wed Jan 11 13:22:26

If I change the attribute lang of xsl:number to "en" in lista.xsl 
then I receive another message:

xsltproc -o output.xml lista.xsl test.xml
Unimplemented block at preproc.c:877
*** glibc detected *** free(): invalid pointer: 0x0805830f ***

XSL process aborted at Wed Jan 11 13:28:27

	Gabor Braun

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.14-2-686
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 (charmap=ISO-8859-2) (ignored: LC_ALL set to hu_HU.iso88592)

Versions of packages xsltproc depends on:
ii  libc6                  2.3.5-8           GNU C Library: Shared libraries an
ii  libgcrypt11            1.2.2-1           LGPL Crypto library - runtime libr
ii  libgpg-error0          1.1-4             library for common error values an
ii  libxml2                2.6.22-2          GNOME XML library
ii  libxslt1.1             1.1.15-2          XSLT processing library - runtime 
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information




More information about the debian-xml-sgml-pkgs mailing list