Whenever I open up the accounts dialog, and click "modify", gaim immediately segfaults. Reproducible: Always Steps to Reproduce: 1. Open up accounts 2. Click on any account and click "modify" or "add" 3. Gaim segfaults Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-rc1-love1) ================================================================= System uname: 2.6.7-rc1-love1 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -fomit-frame-pointer -frename-registers -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/terminfo /etc/env.d"CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest distcc prelink sandbox userpriv" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j3" PKGDIR="/var/pub/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow S3TC X X509 Xaw3d aalib acpi acpi4linux aim alsa apache2 audiofile avi bonobo caps cddb cdr chroot cjk clanJavaScript clanVoice crypt cups curl dga directfb divx dnd dvd encode esd ethereal evo ext-png faad fam fbcon fbdev flac foomaticdb freetype fs gif gimpprint gnome gnomedb gnutls gpm gstreamer gtk gtk2 gtkhtml guile imlib imlib2 jabber java javascript jpeg ldap libg++ libwww mad maildir mbox md5sum mldonkeypango mmx mng mozilla moznocompose moznoirc moznomail mpeg mpeg4 mpi ncurses nls nocardbus nocd nodod nowin nptl nvidia objc offensive oggvorbis openal opengl openssh oscar pam pdflib pic png ppds quicktime readline samba sasl sdl silc slp snmp spell src ssl stencil-buffer svga tcltk tcpd threads truetype unicode usb videos wxwindows x86 xchattext xgetdefault xine xml xml2 xosd xv xvid yahoo"
Here is a backtrace: --- #0 0xffffe410 in ?? () #1 0xbfff81a0 in ?? () #2 0x00000006 in ?? () #3 0x00002698 in ?? () #4 0x41527311 in raise () from /lib/libc.so.6 #5 0x41528a67 in abort () from /lib/libc.so.6 #6 0xbfff81b4 in ?? () #7 0x00000000 in ?? () #8 0x00000020 in ?? () #9 0x00000000 in ?? () #10 0x00000000 in ?? () #11 0x00000000 in ?? () #12 0x00000000 in ?? () #13 0x00000000 in ?? () #14 0x00000000 in ?? () #15 0x00000000 in ?? () #16 0x00000000 in ?? () #17 0x00000000 in ?? () #18 0x00000000 in ?? () #19 0x00000000 in ?? () #20 0x00000000 in ?? () #21 0x00000000 in ?? () #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x00000000 in ?? () #30 0x00000000 in ?? () #31 0x00000000 in ?? () #32 0x00000000 in ?? () #33 0x00000000 in ?? () #34 0x00000000 in ?? () #35 0x00000000 in ?? () #36 0x00000000 in ?? () #37 0x00000000 in ?? () #38 0x00000000 in ?? () #39 0x00000000 in ?? () #40 0x40016350 in ?? () #41 0x00000002 in ?? () #42 0x0810f6d8 in dnd_targets () #43 0x0000026a in ?? () #44 0x41609187 in _IO_2_1_stderr_ () from /lib/libc.so.6 #45 0x41609188 in _IO_2_1_stderr_ () from /lib/libc.so.6 #46 0x41609140 in _IO_2_1_stdout_ () from /lib/libc.so.6 #47 0x0810f6d8 in dnd_targets () #48 0xbfff8278 in ?? () #49 0x41559cde in _IO_do_write () from /lib/libc.so.6 ---
I hope you realize how useless this backtrace is, and how you simply ignored all instructions for providing one. You need to emerge gaim with USE="debug".
FWIW I can do these things just fine. Also googling for "-frename-registers" says that it leads to badness, and I'm told on x86 it provides no benefits. Either way since I don't use it I'll ask you to remove it and try again.
Sorry, debug was in the environment. Even with -O2 -pipe it still happens.
I'm told you may need to rebuild as far back as gtk+ with the new flags.
With "FEATURES=nostrip USE=debug emerge gtk+ -v" I got the same output.
Sorry if I wasn't clear. You'll need to rebuild gaim after rebuilding gtk+ as well.
Oops, Ok. GTK+ compiled with debug and Gaim compiled with debug. Now, it no longer crashes on modify, but still crashes when I hit "close". Attached is a [hopefully] more meaningful debug (I just ran it from gdb this time, rather than a core file): I got this when it crashed in gdb: --- 0x0808c025 in gaim_find_prpl (id=0x81bfe90 "prpl-oscar") at prpl.c:91 91 prpl.c: No such file or directory. in prpl.c --- and this from a "bt": --- #0 0x0808c025 in gaim_find_prpl (id=0x81bfe90 "prpl-oscar") at prpl.c:91 #1 0x080faaaa in create_account_menu (optmenu=0x82c8c38, default_account=0x0, filter_func=0, show_all=1) at gtkutils.c:671 #2 0x080fb15d in gaim_gtk_account_option_menu_new ( default_account=0x4076df60, show_all=80, cb=0x81bff98, filter_func=0x80fa8c0 <account_menu_cb>, user_data=0x81bff98) at gtkutils.c:830 #3 0x080fca0e in show_login () at main.c:257 #4 0x4078eefc in ?? () #5 0x081bb570 in ?? () #6 0x407912a4 in ?? () #7 0xbfff8828 in ?? () #8 0x4078f6ba in ?? () #9 0x00000001 in ?? () #10 0x0813faf0 in ?? () #11 0x41611020 in dlopen () from /lib/libdl.so.2 Previous frame inner to this frame (corrupt stack?) ---
Do you have your prpl files in /usr/lib/gaim/ ?
This no longer occurs in 0.80. Closing...