Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339938 - net-im/pidgin-2.7.3 Segmentation faults occurred.
Summary: net-im/pidgin-2.7.3 Segmentation faults occurred.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL: http://developer.pidgin.im/ticket/12387
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 13:13 UTC by Wu, Shanliang
Modified: 2011-03-12 15:42 UTC (History)
0 users

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


Attachments
The backtrace of crased process (pidgin-backtrace.log,560.09 KB, text/plain)
2010-10-06 13:17 UTC, Wu, Shanliang
Details
backtrace log after applying patch (pidgin-backtrace_patched.log,573.56 KB, text/plain)
2010-10-16 11:35 UTC, Wu, Shanliang
Details
the backtrace log after upgrading to 2.7.4 (pidgin-backtrace-2.7.4.log,625.36 KB, text/plain)
2010-10-30 04:23 UTC, Wu, Shanliang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wu, Shanliang 2010-10-06 13:13:03 UTC
While using pidgin, segmentation faults occurred unexpectedly. 

The output of console is: 
Program received signal SIGSEGV, Segmentation fault.

Reproducible: Sometimes

emerge --info pidgin
==================================================================
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-gentoo-r6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 06 Oct 2010 08:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m  -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en zh_CN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb bzip2 cairo cdr cjk cli consolekit cracklib crypt cxx dri dts exif flac gdbm gif gtk hal iconv imlib jpeg kpathsea lcms libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre perl png python qt3support readline sdl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh_CN" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

net-im/pidgin-2.7.3 was built with the following:
USE="debug gtk ncurses nls perl python sasl startup-notification tcl tk xscreensaver -dbus -doc -eds -gadu -gnutls -groupwise -gstreamer -idn -meanwhile -networkmanager -prediction -qq -silc -spell -zephyr -zeroconf" 
CFLAGS="-march=pentium-m -pipe -O2"
CXXFLAGS="-march=pentium-m -pipe -O2"
Comment 1 Wu, Shanliang 2010-10-06 13:17:56 UTC
Created attachment 249746 [details]
The backtrace of crased process
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-10-15 07:13:57 UTC
According to upstream this patch should fix this issue:

http://developer.pidgin.im/viewmtn/revision/info/c7f2cce48dfe465889b7803de44156e7e89e41e0

Wu, could you try it?
Comment 3 Wu, Shanliang 2010-10-16 11:26:37 UTC
(In reply to comment #2)
> According to upstream this patch should fix this issue:
> 
> http://developer.pidgin.im/viewmtn/revision/info/c7f2cce48dfe465889b7803de44156e7e89e41e0
> 
> Wu, could you try it?
> 
Hi, Peter

Thanks for your work. 

it appered fix the bug that i posted. but bug still exists. 

i have applied the patch. After one night testing, i found that pidgin unfortunately crashed again by Segementation fault. This time the function that made trouble called 'purple_upnp_cancel_port_mapping' . 

The detailed backtrace-log was posted as attachement. 

Please check again.

 

 
Comment 4 Wu, Shanliang 2010-10-16 11:35:25 UTC
Created attachment 250853 [details]
backtrace log after applying patch
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-10-25 10:54:56 UTC
Wu, please, try 2.7.4 that was just added to the tree.
Comment 6 Wu, Shanliang 2010-10-30 04:20:49 UTC
(In reply to comment #5)
> Wu, please, try 2.7.4 that was just added to the tree.
> 
after upgrading pidgin to 2.7.4, the bug still exists. 

(gdb) bt full 
#0  0xb7fbbbb5 in purple_upnp_cancel_port_mapping ()
   from /usr/lib/libpurple.so.0
No symbol table info available.
#1  0xb7f94a79 in purple_network_listen_cancel () from /usr/lib/libpurple.so.0
No symbol table info available.
#2  0xb77dd81b in msn_dc_destroy () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#3  0xb77f9fdf in msn_slplink_remove_slpcall ()
   from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#4  0xb77f88b8 in msn_slpcall_destroy () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#5  0xb77f9a0c in msn_slplink_process_msg () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#6  0xb77f662d in msn_p2p_msg () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#7  0xb77d754a in msn_cmdproc_process_msg () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#8  0xb77fd375 in ?? () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#9  0x08173f48 in ?? ()
No symbol table info available.
#10 0x08447118 in ?? ()
No symbol table info available.
#11 0x00000510 in ?? ()
No symbol table info available.
#12 0xb780fdb7 in ?? () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#13 0xb780fdb5 in ?? () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#14 0xb780ff53 in ?? () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#15 0x7fffffff in ?? ()
No symbol table info available.
#16 0xb7813ff4 in ?? () from /usr/lib/purple-2/libmsn.so
No symbol table info available.
#17 0x0840a6a0 in ?? ()
No symbol table info available.
#18 0x08173f48 in ?? ()
No symbol table info available.
#19 0xbfffa308 in ?? ()
No symbol table info available.
#20 0xb77d77ed in msn_cmdproc_process_payload ()
   from /usr/lib/purple-2/libmsn.so
No symbol table info available.
Backtrace stopped: frame did not save the PC

Comment 7 Wu, Shanliang 2010-10-30 04:23:56 UTC
Created attachment 252539 [details]
the backtrace log after upgrading to 2.7.4
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2011-03-12 15:42:45 UTC
This bug is marked as fixed in pidgin-2.7.10, which is stable now. If this crash still persists, please, reopen bug with new backtrace attached. Thank you, Wu!