Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178914 - net-im/pidgin-2.0.0 hangs on start
Summary: net-im/pidgin-2.0.0 hangs on start
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 18:48 UTC by Albert Zeyer
Modified: 2007-05-30 07:27 UTC (History)
0 users

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 Albert Zeyer 2007-05-17 18:48:35 UTC
Pidgin hangs on start here and the window is not responding. But I can cancel it with Ctrl+C.

The problem occurs after I experiented a bit with the Purple interface. But my experimental tool (which sets the status msg all 20 seconds to something) works good for hours until Pidgin didn't respond even more. Then I killed it and now it doesn't start correctly (it hangs / doesn't respond).

This is the debug-output:

dbus: okkk
plugins: probing /usr/lib/pidgin/timestamp.so
...
plugins: probing /usr/lib/pidgin/relnot.so
plugins: probing /usr/lib/pidgin/extplacement.so
plugins: probing /usr/lib/pidgin/ticker.so
plugins: probing /usr/lib/pidgin/xmppconsole.so
plugins: probing /usr/lib/purple-2/libicq.so
plugins: probing /usr/lib/purple-2/libirc.so
...
plugins: probing /usr/lib/purple-2/ssl-nss.so
plugins: probing /usr/lib/purple-2/libjabber.so
plugins: /usr/lib/purple-2/libjabber.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
plugins: probing /usr/lib/purple-2/buddynote.so
...
plugins: probing /usr/lib/purple-2/liboscar.so
plugins: /usr/lib/purple-2/liboscar.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
plugins: probing /usr/lib/purple-2/idle.so
plugins: probing /usr/lib/purple-2/libxmpp.so
...
plugins: probing /usr/lib/purple-2/dbus-example.so
util: Reading file accounts.xml from directory /home/az/.purple
util: Reading file status.xml from directory /home/az/.purple
stun: using server 
stun: using server 
sound: Initializing sound output drivers.
gtkblist: added visibility manager: 1
docklet: created
util: Reading file blist.xml from directory /home/az/.purple
prefs: Reading /home/az/.purple/prefs.xml
prefs: Finished reading /home/az/.purple/prefs.xml
plugins: Loading saved plugin /usr/lib/pidgin/gevolution.so
plugins: Loading saved plugin /usr/lib/pidgin/libextprefs.so
plugins: Loading saved plugin /usr/lib/pidgin/guifications.so
Guifications: Probing /usr/share/pixmaps/pidgin/guifications/themes/mini/theme.xml
Guifications: Probing /usr/share/pixmaps/pidgin/guifications/themes/default/theme.xml
Guifications: Probing /usr/share/pixmaps/pidgin/guifications/themes/Penguins/theme.xml
plugins: Loading saved plugin /usr/lib/pidgin/history.so
plugins: Loading saved plugin /usr/lib/purple-2/log_reader.so
plugins: Loading saved plugin /usr/lib/pidgin/notify.so
plugins: Loading saved plugin /usr/lib/purple-2/ssl-nss.so
plugins: Loading saved plugin /usr/lib/pidgin/pidgin-otr.so
plugins: Loading saved plugin /usr/lib/purple-2/psychic.so
plugins: Loading saved plugin /usr/lib/purple-2/ssl.so
pounce: Error reading pounces: Datei »/home/az/.purple/pounces.xml« konnte nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
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 117f000001000117942675800000070050054
Session Management: Using pidgin as command
dbus: Need to register an object with the dbus subsystem.
g_log: file dbus-server.c: line 118 (purple_dbus_pointer_to_id): should not be reached
account: Connecting to account 107220269
connection: Connecting. gc = 0x1042fbd0
oscar: registered module misc (family 0xffff, version = 0x0000, tool 0x0000, tool version 0x0000)
...
oscar: registered module bart (family 0x0010, version = 0x0001, tool 0x0010, tool version 0x0629)
oscar: registered module feedbag (family 0x0013, version = 0x0004, tool 0x0110, tool version 0x0629)
oscar: registered module icq (family 0x0015, version = 0x0001, tool 0x0110, tool version 0x047c)
oscar: registered module auth (family 0x0017, version = 0x0000, tool 0x0000, tool version 0x0000)
oscar: registered module alert (family 0x0018, version = 0x0001, tool 0x0010, tool version 0x0629)
oscar: Adding handler for ffff/0003
oscar: Adding handler for ffff/0006
...
oscar: Adding handler for 000a/0003
oscar: oscar_login: gc = 0x1042fbd0
dns: DNS query for 'login.oscar.aol.com' queued
account: Connecting to account 240857379
connection: Connecting. gc = 0x1042dc28
oscar: registered module misc (family 0xffff, version = 0x0000, tool 0x0000, tool version 0x0000)
...
oscar: registered module icq (family 0x0015, version = 0x0001, tool 0x0110, tool version 0x047c)
oscar: registered module auth (family 0x0017, version = 0x0000, tool 0x0000, tool version 0x0000)
oscar: registered module alert (family 0x0018, version = 0x0001, tool 0x0010, tool version 0x0629)
oscar: Adding handler for ffff/0003
...
oscar: Adding handler for 000a/0001
oscar: Adding handler for 000a/0003
oscar: oscar_login: gc = 0x1042dc28
dns: DNS query for 'login.icq.com' queued
account: Connecting to account albertzeyer@jabber.org/Gaim
connection: Connecting. gc = 0x10432778
dnssrv: querying SRV record for _xmpp-client._tcp.jabber.org
sighandler: Caught signal 2
account: Disconnecting account 0x1010cd58
connection: Disconnecting connection 0x1042fbd0
oscar: Destroying oscar connection of type 0x0017
oscar: Signed off.
connection: Destroying connection 0x1042fbd0
account: Disconnecting account 0x1010b460
connection: Disconnecting connection 0x1042dc28
oscar: Destroying oscar connection of type 0x0017
oscar: Signed off.
connection: Destroying connection 0x1042dc28
account: Disconnecting account 0x10110248
connection: Disconnecting connection 0x10432778
jabber: Sending: </stream:stream>
connection: Destroying connection 0x10432778
plugins: Unloading plugin AIM
plugins: Unloading plugin Bonjour
plugins: Unloading plugin Evolution Integration
plugins: Unloading plugin Extended Preferences
plugins: Unloading plugin Guifications
Guifications: unprobing /usr/share/pixmaps/pidgin/guifications/themes/mini/theme.xml
Guifications: unprobing /usr/share/pixmaps/pidgin/guifications/themes/default/theme.xml
Guifications: unprobing /usr/share/pixmaps/pidgin/guifications/themes/Penguins/theme.xml
prefs: /plugins/gtk/amc_grim/guifications2/themes changed, scheduling save.
plugins: Unloading plugin History
plugins: Unloading plugin ICQ
plugins: Unloading plugin IRC
plugins: Unloading plugin Log Reader
...
plugins: Unloading plugin SSL
plugins: Unloading plugin XMPP
plugins: Unloading plugin Yahoo
plugins: Unloading plugin Zephyr
Comment 1 Albert Zeyer 2007-05-17 18:51:53 UTC
Related USE-flags:
az@ibook ~> sudo emerge -pv pidgin
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/pidgin-2.0.0  USE="bonjour crypt dbus eds gstreamer gtk nls perl spell ssl xscreensaver -avahi -cjk -console -custom-cflags -debug -doc -gadu -gnutls -groupwise -meanwhile -msn -prediction -qq -sasl -silc -startup-notification -tcl -tk" 0 kB 

Full 'emerge --info':
Portage 2.1.2.2 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.5-r2, 2.6.19-gentoo-r1 ppc)
=================================================================
System uname: 2.6.19-gentoo-r1 ppc 7447A, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 15 May 2007 20:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/       ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo   ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LINGUAS="de"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip GAPING_SECURITY_HOLE X a52 aac aalib aiglx alsa altivec amd apache2 apm applet aqua_theme asf automount backendonly bash-completion battery beagle berkdb binary-drivers bindist binfilter bitmap-fonts bittorrent bonjour bonobo branding bzip2 cairo cdr chm cli corba cracklib crosscompile crypt css cups curl cursors d dbus dedicated device-mapper dga dhcp djbfft dmx dnotify dri dts dv dvd dvdread dvi editor eds emboss encode esd evo evolution exif extensions fat fbcon ffmpeg firefox flac fortran ftp gaim gdbm gdm gif gimp glitz gnome gpm gps gs gstreamer gtk gtk2 gtkhtml hal haskell ibam icons iconv ieee1394 injection insecure-drivers ipv6 isdnlog ithreads java javacomm javascript jbig jpeg jpeg2k kerberos krb4 lame lcms ldap libcaca libg++ libwww linuxthreads-tls live lzo mad matroska midi mikmod mime mjpeg mng mod modplug mozbranding mozcalendar mozdevelop mp3 mp4 mpeg mtp multicall musepack nautilus ncurses net njb nls nntp nptl nptlonly nsplugin ocaml ode ogg openal opengl oss pam pascal pci pcre pdf perl php png ppc ppcsha1 ppds python quicktime readline reflection reiser4 reiserfs rtc rtsp ruby samba screen sdl server session sheep shout slp sockets socks5 speex spell spl ssl subversion svg syslog t1lib teamarena tetex tga themes theora threads thumbnail tiff truetype truetype-fonts type1 type1-fonts unicode usb vcd vidix visualization vorbis widescreen wifi wma wmf wmp wordperfect wxwindows x264 xanim xcomposite xext xface xine xml xorg xscreensaver xsettings xv xvid zip zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="ati radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Albert Zeyer 2007-05-17 21:56:43 UTC
It works again after a system-restart. (I don't restart very often, so I don't checked this before).

But I have tested a DBus-restart, this had not helped.

So I have no real explanation for this behavior. I had much hangs in Pidgin before (all the time, mostly after starting a new chat), but it always works after a restart of Pidgin. So I thought this isn't related with this report. But perhaps it is though. Nevertheless, I will fill another bugreport for this issue, because it always comes from time to time. (Other friends of mine also reports this issue.)
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2007-05-26 19:51:58 UTC
Can you try pidgin 2.0.1 ? Maybe you can also attach gdb to it when it hangs and see where it is.
Comment 4 Albert Zeyer 2007-05-29 18:18:35 UTC
Exactly the same behavior in 2.0.1. It occurs again right now (and I think it will work again after a restart of Gnome?/DBus?/Xorg?/Linux?).

...
(20:15:20) oscar: Adding handler for 000a/0001
(20:15:20) oscar: Adding handler for 000a/0003
(20:15:20) oscar: oscar_login: gc = 0x10422f38
(20:15:21) dns: DNS query for 'login.icq.com' queued
(20:15:21) account: Connecting to account albertzeyer@jabber.org/Gaim
(20:15:21) connection: Connecting. gc = 0x104239d8
(20:15:21) dnssrv: querying SRV record for _xmpp-client._tcp.jabber.org
(20:15:21) util: Writing file accounts.xml to directory /home/az/.purple
(20:15:21) util: Writing file blist.xml to directory /home/az/.purple

I will try with gdb now...
Comment 5 Albert Zeyer 2007-05-29 18:27:22 UTC
Maybe this is usefull?

(20:25:42) oscar: Adding handler for 0008/0002
(20:25:42) oscar: Adding handler for 000a/0001
(20:25:42) oscar: Adding handler for 000a/0003
(20:25:42) oscar: oscar_login: gc = 0x10422fc8
(20:25:42) dns: DNS query for 'login.icq.com' queued
(20:25:42) account: Connecting to account albertzeyer@jabber.org/Gaim
(20:25:42) connection: Connecting. gc = 0x10423a68
(20:25:42) dnssrv: querying SRV record for _xmpp-client._tcp.jabber.org
[New Thread 827585744 (LWP 28705)]
[New Thread 827847888 (LWP 28707)]



Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 805465504 (LWP 28683)]
0x0f181f0c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
(gdb) bt
#0  0x0f181f0c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0e74cb64 in giop_recv_buffer_get () from /usr/lib/libORBit-2.so.0
#2  0x0e751c94 in ORBit_small_invoke_stub () from /usr/lib/libORBit-2.so.0
#3  0x0e751e7c in ORBit_small_invoke_stub_n () from /usr/lib/libORBit-2.so.0
#4  0x0e7609e0 in ORBit_c_stub_invoke () from /usr/lib/libORBit-2.so.0
#5  0x0ea5889c in GNOME_Evolution_Addressbook_BookFactory_getBook ()
   from /usr/lib/libedata-book-1.2.so.2
#6  0x0ea0a874 in e_book_new () from /usr/lib/libebook-1.2.so.9
#7  0x0ea0ac54 in e_book_new_from_uri () from /usr/lib/libebook-1.2.so.9
#8  0x0ea0ae00 in e_book_new_system_addressbook ()
   from /usr/lib/libebook-1.2.so.9
#9  0x0ea98488 in gevo_load_addressbook () from /usr/lib/pidgin/gevolution.so
#10 0x0ea979d0 in ?? () from /usr/lib/pidgin/gevolution.so
#11 0x0f0bbe40 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x0f0bb798 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0x0f0bf134 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x0f0bf5a0 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#15 0x0fb44494 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x10064164 in main ()
(gdb) 

So is this a problem with Evolution?
Comment 6 Albert Zeyer 2007-05-29 19:09:04 UTC
Hey, this was it. After I killed evolution-data-server-1.8, it worked again.

ibook ~ # emerge -pv evolution evolution-data-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] mail-client/evolution-2.8.2.1  USE="crypt dbus hal ipv6 kerberos krb4 ldap nntp spell ssl -bogofilter -debug -doc -mono -pda -profile" 0 kB 
[ebuild   R   ] gnome-extra/evolution-data-server-1.8.2  USE="ipv6 kerberos krb4 ldap nntp ssl -debug -doc -keyring" 0 kB 



Btw., I got much warnings/errors in debug-mode like these:
...
(20:30:41) oscar: unknown capability: {178c2d9b-daa5-45bb-8ddb-f3bdbd53a10a}
(20:30:41) oscar: unknown capability: {67361515-612d-4c07-8f3d-bde6408ea041}
(20:30:41) oscar: unknown capability: {b99708b5-3a92-4202-b069-f1e757bb2e17}
(20:30:41) oscar: unknown capability: {1a093c6c-d7fd-4ec5-9d51-a6474e34f5a0}
(20:30:47) dbus: Need to register an object with the dbus subsystem.
(20:30:47) g_log: file dbus-server.c: line 118 (purple_dbus_pointer_to_id): should not be reached
(20:30:47) dbus: The signal "gtkblist-unhiding" caused some dbus error.
(20:30:47) prefs: /pidgin/blist/list_visible changed, scheduling save.
(20:30:50) buddyicon: Wrote cache file: /home/az/.purple/icons/cda0ef98fe50ad4d4ea9bfb293aebbb3fe21f92e.jpg
(20:30:50) oscar: Claiming to have a buddy icon
(20:30:50) dbus: Need to register an object with the dbus subsystem.
(20:30:50) g_log: file dbus-server.c: line 118 (purple_dbus_pointer_to_id): should not be reached
(20:30:50) dbus: The signal "image-deleting" caused some dbus error.
(20:30:50) oscar: Sending IM, charset=0x0000, charsubset=0x0000, length=34
(20:30:51) oscar: Sent message to 199960849.
(20:30:52) util: Writing file prefs.xml to directory /home/az/.purple
(20:30:52) dbus: Need to register an object with the dbus subsystem.
(20:30:52) g_log: file dbus-server.c: line 118 (purple_dbus_pointer_to_id): should not be reached
(20:30:52) dbus: The signal "drawing-tooltip" caused some dbus error.
(20:30:54) dbus: Need to register an object with the dbus subsystem.
(20:30:54) g_log: file dbus-server.c: line 118 (purple_dbus_pointer_to_id): should not be reached
...

Are these related in any way or can I ignore them?
Comment 7 Olivier Crete (RETIRED) gentoo-dev 2007-05-30 07:27:36 UTC
The problem seems to be with EDS-bonobo.. Not much we can do about it, hopefully when eds-dbus is integrated into the standard evo, it will fix the problem.