Summary: | gnome-background-properties from control-center-2.12 segfaults at launch due to glib-2.8.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Ostrow (RETIRED) <dostrow> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leonardof |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 103197 |
Description
Daniel Ostrow (RETIRED)
2005-09-15 20:48:59 UTC
gnome-backround-properties segfaults on my P4 system too. I don't know if it is related, but gthumb also segfaults. Could it be something with the thumbnail creation? Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r1 i686) ================================================================= System uname: 2.6.13-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/var/cache/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="nb_NO" LINGUAS="sv no en pt" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://proxy.nor.example.com/gentoo-portage" USE="x86 X X509 Xaw3d a52 aac aalib adns aim alsa aotuv apache2 apm arts athena audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib cairo cddb cdf cdparanoia cdr codecs crypt cscope css cups curl dbx dga dio directfb divx4linux djbfft dlloader dnd droproot dts dv dvb dvd dvdread edl eds emacs emboss encode esd exif fam fame festival ffmpeg fftw flac flash fluidsynth fmod font-server foomaticdb fortran fpx freetds ftp gcj gd gdbm ggi gif gimp gimpprint glitz gmail gnome gnome-print gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal ieee1394 imagemagick imap imlib ipv6 jabber jack java jbig jpeg jpeg2k kde ladcca ladspa lcms ldap leim libcaca libg++ libwww live lzo lzw lzw-tiff mad maildir mikmod mime mimencode ming mjpeg mmx mmxext mng monkey motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn mssql mysql mythtv nas ncurses network nls nptl nptlonly ntlm nvidia odbc offensive ogg oggvorbis openal opengl operanom2 oscar oss pam pdf pdfkit pdflib perl pic png postgres ppds private python qt quicktime rar readline real rrdtool rtc ruby samba sasl sblive sdl silc slang slp smime sndfile sox speex spell sse sse2 ssl stream svg svga sysfs tabs tcltk tcpd tetex tga theora thumbnail tidy tiff timidity transcode truetype truetype-fonts type1-fonts unicode usb uudeview v4l v4l2 vcd vidix vim vim-pager vim-with-x vlm vorbis win32codecs wmf wxwindows xanim xface xfs xine xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo yv12 zlib zvbi linguas_sv linguas_no linguas_en linguas_pt userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS More info. Compiling glib with FEATURES="nostrip" USE="debug" CFLAGS="-ggdb3" makes gthumb work too, but with the same message: (gthumb:21513): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Even more info. In capplets/background/gnome-wp-item.c at line 221 there is an: if (pixbuf != NULL) { ... } Right after that block there is a: pw = gdk_pixbuf_get_width (pixbuf); ph = gdk_pixbuf_get_height (pixbuf); Those generates the warnings, since pixbuf obviously is NULL. Looks like they handle that. But the "g_object_unref (pixbuf)" does not it makes the capplet segfault. Now, I wonder: why is pixbuf NULL at all? Should there be a if (pixbuf == NULL) return; statement somewhere before? I have no experience of gtk/gnome programming, but it looks like there is a missing check if the pixbuf is created sucessully or not somwhere. It looks like this is trigged on the creation of thumbnails from SVG files. Can you try rebuilding librsvg, libpng, gtk+ and control-center? ( and then restarting your session ) This should fix the problem. recompiling librsvg solved this for me. Thanks! Re-emerging librsvg did the trick. I'm marking this bug resolved. *** Bug 106933 has been marked as a duplicate of this bug. *** (In reply to comment #5) > recompiling librsvg solved this for me. Thanks! Idem. Maybe because it upgraded 2.11.1 -> 2.12.0. bugs.gentoo.org/show_bug.cgi?id=106933 (In reply to comment #8) GDM is now fixed too; it couldn't display "themes", only GTK+ interface. |