Bug 203250 - textproc/libxslt: xsltproc segfaults on git documentation
Summary: textproc/libxslt: xsltproc segfaults on git documentation
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-21 19:51 UTC by Lacey Powers
Modified: 2017-03-21 01:41 UTC (History)
0 users

See Also:


Attachments
xsl files causing the core xsltproc core dump (606 bytes, application/x-tgz)
2015-09-21 20:00 UTC, Lacey Powers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lacey Powers 2015-09-21 19:51:55 UTC

    
Comment 1 Lacey Powers 2015-09-21 20:00:12 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.
Comment 2 Lacey Powers 2015-09-21 20:00:44 UTC
Created attachment 161252 [details]
xsl files causing the core xsltproc core dump
Comment 3 Lacey Powers 2015-09-21 20:03:30 UTC
Link to core dump from 10.2-RELEASE-p3

http://kassandry.net/drop/xsltproc.core.0
Comment 4 Matthias Andree freebsd_committer freebsd_triage 2015-09-26 10:11:13 UTC
reassign to proper port and maintainer
Comment 5 Lacey Powers 2015-10-01 18:45:22 UTC
The errors reported for this bug are similar to the bug reported here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195044
Comment 6 Lacey Powers 2016-10-17 05:46:31 UTC
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.