delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/18/14:14:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E5285FA.7070201@fillmore-labs.com>
Date: Tue, 18 Feb 2003 20:14:02 +0100
From: Patrick Eisenacher <eisenacher AT fillmore-labs DOT com>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: xsltproc segfaults after upgrading to docbook xsl stylesheets v1.60.1
X-Authenticated-Sender: eisenacher AT fillmore-labs DOT com
User-Agent: KMail/1.5.9
Organization: Fillmore Labs GmbH <http://www.fillmore-labs.com/>
X-Complaints-To: abuse AT fillmore-labs DOT com

--------------070709060502090906070201
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Greetings,

I just posted the attached mail to the docbook-apps list. Daniel 
Veillard pointed out that libxml and libxslt are quite old and that this 
bug has been fixed since then.

Indeed, verifying this with the Windows binaries provided by Igor 
Zlatkovic at http://www.zlatkovic.com/projects/libxml/ proved that the 
segfault went away and my document gets smoothly transformed again.

E:\Temp\libxslt-1.0.26.win32\util>xsltproc -version
Using libxml 20503, libxslt 10026 and libexslt 717
xsltproc was compiled against libxml 20503, libxslt 10026 and libexslt 717
libxslt 10026 was compiled against libxml 20503
libexslt 717 was compiled against libxml 20503

May I ask the libxml and libxslt package maintainer to upgrade the 
packages to a newer version that fixes the crash. Are you still the 
maintainer, Robert?


Thanks for your help,
Patrick

--------------070709060502090906070201
Content-Type: message/rfc822;
 name="DOCBOOK-APPS: xsltproc segfaults after upgrading to xsl stylesheets v1.60.1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="DOCBOOK-APPS: xsltproc segfaults after upgrading to xsl stylesheets v1.60.1"

Return-Path: <docbook-apps-errors AT lists DOT oasis-open DOT org>
Received: from mx1.fillmore-labs.com (nuuk.corporate.fillmore-labs.com [192.168.1.1])
	by imap.fillmore-labs.com (Cyrus v2.1.12) with LMTP (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168/168 verify=YES); Tue, 18 Feb 2003 17:00:33 +0100
X-Sieve: CMU Sieve 2.2
Envelope-to: eisenacher AT fillmore-labs DOT com
Delivery-date: Tue, 18 Feb 2003 17:00:33 +0100
Received: from one.elistx.com ([209.116.252.130])
	by mx1.fillmore-labs.com with esmtp (Exim 4.12)
	id 18lAAb-000CCU-00
	for eisenacher AT fillmore-labs DOT com; Tue, 18 Feb 2003 17:00:33 +0100
Received: from CONVERSION-DAEMON.eListX.com by eListX.com
 (PMDF V6.0-025 #44856) id <0HAI00L01HQ510 AT eListX DOT com>
 (original mail from eisenacher AT fillmore-labs DOT com)
 for eisenacher AT fillmore-labs DOT com; Tue, 18 Feb 2003 10:58:56 -0500 (EST)
Received: from CONVERSION-DAEMON.eListX.com by eListX.com
 (PMDF V6.0-025 #44856) id <0HAI00L01HQ40Z AT eListX DOT com> for
 docbook-apps-1136-outbound AT reprocess DOT eListX DOT com
 (ORCPT docbook-apps AT lists DOT oasis-open DOT org); Tue,
 18 Feb 2003 10:58:53 -0500 (EST)
Received: from ELIST-DAEMON.eListX.com by eListX.com (PMDF V6.0-025 #44856)
 id <0HAI00L06HQ40V AT eListX DOT com> for
 docbook-apps-1136-outbound AT reprocess DOT eListX DOT com
 (ORCPT docbook-apps AT lists DOT oasis-open DOT org); Tue,
 18 Feb 2003 10:58:52 -0500 (EST)
Received: from CONVERSION-DAEMON.eListX.com by eListX.com
 (PMDF V6.0-025 #44856) id <0HAI00L01HQ40T AT eListX DOT com> for
 docbook-apps AT elist DOT lists DOT oasis-open DOT org
 (ORCPT docbook-apps AT lists DOT oasis-open DOT org); Tue,
 18 Feb 2003 10:58:52 -0500 (EST)
Received: from DIRECTORY-DAEMON.eListX.com by eListX.com (PMDF V6.0-025 #44856)
 id <0HAI00L01HQ30S AT eListX DOT com> for docbook-apps AT elist DOT lists DOT oasis-open DOT org
 (ORCPT docbook-apps AT lists DOT oasis-open DOT org); Tue,
 18 Feb 2003 10:58:51 -0500 (EST)
Received: from mx2.fillmore-labs.com (lima.fillmore-labs.com [62.138.193.83])
 by eListX.com (PMDF V6.0-025 #44856) with ESMTP id <0HAI00GKAHQ2KY AT eListX DOT com>
 for docbook-apps AT lists DOT oasis-open DOT org; Tue, 18 Feb 2003 10:58:51 -0500 (EST)
Received: from nb-rasta.development.fillmore-labs.com
 ([192.168.130.146] helo=fillmore-labs.com)	by mx2.fillmore-labs.com with asmtp
 (TLSv1:RC4-MD5:128)	(Exim 4.12)
	id 18lA8S-000Gku-00	for docbook-apps AT lists DOT oasis-open DOT org; Tue,
 18 Feb 2003 16:58:20 +0100
Date: Tue, 18 Feb 2003 16:58:21 +0100
From: Patrick Eisenacher <eisenacher AT fillmore-labs DOT com>
Subject: DOCBOOK-APPS: xsltproc segfaults after upgrading to xsl stylesheets
 v1.60.1
To: Docbook-Apps <docbook-apps AT lists DOT oasis-open DOT org>
Message-id: <3E52581D DOT 3000909 AT fillmore-labs DOT com>
Organization: Fillmore Labs GmbH  <http://www.fillmore-labs.com/>
X-Complaints-to: abuse AT fillmore-labs DOT com
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7BIT
User-Agent: KMail/1.5.9
X-Authenticated-Sender: eisenacher AT fillmore-labs DOT com
List-Owner: <mailto:docbook-apps-help AT lists DOT oasis-open DOT org>
List-Post: <mailto:docbook-apps AT lists DOT oasis-open DOT org>
List-Subscribe: <http://lists.oasis-open.org/ob/adm.pl>,
 <mailto:docbook-apps-request AT lists DOT oasis-open DOT org?body=subscribe>
List-Unsubscribe: <http://lists.oasis-open.org/ob/adm.pl>,
 <mailto:docbook-apps-request AT lists DOT oasis-open DOT org?body=unsubscribe>
List-Archive: <http://lists.oasis-open.org/archives/docbook-apps/>
List-Help: <http://lists.oasis-open.org/elists/admin.shtml>,
 <mailto:docbook-apps-request AT lists DOT oasis-open DOT org?body=help>
List-Id: <docbook-apps.lists.oasis-open.org>

Greetings,

I just upgraded my XSL stylesheets from 1.50.1 to 1.60.1 and now 
xsltproc complains about an undefined namespace and segfaults on one of 
my documents. The culprit seems to be a fileref, on which xsltproc chokes.

Is this a stylesheet issue or an xsltproc issue? Can anybody help?


Thanks,
Patrick


$ xsltproc -version
Using libxml 20423, libxslt 10013 and libexslt 705
xsltproc was compiled against libxml 20417, libxslt 10013 and libexslt 705
libxslt 10013 was compiled against libxml 20417
libexslt 705 was compiled against libxml 20417


$ xsltproc -catalogs -o Specification.html 
/usr/local/lib/xml/stylesheets/docbook-xsl/html/docbook.xsl 
Specification.xml
Error Undefined namespace prefix
xmlXPathCompiledEval: evaluation failed
Segmentation fault (core dumped)


here's a doc to reproducce the segfault:
<?xml version="1.0" standalone='no'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<!-- ROOT ELEMENT -->
<article class="specification" lang="en" vendor="Fillmore Labs" 
revision="0.4">

     <section id="architecture">
         <title>Architecture</title>
         <figure id="architecture-system">
             <title>System Architecture</title>
             <mediaobject>
                 <imageobject>
                     <imagedata 
fileref="Specification/ArchitectureSystem.jpg" format="JPG" 
align="center" />
                 </imageobject>
                 <textobject>
                     <phrase>System Architecture</phrase>
                 </textobject>
             </mediaobject>
         </figure>
     </section>
</article>


Exception: STATUS_ACCESS_VIOLATION at eip=6103E17D
eax=0000004B ebx=00000001 ecx=FFFFFFF9 edx=610C4F84 esi=00000001 
edi=10D83838
ebp=0022F000 esp=0022EFE8 program=D:\Cygwin\bin\xsltproc.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022F000  6103E17D  (10D83AC0, 103A62A0, 10A2DAB0, 00000000)
0022F030  6103EC46  (00000001, 103A6B20, 10A2E160, 10D83838)
0022F060  0041A67D  (10D9A008, 0042BAA0, 103A6018, 6107A320)
0022F090  0041A6DB  (10D99F88, 10A2DAB0, 0022F100, 004291B2)
0022F100  0042968D  (10A2DAB0, 10A2E160, 103A6B20, 00000000)
0022F160  0041AB1A  (10A2DAB0, 10D839F0, 103A5EA8, 10D83870)
0022F190  0041B797  (10A2DAB0, 103A5EA8, 103A6B20, 10D83838)
0022F1C0  0041B86E  (10A2DAB0, 103A5EA8, 103A6B20, 00000000)
0022F200  0041BE2F  (10A2DAB0, 103A6838, 00000000, 103CCB70)
0022F260  0042922D  (10A2DAB0, 10A2E160, 103A68F0, 10392140)
0022F2A0  00428B44  (10A2DAB0, 10A2E160, 00000000, 6103EC46)
0022F330  0042C504  (10A2DAB0, 10A2DEE8, 10486818, 104850B8)
0022F390  004291B2  (10A2DAB0, 10A2DEE8, 104866F8, 00000000)
0022F3F0  0042C823  (10A2DAB0, 10A2DEE8, 10484538, 10484C58)
0022F450  004291B2  (10A2DAB0, 10A2DEE8, 10483BD8, 10490E48)
0022F4A0  0042BC41  (10A2DAB0, 10A2DEE8, 1048BC90, 1048B760)
End of stack trace (more stack frames may be present)



--------------070709060502090906070201
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------070709060502090906070201--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019