#521148 openjade: Segfault on Kerneldoc from 2.6.29

Package:
openjade
Source:
openjade
Description:
Implementation of the DSSSL language
Submitter:
Henne
Date:
2010-01-29 02:36:03 UTC
Severity:
normal
#521148#5
Date:
2009-03-25 09:06:23 UTC
From:
To:
I tried to build the Docbooks from the kernel 2.6.29 and tapped into a segfault.

cd ~
mkdir kernel-docs
cd /usr/src/linux-2.6.29
make xmldocs O=~/kernel-docs
cd ~/kernel-docs/Documentation/Docbook

openjade -t tex -d /usr/share/docbook-utils/docbook-utils.dsl#print /usr/share/sgml/declaration/xml.dcl regulator.xml

First comes this errormessage:

:3:E: flow object not accepted by port; only display flow objects accepted

Then the segfault.

I tried also "-t rtf", which brings the same error, but no segfault.

#521148#10
Date:
2009-03-25 11:21:57 UTC
From:
To:
On Mar 25, Henne (henrik@nachtwindheim.de) wrote:
 > Package: openjade
 > Version: 1.4devel1-19
 > Severity: normal
 >
 > I tried to build the Docbooks from the kernel 2.6.29 and tapped into a segfault.

Thanks for the report, I'll check it out.

#521148#15
Date:
2009-03-25 11:21:57 UTC
From:
To:
On Mar 25, Henne (henrik@nachtwindheim.de) wrote:
 > Package: openjade
 > Version: 1.4devel1-19
 > Severity: normal
 >
 > I tried to build the Docbooks from the kernel 2.6.29 and tapped into a segfault.

Thanks for the report, I'll check it out.

#521148#20
Date:
2010-01-04 06:04:06 UTC
From:
To:
Are you still able to reproduce this?  I just tried making the kernel
documentation for 2.6.30 using make-kpkg kernel_doc and it completed with no
errors.  The command below just exits and says nothing needs to be done.

At Wed, 25 Mar 2009 10:06:23 +0100,
Henne wrote:

#521148#25
Date:
2010-01-27 22:49:06 UTC
From:
To:
Yes, I am.
I tried also Ubuntu9.10, which has the same version
on x86_64 with the same result.
Also I tracked down a minimal file that causes openjade to segfault:
---------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>

<book>
	<chapter>
		<glossary/>
	</chapter>
</book>
---------------------------------------------

The command is the same as above.

#521148#30
Date:
2010-01-28 02:15:46 UTC
From:
To:
Thanks for the update and the minimal test case.  This, too, does not segfault
on my i386 machine.  I'll get onto a x86_64 and try it out.  If you have a
moment before I get to that, please try this command:

onsgmls -gues /usr/share/sgml/declaration/xml.dcl test.xml

If that segfaults, that means the issue is actually in OpenSP, which provides
the parsing libraries upon which OpenJade depends.

At Wed, 27 Jan 2010 23:49:06 +0100,
Henne wrote:

#521148#35
Date:
2010-01-28 16:39:07 UTC
From:
To:
I tried onsgmls with that minimal testcase, but get no segfault.
Also I tried ionsgmls with regulator.xml from Kerneldoc and
theres no segfault, too.

#521148#40
Date:
2010-01-29 02:33:36 UTC
From:
To:
Thanks, that helps.

At Thu, 28 Jan 2010 17:39:07 +0100,
Henne wrote: