Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210979 - net-im/pidgin-2.3.1 SIGPIPE on reconnect
Summary: net-im/pidgin-2.3.1 SIGPIPE on reconnect
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-21 14:58 UTC by Geaaru
Modified: 2008-04-01 02:29 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 Geaaru 2008-02-21 14:58:01 UTC
Preface:
I use pidgin on network scenario under vpn, and so it is easy that connection go down. So, when this happens and pidgin try to do a new connection a SIGPIPE is handled or (still with version 2.2.1) cpu go to 100%.

Duo instability of pidgin i run pidgin always under gdb debugger and so hereinafter i insert backtrace of error:

1. Sometimes this error is handled:
Program received signal SIGPIPE, Broken pipe.
0x00002b138b94dcc0 in write () from /lib/libpthread.so.0
(gdb) bt
#0  0x00002b138b94dcc0 in write () from /lib/libpthread.so.0
#1  0x00002b1398e1ed31 in msn_servconn_write () from /usr/lib64/purple-2/libmsn.so
#2  0x00002b1398e12608 in msn_cmdproc_send_quick () from /usr/lib64/purple-2/libmsn.so
#3  0x00002b1398e1cc58 in msn_notification_close () from /usr/lib64/purple-2/libmsn.so
#4  0x00002b1398e1f951 in msn_session_set_error () from /usr/lib64/purple-2/libmsn.so
#5  0x00002b1398e1ec7e in msn_servconn_got_error () from /usr/lib64/purple-2/libmsn.so
#6  0x00002b1398e1ef93 in ?? () from /usr/lib64/purple-2/libmsn.so
#7  0x000000000046124f in ?? ()
#8  0x00002b138bb94672 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9  0x00002b138bb94eb5 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002b138bb951ad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#11 0x00002b1389e1ad32 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x0000000000475a91 in main ()

2. But often i handled still this error:
(gdb) bt full
#0  0x00002b8c65efc305 in send () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002b8c6df7aa09 in _gnutls_io_write_buffered ()
   from /usr/lib/libgnutls.so.13
No symbol table info available.
#2  0x00002b8c6df7ad69 in _gnutls_io_write_buffered2 ()
   from /usr/lib/libgnutls.so.13
No symbol table info available.
#3  0x00002b8c6df7748b in _gnutls_send_int () from /usr/lib/libgnutls.so.13
No symbol table info available.
#4  0x00002b8c6df92d5f in gnutls_alert_send () from /usr/lib/libgnutls.so.13
No symbol table info available.
#5  0x00002b8c6df7850f in gnutls_bye () from /usr/lib/libgnutls.so.13
No symbol table info available.
#6  0x00002b8c744cd06b in ?? () from /usr/lib64/purple-2/ssl-gnutls.so
No symbol table info available.
#7  0x00002b8c65834ca4 in purple_ssl_close () from /usr/lib/libpurple.so.0
No symbol table info available.
#8  0x00002b8c7608bef9 in jabber_close ()
   from /usr/lib64/purple-2/libjabber.so.0
No symbol table info available.
#9  0x00002b8c658093ad in purple_connection_destroy ()
   from /usr/lib/libpurple.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x00002b8c657f7af1 in purple_account_disconnect ()
   from /usr/lib/libpurple.so.0
No symbol table info available.
#11 0x00002b8c65808ec9 in ?? () from /usr/lib/libpurple.so.0
No symbol table info available.
#12 0x00002b8c661411bb in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00002b8c66142672 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00002b8c66142eb5 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00002b8c661431ad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0x00002b8c643c8d32 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x0000000000475a91 in main ()

5.
(gdb) bt full
#0  0x00002ba3a2810305 in send () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002ba3aa88ea09 in _gnutls_io_write_buffered ()
   from /usr/lib/libgnutls.so.13
No symbol table info available.
#2  0x00002ba3aa88ed69 in _gnutls_io_write_buffered2 ()
   from /usr/lib/libgnutls.so.13
No symbol table info available.
#3  0x00002ba3aa88b48b in _gnutls_send_int () from /usr/lib/libgnutls.so.13
No symbol table info available.
#4  0x00002ba3aa8a6d5f in gnutls_alert_send () from /usr/lib/libgnutls.so.13
No symbol table info available.
#5  0x00002ba3aa88c50f in gnutls_bye () from /usr/lib/libgnutls.so.13
No symbol table info available.
#6  0x00002ba3b0de106b in ?? () from /usr/lib64/purple-2/ssl-gnutls.so
No symbol table info available.
#7  0x00002ba3a2148ca4 in purple_ssl_close () from /usr/lib/libpurple.so.0
No symbol table info available.
#8  0x00002ba3b299fef9 in jabber_close ()
   from /usr/lib64/purple-2/libjabber.so.0
No symbol table info available.
#9  0x00002ba3a211d3ad in purple_connection_destroy ()
   from /usr/lib/libpurple.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x00002ba3a210baf1 in purple_account_disconnect ()
   from /usr/lib/libpurple.so.0
No symbol table info available.
#11 0x00002ba3a211cec9 in ?? () from /usr/lib/libpurple.so.0
No symbol table info available.
#12 0x00002ba3a2a551bb in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00002ba3a2a56672 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00002ba3a2a56eb5 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00002ba3a2a571ad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0x00002ba3a0cdcd32 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x0000000000475a91 in main ()
No symbol table info available.


Reproducible: Sometimes

Steps to Reproduce:
1. Often when there are problems with connectivity
2.
3.

Actual Results:  
Now, Pidgin isn't so usable.
Thanks for your help.


geaaru@NEVYL ~ $ emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r8 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Timestamp of tree: Thu, 21 Feb 2008 07:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -msse3 -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /usr/spool/PBS /var/bind /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -msse3 -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://gentoo.mirrors.tds.net/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en it en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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/gnome-experimental /usr/portage/local/layman/zugaina /usr/portage/local/layman/gentopia /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/enlightenment /usr/portage/local/layman/voip /usr/local/kpex-media /usr/portage/local/layman/Ge@@ru"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi aiglx alsa amd64 apache2 arts asf async authdaemond authfile authfilei automount avahi avi beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr chroot clamav cli cluster cracklib crypt cscope cups curl dba dbus dga directfb dlloader dmx doc dri dts dv dvb dvd dvdr dvdread dynamic editor eds emboss encode esd evo evolution examples extensions fam fame fbcon ffmpeg firefox flac fortran gdbm ggi gif gimpprint gmail gnokii gnome gphoto2 gpm gstreamer gtk hal hbci httpd iconv imagemagick imap ipv6 irda isdnlog java jpeg kde kerberos krb4 ldap libcaca lirc live lm_sensors logrotate mad maildir mbox midi mikmod mime mjpeg mmx mmxext mod mono motif mp3 mp4 mpeg mpm-prefork mudflap musepack mysql nas nautilus ncurses network nfs nls nntp nptl nptlonly nsplugin oav odbc ofx ogg oggvorbis ole opengl openmp opensslcrypt oss pam pcmcia pcre pdf perl php physfs png pop posix pppd python qt3 qt3support qt4 quicktime quotas quotes readline reflection rtc samba sasl screen sdk sdl server session skey smartcard sms sndfile snmp speex spell spl sqlite sse sse2 ssl stream subversion svg sysfs tcltk tcpd theora threads tiff toolbar tools truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vlm vorbis webdav widescreen wifi winbind wmf wxwindows x264 xine xinerama xinetd xml xml2 xorg xosd xprint xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest auth_dbd dbd dumpio ident proxy proxy_balancer proxy_connect proxy_http authn_dbd cern_meta asis" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it en_GB" USERLAND="GNU" VIDEO_CARDS="ati radeon fbdev vesa v4l vga dummy glint"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2008-04-01 02:29:34 UTC
seems very much like an upstream bug