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 136624 - xstproc Segmentation fault
xstproc Segmentation fault
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.7
Other FreeBSD
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
: 137166 137251 137633 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-03-09 09:38 UTC by rustam
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gzipped tar file (41.77 KB, application/octet-stream)
2004-03-09 09:55 UTC, rustam
Details

Description rustam 2004-03-09 09:38:07 UTC
xsltproc results in core dump on a specific transformation (along with
correct output).
gdb backtrace:
  • #0 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #1 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #2 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #3 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #4 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #5 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #6 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #7 xmlFreeNodeList
    from /usr/local/lib/libxml2.so.5
  • #8 xmlFreeDoc
    from /usr/local/lib/libxml2.so.5
  • #9 xsltFreeStylesheet
    from /usr/local/lib/libxslt.so.2
  • #10 xsltFreeStylesheetList
    from /usr/local/lib/libxslt.so.2
  • #11 xsltFreeStylesheet
    from /usr/local/lib/libxslt.so.2
  • #12 xmlGetExternalEntityLoader
  • #13 xmlGetExternalEntityLoader

Comment 1 Daniel Veillard 2004-03-09 09:45:42 UTC
See http://xmlsoft.org/XSLT/bugs.html for reports, especially
testing with the latest versions of both libxml2 and libxslt,
and the need for the crash inputs (xsl + xml).

Daniel
Comment 2 rustam 2004-03-09 09:55:02 UTC
Created attachment 25374 [details]
gzipped tar file
Comment 3 rustam 2004-03-09 09:56:33 UTC
xsltproc ss/simple.xsl data/test.xml
Comment 4 William M. Brack 2004-03-09 15:47:30 UTC
This problem was caused by an overflow of space reserved for the 
compilation of attribute value templates.  I changed the coding to 
allow dynamic growth of the structure, which fixes the problem.  
Changes are in CVS (libxslt/attrvt.c)
Comment 5 William M. Brack 2004-03-15 00:26:11 UTC
*** Bug 137166 has been marked as a duplicate of this bug. ***
Comment 6 William M. Brack 2004-03-16 03:57:09 UTC
*** Bug 137251 has been marked as a duplicate of this bug. ***
Comment 7 John Fleck 2004-03-19 00:58:43 UTC
*** Bug 137633 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Veillard 2004-03-25 11:27:47 UTC
This should be closed by release of libxslt-1.1.5,
                                                                                
  thanks,
                                                                                
Daniel