Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469196 - gnome-base/gnome-control-center-3.6.3-r1 segfaults at libclutter-1.0.so
Summary: gnome-base/gnome-control-center-3.6.3-r1 segfaults at libclutter-1.0.so
Status: RESOLVED FIXED
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: 2013-05-09 14:00 UTC by Justin Lecher (RETIRED)
Modified: 2013-06-05 15:07 UTC (History)
0 users

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


Attachments
Full abrt report (foo,91.16 KB, text/plain)
2013-05-09 14:06 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-05-09 14:00:23 UTC
Program received signal SIGSEGV, Segmentation fault.
translate_valuator_class (class=0x6df570, device=0x4c6870, xdisplay=0x488a90) at ./x11/clutter-device-manager-xi2.c:101
101	./x11/clutter-device-manager-xi2.c: No such file or directory.
(gdb) bt
#0  translate_valuator_class (class=0x6df570, device=0x4c6870, xdisplay=0x488a90) at ./x11/clutter-device-manager-xi2.c:101
#1  translate_device_classes (xdisplay=0x488a90, device=device@entry=0x4c6870, classes=0x6df3d0, n_classes=<optimized out>)
    at ./x11/clutter-device-manager-xi2.c:154
#2  0x00002aaac12a8bf4 in create_device (info=0x6df260, backend_x11=0x5972a0, manager_xi2=0x657b00) at ./x11/clutter-device-manager-xi2.c:295
#3  add_device (manager_xi2=manager_xi2@entry=0x657b00, backend_x11=backend_x11@entry=0x5972a0, info=info@entry=0x6df260, 
    in_construction=in_construction@entry=1) at ./x11/clutter-device-manager-xi2.c:315
#4  0x00002aaac12a92a6 in clutter_device_manager_xi2_constructed (gobject=0x657b00) at ./x11/clutter-device-manager-xi2.c:1375
#5  0x00002aaaab39b295 in g_object_newv (object_type=object_type@entry=10457936, n_parameters=n_parameters@entry=2, parameters=parameters@entry=0x6deec0)
    at gobject.c:1747
#6  0x00002aaaab39b5e6 in g_object_new_valist (object_type=object_type@entry=10457936, 
    first_property_name=first_property_name@entry=0x2aaac1357022 "backend", var_args=var_args@entry=0x7fffffffbb28) at gobject.c:1836
#7  0x00002aaaab39b8fc in g_object_new (object_type=10457936, first_property_name=first_property_name@entry=0x2aaac1357022 "backend") at gobject.c:1551
#8  0x00002aaac12a2af8 in clutter_backend_x11_create_device_manager (backend_x11=0x5972a0) at ./x11/clutter-backend-x11.c:254
#9  _clutter_backend_x11_events_init (backend=0x5972a0) at ./x11/clutter-backend-x11.c:502
#10 0x00002aaac12f917e in clutter_init_real (error=<optimized out>) at ./clutter-main.c:1632
#11 0x00002aaac12f9401 in post_parse_hook (context=0x4c6880, group=0x45db08, data=0x10e, error=0x7fffffffbd78) at ./clutter-main.c:1818
#12 0x00002aaaab428e27 in g_option_context_parse (context=context@entry=0x65bba0, argc=argc@entry=0x0, argv=argv@entry=0x0, error=error@entry=0x7fffffffbd78)
    at goption.c:2001
#13 0x00002aaac12f9644 in clutter_parse_args (error=0x7fffffffbd70, argv=0x0, argc=0x0) at ./clutter-main.c:2054
#14 clutter_init (argc=0x0, argv=0x0) at ./clutter-main.c:2116
#15 0x00002aaab39a894c in cheese_gtk_init (argc=argc@entry=0x0, argv=argv@entry=0x0) at libcheese/cheese-gtk.c:58
#16 0x00002aaab3a2dec3 in g_io_module_load (module=0x657de0) at um-user-module.c:38
#17 0x00002aaaab282176 in g_io_module_load_module (gmodule=0x657de0) at giomodule.c:307
#18 0x00002aaaab3b9071 in g_type_module_use (module=module@entry=0x657de0) at gtypemodule.c:256
#19 0x00002aaaab282555 in g_io_modules_load_all_in_directory_with_scope (dirname=dirname@entry=0x40df88 "/usr/lib64/control-center-1/panels", 
    scope=scope@entry=0x0) at giomodule.c:589
#20 0x00002aaaab2825c7 in g_io_modules_load_all_in_directory (dirname=dirname@entry=0x40df88 "/usr/lib64/control-center-1/panels") at giomodule.c:628
#21 0x0000000000409e6a in load_panel_plugins (shell=0x4c6170) at gnome-control-center.c:882
#22 gnome_control_center_init (self=0x4c6170) at gnome-control-center.c:1391
#23 0x00002aaaab3b5a83 in g_type_create_instance (type=<optimized out>) at gtype.c:1890
#24 0x00002aaaab3997a8 in g_object_constructor (type=<optimized out>, n_construct_properties=0, construct_params=0x0) at gobject.c:1855
#25 0x00002aaaab39b311 in g_object_newv (object_type=object_type@entry=5761424, n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0)
    at gobject.c:1638
#26 0x00002aaaab39b91c in g_object_new (object_type=5761424, first_property_name=first_property_name@entry=0x0) at gobject.c:1548
#27 0x000000000040a8f9 in gnome_control_center_new () at gnome-control-center.c:1408
#28 0x0000000000407f42 in main (argc=1, argv=0x7fffffffc268) at control-center.c:250
(gdb) quit




$ einfo
Portage 2.2.0_alpha174 (default/linux/amd64/13.0, gcc-4.8.0, glibc-2.17, 3.9.0-lh-r1 x86_64)
=================================================================
System uname: Linux-3.9.0-lh-r1-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16345400 total,   3234160 free
KiB Swap:    3987452 total,   3986408 free
Timestamp of tree: Thu, 09 May 2013 11:00:01 +0000
ld GNU gold (GNU Binutils 2.23.1) 1.11
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r1, 2.7.4, 3.1.5-r1, 3.2.4, 3.3.0-r1
dev-util/ccache:          3.1.9-r1::science
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.4, 4.7.2-r1, 4.8.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise bicatali betagarden dummy Neurogeek science Raspberry-Pi-Overlay last-hope g-ctan
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh"
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 -ftracer   -march=native -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg candy ccache collision-protect compressdebug distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j12 -l9"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree"
PORTDIR_OVERLAY="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/gen2pi /local/overlays/lh/ebuilds /local/overlays/g-ctan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cxx dbus dri fortran gdbm gif gmp gnome gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k mmx mmxext modules mudflap multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support raw readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification tcpd threads tiff truetype unicode vaapi vdpau xinerama zlib" ABI_X86="64" 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="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" DRACUT_MODULES="plymouth" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport scripting-javascript wiki-publisher nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_1 python3_2 python3_3 pypy1_9 pypy2_0" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="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"
USE_PYTHON="2.6 2.7 3.1 3.2 3.3 2.7-pypy-1.9 2.7-pypy-2.0"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-05-09 14:06:27 UTC
Created attachment 347850 [details]
Full abrt report
Comment 2 Pacho Ramos gentoo-dev 2013-05-09 18:30:52 UTC
What are the package versions?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-05-09 18:48:35 UTC
Latest ~arch everywhere, no masked versions

[I] gnome-base/gnome-control-center
     Available versions:  (2) 2.32.1-r1 (~)3.6.3-r1 [M](~)3.8.0-r1
       {+bluetooth +colord +cups debug eds +gnome-online-accounts +i18n kerberos +networkmanager +socialweb systemd v4l INPUT_DEVICES="wacom"}
     Installed versions:  3.6.3-r1(2)(15:56:58 09/05/13)(bluetooth colord cups gnome-online-accounts i18n socialweb v4l -debug -kerberos -networkmanager -systemd INPUT_DEVICES="-wacom")
     Homepage:            http://www.gnome.org/
     Description:         GNOME Desktop Configuration Tool


[I] media-libs/clutter
     Available versions:  (1.0) 1.12.2^t [M](~)1.14.0^t [M](~)1.14.2^t
       {debug doc gtk +introspection test}
     Installed versions:  1.12.2(1.0)^t(15:42:19 09/05/13)(gtk introspection -debug -doc -test)
     Homepage:            http://www.clutter-project.org/
     Description:         Clutter is a library for creating graphical user interfaces
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-05-17 10:47:05 UTC
Here is the fix. May I backport it?

From d5604be9e5a148ced73dee2ede49b38f97119baf Mon Sep 17 00:00:00 2001
From: Yanko Kaneti <yaneti@declera.com>
Date: Mon, 28 Jan 2013 15:49:51 +0200
Subject: [PATCH] xi2: Fix access beyond array boundaries

---
 clutter/x11/clutter-device-manager-xi2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/clutter/x11/clutter-device-manager-xi2.c b/clutter/x11/clutter-device-manager-xi2.c
index 616dee7..bd9473e 100644
--- a/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/x11/clutter-device-manager-xi2.c
@@ -94,13 +94,13 @@ translate_valuator_class (Display             *xdisplay,
       atoms_initialized = TRUE;
     }
 
-  for (i = CLUTTER_INPUT_AXIS_IGNORE;
-       i < CLUTTER_INPUT_AXIS_LAST;
+  for (i = 0;
+       i < N_AXIS_ATOMS;
        i += 1)
     {
       if (clutter_input_axis_atoms[i] == class->label)
         {
-          axis = i;
+          axis = i + 1;
           break;
         }
     }
-- 
1.8.1
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-06-05 15:07:51 UTC
+*clutter-1.12.2-r1 (05 Jun 2013)
+
+  05 Jun 2013; Justin Lecher <jlec@gentoo.org> +clutter-1.12.2-r1.ebuild,
+  +files/clutter-1.12.2-array-bounds.patch, metadata.xml:
+  Backport patch to fix segfault due to unrespected array bounds, #469196
+