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 350247 - Crash when validating schema
Crash when validating schema
Status: RESOLVED DUPLICATE of bug 351032
Product: libxml2
Classification: Platform
Component: general
2.6.x
Other All
: Normal critical
: ---
Assigned To: kbuchcik
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-07 10:21 UTC by Frans Englich
Modified: 2006-08-15 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frans Englich 2006-08-07 10:21:06 UTC
Steps to reproduce:
How to reproduce:

Validate this file(revision 1.671):
http://dev.w3.org/cvsweb/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xml

against this schema(revision 1.42):
http://dev.w3.org/cvsweb/2006/xquery-test-suite/TestSuiteStagingArea/XQTSCatalog.xsd

Like this:
xmllint --noout --schema TestSuiteStagingArea/XQTSCatalog.xsd  TestSuiteStagingArea/XQTSCatalog.xml           

and it produces a crash, at least on my setup. xmllint used is:

xmllint: using libxml version 20626
   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug
bash-2.05b$              

(I know the stack trace isn't very helpful.)


Frans

Stack trace:
bash-2.05b$ gdb xmllint
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
(gdb) run --noout --schema TestSuiteStagingArea/XQTSCatalog.xsd  TestSuiteStagingArea/XQTSCatalog.xml
Starting program: /usr/local/bin/xmllint --noout --schema TestSuiteStagingArea/XQTSCatalog.xsd  TestSuiteStagingArea/XQTSCatalog.xml
bt
TestSuiteStagingArea/XQTSCatalog.xml validates

Program received signal SIGSEGV, Segmentation fault.
0x401f349e in malloc_consolidate () from /lib/libc.so.6
(gdb) bt
  • #0 malloc_consolidate
    from /lib/libc.so.6
  • #1 _int_free
    from /lib/libc.so.6
  • #2 free
    from /lib/libc.so.6

Other information:
Comment 1 kbuchcik 2006-08-15 12:29:28 UTC
This is a duplicate of bug #351032.
Daniel applied the patch of Marton Illes, so the CVS HEAD runs fine now.

Thanks for the report!

*** This bug has been marked as a duplicate of 351032 ***