[xml/sgml-pkgs] Bug#530908: libxml2: xpointer(/) makes xmllint crash

Jakub Wilk ubanus at users.sf.net
Thu May 28 18:00:06 UTC 2009


Package: libxml2
Version: 2.7.3.dfsg-1
Severity: normal

$ gdb xmllint
[...]
(gdb) run --xinclude test.xml > /dev/null
Starting program: /usr/bin/xmllint --xinclude test.xml > /dev/null

Program received signal SIGSEGV, Segmentation fault.
[...]
(gdb) bt full
#0  *__GI___libc_free (mem=0xfffffffe) at malloc.c:3599
          ar_ptr = <value optimized out>
          p = (mchunkptr) 0xfffffff6
          hook = (void (*)(void *, const void *)) 0
#1  0x4617812e in xmlFreeNodeList__internal_alias (cur=<value optimized out>) at tree.c:3615
          next = <value optimized out>
          dict = <value optimized out>
#2  0x46177ddc in xmlFreeDoc__internal_alias (cur=<value optimized out>) at tree.c:1223
          extSubset = <value optimized out>
          intSubset = <value optimized out>
          dict = (xmlDictPtr) 0x8137478
#3  0x0804d1f5 in parseAndPrintFile (filename=0xbf9abc0a "test.xml", rectxt=<value optimized out>) at xmllint.c:2768
          doc = (xmlDocPtr) 0x8140c60
#4  0x0804ffea in main (argc=3, argv=0xbf9a9c34) at xmllint.c:3523
          i = 2
          acount = <value optimized out>
          files = 0
          version = 0
          indent = <value optimized out>


-- System Information:
Debian Release: squeeze/sid
    APT prefers unstable
    APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxml2 depends on:
ii  libc6                  2.9-13            GNU C Library: Shared libraries
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages libxml2 recommends:
ii  xml-core                      0.12       XML infrastructure and XML catalog

libxml2 suggests no packages.

-- no debconf information

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: application/xml
Size: 176 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20090528/682b1108/attachment.xml>


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