Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120005 - Gaim 2.0.0 beta1 crashes: invalid pointer
Summary: Gaim 2.0.0 beta1 crashes: invalid pointer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 120480 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-22 20:04 UTC by Peter Dedecker
Modified: 2006-06-30 05:40 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 Peter Dedecker 2006-01-22 20:04:19 UTC
$ gaim
dbus: okkk
plugins: probing /usr/lib/gaim/docklet.so
plugins: probing /usr/lib/gaim/musicmessaging.so
plugins: probing /usr/lib/gaim/gestures.so
plugins: probing /usr/lib/gaim/perl.so
plugins: probing /usr/lib/gaim/ssl.so
plugins: probing /usr/lib/gaim/ssl-gnutls.so
plugins: probing /usr/lib/gaim/ssl-nss.so
plugins: probing /usr/lib/gaim/ticker.so
plugins: probing /usr/lib/gaim/extplacement.so
plugins: probing /usr/lib/gaim/history.so
plugins: probing /usr/lib/gaim/iconaway.so
plugins: probing /usr/lib/gaim/idle.so
plugins: probing /usr/lib/gaim/notify.so
plugins: probing /usr/lib/gaim/relnot.so
plugins: probing /usr/lib/gaim/spellchk.so
plugins: probing /usr/lib/gaim/statenotify.so
plugins: probing /usr/lib/gaim/timestamp.so
plugins: probing /usr/lib/gaim/libgg.so
plugins: probing /usr/lib/gaim/libirc.so
plugins: probing /usr/lib/gaim/libjabber.so
plugins: probing /usr/lib/gaim/libmsn.so
plugins: probing /usr/lib/gaim/libnovell.so
plugins: probing /usr/lib/gaim/liboscar.so
plugins: probing /usr/lib/gaim/libyahoo.so
plugins: probing /usr/lib/gaim/libzephyr.so
plugins: probing /usr/lib/gaim/gevolution.so
plugins: probing /usr/lib/gaim/tcl.so
plugins: probing /usr/lib/gaim/mono.so
*** glibc detected *** free(): invalid pointer: 0xb758b684 ***
Aborted

$ emerge -pvt gaim

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild   R   ] net-im/gaim-2.0.0_beta1-r3  +bonjour -cjk +dbus +debug +eds -gnutls -krb4 +mono -nas +nls +perl -silc +spell +tcltk +xscreensaver 0 kB


$ emerge info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/"
LINGUAS="nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi adns alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonjour bonobo bzip2 caps cdparanoia cdr crypt cups curl dbus dga divx4linux dvd dvdr dvdread eds emboss encode ethereal exif expat fam fdftk ffmpeg firefox flac font-server foomaticdb foomaticdv fortran gd gdbm gif gimp gimpprint glut gnome gnutils gstreamer gtk gtk2 gtkhtml hal howl icq idn imagemagick imap imlib ipv6 irda irmc jabber java jpeg lcms libg++ libwww lm_sensors mad mhash mikmod mmx mng mono motif mozilla moznomail mozsvg mp3 mpeg msn mysql ncurses nls nptl ogg oggvorbis openal opengl pam pcmcia pcre pdflib perl pic png ppds python quicktime readline real samba scanner sdl snmp spell sse ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs wmf xine xinerama xml xml2 xpm xprint xscreensaver xv xvid zlib linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Peter Dedecker 2006-01-22 20:05:24 UTC
Maybe the glibc version can be interesting:

$ emerge -pvt glibc

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.5-r2  -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly +pic -profile (-selinux) +userlocales 15,628 kB
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-22 23:47:30 UTC
Please, attach a backtrace and reopen then...

http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 3 Peter Dedecker 2006-01-23 07:26:03 UTC
$ gdb --args /usr/local/usr/bin/gaim -c .gaim-2.0.0_beta1-r3
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/usr/bin/gaim -c .gaim-2.0.0_beta1-r3
dbus: Failed to get connection
plugins: probing /usr/lib/gaim/docklet.so
plugins: probing /usr/lib/gaim/libbonjour.so
[Thread debugging using libthread_db enabled]
[New Thread -1218221344 (LWP 24216)]
plugins: probing /usr/lib/gaim/gestures.so
plugins: probing /usr/lib/gaim/perl.so
plugins: probing /usr/lib/gaim/ssl.so
plugins: probing /usr/lib/gaim/ssl-gnutls.so
plugins: probing /usr/lib/gaim/ssl-nss.so
plugins: probing /usr/lib/gaim/ticker.so
plugins: probing /usr/lib/gaim/musicmessaging.so
plugins: probing /usr/lib/gaim/extplacement.so
plugins: probing /usr/lib/gaim/history.so
plugins: probing /usr/lib/gaim/iconaway.so
plugins: probing /usr/lib/gaim/idle.so
plugins: probing /usr/lib/gaim/notify.so
plugins: probing /usr/lib/gaim/relnot.so
plugins: probing /usr/lib/gaim/spellchk.so
plugins: probing /usr/lib/gaim/statenotify.so
plugins: probing /usr/lib/gaim/timestamp.so
plugins: probing /usr/lib/gaim/libgg.so
plugins: probing /usr/lib/gaim/libirc.so
plugins: probing /usr/lib/gaim/libjabber.so
plugins: probing /usr/lib/gaim/libmsn.so
plugins: probing /usr/lib/gaim/gaimrc.so
plugins: probing /usr/lib/gaim/dbus-example.so
plugins: probing /usr/lib/gaim/libnovell.so
plugins: probing /usr/lib/gaim/liboscar.so
plugins: probing /usr/lib/gaim/libyahoo.so
plugins: probing /usr/lib/gaim/libzephyr.so
plugins: probing /usr/lib/gaim/gevolution.so
plugins: probing /usr/lib/gaim/tcl.so
plugins: probing /usr/lib/gaim/mono.so
*** glibc detected *** free(): invalid pointer: 0xb7636aa4 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1218221344 (LWP 24216)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7691251 in raise () from /lib/tls/libc.so.6
#2  0xb76929e9 in abort () from /lib/tls/libc.so.6
#3  0xb76c4eca in __fsetlocking () from /lib/tls/libc.so.6
#4  0xb76cade7 in malloc_usable_size () from /lib/tls/libc.so.6
#5  0xb76cb87b in free () from /lib/tls/libc.so.6
#6  0xb7fb3743 in ___tls_get_addr_internal () from /lib/ld-linux.so.2
#7  0xb68f2564 in GC_init_thread_local () from /usr/lib/libmono.so.0
#8  0xb68f353f in GC_init_parallel () from /usr/lib/libmono.so.0
#9  0xb68ee41b in GC_init () from /usr/lib/libmono.so.0
#10 0xb6806d36 in mini_init () from /usr/lib/libmono.so.0
#11 0xb681858d in mono_jit_init () from /usr/lib/libmono.so.0
#12 0xb707f6c5 in ml_init () from /usr/lib/gaim/mono.so
#13 0xb707f091 in gaim_init_plugin () from /usr/lib/gaim/mono.so
#14 0x0808fcb3 in gaim_plugin_probe (filename=0xb69545b4 "\001")
    at plugin.c:288
#15 0x08090528 in gaim_plugins_probe (ext=0x8131e2e "so") at plugin.c:1057
#16 0x08083df3 in gaim_core_init (
    ui=0x814ef00 "\200>\021\bp\220\020\b\220\220\020\bP\221\020\b\001")
    at core.c:109
#17 0x081098af in main (argc=3, argv=0xbfab80a4) at gtkmain.c:630
(gdb)
Comment 4 Peter Dedecker 2006-01-23 07:30:17 UTC
Is this sufficient?  If you need more info, don't hesitate.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-01-26 15:38:50 UTC
*** Bug 120480 has been marked as a duplicate of this bug. ***
Comment 6 Peter Dedecker 2006-01-27 07:41:59 UTC
As expected, the problem doesn't happen when I install gaim without the mono useflag.  But then, I recieve problems about invalid proxy settings while I don't have and don't need a proxy.  Onle MSN-accounts can connect then.  I'll post debug info later.  Is it better to create another bugzilla entry about that problem because it doesn't have anything in common with this bug, or do I have to post debugging info about that here?
Comment 7 Kathryn Kulick (RETIRED) gentoo-dev 2006-06-30 05:40:33 UTC
beta1 was removed from the tree, going to close this bug, feel free to reopen if beta3 is still causing the problem.