Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575296 - gnome-extra/gnome-system-monitor-3.18.2 segfaults in INT_cairo_set_source_rgb when clicking Resources tab
Summary: gnome-extra/gnome-system-monitor-3.18.2 segfaults in INT_cairo_set_source_rgb...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-21 13:50 UTC by Émeric Maschino
Modified: 2021-01-10 01:56 UTC (History)
1 user (show)

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


Attachments
Backtrace of gnome-system-monitor startup when Resources is default tab (backtrace.log,4.19 KB, text/x-log)
2016-02-21 13:50 UTC, Émeric Maschino
Details
Updated backtrace of gnome-system-monitor startup when Resources is default tab (gdb.txt,39.98 KB, text/plain)
2016-03-15 19:59 UTC, Émeric Maschino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Émeric Maschino 2016-02-21 13:50:43 UTC
Created attachment 426108 [details]
Backtrace of gnome-system-monitor startup when Resources is default tab

Hi,

While I wanted to monitor a time-consuming process resources, I fired up gnome-system-monitor, clicked Resources tab and then gnome-system-monitor instantly crashed. There's no problem with Processes and Disks tabs.

Please find attached backtrace and let me know how I can help further.

     Émeric
Comment 1 Émeric Maschino 2016-02-21 13:52:09 UTC
emerge --info output:

Portage 2.2.26 (python 3.4.3-final-0, default/linux/ia64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.21-r2, 4.1.15-gentoo-r1 ia64)
=================================================================
System uname: Linux-4.1.15-gentoo-r1-ia64-Madison-with-gentoo-2.2
KiB Mem:    24988608 total,    135264 free
KiB Swap:     524272 total,    524272 free
Timestamp of repository gentoo: Fri, 19 Feb 2016 20:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.5.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

my_ebuilds
    location: /var/lib/layman/my_ebuilds
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=itanium2"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=itanium2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -mtune=itanium2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -mtune=itanium2"
GENTOO_MIRRORS="ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvdr eds encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ia64 iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session spell ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets xattr xcb xml xv xvid zlib" ALSA_CARDS="fm801" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Pacho Ramos gentoo-dev 2016-02-21 14:06:41 UTC
What is you cairo version? Mine is:
ebuild   R   ~] x11-libs/cairo-1.14.6::gentoo  USE="X glib opengl svg xcb (-aqua) -debug (-directfb) (-gles2) -static-libs -valgrind -xlib-xcb" ABI_X86="32 (64) (-x32)" 0 KiB


and
Comment 3 Pacho Ramos gentoo-dev 2016-02-21 14:07:04 UTC
What is you cairo version? Mine is:
ebuild   R   ~] x11-libs/cairo-1.14.6::gentoo  USE="X glib opengl svg xcb (-aqua) -debug (-directfb) (-gles2) -static-libs -valgrind -xlib-xcb" ABI_X86="32 (64) (-x32)" 0 KiB


and it works nice, also please re-emerge glib with debugging symbols and get a newer backtrace
Comment 4 Émeric Maschino 2016-02-21 17:40:33 UTC
(In reply to Pacho Ramos from comment #3)
> What is you cairo version? Mine is:
> ebuild   R   ~] x11-libs/cairo-1.14.6::gentoo  USE="X glib opengl svg xcb
> (-aqua) -debug (-directfb) (-gles2) -static-libs -valgrind -xlib-xcb"
> ABI_X86="32 (64) (-x32)" 0 KiB

[ebuild   R   ] x11-libs/cairo-1.14.2  USE="X glib opengl svg xcb (-aqua) -debug (-directfb) (-gles2) -static-libs (-valgrind) -xlib-xcb"

> and it works nice, also please re-emerge glib with debugging symbols and get
> a newer backtrace

Well, it's no more needed!

Indeed, rebuilding glib fixed the problem. I've double-checked that it wasn't because of debugging symbols: rebuilding glib again without them still makes gnome-system-monitor work.

Thanks for the hint.

I fear this is related to my recent upgrade to gcc 4.9 now that it's ia64 stable. With totally unexpected issues like [1][2] :-S

     Émeric


[1] https://bugs.gentoo.org/show_bug.cgi?id=513386#c73
[2] https://bugs.gentoo.org/show_bug.cgi?id=575300
Comment 5 Émeric Maschino 2016-03-15 19:59:17 UTC
Created attachment 428316 [details]
Updated backtrace of gnome-system-monitor startup when Resources is default tab
Comment 6 Émeric Maschino 2016-03-15 20:09:55 UTC
Oh no, it all started again when emerge @world upgraded from gtk+-3.18.7 to 3.18.8. Problem is that reverting back to gtk+-3.18.7 doesn't help! Updated backtrace in attachment #428316 [details].

I fear that the "magical build" reported in comment #4 was just a side effect of something more subtly broken somewhere.

As I was also stating in comment #4, gcc-4.9 may be involved.

And gdb took 12 (twelve) minutes (yes, minutes, not seconds) to unwind the callstack in attachment #428316 [details]. Is this a sign of something severely broken in the ia64 toolchain?

All this with:
=dev-cpp/glibmm-2.46.3
=dev-cpp/gtkmm-3.18.0-r1
=dev-libs/glib-2.46.2-r2
=x11-libs/cairo-1.14.2
=x11-libs/gtk+-3.18.8

     Émeric
Comment 7 Pacho Ramos gentoo-dev 2016-06-25 18:32:51 UTC
Please retry with 3.20
Comment 8 Émeric Maschino 2016-07-07 19:44:43 UTC
(In reply to Pacho Ramos from comment #7)
> Please retry with 3.20

No more crashes with gnome-system-monitor-3.20.1. Just hoping this is not a random behavior as I was reporting previously in comment #4 and comment #6.

     Émeric
Comment 9 Émeric Maschino 2016-11-09 20:34:55 UTC
(In reply to Émeric Maschino from comment #8)
> 
> No more crashes with gnome-system-monitor-3.20.1. Just hoping this is not a
> random behavior as I was reporting previously in comment #4 and comment #6.
> 
>      Émeric

Well, as I was fearing, this is totally random :-(

Today, I had repetitive crashes with gnome-system-monitor-3.20.1. And then, all of a sudden, it was running fine again. Go figure...

     Émeric
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-11-09 22:00:28 UTC
Maybe it's a problem cause by glib in glibmm, it appears musl guys have a patch to fix some random crashes like that in glibmm based applications, just an idea.