Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105917 - gaim crashes when sending IM while chat is open
Summary: gaim crashes when sending IM while chat is open
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 19:46 UTC by johnny
Modified: 2006-07-06 12:16 UTC (History)
0 users

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


Attachments
gaim backtrace (gaim-backtrace.txt,2.82 KB, text/plain)
2005-09-13 19:53 UTC, johnny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnny 2005-09-13 19:46:24 UTC
when i open up a chatroom in either jabber or aim (don't have accounts on
anything else) and then type into an IM window and press enter, gaim crashes

Reproducible: Always
Steps to Reproduce:
1. join chatroom
2. type message into other IM windows

Actual Results:  
gaim crashes

Expected Results:  
gaim shoudln't crash :)

echo ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-
r1, 2.6.13-ck1 i686)
=================================================================
System uname: 2.6.13-ck1 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
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
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default
s/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="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/personal /usr/local/portage/gentopia"
SYNC="rsync://rsync.bloodmagic.com/gentoo-portage"
USE="x86 X a52 aac acpi adns alsa apache2 avi bash-completion berkdb bitmap-font
s bonobo cdr crypt cups curl dbus divx4linux dv dvd dvdread eds emboss encode es
d exif ffmpeg flac foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gt2 gtk gtk2
gtkhtml guile hal howl ieee1394 imagemagick imap imlib ipv6 joystick jpeg junit
lcms ldap libg++ libwww mad mikmod mmx mono mozilla mp3 mpeg ncurses network nls
 nntp nptl nvidia offensive ofx ogg oggvorbis opengl oss pam pcmcia pdflib perl
pic png print pthreads python quicktime readline real rtc samba sdl speex spell
sqlite sse sse2 ssl svga tcpd tetex theora tiff truetype truetype-fonts type1-fo
nts vorbis wifi win32codecs xml xml2 xprint xv xvid zlib userland_GNU kernel_lin
ux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 johnny 2005-09-13 19:53:31 UTC
Created attachment 68421 [details]
gaim backtrace
Comment 2 Aman Gupta 2005-09-20 10:42:00 UTC
same thing happening here
Comment 3 Christian Roessner 2005-09-25 08:26:14 UTC
And it happens here on amd64 (but compiled with gcc-4.0.1)
Comment 4 Christian Roessner 2005-09-26 05:14:08 UTC
I found the solution for me. My backtrace differed from the attached one. My
artsd was broken. I re-emerged arts and gaim was okay.

Christian
Comment 5 Brad Allen 2005-12-18 16:50:52 UTC
Hmm.  I don't have any chat rooms.  I didn't know you could use chat rooms in gaim.  Very cool.  I'm starting to depend on GAIM so even though it's an awesome program it can't be failing like this.  I have to jump to ymessenger but it isn't as good.

Here's output (debug USE flag set for gaim-1.5.0):
The part that says "yahoo: ... Returning string: ..." is me sending an IM to a Yahoo IM user from my Yahoo IM account.  Apparently, they got the string the first time I tried, and I assume the second time.  I never hear any sound; sound used to work.  (I checked volume.)

yahoo: yahoo_html_to_codes:  Returning string: 'I don't think he'll do it though'.
*** glibc detected *** free(): invalid pointer: 0x0849a010 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1217956160 (LWP 19445)]
0xffffe410 in __kernel_vsyscall ()
(gdb) dns[19449]: nobody needs me... =(
dns[19448]: nobody needs me... =(

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77dab59 in raise () from /lib/tls/libc.so.6
#2  0xb77dc1d1 in abort () from /lib/tls/libc.so.6
#3  0xb780d4a1 in __fsetlocking () from /lib/tls/libc.so.6
#4  0xb7816844 in mallopt () from /lib/tls/libc.so.6
#5  0xb7815611 in mallopt () from /lib/tls/libc.so.6
#6  0xb7814441 in free () from /lib/tls/libc.so.6
#7  0xb5e67441 in operator delete () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
#8  0xb5eeb3e0 in Arts::readTypeSeq<Arts::InterfaceDef> () from /usr/kde/3.4/lib/libmcop.so.1
#9  0x084c9b60 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
$

So, I'll tell you which versions of stuff I'm using:

sys-devel/gcc-3.4.4-r1
kde-base/arts-3.4.3
kde-base/kde-meta-3.4.3

mcop belongs to arts (according to equery b ...)

/etc/make.profile is at profiles/default-linux/x86/2005.1

ldd output for gaim:
$ ldd $(which gaim)
        linux-gate.so.1 =>  (0xffffe000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb7fa6000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7f51000)
        libao.so.2 => /usr/lib/libao.so.2 (0xb7f4c000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f3a000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb7f08000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7ef9000)
        libXss.so.1 => /usr/lib/libXss.so.1 (0xb7ef5000)
        libgtkspell.so.0 => /usr/lib/libgtkspell.so.0 (0xb7eef000)
        libenchant.so.1 => /usr/lib/libenchant.so.1 (0xb7eea000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7c25000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7bab000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7b93000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7b7d000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb7b76000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb7b6b000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7b31000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7b0f000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7add000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7ad8000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7ad4000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7a50000)
        libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0xb7a48000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7a3f000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7a28000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb795c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7947000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7834000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7831000)
        /lib/ld-linux.so.2 (0xb7fe1000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb782d000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7824000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7821000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb780d000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb779c000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7772000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb776d000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7762000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb775a000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7733000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb770d000)
        libz.so.1 => /lib/libz.so.1 (0xb76fa000)
$ 

I recently installed kde-meta and GCC 3.4.4.
Comment 6 Daisuke Takeda 2006-01-11 16:10:25 UTC
I'd like to say ditto. 
I can also reproduce this by opening gaim, choosing settings->sound and changing the output to "autoselect"

Gaim worked before I upgraded gcc (from 3.3.4? to 3.4.4). I unmerged gcc before I emerged libstdc++-v3, but after that i had to get a binary version to compile libstdc++-v3. Unfortunately portage removed the 3.3.4 gcc so there's no way I can emerge over it to unmerge it. There are other programs crashing with the glibc error also (like cedega).
I remerged arts, glibc, system and -e gaim but error still occurs.

here's my backtrace

daisuke@lappy ~ $ gdb gaim
(gdb) run
Starting program: /usr/bin/gaim
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1218341184 (LWP 22524)]
*** glibc detected *** free(): invalid pointer: 0x08652a08 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1218341184 (LWP 22524)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7660d1d in raise () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7662333 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb7693b52 in __fsetlocking () from /lib/tls/libc.so.6
No symbol table info available.
#4  0xb7699497 in malloc_usable_size () from /lib/tls/libc.so.6
No symbol table info available.
#5  0xb7699e9b in free () from /lib/tls/libc.so.6
No symbol table info available.
#6  0xb4d72441 in operator delete ()
   from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
No symbol table info available.
#7  0xb4df675f in Arts::readTypeSeq<Arts::InterfaceDef> ()
   from /usr/kde/3.4/lib/libmcop.so.1
No symbol table info available.
#8  0x0db1bf65 in ?? ()
No symbol table info available.
(gdb) quit
The program is running.  Exit anyway? (y or n) y
Comment 7 Kathryn Kulick (RETIRED) gentoo-dev 2006-01-12 13:56:38 UTC
Okay folks, rebuild arts (as suggested by one post here) and pls post again if it's fixed / still broken.
Comment 8 Daisuke Takeda 2006-01-30 22:55:25 UTC
I emptied my ccache and recompiled arts. Same error.
Comment 9 Kathryn Kulick (RETIRED) gentoo-dev 2006-06-30 09:02:43 UTC
Sorry for the delay/disappearance, is this still a problem after the arts update?
Comment 10 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-06 12:16:28 UTC
Due to no responses I am going to close the bug as fixed. If it is still an issue please re-open the bug :)