When trying to have a direct im with a windows machine gaim locks tight. YOu have to 'killall gaim' or 'kill -9 pid'. Reproducible: Always Steps to Reproduce: 1.have someone on windows initiate a direct im 2. 3. Actual Results: gaim locks tighter then a scared virgin on her wedding day. I have tested linux to linux direct im threw gaim and all is well. emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(TM) XP2200+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.4 [2.4 (#1, Jan 7 2005, 17:48:54)] ccache version 2.3 [enabled] dev-lang/python: 2.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r1, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apache2 avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd f77 fam font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imap imlib ipv6 java javascript jpeg libg++ libwww mad maildir mikmod motif mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl php png python quicktime readline sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts userlocales xinerama xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Is there any interesting debug output from gaim -d when the event occurs?
Don nope none what is happening tho when windows initiated the direct im it also tries to initiate it from the client side (being gaim) on linux which cause a double connection attempt
Jory: Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure is not the correct addressee.
I have a similar problem and I'm not sure if I should open a new bug. This is with gaim-1.1.2 and after I sign in, gaim will crash if someone IM's me. I started it with the -d flag and here's the last few lines: oscar: Recived IM from [INSERT_FRIENDS_AIM_HANDLE] with 1 parts oscar: Parsing IM part, charset=0x0000, charsubset=0x0000, datalen=139 unix_connect: can't connect to server (unix:/tmp/mcop-ssharma/localhost-410b-4069116a) *** glibc detected *** corrupted double-linked list: 0x083e1380 *** dns[27246]: Oops, father has gone, wait for me, wait...! dns[27245]: Oops, father has gone, wait for me, wait...! Aborted and it dies... Now, if *I* initiate the conversation, it works fine. it's only when someone tries to start talking to me.... weird.
Ajay does your problem produce a crash? If so get a gdb backtrace.
Jory what protocol are you using? Can you still duplicate crash with gaim-1.1.3?
Don I aint tried to duplicate it as of yet as soon as I get a min later tonight I will test it and see if problem is still there tho for ya.
I have the same problem as Ajay. I did get a backtrace and everything, so here's my information. GAIM Version: 1.1.4 Gentoo 2004.3, amd64, with like 2 or 3 ~amd64 packages Emerge info: Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-mm3 x86_64) ================================================================= System uname: 2.6.10-mm3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 12:16:42)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.6.3, 1.8.5-r3, 1.5, 1.9.4, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aac aalib accessibility acpi aim alsa amd64 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdparanoia cdr cjk crypt cups curl curlwrappers dbus ddbm dga dio divx4linux dvd dvdr dvdread emul-linux-x86 encode esd ethereal exif expat f77 fam fbcon ffmpeg flac flash font-server foomaticdb fortran ftp gd gdbm ggi gif glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imap imlib inifile ipv6 jabber jack java javascript joystick jp2 jpeg ladcca ldap lesstif libcaca libg++ libwww lm_sensors lmcs lzw lzw-tiff mad mbox mikmod mng motif mozilla mp3 mpeg msn multilib nas ncurses nls ntpl ntplonly ogg oggvorbis openal opengl oss pam pdds perl png portaudio ppds python qt quicktime readline ruby sambasasl scanner sdl slang sndfile snmp sockets sox speex spell ssl svg tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts usb userlocales vcd videos wifi wmf xine xinerama xml xml-rpc xml2 xmms xosd xpm xprint xrandr xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY andrew@StubbornAesthetics andrew $ gdb gaim GNU gdb 6.0 Copyright 2003 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 "x86_64-pc-linux-gnu"... (no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/gaim Program received signal SIGSEGV, Segmentation fault. 0x00002aaaaaab5ea0 in ?? () (gdb) quit Running gaim -d gives me: oscar: Recived IM from <buddy> with 1 parts oscar: Parsing IM part, charset=0x0000, charsubset=0x0000, datalen=169 prefs: /gaim/gtk/conversations/im/default_width changed, scheduling save. *** glibc detected *** double free or corruption (out): 0x0000000000a2dd38 *** dns[17480]: Oops, father has gone, wait for me, wait...! Aborted And yes, I did compile it with "debug" in the use flags. It crashes if I send a message out, or if someone sends me a message. Some days it crashes, some days it does not. It's really the luck of the draw, and I'm rather sick of it. :) Thanks... ~~ Andrew D. linuxnoob@wi.rr.com
Andrew you did _not_ get a backtrace. Please see the instructions at http://gaim.sourceforge.net/gdb.php for what you've missed. Also, please put FEATURES="nostrip" CFLAGS="-g" and USE="debug" in your make.conf (add those values to those vars) and rebuild glib, gtk+ and gaim. THEN try to get a backtrace. More often than not the bug is deeper in glib or gtk+ and more often than not those libs are stripped and render backtraces useless.
I apologize... I wasn't sure how deep I needed to put the debug use flag, and the GAIM page did not say to. I'll re-emerge those, and repost. ~~ Andrew D. linuxnoob@wi.rr.com
After re-emerging everything and running gdb's "bt" command, I got this. bt: #0 0x00002aaaacdf4e69 in kill () from /lib/libc.so.6 #1 0x00002aaaaaf4b891 in pthread_kill () from /lib/libpthread.so.0 #2 0x00002aaaaaf4bc12 in raise () from /lib/libpthread.so.0 #3 0x00002aaaacdf4b62 in raise () from /lib/libc.so.6 #4 0x00002aaaacdf5ef2 in abort () from /lib/libc.so.6 #5 0x00002aaaace2ce14 in malloc_usable_size () from /lib/libc.so.6 #6 0x00002aaaace2d8da in free () from /lib/libc.so.6 #7 0x00002aaab3b86e3e in operator delete(void*) () from //usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.so.6 #8 0x00002aaab3967c3f in Arts::InterfaceDef::~InterfaceDef() () from /usr/kde/3.3/lib/libmcop.so.1 #9 0x00002aaab396cce5 in std::vector<Arts::InterfaceDef, std::allocator<Arts::InterfaceDef> >::_M_insert_aux(__gnu_cxx::__normal_iterator<Arts::InterfaceDef*, std::vector<Arts::InterfaceDef, std::allocator<Arts::InterfaceDef> > >, Arts::InterfaceDef const&) () from /usr/kde/3.3/lib/libmcop.so.1 #10 0x00002aaab396cf5f in void Arts::readTypeSeq<Arts::InterfaceDef>(Arts::Buffer&, std::vector<Arts::InterfaceDef, std::allocator<Arts::InterfaceDef> >&) () from /usr/kde/3.3/lib/libmcop.so.1 #11 0x00002aaab396416d in Arts::ModuleDef::readType(Arts::Buffer&) () from /usr/kde/3.3/lib/libmcop.so.1 #12 0x00002aaab3964420 in Arts::ModuleDef::ModuleDef(Arts::Buffer&) () from /usr/kde/3.3/lib/libmcop.so.1 #13 0x00002aaab3986b73 in Arts::IDLFileReg::startup() () from /usr/kde/3.3/lib/libmcop.so.1 #14 0x00002aaab398c15c in Arts::StartupManager::startup() () from /usr/kde/3.3/lib/libmcop.so.1 #15 0x00002aaab39747af in Arts::Dispatcher::Dispatcher(Arts::IOManager*, Arts::Dispatcher::StartServer) () from /usr/kde/3.3/lib/libmcop.so.1 #16 0x00002aaab25fab27 in arts_backend_init () from /usr/kde/3.3/lib/libartscbackend.so.0 #17 0x00002aaaae68bad8 in arts_init () from /usr/kde/3.3/lib/libartsc.so.0 #18 0x00002aaaae588dc9 in ao_plugin_test () from /usr/lib/ao/plugins-2/libarts.so #19 0x00002aaaaae3edb5 in ?? () from /usr/lib/libao.so.2 #20 0x00000000004a9c91 in _pref_sound_method_changed ( name=0x2aaaacebbee0 "0123456789abcdefghijklmnopqrstuvwxyz", type=6, val=0xfefefefefefefeff, data=0xffffffffffffffff) at gtksound.c:336 #21 0x00000000004464a3 in do_callbacks ( name=0x4c3712 "/gaim/gtk/sound/method", pref=0x61b2f0) at prefs.c:394 #22 0x00000000004a9d21 in gaim_gtk_sound_play_file ( filename=0xa75e50 "/usr/share/sounds/gaim/send.wav") at gtksound.c:145 #23 0x00000000004a9b7e in gaim_gtk_sound_play_event (event=19164) at gtksound.c:298 #24 0x000000000048017f in gaim_gtkconv_write_im (conv=0x9547a0, who=0x0, message=0xa75710 "Testing.", flags=GAIM_MESSAGE_SEND, mtime=1110257047) at gtkconv.c:5047 #25 0x0000000000436a2f in common_send (conv=0x9547a0, message=0x923df0 "TrentonJHawkins") at conversation.c:199 #26 0x00000000004785cd in send_cb (widget=0x4adc, conv=0x9547a0) at gtkconv.c:524 #27 0x000000000047db8a in entry_key_press_cb (entry=0xa20400, event=0x6d93b0, data=0x1) at gtkconv.c:1816 #28 0x00002aaaab749336 in _gtk_marshal_BOOLEAN__BOXED (closure=0xa2bd10, return_value=0x7fffffff8290, n_param_values=1, param_values=0x7fffffff8420, invocation_hint=0xfefefefefefefeff, marshal_data=0x0) at gtkmarshalers.c:82 #29 0x00002aaaac2d601a in g_closure_invoke (closure=0xa2bd10, return_value=0x7fffffff8290, n_param_values=2, param_values=0x7fffffff8420, invocation_hint=0x7fffffff82c0) at gclosure.c:437 #30 0x00002aaaac2ec02d in signal_emit_unlocked_R (node=0x62da20, detail=0, instance=0xa20400, emission_return=0x7fffffff83a0, instance_and_params=0x7fffffff8420) at gsignal.c:2478 #31 0x00002aaaac2ecd32 in g_signal_emit_valist (instance=0xa20400, signal_id=0, detail=0, var_args=0x7fffffff85e0) at gsignal.c:2247 #32 0x00002aaaac2ed413 in g_signal_emit (instance=0x4adc, signal_id=6, detail=1) at gsignal.c:2281 #33 0x00002aaaab833900 in gtk_widget_event_internal (widget=0xa20400, event=0x6d93b0) at gtkwidget.c:3564 #34 0x00002aaaab84294d in gtk_window_propagate_key_event (window=0x8ea3c0, event=0x6d93b0) at gtkwindow.c:4216 #35 0x00002aaaab84720b in gtk_window_key_press_event (widget=0x8ea3c0, event=0x6d93b0) at gtkwindow.c:4246 #36 0x00002aaaab749336 in _gtk_marshal_BOOLEAN__BOXED (closure=0x62d6b0, return_value=0x7fffffff88e0, n_param_values=1, param_values=0x7fffffff8a70, invocation_hint=0xfefefefefefefeff, marshal_data=0x2aaaab8471d0) at gtkmarshalers.c:82 #37 0x00002aaaac2d601a in g_closure_invoke (closure=0x62d6b0, return_value=0x7fffffff88e0, n_param_values=2, param_values=0x7fffffff8a70, invocation_hint=0x7fffffff8910) at gclosure.c:437 #38 0x00002aaaac2ebb65 in signal_emit_unlocked_R (node=0x62da20, detail=0, instance=0x8ea3c0, emission_return=0x7fffffff89f0, instance_and_params=0x7fffffff8a70) at gsignal.c:2516 #39 0x00002aaaac2ecd32 in g_signal_emit_valist (instance=0x8ea3c0, signal_id=0, detail=0, var_args=0x7fffffff8c30) at gsignal.c:2247 #40 0x00002aaaac2ed413 in g_signal_emit (instance=0x4adc, signal_id=6, detail=1) at gsignal.c:2281 #41 0x00002aaaab833900 in gtk_widget_event_internal (widget=0x8ea3c0, event=0x6d93b0) at gtkwidget.c:3564 #42 0x00002aaaab74743c in gtk_propagate_event (widget=0x8ea3c0, event=0x6d93b0) at gtkmain.c:2319 #43 0x00002aaaab7476a5 in gtk_main_do_event (event=0x6d93b0) at gtkmain.c:1583 #44 0x00002aaaaba7b710 in gdk_event_dispatch (source=0x4adc, callback=0x6, user_data=0x1) at gdkevents-x11.c:2158 #45 0x00002aaaac63b7bd in g_main_context_dispatch (context=0x611eb0) at gmain.c:1942 #46 0x00002aaaac63d497 in g_main_context_iterate (context=0x611eb0, block=-1394132304, dispatch=1, self=0xffffffffffffffff) at gmain.c:2573 #47 0x00002aaaac63d835 in g_main_loop_run (loop=0x8ef400) at gmain.c:2777 #48 0x00002aaaab746b01 in gtk_main () at gtkmain.c:1173 #49 0x00000000004afa29 in main (argc=1, argv=0x7ffffffff1d8) at main.c:961 Is that any better? :) Thanks for workin' with me and my relative n00b-ness to filing bug reports. ~~ Andrew D. linuxnoob@wi.rr.com
That is most definitely an arts error. Basically you have gaim configured to play sounds when you receive a message. gaim is configured to use arts. arts seems to be barfing. CC'ing KDE team as I know nothing about arts. Can you build gaim with USE="-arts" just to test?
Well, GAIM was configured to "auto", so it must have chosen Arts by itself. Recompiling in debug mode with USE="-arts" did not fix the problem when GAIM is set to "Auto". However, re-setting the prefs to always choose "ESD" _DID_ fix the problem. So it's gotta be an issue with Arts. Yay! Temporary workaround! I use GNOME as my WM, but I do have Arts 1.3.2 installed. More info can be given should the KDE team want me to run more tests. ~~ Andrew D. linuxnoob@wi.rr.com
Yes, this is an arts problem, see here for an identical backtrace: http://bugs.kde.org/show_bug.cgi?id=93910
Ajay and Jory are you guys using arts as well? And does not using arts work for you?
I disable arts I cant stand kde or gnome applications but I have not had much time to do any testing seeing I am busy working on getting stuff in order for my gentoo dev stuff. Sorry I wish I could be more help but my hands are strapped with bugzilla or becoming a dev to help fix and maintain other parts of portage.
It appears to be a known issue and the problem is with libao not wanting to play nice with arts. You can try to disable sound. Some people have had the problem go away if they use aplay to get to arts. I'd like to see if Ajay or Jory are knowingly or unknowlingly using arts and falling victim to this.
Don no I dont use arts I disable arts esd and oss completely .... the problem is much deeper then arts .... arts has nothing to do with a direct connect on windows to a linux user that I am aware of. If I am wrong correct me!
Don this has been resolved in latest version of gaim ... if you wish close it and can be reopened at a later time if problem still persists.
If problem persists later on down road we will re-open until then I see no need to keep open all is fine with latest version.
bugzie
KDE team is killing arts slowly but sucessfully. Pidgin dont use arts at all. So the issue is fixed on 100% :]