Summary: | textproc/libxslt: xsltproc segfaults on git documentation | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Lacey Powers <lacey.leanne> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | ||||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Lacey Powers
2015-09-21 19:51:55 UTC
When building from poudriere, xmlto fails to build the git documentation. This is caused by an underlying segmentation fault in xsltproc. Rebuilding libxslt-1.1.28_7 doesn't seem to help fix this. xmlto -m ../../Documentation/manpage-normal.xsl man git-subtree.xml /usr/local/bin/xmlto: line 585: 35665 Segmentation fault (core dumped) "/usr/local/bin/xsltproc" --nonet --xinclude --param passivetex.extensions '1' -o "/tmp/xmlto.Pa861F/git-subtree.proc" "/tmp/xmlto-xsl.pBst4O" "/usr/ports/devel/git/work/git-2.5.3/contrib/subtree/git-subtree.xml" /usr/local/bin/xsltproc --nonet --xinclude --param passivetex.extensions 1 -o /tmp/xmlto.ePqpYB/git-subtree.proc /tmp/xmlto-xsl.5ykwCy /usr/ports/devel/git/work/git-2.5.3/contrib/subtree/git-subtree.xml xsl files are attached. Created attachment 161252 [details]
xsl files causing the core xsltproc core dump
Link to core dump from 10.2-RELEASE-p3 http://kassandry.net/drop/xsltproc.core.0 reassign to proper port and maintainer The errors reported for this bug are similar to the bug reported here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195044 After spending a few months on and off analyzing this core dump and the program, this comes about because of the recommended settings for DTrace. https://wiki.freebsd.org/DTrace/userland CFLAGS+=-fno-omit-frame-pointer This library uses the frame pointer for its own work. Omitting this flag for the build of this specific port gets rid of the bug. |