Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301892 - firefox (and other apps) fail to start with x11-libs/pixman-0.17.4
Summary: firefox (and other apps) fail to start with x11-libs/pixman-0.17.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-23 10:13 UTC by infobox.oleg
Modified: 2010-03-15 23:10 UTC (History)
5 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 infobox.oleg 2010-01-23 10:13:37 UTC
I've upgraded pixman to 0.17.4 and firefox, krusader etc. failed to start:
(firefox:3971): GLib-WARNING **: g_set_prgname() called multiple times
*** BUG ***
pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on 'log_region_error' to debug



Reproducible: Always

Steps to Reproduce:
1. Install pixman 0.17.4
2. Try to start firefox
3. See it fail




emerge --info:
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 22 Jan 2010 18:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse -msse2 -mssse3 -mmmx -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -msse -msse2 -mssse3 -mmmx -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.dkm.cz/pub/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 automount bash-completion berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups custom-optimization cvs cxx dbus dhclient dri dts dvd dvdr eds emboss encode evo extras fam firefox flac fortran fuse gdbm gif git glitz gnome gnome-keyring gnutls gpm graphite gstreamer gtk hal iconv icq ipv6 jabber java java6 jpeg kde kdrive laptop lcms ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql nautilus ncurses networkmanager nls nodrm nptl nptlonly nsplugin ogg opencore-amr opengl openmp oscar pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl semantic-desktop session sip spell spl sql sqlite sse sse2 sse3 sse4.1 ssl ssse3 startup-notification subversion svg sysfs tcpd thunar tiff truetype unicode usb v4l v4l2 vorbis wav webkit x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 infobox.oleg 2010-01-23 10:15:18 UTC
Oh, btw, downgrading to pixman 0.17.2 solved the problem.

Oleg
Comment 2 Jory A. Pratt gentoo-dev 2010-01-24 03:50:35 UTC
(In reply to comment #1)
> Oh, btw, downgrading to pixman 0.17.2 solved the problem.
> 
> Oleg
> 

Unable to reproduce, did you ensure you ran a revdep-rebuild after install?
Comment 3 infobox.oleg 2010-01-24 09:01:12 UTC
Yes, I've ran revdep-rebuild immediately after having problems - nothing was found. I've repeated this now - upgrade pixman to 0.17.4, observe failure, revdep-rebuild, no problems found.

Oleg
Comment 4 Sergey Urzhumskov 2010-01-25 09:48:53 UTC
Same problem here after today's update... revdep-rebuild finds nothing, downgrading to pixman-0.17.2 doesn't help. Firefox isn't affected, some kde apps are: okular, konversation, quassel...
Comment 5 Sergey Urzhumskov 2010-01-25 10:07:32 UTC
Oops, sorry :) Downgrading to pixman-0.17.2 DOES help.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:53:48 UTC
pixman 0.17 is development release series, and now has asserts() enabled by default. I will personally hunt down and slap whoever put it in portage.

Cheers
Comment 7 Benjamin Lee 2010-01-27 01:55:42 UTC
I also experienced many problems after upgrading to pixman-0.17.4.

In /var/log/gdm/:0.log:

*** BUG ***
pixman_region_copy: Malformed region src
Set a breakpoint on 'log_region_error' to debug

In /var/log/messages:

Jan 26 16:20:28 supra gdm[14203]: WARNING: gdm_slave_xioerror_handler: Fatal X e
rror - Restarting :0

Downgrading to pixman-0.17.2 solved the problems.
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2010-01-27 07:19:26 UTC
Masked until we figure this out.

Thanks
Comment 9 Martin Mokrejš 2010-01-27 20:36:52 UTC
Maybe bug #302517 has a relevant stacktrace and a link to a crashing testcase from Redhat?
Comment 10 Siarhei Siamashka 2010-01-28 06:36:32 UTC
I think it makes sense to submit a bugreport to bugs.freedesktop.org once the initial investigation is done.

It looks like the result of this patch: http://cgit.freedesktop.org/pixman/commit/?id=1435c8aa3db3b6bde26216e260cc94baba225664

And it is quite possible that it catches a (minor) bug in xserver which was unnoticed earlier (pixman was silently ignoring it).
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2010-01-29 07:55:05 UTC
*** Bug 302517 has been marked as a duplicate of this bug. ***
Comment 12 Maciej Józiewicz 2010-02-02 12:01:42 UTC
It works just fine for me (actually I was quite surprised, when asked to downgrade today...). So I'm just gonna unmask it on my system and if there is anything you'd like me to check (output to provide, etc.) for comparison, then just ask away :)

BTW I've done a couple of restarts since upgrading to that pixman version, so there is no way I'm still using the cached old version or sth.

BTW2 got a stable keyword amd64 system here (will be happy to supply details, just don't wanna spam)

and Rémi, about that slapping, don't you think that the old system (fun stuff in the x11 overlay, sort of tested in unstable portage) would work out good? Recently I see only live ebuilds in the overlay...
Comment 13 Martin Mokrejš 2010-02-02 14:11:37 UTC
(In reply to comment #12)
> It works just fine for me (actually I was quite surprised, when asked to
> downgrade today...). So I'm just gonna unmask it on my system and if there is
> anything you'd like me to check (output to provide, etc.) for comparison, then
> just ask away :)
> 
> BTW I've done a couple of restarts since upgrading to that pixman version, so
> there is no way I'm still using the cached old version or sth.

Look into bug #302517, run "revdep-rebuild-i", try opera, compile the crashing application xcrash.c if you want to play with the broken version.

I don't think we want to have a broken system. For me "unstable" == "testing" but I really want to use the system and not just have dozens of bugreports opened and pending. We are all short on time.

Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2010-02-02 21:40:45 UTC
(In reply to comment #12)
> and Rémi, about that slapping, don't you think that the old system (fun stuff
> in the x11 overlay, sort of tested in unstable portage) would work out good?
> Recently I see only live ebuilds in the overlay...

That's what _should_ have happened. But since I'm only doing bugmail until Real Life (tm) settles down, 0.17 got added to portage by someone else.

That wasn't meant to happen.
Comment 15 Tomáš Chvátal (RETIRED) gentoo-dev 2010-02-03 11:37:46 UTC
I explained myself on bug 302517 comment 10.

Plz read, and sorry for the issues.
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2010-03-15 23:10:25 UTC
This is fixed for now, and newer versions of pixman no longer enable fatal asserts by default.

Closing.