Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#24060 closed defect (worksforme)

xsltproc segmentation fault on install of gnome-doc-utils

Reported by: chalin@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia), carlton@…, stvnschwrz@…, scottn@…, karoly@…, jsg72@…
Port: libxml2

Description

sudo port -d install gnome-doc-utils yields (log is also attached):

/bin/sh: line 1: 88931 Segmentation fault xsltproc -o gnome-doc-make-C.omf --stringparam db2omf.basename gnome-doc-make --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/opt/local/share/omf" --stringparam db2omf.help_dir "/opt/local/share/gnome/help" --stringparam db2omf.omf_in "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-doc-utils/work/gnome-doc-utils-0.18.1/doc/gnome-doc-make/gnome-doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml

Attachments (1)

gnome-doc-utils-install-log.txt (94.2 KB) - added by chalin@… 15 years ago.

Download all attachments as: .zip

Change History (22)

Changed 15 years ago by chalin@…

comment:1 Changed 15 years ago by carlton@…

Cc: carlton@… added

Cc Me!

comment:2 Changed 15 years ago by carlton@…

Happening to me to.

comment:3 Changed 15 years ago by carlton@…

too, rather. :-)

comment:4 Changed 15 years ago by mzucker (Matt Zucker)

Ditto

comment:5 Changed 15 years ago by stvnschwrz@…

Cc: stvnschwrz@… added

Cc Me!

comment:6 in reply to:  description ; Changed 15 years ago by scottn@…

Cc Me!

comment:7 in reply to:  6 Changed 15 years ago by scottn@…

Tried:

port install gnome-doc-utils @0.16.1

Still got the segfault. Suggests the problem is in xsltproc, not a newish problem introduced in the latest gnome-doc-utils.

comment:8 Changed 15 years ago by scottn@…

Cc: scottn@… added

Cc Me!

comment:9 in reply to:  8 Changed 15 years ago by scottn@…

Tried substituting libxslt 1.1.24 (rev 49182), same segfault installing gnome-doc-utils.

libxslt 1.1.23 (rev 39719) wouldn't compile.

Anyone have a workaround that works to suggest?

comment:10 Changed 15 years ago by karoly@…

Cc: karoly@… added

Cc Me!

comment:11 Changed 15 years ago by karoly@…

It looks like "--stringparam db2omf.dtd" is missing a value in the troublesome command, so there is a problem with gnome-doc-utils as well. Segfaulting is somewhat suboptimal error reporting from xsltproc. Note that the version that ships with Snow Leopard handles this (slightly) better.

comment:12 Changed 15 years ago by rovaedne@…

Cc: rovaedne@… added

Cc Me!

comment:13 Changed 15 years ago by jsg72@…

Cc: jsg72@… added

Cc Me!

comment:14 Changed 15 years ago by jmroot (Joshua Root)

Cc: devans@… jeremyhu@… added
Owner: changed from macports-tickets@… to nox@…
Port: libxslt gnome-doc-utils added

comment:15 Changed 15 years ago by nox@…

Port: libxml2 added; libxslt gnome-doc-utils removed
Resolution: worksforme
Status: newclosed
Version: 1.8.2

The segfault was happening in xmlParserInputBufferCreateFilename, which is a libxml2 function. I upgraded to libxml2 to 2.7.7 and the problem disappeared. Please run sudo port upgrade libxml2 and try again.

comment:16 Changed 15 years ago by chalin@…

Doing "sudo port upgrade libxml2" has no effect for me (as libxml2 is already up-to-date).

> sudo port upgrade libxml2

> port installed | grep libxml2
  libxml2 @2.7.6_0 (active)
  py26-libxml2 @2.6.21_0 (active)

I still cannot install gnome-doc-utils (I get the same segmentation fault).

comment:17 Changed 15 years ago by nox@…

You think it is up-to-date. It is not. Latest version is 2.7.7, please run sudo port sync.

comment:18 Changed 15 years ago by chalin@…

You're right! Still learning the ropes with Mac Ports. Thanks. sync followed by an update of libxml2 does indeed allow me to build gnome-doc-utils.

comment:19 in reply to:  17 Changed 15 years ago by scottn@…

Worked like a charm. Many thanks!

comment:20 Changed 15 years ago by mzucker (Matt Zucker)

Works for me after updating libxml2 as well.

comment:21 Changed 15 years ago by rovaedne@…

Cc: rovaedne@… removed

Cc Me!

Note: See TracTickets for help on using tickets.