Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308565 - net-im/pidgin-2.6.6: glibc detected memory corruption
Summary: net-im/pidgin-2.6.6: glibc detected memory corruption
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 01:16 UTC by Jimmy C. Chau
Modified: 2010-03-24 13:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy C. Chau 2010-03-09 01:16:22 UTC
When I try to start pidgin, it crashes with the following error:
*** glibc detected *** pidgin: malloc(): memory corruption: 0xb83e1e30 ***
======= Backtrace: =========
/lib/libc.so.6[0xb66cfea2]
/lib/libc.so.6[0xb66d290f]
/lib/libc.so.6(__libc_calloc+0xac)[0xb66d40dc]
/usr/lib/libglib-2.0.so.0(g_malloc0+0x3c)[0xb6869f4c]
/usr/lib/libgobject-2.0.so.0[0xb6a8d4ec]
/usr/lib/libgobject-2.0.so.0[0xb6a8d95b]
/usr/lib/libgobject-2.0.so.0(g_type_register_static+0x1c9)[0xb6a91319]
/usr/lib/libgobject-2.0.so.0(g_type_register_static_simple+0x69)[0xb6a913c9]
/usr/lib/libgstreamer-0.10.so.0[0xb6aca1bc]
/usr/lib/libgobject-2.0.so.0(g_type_class_ref+0x874)[0xb6a95234]
/usr/lib/libgstreamer-0.10.so.0[0xb6ac7333]
/usr/lib/libglib-2.0.so.0(g_option_context_parse+0x423)[0xb6870cf3]
/usr/lib/libgstreamer-0.10.so.0(gst_init_check+0xf7)[0xb6ac6e27]
pidgin[0xb772edab]
/usr/lib/libpurple.so.0(purple_sound_set_ui_ops+0x40)[0xb6caaff0]
pidgin[0xb7703742]
/usr/lib/libpurple.so.0(purple_core_init+0x252)[0xb6c70372]
pidgin(main+0x864)[0xb7704324]
/lib/libc.so.6(__libc_start_main+0xe1)[0xb6677a81]
pidgin[0xb76a3591]
======= Memory map: ========
b5e00000-b5e21000 rw-p 00000000 00:00 0 
b5e21000-b5f00000 ---p 00000000 00:00 0 
b5f40000-b5f4c000 r-xp 00000000 03:03 2989376    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
b5f4c000-b5f4d000 r--p 0000b000 03:03 2989376    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
b5f4d000-b5f4e000 rw-p 0000c000 03:03 2989376    /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
b5f66000-b5f6a000 r-xp 00000000 03:03 4869891    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b5f6a000-b5f6b000 r--p 00003000 03:03 4869891    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b5f6b000-b5f6c000 rw-p 00004000 03:03 4869891    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b5f6c000-b5fc1000 r-xp 00000000 03:03 4868459    /usr/lib/purple-2/libjabber.so.0.0.0
b5fc1000-b5fc3000 r--p 00054000 03:03 4868459    /usr/lib/purple-2/libjabber.so.0.0.0
b5fc3000-b5fc4000 rw-p 00056000 03:03 4868459    /usr/lib/purple-2/libjabber.so.0.0.0
b5fc4000-b5fc6000 rw-p 00000000 00:00 0 
b5fc6000-b5fca000 r-xp 00000000 03:03 4867580    /usr/lib/purple-2/libxmpp.so
b5fca000-b5fcb000 r--p 00003000 03:03 4867580    /usr/lib/purple-2/libxmpp.so
b5fcb000-b5fcc000 rw-p 00004000 03:03 4867580    /usr/lib/purple-2/libxmpp.so
b5fcc000-b5fcd000 r-xp 00000000 03:03 4867634    /usr/lib/purple-2/ssl.so
b5fcd000-b5fce000 r--p 00000000 03:03 4867634    /usr/lib/purple-2/ssl.so
b5fce000-b5fcf000 rw-p 00001000 03:03 4867634    /usr/lib/purple-2/ssl.so
b5fcf000-b6014000 r-xp 00000000 03:03 4867594    /usr/lib/purple-2/libmsn.so
b6014000-b6015000 r--p 00045000 03:03 4867594    /usr/lib/purple-2/libmsn.so
b6015000-b6016000 rw-p 00046000 03:03 4867594    /usr/lib/purple-2/libmsn.so
b6016000-b6017000 rw-p 00000000 00:00 0 
b6017000-b6018000 r-xp 00000000 03:03 4867636    /usr/lib/purple-2/newline.so
b6018000-b6019000 r--p 00000000 03:03 4867636    /usr/lib/purple-2/newline.so
b6019000-b601a000 rw-p 00001000 03:03 4867636    /usr/lib/purple-2/newline.so
b601a000-b601d000 r-xp 00000000 03:03 2607267    /usr/lib/libgpg-error.so.0.5.0
b601d000-b601e000 r--p 00002000 03:03 2607267    /usr/lib/libgpg-error.so.0.5.0
b601e000-b601f000 rw-p 00003000 03:03 2607267    /usr/lib/libgpg-error.so.0.5.0
b601f000-b6097000 r-xp 00000000 03:03 3574458    /usr/lib/libgcrypt.so.11.5.3
b6097000-b6098000 r--p 00078000 03:03 3574458    /usr/lib/libgcrypt.so.11.5.3
b6098000-b609a000 rw-p 00079000 03:03 3574458    /usr/lib/libgcrypt.so.11.5.3
b609a000-b60ab000 r-xp 00000000 03:03 2852412    /usr/lib/libtasn1.so.3.1.6
b60ab000-b60ac000 r--p 00010000 03:03 2852412    /usr/lib/libtasn1.so.3.1.6
b60ac000-b60ad000 rw-p 00011000 03:03 2852412    /usr/lib/libtasn1.so.3.1.6
b60ad000-b6147000 r-xp 00000000 03:03 8880508    /usr/lib/libgnutls.so.26.14.12
b6147000-b614b000 r--p 0009a000 03:03 8880508    /usr/lib/libgnutls.so.26.14.12
b614b000-b614c000 rw-p 0009e000 03:03 8880508    /usr/lib/libgnutls.so.26.14.12
b614c000-b6162000 r-xp 00000000 03:03 4867582    /usr/lib/purple-2/libmyspace.so
b6162000-b6163000 r--p 00015000 03:03 4867582    /usr/lib/purple-2/libmyspace.so
b6163000-b6164000 rw-p 00016000 03:03 4867582    /usr/lib/purple-2/libmyspace.so
b6164000-b6168000 r-xp 00000000 03:03 4867602    /usr/lib/purple-2/ssl-gnutls.so
b6168000-b6169000 r--p 00003000 03:03 4867602    /usr/lib/purple-2/ssl-gnutls.so
b6169000-b616a000 rw-p 00004000 03:03 4867602    /usr/lib/purple-2/ssl-gnutls.so
b616a000-b616c000 r-xp 00000000 03:03 4867604    /usr/lib/purple-2/dbus-example.so
b616c000-b616d000 r--p 00001000 03:03 4867604    /usr/lib/purple-2/dbus-example.so
b616d000-b616e000 rw-p 00002000 03:03 4867604    /usr/lib/purple-2/dbus-example.so
b616e000-b6177000 r-xp 00000000 03:03 3790592    /lib/libcrypt-2.10.1.so
b6177000-b6178000 r--p 00008000 03:03 3790592    /lib/libcrypt-2.10.1.so
b6178000-b6179000 rw-p 00009000 03:03 3790592    /lib/libcrypt-2.10.1.so
b6179000-b61a0000 rw-p 00000000 00:00 0 
b61a0000-b62a7000 r-xp 00000000 03:03 4031393    /usr/lib/libperl.so.1.5.8
b62a7000-b62a9000 r--p 00106000 03:03 4031393    /usr/lib/libperl.so.1.5.8
b62a9000-b62ac000 rw-p 00108000 03:03 4031393    /usr/lib/libperl.so.1.5.8
b62ac000-b62af000 rw-p 00000000 00:00 0 
b62af000-b62c2000 r-xp 00000000 03:03 4867586    /usr/lib/purple-2/libirc.so
b62c2000-b62c3000 r--p 00012000 03:03 4867586    /usr/lib/purple-2/libirc.so
b62c3000-b62c4000 rw-p 00013000 03:03 4867586    /usr/lib/purple-2/libirc.so
b62c4000-b62c5000 r-xp 00000000 03:03 4867572    /usr/lib/purple-2/buddynote.so
b62c5000-b62c6000 r--p 00000000 03:03 4867572    /usr/lib/purple-2/buddynote.so
b62c6000-b62c7000 rw-p 00001000 03:03 4867572    /usr/lib/purple-2/buddynote.so
b62c7000-b62d0000 r-xp 00000000 03:03 4867622    /usr/lib/purple-2/perl.so
b62d0000-b62d1000 r--p 00008000 03:03 4867622    /usr/lib/purple-2/perl.so
b62d1000-b62d2000 rw-p 00009000 03:03 4867622    /usr/lib/purple-2/perl.so
b62d2000-b62d4000 r-xp 00000000 03:03 4867592    /usr/lib/purple-2/libyahoojp.so
b62d4000-b62d5000 r--p 00001000 03:03 4867592    /usr/lib/purple-2/libyahoojp.so
b62d5000-b62d6000 rw-p 00002000 03:03 4867592    /usr/lib/purple-2/libyahoojp.so
b62d6000-b62df000 r-xp 00000000 03:03 4867612    /usr/lib/purple-2/log_reader.so
b62df000-b62e0000 r--p 00008000 03:03 4867612    /usr/lib/purple-2/log_reader.so
b62e0000-b62e1000 rw-p 00009000 03:03 4867612    /usr/lib/purple-2/log_reader.so
b62e1000-b62e3000 r-xp 00000000 03:03 4867632    /usr/lib/purple-2/statenotify.so
b62e3000-b62e4000 r--p 00001000 03:03 4867632    /usr/lib/purple-2/statenotify.so
b62e4000-b62e5000 rw-p 00002000 03:03 4867632    /usr/lib/purple-2/statenotify.so
b62e5000-b62ef000 r-xp 00000000 03:03 4867590    /usr/lib/purple-2/libsimple.so
b62ef000-b62f0000 r--p 0000a000 03:03 4867590    /usr/lib/purple-2/libsimple.so
b62f0000-b62f1000 rw-p 0000b000 03:03 4867590    /usr/lib/purple-2/libsimple.so
b62f1000-b6301000 rw-p 00000000 00:00 0 
b6301000-b6303000 r-xp 00000000 03:03 4867598    /usr/lib/purple-2/joinpart.so
b6303000-b6304000 r--p 00001000 03:03 4867598    /usr/lib/purple-2/joinpart.so
b6304000-b6305000 rw-p 00002000 03:03 4867598    /usr/lib/purple-2/joinpart.so
b6305000-b6307000 r-xp 00000000 03:03 4867617    /usr/lib/purple-2/psychic.so
b6307000-b6308000 r--p 00001000 03:03 4867617    /usr/lib/purple-2/psychic.so
b6308000-b6309000 rw-p 00002000 03:03 4867617    /usr/lib/purple-2/psychic.so
b6309000-b630b000 r-xp 00000000 03:03 4867588    /usr/lib/purple-2/libaim.so
b630b000-b630c000 r--p 00001000 03:03 4867588    /usr/lib/purple-2/libaim.so
b630c000-b630d000 rw-p 00002000 03:03 4867588    /usr/lib/purple-2/libaim.so
b630d000-b630f000 r-xp 00000000 03:03 4867620    /usr/lib/purple-2/idle.so
b630f000-b6310000 r--p 00001000 03:03 4867620    /usr/lib/purple-2/idle.so
b6310000-b6311000 rw-p 00002000 03:03 4867620    /usr/lib/purple-2/idle.soAborted




Reproducible: Always

Steps to Reproduce:
1. open terminal
2. run pidgin
3. notice error

Actual Results:  
The error message and backtrace above is shown.  

Expected Results:  
Pidgin should start.  

Note that between now and when pidgin last worked (yesterday), pidgin was not updated.  However, glib was updated (and that update appears to have resulted in another break: bug #308541).  I tried rebuilding pidgin, but that didn't help.  Neither did revdep-rebuild, which did not have to rebuild any packages.  

Here's my emerge --info pidgin:
Portage 2.1.7.17 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10-2010Mar04 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r10-2010Mar04-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 08 Mar 2010 18:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE PUEL dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo  http://gentoo.mirrors.pair.com/         http://gentoo.netnitco.net      http://open-systems.ufl.edu/mirrors/gentoo      http://gentoo.mirrors.tds.net/gentoo    ftp://mirror.datapipe.net/gentoo        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth bzip2 cairo caps cdparanoia cjk cli cracklib crypt cups cxx dbus dell divx dri dts dvb dvd eap-tls emacs encode exif fbcon ffmpeg flac ftp gd gdbm gif gmedia gnutls gpm gstreamer gtk hal hardened iconv ipv6 java javascript jpeg jpeg2k laptop libcaca logrotate lzo mad mailwrapper matroska mbrola mmx mmxext modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcmcia pcre pdf perl pic png ppds pppd prediction preview-latex python qt3support qt4 quicktime readline reflection samba scanner sdl session socks5 sound spell spl sse sse2 ssl svg sysfs tcpd theora threads tiff tk truetype unicode urandom usb v4l v4l2 vcd vlm vorbis wifi win32codecs wmf wmp wxwindows x86 xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-im/pidgin-2.6.6 was built with the following:
USE="dbus gnutls gstreamer gtk ncurses nls perl prediction spell startup-notification tk xscreensaver -debug -doc -eds -gadu -groupwise -idn -meanwhile -networkmanager -qq -sasl -silc -tcl -zephyr -zeroconf"
Comment 1 Jimmy C. Chau 2010-03-09 01:25:02 UTC
In case it helps, here's a concise list of updates since pidgin last worked:
sys-libs/timezone-data-2009u to sys-libs/timezone-data-2010b
dev-libs/glib-2.20.5-r1 to dev-libs/glib-2.22.4
dev-libs/atk-1.26.0 to dev-libs/atk-1.28.0
dev-cpp/glibmm-2.20.1 to dev-cpp/glibmm-2.22.1
x11-misc/shared-mime-info-0.60 to x11-misc/shared-mime-info-0.70
dev-cpp/pangomm-2.24.0 to dev-cpp/pangomm-2.26.0
app-text/recode-3.6_p15-r1 to app-text/recode-3.6_p16
x11-libs/gtk+-2.16.6 to x11-libs/gtk+-2.18.6
dev-cpp/gtkmm-2.16.0 to dev-cpp/gtkmm-2.18.2
dev-libs/apr-1.3.9 to dev-libs/apr-1.3.9
Comment 2 Jimmy C. Chau 2010-03-09 16:19:28 UTC
Overnight, I did an 
emerge -ave pidgin

Now pidgin appears to start, but with the following warning:
sys:1: Warning: value "-1216374009" of type `gint' is invalid or out of range for property `weight' of type `gint'

I probably didn't have to rebuild all 278 of those packages to get pidgin working again --probably if I just rebuilt a few of the correct packages, I'd be set-- but I didn't like being cut of from IMing.  

It'd be nice to know which packages needs to be rebuilt specifically and I hope anyone else who has this problem can figure it out without rebuilding most of her/his world.  

BTW, someone was kind enough to CC me on Bug #297483, which appears related.  So if anyone else has this problem, it might be a good idea to check there too.  

I'm not sure if this bug should be closed or not now; can someone more experienced advise?
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-03-24 13:27:39 UTC
Thank you for report. Currently I'll close it as NEEDINFO since personally I'm unable to reproduce this problem and it's not enough information here to do anything. Let's see if anybody has something to add here.