Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118574 - GTK applications segfault
Summary: GTK applications segfault
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 13:10 UTC by Pablo Barros
Modified: 2007-02-16 18:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Barros 2006-01-10 13:10:55 UTC
Since my last emerge sync, gtk applications segfault when ran as user. Root can run them; xchat works when setuid.

Examples:
$gdb gimp:

(...)

[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 31182)]

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 16384 (LWP 31182)]
0x00002aaaabdfac26 in pango_fc_font_create_metrics_for_context () from /usr/lib64/libpangoft2-1.0.so.0

$ gdb xchat-2

(...)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 19734)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 19734)]
0x00002aaaabac64be in FcFreeTypeCharIndex () from /usr/lib/libfontconfig.so.1

$ gdb /usr/lib/mozilla/mozilla-bin

(...)

[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 5944)]
[New Thread 32769 (LWP 5980)]
[New Thread 16386 (LWP 5981)]
[New Thread 32771 (LWP 6033)]
[New Thread 49156 (LWP 6034)]
[New Thread 65541 (LWP 6035)]
[New Thread 81926 (LWP 6043)]
[New Thread 98311 (LWP 6044)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 5944)]
0x00002aaaac49cc26 in pango_fc_font_create_metrics_for_context () from /usr/lib/libpangoft2-1.0.so.0


Re-emerged pango, gtk+, freetype2, and the applications, to no avail. Is this a severe bug, or am I missing something?

Emerge info output:
$ emerge info
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
LANG="pt_BR.ISO8859-1"
LC_ALL="pt_BR"
LINGUAS="pt_BR"
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="amd64 X Xaw3d aac aalib accessibility acl acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts blas bluetooth bzip2 cdparanoia cdr crypt cscope css cups curl directfb doc dvd dvdr dvdread eds emacs emboss encode esd examples exif expat fam fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 java jikes jpeg jpeg2k junit kde kdeenablefinal lcms ldap leim lesstif libcaca libwww lm_sensors lzo lzw lzw-tiff mad matroska mng motif mozcalendar mozilla mp3 mpeg mplayer musepack musicbrainz mysql nas ncurses network nls nvidia ogg oggvorbis openal opengl pam pcre pda pdflib perl plotutils png python qt quicktime readline real recode samba sdl sms sndfile speex spell ssl tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev usb userlocales vcd vorbis xchatdccserver xemacs xine xml xml2 xmms xpm xv xvid zeroconf zlib video_cards_nvidia linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Pablo Barros 2006-01-12 11:18:15 UTC
Woops... file system error, something wrong on ~/.gtkrc-2.0. Removing it bought everything up again. 
Comment 2 Pablo Barros 2006-01-12 11:27:49 UTC
Seems to be a bug in gtk-engines-qt. Using Plastik as KDE theme, and setting "use my KDE style in GTK applications" causes them to segfault. Reopening.
Comment 3 Joe McCann (RETIRED) gentoo-dev 2006-01-13 10:15:22 UTC
assigning to gtk-engines-qt maintainers
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-02-12 07:56:12 UTC
please provide a backtrace (type 'bt' in the gdb shell) for the apps that segfault
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-16 18:58:01 UTC
Get back to us with something more useful.

http://www.gentoo.org/proj/en/qa/backtraces.xml