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.
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.
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.
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:
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.
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:
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.
Thanks, that helps. At Thu, 28 Jan 2010 17:39:07 +0100, Henne wrote: