Bug 9398

Summary: Segfault when building xfixes.c
Product: XCB Reporter: Jim Gifford <giffordj>
Component: ProtocolAssignee: Jamey Sharp <jamey>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: high    
Version: 1.0   
Hardware: x86 (IA32)   
OS: Windows (All)   
URL: http://pastebin.cross-lfs.org/432
Whiteboard:
i915 platform: i915 features:

Description Jim Gifford 2006-12-19 21:27:44 UTC
I've tried this on several different times. Everytime the build gets to
xfixes.c, get a segfault. Tried different versions of xsltdoc.

ln -s -f /usr/X11R7/share/xcb/xfixes.xml xfixes.xml
/usr/bin/xsltproc --stringparam mode source \
                    --stringparam base-path /usr/X11R7/share/xcb/ \
                    --stringparam extension-path /usr/X11R7/share/xcb/ \
                    -o xfixes.c ./c-client.xsl xfixes.xml
make[1]: *** [xfixes.c] Segmentation fault
make[1]: Leaving directory `/usr/src/libxcb-1.0/src'
make: *** [all-recursive] Error 1
Comment 1 Jamey Sharp 2006-12-20 20:13:11 UTC
You have a buggy version of libxslt1.1. Either upgrade to 1.1.19 or downgrade to
1.1.17. Your version of 1.1.18 appears to have the first of the needed bugfixes
that were applied to libxslt CVS, but not the second.

See http://bugzilla.gnome.org/show_bug.cgi?id=378766 . The libxslt developers
did some substantial re-writing to improve efficiency for 1.1.18 and didn't get
the RVT handling quite right.
Comment 2 Jim Gifford 2006-12-20 21:10:54 UTC
I am using 1.1.19, but still had to apply the patch that is described. Here's
the link to the patch I had to use. 
http://svn.cross-lfs.org/svn/repos/patches/libxslt/libxslt-1.1.19-segfault-1.patch

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.