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 306806 - xmllint core dumps on schema validation attempt
xmllint core dumps on schema validation attempt
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.19
Other All
: High critical
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-07 19:13 UTC by Tom Browder
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This is the schema used which produced the xmllint core dump. (18.77 KB, text/plain)
2005-06-08 12:28 UTC, Tom Browder
Details
This is the xml instance used which produced the xmllint core dump. (4.32 KB, text/plain)
2005-06-08 12:29 UTC, Tom Browder
Details

Description Tom Browder 2005-06-07 19:13:56 UTC
Steps to reproduce:
1. execute xmllint --schema my.xsd --noout my.xml
2. 
3. 


Stack trace:
(gdb) bt
  • #0 xmlSchemaTypeFixup
    at xmlschemas.c line 11414
  • #1 xmlSchemaTypeFixup
    at xmlschemas.c line 15445
  • #2 xmlSchemaTypeFixup
    at xmlschemas.c line 15490
  • #3 xmlSchemaCheckTypeDefCircularInternal
    at xmlschemas.c line 13022
  • #4 stubHashScannerFull
    at hash.c line 802
  • #5 xmlHashScanFull__internal_alias
    at hash.c line 848
  • #6 xmlHashScan__internal_alias
    at hash.c line 818
  • #7 xmlSchemaParse__internal_alias
    at xmlschemas.c line 16638
  • #8 main


Other information:
I can send the schema and xml instance if needed.
Comment 1 kbuchcik 2005-06-08 08:12:06 UTC
Yes, please add a test case, so we can reproduce it.
Comment 2 Tom Browder 2005-06-08 12:28:58 UTC
Created attachment 47428 [details]
This is the schema used which produced the xmllint core dump.
Comment 3 Tom Browder 2005-06-08 12:29:47 UTC
Created attachment 47429 [details]
This is the xml instance used which produced the xmllint core dump.
Comment 4 kbuchcik 2005-06-09 15:37:51 UTC
>xmllint --noout --schema bug306806.xsd bug306806.xml
bug306806.xml validates

>xmllint --version
xmllint: using libxml version 20619CVS2405
   compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer XInclude Ic
onv MemDebug Unicode Regexps Automata Schemas Modules

Seems to be fixed with the currect CVS HEAD.

Thanks for the report!
Comment 5 Daniel Veillard 2005-09-05 08:59:47 UTC
This should be closed by release of libxml2-2.6.21,

  thanks,

Daniel