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 87005 - crash chunking with DocBook 1.51 chunk.xsl
crash chunking with DocBook 1.51 chunk.xsl
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
1.0.18
Other other
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2002-07-01 14:21 UTC by John Fleck
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
file used to trigger crash (48.50 KB, text/plain)
2002-07-01 14:21 UTC, John Fleck
Details

Description John Fleck 2002-07-01 14:21:05 UTC
This is re http://mail.gnome.org/archives/xslt/2002-June/msg00063.html

Crash chunking the file attached below using DocBook xslt stylesheet
version 1.51:

[jfleck@jelloiii xsltbug]$ gdb xsltproc
GNU gdb Red Hat Linux (5.1-1)
Copyright 2001 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-redhat-linux"...
(gdb) run ~/unpack/docbook-xsl-1.51.1/html/chunk.xsl gphoto2.xml
Starting program: /home/jfleck/garnome/bin/xsltproc
~/unpack/docbook-xsl-1.51.1/html/chunk.xsl gphoto2.xml
Writing ch01.html for chapter(quickstart)
Writing ch02s02.html for section
Writing ch02s03.html for section
Writing ch02s04.html for section
Writing ch02.html for chapter(setup)
Error Undefined namespace prefix
xmlXPathCompiledEval: evaluation failed

Program received signal SIGSEGV, Segmentation fault.
0x400f268b in xmlXPathFreeNodeSet (obj=0x9193c20) at xpath.c:1964
1964
	    if ((obj->nodeTab[i] != NULL) &&
(gdb) bt
  • #0 xmlXPathFreeNodeSet
    at xpath.c line 1964
  • #1 xmlXPathFreeObject
    at xpath.c line 3130
  • #2 xsltFreeStackElem
    at variables.c line 117
  • #3 xsltFreeStackElemList
    at variables.c line 134
  • #4 xsltApplyOneTemplate
    at transform.c line 1453
  • #5 xsltProcessOneNode
    at transform.c line 1085
  • #6 xsltApplyTemplates
    at transform.c line 2870
  • #7 xsltApplyOneTemplate
    at transform.c line 1244
  • #8 xsltApplyOneTemplate
    at transform.c line 1256
  • #9 xsltApplyImports
    at transform.c line 2548
  • #10 xsltApplyOneTemplate
    at transform.c line 1244
  • #11 xsltChoose
    at transform.c line 2992
  • #12 xsltApplyOneTemplate
    at transform.c line 1244
  • #13 xsltProcessOneNode
    at transform.c line 1085
  • #14 xsltApplyTemplates
    at transform.c line 2870
  • #15 xsltApplyOneTemplate
    at transform.c line 1244
  • #16 xsltApplyOneTemplate
    at transform.c line 1256
  • #17 xsltApplyImports
    at transform.c line 2548
  • #18 xsltApplyOneTemplate
    at transform.c line 1244
  • #19 xsltCallTemplate
    at transform.c line 2622
  • #20 xsltApplyOneTemplate
    at transform.c line 1244
  • #21 xsltEvalVariable
    at variables.c line 373
  • #22 xsltBuildVariable
    at variables.c line 1024
  • #23 xsltParseStylesheetCallerParam
    at variables.c line 1192
  • #24 xsltCallTemplate
    at transform.c line 2604
  • #25 xsltApplyOneTemplate
    at transform.c line 1244
  • #26 xsltCallTemplate
    at transform.c line 2622
  • #27 xsltApplyOneTemplate
    at transform.c line 1244
  • #28 xsltCallTemplate
    at transform.c line 2622
  • #29 xsltApplyOneTemplate
    at transform.c line 1244
  • #30 xsltChoose
    at transform.c line 2992
  • #31 xsltApplyOneTemplate
    at transform.c line 1244
  • #32 xsltCallTemplate
    at transform.c line 2622
  • #33 xsltApplyOneTemplate
    at transform.c line 1244
  • #34 xsltChoose
    at transform.c line 3014
  • #35 xsltApplyOneTemplate
    at transform.c line 1244
  • #36 xsltProcessOneNode
    at transform.c line 1085
  • #37 xsltApplyTemplates
    at transform.c line 2870
  • #38 xsltApplyOneTemplate
    at transform.c line 1244
  • #39 xsltApplyOneTemplate
    at transform.c line 1256
  • #40 xsltApplyImports
    at transform.c line 2548
  • #41 xsltApplyOneTemplate
    at transform.c line 1244
  • #42 xsltCallTemplate
    at transform.c line 2622
  • #43 xsltApplyOneTemplate
    at transform.c line 1244
  • #44 xsltEvalVariable
    at variables.c line 373
  • #45 xsltBuildVariable
    at variables.c line 1024
  • #46 xsltParseStylesheetCallerParam
    at variables.c line 1192
  • #47 xsltCallTemplate
    at transform.c line 2604
  • #48 xsltApplyOneTemplate
    at transform.c line 1244
  • #49 xsltCallTemplate
    at transform.c line 2622
  • #50 xsltApplyOneTemplate
    at transform.c line 1244
  • #51 xsltCallTemplate
    at transform.c line 2622
  • #52 xsltApplyOneTemplate
    at transform.c line 1244
  • #53 xsltChoose
    at transform.c line 2992
  • #54 xsltApplyOneTemplate
    at transform.c line 1244
  • #55 xsltCallTemplate
    at transform.c line 2622
  • #56 xsltApplyOneTemplate
    at transform.c line 1244
  • #57 xsltChoose
    at transform.c line 3014
  • #58 xsltApplyOneTemplate
    at transform.c line 1244
  • #59 xsltProcessOneNode
    at transform.c line 1085
  • #60 xsltApplyTemplates
    at transform.c line 2870
  • #61 xsltApplyOneTemplate
    at transform.c line 1244
  • #62 xsltProcessOneNode
    at transform.c line 1085
  • #63 xsltDefaultProcessOneNode
    at transform.c line 929
  • #64 xsltProcessOneNode
    at transform.c line 1062
  • #65 xsltApplyTemplates
    at transform.c line 2870
  • #66 xsltApplyOneTemplate
    at transform.c line 1244
  • #67 xsltChoose
    at transform.c line 3014
  • #68 xsltApplyOneTemplate
    at transform.c line 1244
  • #69 xsltProcessOneNode
    at transform.c line 1085
  • #70 xsltApplyStylesheetInternal
    at transform.c line 3537
  • #71 xsltProcess
    at xsltproc.c line 282
  • #72 main
    at xsltproc.c line 669
  • #73 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129

Comment 1 John Fleck 2002-07-01 14:21:57 UTC
Created attachment 9547 [details]
file used to trigger crash
Comment 2 John Fleck 2002-07-04 19:33:48 UTC
William Brack has fixed this in cvs and asked me to test and close if
it works for me. It did. I am.
Comment 3 Daniel Veillard 2002-08-27 10:11:42 UTC
Okay, this should be fixed in the last releases,

Daniel