Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139405 - gaim-2.0 beta3-r1 crashes on startup
Summary: gaim-2.0 beta3-r1 crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 03:28 UTC by Sabin Iacob
Modified: 2006-07-06 12:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sabin Iacob 2006-07-06 03:28:49 UTC
scenario: 
1. start gaim, configure accounts, etc, everything works fine
2. enable docklet plugin (System tray blah blah)
3. hide the buddy list, exit gaim using the menu provided when right clicking the systray icon
4. try to start gaim again

result:
gaim crashes; editing the .gaim/prefs.xml and removing the docklet plugin makes it start again

emerge --info:

Portage 2.1.1_pre2-r2 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r2-m0n5t3r i686)
=================================================================
System uname: 2.6.16-suspend2-r2-m0n5t3r i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://ftp.lug.ro/gentoo http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/zugaina"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bigger-fonts bitmap-fonts cli crypt cups dga divx4linux djbfft dlloader dmx dpms dri dvd dvdread edl emboss encode extraengine f77 fbcon fbsplash figlet foomaticdb fortran gdbm gif gimp gimpprint gpm gstreamer gtk gtk2 gzip idea imap imlib imlib2 innodb insecure-drivers ipv6 ipv6arpa isdnlog ithreads jabber javascript jikes jingle jpeg jpeg2k jrtplib libg++ libwww linuxkeys live maildir mime mimencode mmap mmx mmx2 mmxext motif mozsha1 mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mpm-worker multitarget music ncurses network neural nls no-old-linux no-suexec noamazon nptl nptlonly nsplugin nspr offensive ogg oggvorbis openal opengl pam pcntl pcre pda pdflib perl pic pie png pnp pppd python qt qt3 qt4 quicktime rar readline real reflection rtc sdl session sftp sftplogging sharedmem simplexml soap sofia-sip spell spl sqlite3 sse sse-filters ssl startup-notification svgz tcpd tidy truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis wifi win32codecs xanim xml xml2 xmlrpc xmms xorg xosd xprint xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_wacom kernel_linux userland_GNU video_cards_via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

backtrace:

(gdb) bt full
#0  0x0812b4f0 in gtk_gaim_status_box_get_message ()
No symbol table info available.
#1  0x080e2975 in gaim_gtk_connection_init ()
No symbol table info available.
#2  0x0807f0cd in gaim_connection_set_state ()
No symbol table info available.
#3  0xb6e964ab in yahoo_html_to_codes () from /usr/lib/gaim/libyahoo.so
No symbol table info available.
#4  0xb6e9b63a in yahoo_privacy_check () from /usr/lib/gaim/libyahoo.so
No symbol table info available.
#5  0xb6e9ce76 in yahoo_privacy_check () from /usr/lib/gaim/libyahoo.so
No symbol table info available.
#6  0x080f9275 in gaim_gtk_eventloop_get_ui_ops ()
No symbol table info available.
#7  0xb75128ef in g_vasprintf () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0xb74e2423 in g_source_remove_poll () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#9  0xb74e4b47 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0xb74e4e9a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0xb7c68494 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0x0810d8d3 in main ()
No symbol table info available.

It looks like the problem comes from the input box that is used to set status after connecting; since the window is hidden, trying to read from the (unmapped) widget makes gaim go boom; the fix should be trivial, but I don't have the time to read through the source; I am willing to get my hands dirty if someone will point me to the source that needs changing, though...
Comment 1 Jonathan Wright 2006-07-06 07:02:33 UTC
I can confirm the same problem here. Removing the link to /usr/lib/gaim/docklet.so under the loaded pref/gaim/gtk/plugins/loaded in ~/.gaim/prefs.xml allowed gaim to restart.

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1-djnauk i686)
=================================================================
System uname: 2.6.15-gentoo-r1-djnauk i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon-xp -mtune=athlon-xp -ftracer -fomit-frame-pointers -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=athlon-xp -mtune=athlon-xp -ftracer -fomit-frame-pointers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://gentoo.caerphilly.djnauk.co.uk/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.blueyonder.co.uk/ http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa bash-completion bitmap-fonts cdr cups dbus dvd dvdr ffmpeg gnome gtk gtk2 hal jpeg mp3 nptl ogg pam png spell ssl svg tiff truetype truetype-fonts type1-fonts vorbis xinerama zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-06 09:53:30 UTC
Jonathan, is your bt the exact same as the first poster's? I"m totally unable to re-create this problem.
Comment 3 Jonathan Wright 2006-07-06 11:27:42 UTC
I can't replecate it now - even with the old config (restored from backup). However, before removing docklet.so out of prefs.xml each start of gaim-2.0.0-beta3-r1 resulted in a SIGABRT (IIRC, although it may have been SIGSERV). I even tried re-compilation a number of times

Regardless of state now, gaim will re-load.
Comment 4 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-06 12:10:00 UTC
Thank you for your quick response. I'll go ahead and close the bug as fixed.