When running gaim attempting to double click on a buddy to open an IM window causes a segmentation fault. Reproducible: Always Steps to Reproduce: 1. Run Gaim 2. Connect to aim 3. Double click on a buddy (any buddy will do) Actual Results: gaim was compiled with USE="gtk2 debug". Many of my libraries were compiled fomit-frame-pointer so this might not be as useful as it could have been. GDB backtrace: #0 0x4003afd2 in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0x4072cd8d in free () from /lib/libc.so.6 #2 0x4071d087 in fclose () from /lib/libc.so.6 #3 0x41cbf5d8 in ?? () #4 0x0848af00 in ?? () #5 0x41d1d66c in ?? () #6 0x41d1bea8 in ?? () #7 0x41cbc583 in ?? () #8 0xbfff71d0 in ?? () #9 0xbfff7490 in ?? () #10 0xbfff71d0 in ?? () #11 0x00000018 in ?? () #12 0x41d0dd27 in ?? () #13 0xbfff71c0 in ?? () #14 0x00000004 in ?? () #15 0x41d1d66c in ?? () #16 0x41d0d635 in ?? () #17 0x4147ed7c in ?? () #18 0xbfff7208 in ?? () #19 0x4144f357 in ?? () #20 0x00000000 in ?? () #21 0xbfff71e0 in ?? () #22 0xbfff71d0 in ?? () #23 0x00000016 in ?? () #24 0x00000000 in ?? () #25 0x40013a1c in ?? () from /lib/ld-linux.so.2 #26 0xbfff71e0 in ?? () #27 0xbfff71e0 in ?? () #28 0x41d1bea8 in ?? () ---Type <return> to continue, or q <return> to quit--- #29 0xbfff750a in ?? () #30 0x41d1becc in ?? () #31 0x0848af00 in ?? () #32 0x0848ae01 in ?? () #33 0x41d1ae38 in ?? () #34 0x08487a74 in ?? () #35 0x08486300 in ?? () #36 0x00000000 in ?? () #37 0x00019bc7 in ?? () #38 0x00000000 in ?? () #39 0x41d1d66c in ?? () #40 0x00000018 in ?? () #41 0xbfff7460 in ?? () #42 0xbfff7558 in ?? () #43 0x41cfe6fb in ?? () #44 0xbfff7460 in ?? () #45 0xbfff7490 in ?? () #46 0x08488174 in ?? () #47 0x00000018 in ?? () #48 0x41d0d798 in ?? () #49 0x08486378 in ?? () #50 0xbfff7160 in ?? () #51 0xbfff71cc in ?? () #52 0x00000000 in ?? () #53 0x00002103 in ?? () #54 0x4000b81e in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #55 0x00000000 in ?? () #56 0xbfff74c8 in ?? () #57 0x41d1b238 in ?? () ---Type <return> to continue, or q <return> to quit--- #58 0x08487a74 in ?? () #59 0x41d1b2e8 in ?? () #60 0x00000004 in ?? () #61 0x0848add8 in ?? () #62 0x41d09b20 in ?? () #63 0x08489a00 in ?? () #64 0x00000000 in ?? () #65 0x00000000 in ?? () #66 0x00000000 in ?? () #67 0x41d1cf80 in ?? () #68 0x41d1d0e0 in ?? () #69 0x00000000 in ?? () #70 0x00000000 in ?? () #71 0x41d1e5bc in ?? () #72 0x41d1e5bc in ?? () #73 0xffffffff in ?? () #74 0x41d1b238 in ?? () #75 0x41480cac in ?? () #76 0x00014231 in ?? () #77 0x40042b84 in ?? () from /lib/libpthread.so.0 #78 0x41d1b238 in ?? () #79 0x08487a34 in ?? () #80 0xbfff7508 in ?? () #81 0x4003b20b in pthread_mutex_unlock () from /lib/libpthread.so.0 Previous frame inner to this frame (corrupt stack?) Expected Results: Open IM window and allowed me to use it. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 Pentium III (Katmai) Gentoo Base System version 1.4.15 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crd crypt cups dga doc dvd encode esd foomaticdb gd gdbm gif gnome gtk gtk2 gtkhtml imagemagick imap imlib java jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Yeah you're going to need to change the CFLAG so we can get a meaningful backtrace. The one you've provided is useless. FYI gaim uses gtk2 no matter what and doesn't use the gtk2 USE flag.
Ya, unfortunetly I'd have to compile a considerable amount of stuff over again to get it to be any better. Just compiling gaim without the -fomit-frame-pointer doesn't help any.
Perhaps run it as 'gaim -d' and paste here the last parts of the debug output before the crash.
Here is the last bit of the debugging output from gaim -d. oscar: chatnav: connected oscar: chat info: Chat Rights: oscar: chat info: Max Concurrent Rooms: 3 oscar: chat info: Exchange List: (16 total) oscar: chat info: 20 oscar: chat info: 16 oscar: chat info: 15 oscar: chat info: 14 oscar: chat info: 13 oscar: chat info: 12 oscar: chat info: 11 oscar: chat info: 10 oscar: chat info: 9 oscar: chat info: 8 oscar: chat info: 7 oscar: chat info: 6 oscar: chat info: 5 oscar: chat info: 4 oscar: chat info: 2 oscar: chat info: 1 sighandler: Caught signal 2 account: Disconnecting account 0x825f5b0 connection: Disconnecting connection 0x842a278 server: removing NOP oscar: Signed off. blist: Destroying accels: accel changed, scheduling save. accels: accel changed, scheduling save. accels: accel changed, scheduling save. accels: accel changed, scheduling save. accels: accel changed, scheduling save. accels: accel changed, scheduling save. accels: accel changed, scheduling save. accels: accel changed, scheduling save. accels: accel changed, scheduling save. Gaim has segfaulted and attempted to dump a core file. This is a bug in the software and has happened through no fault of your own. It is possible that this bug is already fixed in CVS. If you can reproduce the crash, please notify the gaim maintainers by reporting a bug at http://gaim.sourceforge.net/bug.php Please make sure to specify what you were doing at the time, and post the backtrace from the core file. If you do not know how to get the backtrace, please get instructions at http://gaim.sourceforge.net/gdb.php. If you need further assistance, please IM either RobFlynn or SeanEgn and they can help you. Aborted Any ideas where I might find the core file? I have looked for gaim.core but haven't been able to find it and to be honest I am not sure how core dumps are handled in Gentoo.
See the notes on gaim's gdb page about ulimit and core files.
Well I am going to mark this as cant fix because it is a result of some combination of gcc 3.4.0-r4, gtk+ 2.4.1 and the gtk-qt theme from freedesktop.org. Before I upgraded to gcc 3.4.0-r4 and gtk+ 2.4.1 it worked just fine but now gaim crashes when I choose the gtk-qt theme as my theme but is fine with all the other gtk themes. Go figure. I'll file a bug report with the gtk-qt guy.