Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372111 - >=x11-libs/gdk-pixbuf-2.22.1: segfaults with cairo[qt4] and nvidia-drivers (see comment #12)
Summary: >=x11-libs/gdk-pixbuf-2.22.1: segfaults with cairo[qt4] and nvidia-drivers (s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-18 04:12 UTC by huachimichu
Modified: 2011-12-22 15:51 UTC (History)
13 users (show)

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


Attachments
Build log for x11-libs/gdk-pixbuf-2.22.1 (Build log.txt,81.35 KB, text/plain)
2011-06-18 04:14 UTC, huachimichu
Details
Ebuild environment file (Ebuild environment file.txt,115.49 KB, text/plain)
2011-06-18 04:16 UTC, huachimichu
Details
Output of emerge --info (emerge --info.txt,4.01 KB, text/plain)
2011-06-18 04:17 UTC, huachimichu
Details
Output of emerge -pqv (emerge -pqv.txt,183 bytes, text/plain)
2011-06-18 04:17 UTC, huachimichu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description huachimichu 2011-06-18 04:12:33 UTC
x11-libs/gdk-pixbuf-2.22.1 won't emerge. Build log shows a segmentation fault when the program gdk-pixbuf-query-loaders is called to create a loaders.cache file. This error also happens trying to build version 2.21.3 by hand.

Reproducible: Always

Steps to Reproduce:
1. Emerge x11-libs/gdk-pixbuf-2.22.1
2. Download gdk-pixbuf version 2.21.3 and build by hand with "./configure", "make" and "make install".

Actual Results:  
Build fails with a segmentation fault on a program that is part of the build process (but not a build tool).

Expected Results:  
Emerging x11-libs/gdk-pixbuf-2.22.1 should have resulted in the library being installed into the system. If not possible, installing gdk-pixbuf version 2.21.3, building manually and adding gdk-pixbuf to packages.provided should do the work.

I am running Gentoo on Oracle VM Virtualbox 4.0.8.

Host system configuration: 
- CPU: Pentium Dual Core E2160 running at 1.8 GHz
- RAM: 2048 MB of DDR
- Motherboard: Gigabyte 8I865GME-775-RH R2.0
- Graphics card: ATI Radeon 9550
- Hard drives: 160 GB Seagate ST3160815AS, 1000 GB Hitachi Deskstar HDS721010CLA332
- Optical drive: Memorex DVD16+/-DL4RWlD2
- OS: Windows 7 Professional SP1 32 bits
Comment 1 huachimichu 2011-06-18 04:14:45 UTC
Created attachment 277435 [details]
Build log for x11-libs/gdk-pixbuf-2.22.1
Comment 2 huachimichu 2011-06-18 04:16:54 UTC
Created attachment 277437 [details]
Ebuild environment file
Comment 3 huachimichu 2011-06-18 04:17:23 UTC
Created attachment 277439 [details]
Output of emerge --info
Comment 4 huachimichu 2011-06-18 04:17:45 UTC
Created attachment 277441 [details]
Output of emerge -pqv
Comment 5 Pacho Ramos gentoo-dev 2011-07-04 10:31:01 UTC
Does this still fail for you on a full updated system? Does it always fail exactly at the same step (if not, maybe this is caused by some hardware failure like memory problems, that can cause segfaults on a lot of apps, you can review "dmesg" output looking for more segfaults...)
Comment 6 Bruno Yporti 2011-07-14 23:43:33 UTC
I had the same problem with my systems (gentoo ~x86 and ~amd64). In dmesg:

gdk-pixbuf-quer[15407]: segfault at 0 ip 00007f1d7ef23405 sp 00007fffadbd92a0 error 4 in libQtCore.so.4.7.3[7f1d7eec7000+284000]

Compiling x11-libs/cairo without 'qt4' use flags makes gdk-pixbuf-query works fine.
Comment 7 Pacho Ramos gentoo-dev 2011-07-15 12:29:18 UTC
I don't understand these problems with cairo[qt4] :@
Comment 8 Pacho Ramos gentoo-dev 2011-07-15 12:43:26 UTC
Maybe these problems are also worse since gtk+ pkgconfig file likes to list cairo all cairo libs:
https://bugzilla.gnome.org/show_bug.cgi?id=328699
http://bugreports.qt.nokia.com/browse/QTBUG-17838
Comment 9 Rafał Mużyło 2011-08-19 13:13:54 UTC
(In reply to comment #8)
> Maybe these problems are also worse since gtk+ pkgconfig file likes to list
> cairo all cairo libs

Well, with gdk-pixbuf 2.23.5 it no longer does:
pkg-config gtk+-2.0 --libs
-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
Now, CPPFLAGS are a different matter (on the other hand, there's no such thing as Cflags.private):
pkg-config gtk+-2.0 --cflags
-pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore
Comment 10 Pacho Ramos gentoo-dev 2011-08-28 19:15:12 UTC
Are you able to reproduce with 2.24.0?
Comment 11 Jack Cuyler 2011-09-07 15:00:46 UTC
This seems be specific to a certain loader or certain loaders.  In my case, libpixbufloader-svg.so is causing the issue.  I determined this by running gdk-pixbuf-query-loaders on each individual file in /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders:


for x in /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/* ; do gdk-pixbuf-query-loaders $x > /dev/null || echo $x ; done
Segmentation fault
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so


For all of the other files, gdk-pixbuf-query-loaders generated output as expected:

gdk-pixbuf-query-loaders /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.23.5
#
"/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "The PNG image format" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100
Comment 12 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-07 15:41:32 UTC
To those who are affected by this bug: are you using nvidia-drivers? If so, what version? Do you have any nvidia-specific environment variables set? And does doing 'eselect opengl set xorg-x11' allow you to emerge gdk-pixbuf?

(For the record: I can reproduce this bug with any version of gdk-pixbuf when I use nvidia-drivers-275.09.07 and the __GL_NO_DSO_FINALIZER environment variable is set to 1).
Comment 13 Jack Cuyler 2011-09-07 15:57:09 UTC
I am running version 280.13 of the nvidia drivers, and __GL_NO_DSO_FINALIZER is set to 1.
Comment 14 Jack Cuyler 2011-09-07 18:54:25 UTC
I can confirm that running

eselect opengl set xorg-x11 ; emerge gdk-pixbuf ; eselect opengl set nvidia

is a successful work-around.
Comment 15 Pacho Ramos gentoo-dev 2011-09-09 16:16:39 UTC
Something looks wrong with nvidia drivers, not sure if upstream is aware of the problem :-/
Comment 16 Balazs Nemeth 2011-12-10 18:20:30 UTC
Hello,

Rebuilding cairo without qt4 use flag solved the problem on my side as well.

emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 10 Dec 2011 00:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1 google-talkplugin Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/gentoo/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.inode.at http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.osuosl.org/"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="hu"
MAKEOPTS="-j3"
PKGDIR="/home/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/gentoo/tmp"
PORTDIR="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss exif fam firefox flac ftp gdbm gdu gif gstreamer iconv ipv6 jpeg kde lcms mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pch pcre pdf png policykit ppds pppd qt3support qt4 readline sdl session slang sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis xcb xcomposite xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Brian Evans (RETIRED) gentoo-dev 2011-12-14 02:07:26 UTC
I've also hit this issue.  cairo[qt4] will not let gdk-pixbuf-query-loaders run.
Previously had nvidia-drivers installed, but now running nouveau.

cairo[-qt4] made it work.

Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.3
Timestamp of tree: Mon, 12 Dec 2011 22:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo Local-Ebuilds
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=barcelona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirrors.rit.edu/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 java jpeg lcms libnotify logrotate mad mmx mng modules mp2 mp3 mp4 mpeg mudflap multilib ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 quicktime readline sdl session spell sse sse2 ssl startup-notification stream svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 18 Pacho Ramos gentoo-dev 2011-12-14 10:15:02 UTC
Probably it's time to report this to cairo upstream as looks like we don't have much idea about what is causing this problem when cairo is built with qt4 support :-/
Comment 19 Rafał Mużyło 2011-12-14 21:02:28 UTC
(In reply to comment #18)
> Probably it's time to report this to cairo upstream as looks like we don't have
> much idea about what is causing this problem when cairo is built with qt4
> support :-/

Well, if we're at "silly guesses" stage, then I think bug 369593 is worth checking.
Comment 20 Brian Evans (RETIRED) gentoo-dev 2011-12-15 17:45:55 UTC
I cannot reproduce this on a similar machine (cairo[qt4]).
Previously, the affected machine had cairo compiled with nvidia-drivers and "eselect opengl nvidia".

I have not had a chance to try the affected machine with cairo[+qt4] and "eselect opengl xorg-x11" + nouveau.  I will try to do so in the next few days.
Comment 21 Brian Evans (RETIRED) gentoo-dev 2011-12-16 23:24:44 UTC
Tried to re-enable qt4 on cairo on the affected machine.
This is the backtrace for gdk-pixbuf-query-loaders from gdb. (splitdebug is on but may not be in all packages)

Starting program: /usr/bin/gdk-pixbuf-query-loaders 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2ca35f7 in QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, double), int) () from /usr/lib64/qt4/libQtCore.so.4
(gdb) bt
#0  0x00007ffff2ca35f7 in QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, double), int) () from /usr/lib64/qt4/libQtCore.so.4
#1  0x00007ffff32a2a0b in qUnregisterGuiGetInterpolator__dest_class__::~qUnregisterGuiGetInterpolator__dest_class__() () from /usr/lib64/qt4/libQtGui.so.4
#2  0x00007ffff7357a8a in __cxa_finalize () from /lib64/libc.so.6
#3  0x00007ffff3297946 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#4  0x00007fffffffd810 in ?? ()
#5  0x0000000000000009 in ?? ()
#6  0x00007fffffffda80 in ?? ()
#7  0x00007ffff3914b41 in _fini () from /usr/lib64/qt4/libQtGui.so.4
#8  0x0000000000610500 in ?? ()
#9  0x00007ffff7defd91 in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 22 Pacho Ramos gentoo-dev 2011-12-17 09:46:38 UTC
You need to re-emerge qt-gui with debugging symbols to get a better backtrace ;)
Comment 23 Gerhard Just Olsen 2011-12-19 16:12:25 UTC
I have the same problem on 3 of my gentoo computers. 
1. Nvidia x11-drivers/nvidia-drivers-285.05.09-r1 
2. Ati x11-drivers/ati-drivers-11.12
3. Intel x11-drivers/xf86-video-intel-2.15.0-r1

All are just updated an all start working again if i emerge cairo with -qt4
Hope this helps.
Comment 24 Pacho Ramos gentoo-dev 2011-12-19 22:40:50 UTC
(In reply to comment #23)
> I have the same problem on 3 of my gentoo computers. 
> 1. Nvidia x11-drivers/nvidia-drivers-285.05.09-r1 
> 2. Ati x11-drivers/ati-drivers-11.12
> 3. Intel x11-drivers/xf86-video-intel-2.15.0-r1
> 
> All are just updated an all start working again if i emerge cairo with -qt4
> Hope this helps.

For helping, please get a backtrace, like comment #21 one but with more packages recompiled with debugging symbols as commented in comment #22
Comment 25 nobody 2011-12-20 21:07:44 UTC
>=x11-libs/gdk-pixbuf-2.22.1: segfaults with cairo[qt4] and nvidia-drivers

I suppose someone change the reporter title because of comment#12

But aren't you going the wrong way ?
The reporter stay :
- Graphics card: ATI Radeon 9550

I then doubt he use nvidia-drivers
Maybe nvidia-drivers ALSO does that, but it's not tied to them, so more opengl or anything, but digging more nvidia drivers won't help the reporter :P
Comment 26 Brian Evans (RETIRED) gentoo-dev 2011-12-21 00:19:20 UTC
I hope this will help.

With USE=debug on qt-gui (and qt friends), this is the backtrace:

Starting program: /usr/bin/gdk-pixbuf-query-loaders 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
QVariantAnimation::registerInterpolator (func=0, interpolationType=67)
    at animation/qvariantanimation.cpp:437
437	animation/qvariantanimation.cpp: No such file or directory.
	in animation/qvariantanimation.cpp
(gdb) bt
#0  QVariantAnimation::registerInterpolator (func=0, interpolationType=67)
    at animation/qvariantanimation.cpp:437
#1  0x00007ffff31f51cb in qUnregisterGuiGetInterpolator (
    this=<value optimized out>, __in_chrg=<value optimized out>)
    at animation/qguivariantanimation.cpp:82
#2  qUnregisterGuiGetInterpolator__dest_class__::~qUnregisterGuiGetInterpolator__dest_class__ (this=<value optimized out>, __in_chrg=<value optimized out>)
    at animation/qguivariantanimation.cpp:94
#3  0x00007ffff7357a8a in __cxa_finalize () from /lib64/libc.so.6
#4  0x00007ffff31e9ac6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#5  0x00007fffffffd810 in ?? ()
#6  0x0000000000000009 in ?? ()
#7  0x00007fffffffda80 in ?? ()
#8  0x00007ffff38eedc1 in _fini () from /usr/lib64/qt4/libQtGui.so.4
#9  0x0000000000610500 in ?? ()
#10 0x00007ffff7defd91 in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 27 Brian Evans (RETIRED) gentoo-dev 2011-12-21 00:35:21 UTC
Possibly related bug report from Ubuntu: https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/785318

Seems it is fixed in 4.7.4
Comment 28 Brian Evans (RETIRED) gentoo-dev 2011-12-21 02:01:43 UTC
Just finished merging qt-*-4.7.4 (being stabled in bug 390963)
Issue on the affected machine no longer appears.

Suggest linking bugs and possibly updating description
Comment 29 Pacho Ramos gentoo-dev 2011-12-21 10:29:35 UTC
Will CC qt people for let them know and try to know when fixed qt will go to stable if possible
Comment 30 Davide Pesavento (RETIRED) gentoo-dev 2011-12-21 11:16:24 UTC
(In reply to comment #29)
> Will CC qt people for let them know and try to know when fixed qt will go to
> stable if possible

This has been fixed by upstream commit http://qt.gitorious.org/qt/qt/commit/861333040c252fa0f53894b604f7cb768c085281

Qt 4.7.4 is being stabilized in bug #390963 (in fact it's already stable on amd64). I think we can close this one.
Comment 31 Nathan Torchia 2011-12-21 16:26:47 UTC
I'm on amd64, just updated Qt to 4.7.4, re-emerged cairo and gdk-pixbuf, problems been fixed. Awesome.
Comment 32 Pacho Ramos gentoo-dev 2011-12-22 15:51:53 UTC
Fantastic! :D