Summary: | libXft dies when passing FT_Face objects directly to Xft | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Klüft <skluft> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | ghepeu, gnome, iyosifov, marienz, murray.alex |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 84701 | ||
Attachments: |
freetype.patch (but probably misnamed ;)
patch to xorg-x11-6.8.2-r1.ebuild to apply the previous patch |
Description
Sebastian Klüft
2005-03-13 16:22:52 UTC
same problem here Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20050125-r0, 2.6.11-ck2 i686) ================================================================= System uname: 2.6.11-ck2 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 16:19:21)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="it_IT" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex X a52 aac acpi acpi4linux alsa apache2 audiofile avi berkdb bmp cdparanoia cdr crypt cups curl divx4linux dlloader dts dvd dvdread eds emboss encode evo faac faad fam fbcon fbdev ffmpeg flac font-server foomaticdb fortran freetype gd gd-external gif glitz gnome gnomedb gpm graphviz gstreamer gtk gtk2 gtkhtml hal imagemagick imlib innodb ithreads java javascript jce jpeg kdeenablefinal lcms libg++ libsamplerate libwww live lzw-tiff mad matroska mikmod mmap mmx mmx2 mng motif mozilla mozinterfaceinfo moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mysql ncurses network nls no-old-linux nptl objc oggvorbis opengl pam pcap pdflib perl png ppds python qt quicktime radeon readline real rtc samba sdl slang sndfile spell sse ssl svg svga tcpd tetex tga theora threads tiff truetype truetype-fonts type1 type1-fonts uptimed usb userlocales videos vidix wmf wxwindows xchatdccserver xface xml xml2 xmms xprint xrandr xv xvid xvmc yv12 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL Me too. Created attachment 55606 [details, diff]
freetype.patch (but probably misnamed ;)
Created attachment 55607 [details, diff]
patch to xorg-x11-6.8.2-r1.ebuild to apply the previous patch
This bug seemed similar to http://bugzilla.gnome.org/show_bug.cgi?id=158551 (also a gnome-font-viewer crash although the way to trigger it seemed different), which was really https://bugs.freedesktop.org/show_bug.cgi?id=1951 (a bug in libXft). So I massaged that patch a bit to apply to xorg-x11's internal Xft lib, and this made the crash go away for me. The patch itself is probably good, the way I'm making the ebuild apply it sucks. Tt would be nice to see if this fixes it for other people too. I'm not sure this is the currect place but I think that now this bug will be cc'ed to xorg-x11 mantainer... libxft is now provided by xorg-x11, but there is a separated source tree (http://lists.freedesktop.org/archives/xorg/2005-March/007192.html) and, judging from what keith packard wrote in the bug Marien linked, it should be better than the xorg monolithic version. is there a reason for using the one in xorg? Thanks Marien Zwart, that patch worked for me to. This looks like purely an xorg bug, then. I'll add this patch to xorg-x11-6.8.2-r2. Giacomo, if you're interested in splitting libXft out from xorg-x11, feel free to supply a new ebuild and patches to xorg-x11 to do so in a new bug. Modularization work similar to this is underway upstream and should be done in the next ~6 months, so my motivation for replicating it isn't very high. Fixed in 6.8.2-r2 and 6.8.99.5. Thanks! |