Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

xsltproc seg faults (solved)

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
GatoVolador
Apprentice
Apprentice
User avatar
Posts: 268
Joined: Wed Jun 16, 2004 1:03 am
Location: California, USA

xsltproc seg faults (solved)

  • Quote

Post by GatoVolador » Sun Nov 07, 2004 1:06 am

Hello all,

I'm having problems using xsltproc to generate docbook documents. No matter what I do xsltproc always seg faults on me. I'm writing some XML DocBook, and according to xmllint it is all well-formed. I've done some searches and tried re-emerging libxslt and docbook-xml-dtd after recreating my xml catalog, but no luck.

I've also noticed a number of Gnome packages that aren't able to install docs because xsltproc is seg faulting, so it seems this is a fairly common problem, but I've yet to find a solution.

The output of xsltproc --version is

Code: Select all

Using libxml 20615, libxslt 10108 and libexslt 806
xsltproc was compiled against libxml 20615, libxslt 10108 and libexslt 806
libxslt 10108 was compiled against libxml 20615
libexslt 806 was compiled against libxml 20615


Here's the file (greatly cut down) that causes the error:

Code: Select all

<?xml version="1.0" standalone="no"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                      "/usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd"> 
<book>
    <bookinfo>
        <title>Bodgitt and Scarper User Guide</title>
        <author>
            <firstname>Julio</firstname>
            <surname>Melgar Galiano de Santos</surname>
        </author>

        <revhistory>
            <revision>
                <revnumber>1.0</revnumber>
                <date>2003-12-08</date>
                <authorinitials>jmgs</authorinitials>
                <revremark>Initial skeleton version.</revremark>
            </revision>
        </revhistory>

        <abstract>
            <para>This is the user guide for the Bodgitt and Scarper
contractor reservation system. It describes the installation, use, and
troubleshooting of the application.</para> 
        </abstract> 
    </bookinfo>

<!-- Chapter: Installation and configuration -->
    <chapter id="install_config">
        <title>Installation and Configuration</title>
        <para>This section describes the initial installation and
configuration of the application. Additionally, it describes the configuration
options available for the application.</para>
    </chapter>
</book>
Any help would be greatly appreciated,
Thanks and regards,
Jay
Last edited by GatoVolador on Mon Nov 08, 2004 7:42 pm, edited 1 time in total.
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Sun Nov 07, 2004 8:11 am

Segfault or killed due to an out of memory condition?
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
GatoVolador
Apprentice
Apprentice
User avatar
Posts: 268
Joined: Wed Jun 16, 2004 1:03 am
Location: California, USA

  • Quote

Post by GatoVolador » Mon Nov 08, 2004 5:59 am

It's definitely a seg fault. I watched memory and it doesn't even come close to filling memory, at the max xsltproc uses 48 Mb, and even with everything else I don't get near the 320 Mb I've got installed. "Segmentation fault" actually gets output.

I've done a little research and it seems that this happens for XHTML, HTMLHelp and JavaHelp output formats. The HTML output works, but I get a message

Code: Select all

free(): invalid pointer 0xae55020!
at the end of the run. Formatting objects output seems to work fine.

Regards,
Jay
Top
GatoVolador
Apprentice
Apprentice
User avatar
Posts: 268
Joined: Wed Jun 16, 2004 1:03 am
Location: California, USA

  • Quote

Post by GatoVolador » Mon Nov 08, 2004 7:41 pm

It looks like the problem solved itself when I upgraded to libxslt-1.1.9-r1.

Chao,
Jay
Top
Post Reply

4 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic