Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260301 - [patch] g_desktop_app_info_dup() can access NULL pointer (was: dev-python/pygobject-2.16.1 fails tests: GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed)
Summary: [patch] g_desktop_app_info_dup() can access NULL pointer (was: dev-python/pyg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 20:17 UTC by Dustin Polke
Modified: 2009-05-04 22:16 UTC (History)
0 users

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


Attachments
Upstream patch (0001-Don-t-try-to-ref-NULL-pointer-in-g_desktop_app_info_.patch,984 bytes, patch)
2009-05-04 20:50 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2009-02-25 20:17:12 UTC
Tests of dev-python/pygobject-2.16.1 fail as follows:

Making check in tests
make[1]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'
make  check-local
make[2]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'

** WARNING: LIBFFI disabled, not testing

.......................
GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
aborting...
make[2]: *** [check-local] Aborted
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'
make: *** [check-recursive] Error 1
 * 
 * ERROR: dev-python/pygobject-2.16.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 3173:  Called die
 * The specific snippet of code:
 *       Xemake check || die "tests failed"
 *  The die message:
 *   tests failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/pygobject-2.16.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-2.16.1/temp/environment'.
 * 

Reproducible: Always




Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.26-gentoo_dazuko-patch-r4-stable x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo_dazuko-patch-r4-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5
Timestamp of tree: Wed, 25 Feb 2009 15:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/                ftp://gd.tuwien.ac.at/opsys/linux/gentoo/               ftp://gentoo.inode.at/source/       ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/              ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/layman/alon-barlev /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/portage/local/layman/jokey /usr/portage/local/modified /usr/portage/local/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdinstall cjk cli cpufreq cracklib crypt css ctype cups dbus dga directfb divx dri dts dv dvd dvdr dvdread eds encode evo exif exiv2 fam fame fbcon fbcondecor fbsplash ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp glade glitz gmedia gmp gnutls gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 isdnlog jack java javascript jikes jpeg jpeg2k kerberos keyscrub kino kpathsea lame laptop latex lcms ldap libcaca libnotify libsamplerate libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit midi mikmod mime mjpeg mmx mmxext mng motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ogg opengl openmp opensslcrypto pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python quicktime readline realmedia reflection rtsp ruby rubytests samba sasl sdl server session simplexml slang sndfile soap sockets sou speex spell spl sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream svg swat sysfs syslog tcpd tetex tga theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vim-syntax vim-with-x vorbis wifi winbind wma wmf wmp wxwindows x264 xanim xcomposite xinetd xml xmp xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-25 22:57:42 UTC
could you report this upstream and paste the link here, thanks.
Comment 2 Dustin Polke 2009-02-26 10:15:39 UTC
(In reply to comment #1)
> could you report this upstream and paste the link here, thanks.
> 

Done. UPstream bug is #573246. 
Comment 3 Dustin Polke 2009-05-04 20:49:53 UTC
Upstream solved the issue. It is actually a bug in glib. I'll attach upstream patch which solved this issue for me.
Comment 4 Dustin Polke 2009-05-04 20:50:42 UTC
Created attachment 190351 [details, diff]
Upstream patch
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-04 22:16:04 UTC
in 2.20.1-r1 and 2.18.4-r2. Thanks for reporting and providing a patch.