Gaim has mysteriously started segfaulting on me. At first, it segfaulted on startup. Some investigation revealed that it was having problems parsing my privacy settings (which haven't changed for months). I removed those, and now it starts correctly, but segfaults when I try to sign on to any of my accounts. The outputs of 'gaim -d' and a backtrace are below. $ gaim -d sound: Initializing sound output drivers. plugins: probing /usr/local/lib/gaim/docklet.so plugins: probing /usr/local/lib/gaim/docklet.la plugins: probing /usr/local/lib/gaim/gaim-remote.so plugins: probing /usr/local/lib/gaim/gaim-remote.la plugins: probing /usr/local/lib/gaim/gestures.so plugins: probing /usr/local/lib/gaim/gestures.la plugins: probing /usr/local/lib/gaim/perl.so plugins: /usr/local/lib/gaim/perl.so is unloadable: Unknown error. plugins: probing /usr/local/lib/gaim/perl.la plugins: probing /usr/local/lib/gaim/tcl.so plugins: probing /usr/local/lib/gaim/tcl.la plugins: probing /usr/local/lib/gaim/ticker.so plugins: probing /usr/local/lib/gaim/ticker.la plugins: probing /usr/local/lib/gaim/autorecon.so plugins: probing /usr/local/lib/gaim/autorecon.la plugins: probing /usr/local/lib/gaim/history.so plugins: probing /usr/local/lib/gaim/history.la plugins: probing /usr/local/lib/gaim/iconaway.so plugins: probing /usr/local/lib/gaim/iconaway.la plugins: probing /usr/local/lib/gaim/idle.so plugins: probing /usr/local/lib/gaim/idle.la plugins: probing /usr/local/lib/gaim/notify.so plugins: probing /usr/local/lib/gaim/notify.la plugins: probing /usr/local/lib/gaim/spellchk.so plugins: probing /usr/local/lib/gaim/spellchk.la plugins: probing /usr/local/lib/gaim/statenotify.so plugins: probing /usr/local/lib/gaim/statenotify.la plugins: probing /usr/local/lib/gaim/timestamp.so plugins: probing /usr/local/lib/gaim/timestamp.la plugins: probing /usr/local/lib/gaim/libgg.so plugins: probing /usr/local/lib/gaim/libgg.la plugins: probing /usr/local/lib/gaim/libirc.so plugins: probing /usr/local/lib/gaim/libirc.la plugins: probing /usr/local/lib/gaim/libjabber.so plugins: probing /usr/local/lib/gaim/libjabber.la plugins: probing /usr/local/lib/gaim/libmsn.so plugins: probing /usr/local/lib/gaim/libmsn.la plugins: probing /usr/local/lib/gaim/libnapster.so plugins: probing /usr/local/lib/gaim/libnapster.la plugins: probing /usr/local/lib/gaim/liboscar.so plugins: probing /usr/local/lib/gaim/liboscar.la plugins: probing /usr/local/lib/gaim/libtoc.so plugins: probing /usr/local/lib/gaim/libtoc.la plugins: probing /usr/local/lib/gaim/libyahoo.so plugins: probing /usr/local/lib/gaim/libyahoo.la plugins: probing /usr/local/lib/gaim/libzephyr.so plugins: probing /usr/local/lib/gaim/libzephyr.la plugins: probing /usr/local/lib/gaim/ssl.so plugins: probing /usr/local/lib/gaim/ssl.la plugins: probing /usr/local/lib/gaim/ssl-gnutls.so plugins: probing /usr/local/lib/gaim/ssl-gnutls.la plugins: probing /usr/local/lib/gaim/ssl-nss.so plugins: probing /usr/local/lib/gaim/ssl-nss.la plugins: probing /usr/local/lib/gaim/relnot.so plugins: probing /usr/local/lib/gaim/relnot.la plugins: probing /home/hazard/.gaim/id plugins: probing /home/hazard/.gaim/dict plugins: probing /home/hazard/.gaim/logs plugins: probing /home/hazard/.gaim/pounces.xml plugins: probing /home/hazard/.gaim/THOMASUNIFIED.5.blist plugins: probing /home/hazard/.gaim/icons plugins: probing /home/hazard/.gaim/prefs.xml plugins: probing /home/hazard/.gaim/.notify plugins: probing /home/hazard/.gaim/blist.xml plugins: probing /home/hazard/.gaim/smileys plugins: probing /home/hazard/.gaim/THOMASUNIFIED.0.blist plugins: probing /home/hazard/.gaim/accels plugins: probing /home/hazard/.gaim/blist.xml.save plugins: probing /home/hazard/.gaim/id.priv plugins: probing /home/hazard/.gaim/status.xml plugins: probing /home/hazard/.gaim/accounts.xml plugins: probing /home/hazard/.gaim/115043708.3.blist plugins: probing /home/hazard/.gaim/known_keys prefs: Reading /home/hazard/.gaim/prefs.xml prefs: Finished reading /home/hazard/.gaim/prefs.xml prefs: Attempting to rename /gaim/gtk/logging/log_ims to /core/logging/log_ims prefs: Attempting to rename /gaim/gtk/logging/log_chats to /core/logging/log_chats prefs: Attempting to rename /core/conversations/placement to /gaim/gtk/conversations/placementplugins: Loading saved plugin ssl-nss.so plugins: Loading saved plugin ssl.so plugins: Loading saved plugin docklet.so tray icon: plugin loaded tray icon: created plugins: Loading saved plugin history.so plugins: Loading saved plugin idle.so plugins: Loading saved plugin notify.so plugins: Loading saved plugin statenotify.so plugins: Loading saved plugin autorecon.so plugins: Loading saved plugin relnot.so pounce: Creating pounce: gtk-gaim, <buddy name censored by bug reporter> blist import: Reading /home/hazard/.gaim/blist.xml blist import: Finished reading /home/hazard/.gaim/blist.xml Session Management: ICE initialized. Session Management: Connecting with no previous ID Session Management: Handling new ICE connection... done. Session Management: Connected to manager (GnomeSM) with client ID 117f000001000111978442000000089330016 Session Management: Using gaim as command Session Management: Received first save_yourself Session Management: Received save_complete tray icon: embedded account: Connecting to account 0x81b7e68. gc = 0x8304e80 connection: Connecting. gc = 0x8304e80 connection: Calling serv_login server: gaim 0.75 logging in ThomasUnified using AIM/ICQ oscar: oscar_login: gc = 0x8304e80 dns: Created new DNS child 16678, there are now 1 children. dns: Host 'login.oscar.aol.com' resolved proxy: Connecting to login.oscar.aol.com:5190 with no proxy proxy: Connect would have blocked. proxy: Connected. oscar: Screen name sent, waiting for response oscar: inside auth_resp (Screen name: ThomasUnified) oscar: Reg status: 3 oscar: Email: hazard@imsa.edu oscar: BOSIP: 205.188.7.184:5190 oscar: Closing auth connection... dns: Successfully sent DNS request to child 16678 dns: Host '205.188.7.184' resolved proxy: Connecting to 205.188.7.184:5190 with no proxy proxy: Connect would have blocked. proxy: Connected. oscar: MOTD: Unknown (5) oscar: ssi: requesting rights and list oscar: ThomasUnified 0: userinfo: **warning: unexpected TLV: oscar: ThomasUnified 0: userinfo: sn =ThomasUnified oscar: ThomasUnified 0: userinfo: type =0x0022 oscar: ThomasUnified 0: userinfo: length=0x0002 oscar: ThomasUnified 0: userinfo: value: oscar: ThomasUnified 0: userinfo: oscar: ThomasUnified 0: 0x87 oscar: ThomasUnified 0: 0x2f oscar: ThomasUnified 0: oscar: ThomasUnified 0: userinfo: **warning: unexpected TLV: oscar: ThomasUnified 0: userinfo: sn =ThomasUnified oscar: ThomasUnified 0: userinfo: type =0x0014 oscar: ThomasUnified 0: userinfo: length=0x0001 oscar: ThomasUnified 0: userinfo: value: oscar: ThomasUnified 0: userinfo: oscar: ThomasUnified 0: 0x 7 oscar: ThomasUnified 0: oscar: locate rights: max sig len = 2048 oscar: buddy list rights: Max buddies = 350 / Max watchers = 2000 oscar: BOS rights: Max permit = 350 / Max deny = 350 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. And here's the backtrace: #0 0xb7cebb31 in kill () from /lib/libc.so.6 #1 0xb7f74c81 in pthread_kill () from /lib/libpthread.so.0 #2 0xb7f74fd5 in raise () from /lib/libpthread.so.0 #3 0xb7ceb8dc in raise () from /lib/libc.so.6 #4 0xb7cecca4 in abort () from /lib/libc.so.6 #5 0x080ef25c in sighandler (sig=0) at main.c:410 #6 0xb7f7753d in __pthread_sighandler () from /lib/libpthread.so.0 #7 <signal handler called> #8 0xb782e4ce in g_markup_escape_text () from /usr/lib/libglib-2.0.so.0 #9 0x0806bae6 in blist_print_setting (key=0x81cb860 "icon_checksum", setting=0x436314bb, file=0x834faf0, indent=-1215790720) at blist.c:2269 #10 0x0806bb77 in blist_print_buddy_settings (key=0x0, data=0x0, user_data=0x0) at blist.c:2294 #11 0xb7819599 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0 #12 0x0806bd47 in print_buddy (file=0x834faf0, buddy=0x81cb7d0) at blist.c:2337 #13 0x0806c332 in gaim_blist_write (file=0x834faf0, exp_acct=0x0) at blist.c:2379 #14 0x0806c424 in gaim_blist_save () at blist.c:2476 #15 0x080aa595 in gtk_blist_row_expanded_cb (tv=0x83274e0, iter=0x436314bb, path=0x834f8c0, user_data=0x0) at gtkblist.c:638 #16 0xb7b04aa8 in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0 #17 0xb7899ce7 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #18 0xb78aaaf4 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #19 0xb78a9bd2 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #20 0xb78a9e92 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #21 0xb7bd813b in gtk_tree_view_expand_to_path () from /usr/lib/libgtk-x11-2.0.so.0 #22 0xb7bd8315 in gtk_tree_view_expand_row () from /usr/lib/libgtk-x11-2.0.so.0 #23 0x080b08a2 in insert_node (list=0x81ca310, node=0x83274e0, iter=0xbfff7a90) at gtkblist.c:2837 #24 0x080b0de3 in gaim_gtk_blist_update_contact (list=0x81ca310, node=0x81cd598) at gtkblist.c:2970 #25 0x080b11af in gaim_gtk_blist_update (list=0xffffffff, node=0x436314bb) at gtkblist.c:3079 #26 0x0806a484 in gaim_blist_add_account (account=0x81b7e68) at blist.c:1462 #27 0x0806e491 in gaim_connection_set_state (gc=0x8304e80, state=GAIM_DISCONNECTED) at connection.c:321 #28 0xb733d912 in gaim_bosrights (sess=0x8306230, fr=0x830c240) at oscar.c:3854 #29 0xb731ac89 in rights (sess=0x8306230, mod=0x8303b00, rx=0x830c240, snac=0xbfff7bd0, bs=0x0) at bos.c:44 #30 0xb732ba0f in consumesnac (sess=0x8306230, rx=0x830c240) at rxhandlers.c:138 #31 0xb732c172 in aim_rxdispatch (sess=0x8306230) at rxhandlers.c:525 #32 0xb733501b in oscar_callback (data=0x0, source=6, condition=GAIM_INPUT_READ) at oscar.c:524 #33 0x0807e9c3 in gaim_io_invoke (source=0x0, condition=0, data=0x830ce20) at proxy.c:218 #34 0xb7853304 in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0 #35 0xb782ac76 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0 #36 0xb782b5d5 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0 #37 0xb782732e in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #38 0xb7b00d51 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #39 0x080efb7e in main (argc=2, argv=0xbfffdfa4) at main.c:937
A similar thing is happening to me , gaim segfaults when you start it up either from knosole or from a kde button. I believe this problem started after a world update that upgraded my glibc among other packages. I think it is the same bug. (gdb) backtrace #0 0xb7ff49a0 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #1 0xb79299a5 in getutmpx () from /lib/tls/libc.so.6 #2 0xb7ff6618 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #3 0xb7929d70 in _dl_open () from /lib/tls/libc.so.6 #4 0xb792b40f in _dl_mcount_wrapper_check () from /lib/tls/libc.so.6 #5 0xb7ff6618 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #6 0xb792b3b5 in _dl_mcount_wrapper_check () from /lib/tls/libc.so.6 #7 0xb792b4eb in __libc_dlopen_mode () from /lib/tls/libc.so.6 #8 0xb79078dc in __nss_lookup_function () from /lib/tls/libc.so.6 #9 0xb790749f in __nss_database_lookup () from /lib/tls/libc.so.6 #10 0xb7908fb9 in __nss_hosts_lookup () from /lib/tls/libc.so.6 #11 0xb790b9b8 in gethostbyname_r () from /lib/tls/libc.so.6 #12 0xb790b25c in gethostbyname () from /lib/tls/libc.so.6 #13 0x08085ee7 in gaim_global_proxy_get_info () #14 0x080863e0 in gaim_gethostbyname_async () #15 0x080882b6 in gaim_proxy_connect () #16 0xb71b83e3 in oscar_caps_to_string () from /usr/lib/gaim/liboscar.so #17 0x0808b96c in serv_login () #18 0x080680a7 in gaim_account_connect () #19 0x0806ad19 in gaim_accounts_auto_login () #20 0x080f57f4 in main ()
John, have you tried doing a revdep-rebuild?
I started to happen to me when I upgraded to 1.4 on Friday. I have done a revdep and it didn't do anything. If I downgraded to the 1.3.X release it ran.
This patch may fix: http://cvs.sourceforge.net/viewcvs.py/gaim/gaim/src/protocols/oscar/ssi.c?r1=1.60.2.1&r2=1.60.2.3&diff_format=u Some other distro package managers have mentioned seeing the same problems. I'll add this patch now.
Please upgrade to gaim-1.4.0-r1 and try again.
Waiting for users to re-test. Please do so on gaim-1.5.0 if you please.