Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390693 - x11-libs/libXi crashes in XIQueryDevice (was: x11-libs/gtk+-3.0.12-r1 -- *** glibc detected ***)
Summary: x11-libs/libXi crashes in XIQueryDevice (was: x11-libs/gtk+-3.0.12-r1 -- *** ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 03:13 UTC by dE
Modified: 2011-11-16 21:13 UTC (History)
1 user (show)

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


Attachments
original error message (gtk+_3_libraries_issue.txt,14.56 KB, text/plain)
2011-11-16 03:15 UTC, dE
Details
full backtrace (nm-applet_gtk3+,_9.xx_backtrace..txt,8.88 KB, text/plain)
2011-11-16 03:16 UTC, dE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dE 2011-11-16 03:13:25 UTC
I currently have 2 GTK3 applications and all of them crash after the upgrade with - 

audacious 
*** glibc detected *** audacious: malloc(): memory corruption: 0x00000000016f8290 *** 
======= Backtrace: ========= 
/lib64/libc.so.6[0x3391271415] 
/lib64/libc.so.6[0x3391273d10] 
/lib64/libc.so.6(__libc_calloc+0xc2)[0x3391276e52] 
/usr/lib64/libXi.so.6(XIQueryDevice+0x1d4)[0x7f964a01b9d4] 
/usr/lib64/libgdk-3.so.0(+0x3f07b)[0x7f964a6c207b] 
/usr/lib64/libgobject-2.0.so.0(g_object_newv+0x817)[0x339cc14ff7] 
/usr/lib64/libgobject-2.0.so.0(g_object_new_valist+0x1df)[0x339cc15a4f] 
/usr/lib64/libgobject-2.0.so.0(g_object_new+0xd1)[0x339cc15d41] 
/usr/lib64/libgdk-3.so.0(+0x3d978)[0x7f964a6c0978] 
/usr/lib64/libgdk-3.so.0(+0x41ba2)[0x7f964a6c4ba2] 
/usr/lib64/libgdk-3.so.0(+0x3ffb0)[0x7f964a6c2fb0] 
/usr/lib64/libgtk-3.so.0(gtk_init_check+0x16)[0x7f964aa4ca86] 
/usr/lib64/libgtk-3.so.0(gtk_init+0x9)[0x7f964aa4caa9] 
audacious[0x41297b] 
audacious[0x412c16] 
/lib64/libc.so.6(__libc_start_main+0xfd)[0x339121ecdd] 
audacious[0x40b999]

nm-applet 
*** glibc detected *** nm-applet: malloc(): memory corruption: 0x0000000001d23aa0 *** 
======= Backtrace: ========= 
/lib64/libc.so.6[0x3391271415] 
/lib64/libc.so.6[0x3391273d10] 
/lib64/libc.so.6(__libc_calloc+0xc2)[0x3391276e52] 
/usr/lib64/libXi.so.6(XIQueryDevice+0x1d4)[0x7f26537b39d4] 
/usr/lib64/libgdk-3.so.0(+0x3f07b)[0x7f26542e307b] 
/usr/lib64/libgobject-2.0.so.0(g_object_newv+0x817)[0x339cc14ff7] 
/usr/lib64/libgobject-2.0.so.0(g_object_new_valist+0x1df)[0x339cc15a4f] 
/usr/lib64/libgobject-2.0.so.0(g_object_new+0xd1)[0x339cc15d41] 
/usr/lib64/libgdk-3.so.0(+0x3d978)[0x7f26542e1978] 
/usr/lib64/libgdk-3.so.0(+0x41ba2)[0x7f26542e5ba2] 
/usr/lib64/libgdk-3.so.0(+0x3ffb0)[0x7f26542e3fb0] 
/usr/lib64/libgtk-3.so.0(gtk_init_check+0x16)[0x7f265466ca86] 
/usr/lib64/libgtk-3.so.0(gtk_init+0x9)[0x7f265466caa9] 
nm-applet(main+0x11d)[0x416aed] 
/lib64/libc.so.6(__libc_start_main+0xfd)[0x339121ecdd] 
nm-applet[0x416839]

Portage 2.2.0_alpha53 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 3.0.4 x86_64)
=================================================================
System uname: Linux-3.0.4-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-55-with-gentoo-2.1
Timestamp of tree: Sat, 12 Nov 2011 12:30:01 +0000
app-shells/bash:      4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:      2.7.2-r3, 3.1.4-r3
dev-util/pkgconfig:   0.26
sys-apps/baselayout:  2.1
sys-apps/openrc:      0.9.4
sys-apps/sandbox:     2.5
sys-devel/autoconf:   2.68
sys-devel/automake:   1.11.1
sys-devel/binutils:   2.21.1-r1
sys-devel/gcc:        4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:    2.4-r1
sys-devel/make:       3.82-r1
sys-libs/glibc:       2.12.2
Repositories: gentoo sunrise proaudio mozilla sardemff7 x11 my-tree
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y"
FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fail-clean fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/pro-audio /var/lib/layman/mozilla /var/lib/layman/sardemff7 /var/lib/layman/x11 /home/de/dev-tree"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 a53 aac aalib acc acpi adns alsa amd64 amr atm audiofile branding bzip2 cdda cdr cli consolekit cracklib css cups custom-cflags custom-optimization dbus dbx declarative dga dirac dri dts dv dvd dvdr emboss encode enscript exif ffmpeg firefox flac fortran gdu gif glut gmp gsm gstreamer gzip iconv icu imlib ipc jpeg jpeg2k kde ladspa lame lcms libedit libnotify libsamplerate libwww lzma lzo mad matroska matrox mikmod mime minimal mmap mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack networkmanager nntp nocd nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp optimization orc osc pam pango pch pdf phonon plasma png policykit posix ppds pppd qt3support qt4 quicktime raw readline schroedinger sharedmem shorten smp sndfile sockets socks5 speex spell sse sse2 startup-notification strong-optimization svg symlink sysfs taglib tcpd theora threads tiff toolame truetype twolame udev unicode usb vcd vhosts vorbis wavpack wmf x264 xcb xcomposite xine xinerama xml xorg xpm 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 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 stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r300 r600" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Attaching full message and backtrace of nm-applet.
Comment 1 dE 2011-11-16 03:15:29 UTC
Created attachment 292719 [details]
original error message
Comment 2 dE 2011-11-16 03:16:07 UTC
Created attachment 292721 [details]
full backtrace
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-16 04:16:39 UTC
> (In reply to comment #0)
> all of them crash after the upgrade

After the upgrade of what package from what version to what version?

Also, both of the backtraces you provided show a crash not in gtk3, but in x11-libs/libXi, in the XIQueryDevice function. I suspect this might be the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=744960 and in that case, the following patch from libXi upstream should help: http://cgit.freedesktop.org/xorg/lib/libXi/patch/?id=635c2c029b1e73311c3f650bcaf7eeb9e782134b
Comment 4 dE 2011-11-16 08:33:09 UTC
From x11-libs/gtk+ 3.0.12 to 3.0.12-r1, but downgrading doesn't help. Also audacious was upgraded -- 3.x version which has a GTK 3 UI. Right I'm forced to use 2.x versions and it works fine.

I'll try the latest GIT version of libxi.
Comment 5 dE 2011-11-16 09:01:52 UTC
That solves the problem. You think Gentoo x11 head should be notified?
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-16 16:12:17 UTC
(In reply to comment #5)
> That solves the problem. You think Gentoo x11 head should be notified?

Since the problem appears to be in libXi, I am reassigning the bug to the x11 team. Bugzilla will take care of sending the notifications :)
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-11-16 21:13:52 UTC
Fixed in libXi-1.4.3-r1