Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131426 - Centericq Segmentation Fault during MSN Login
Summary: Centericq Segmentation Fault during MSN Login
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
: 161847 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-27 04:01 UTC by Victor Nawothnig
Modified: 2008-05-25 06:45 UTC (History)
5 users (show)

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


Attachments
Valgrind output from another machine of mine (test.txt,29.34 KB, text/plain)
2006-05-23 04:24 UTC, Chris Henhawke (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Nawothnig 2006-04-27 04:01:01 UTC
When Centericq is connected to MSN it segfaults. Works fine with all other protocols.

Reproducible: Always
Way to reproduce: Start centericq, set msn to online, see it crashing ...
Installed Version: net-im/centericq-4.21.0-r2

Error occurs with centericq build with gcc-3.3.6 and gcc-3.4.6

Portage 2203-svn (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.zie.pg.gda.pl"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 7zip X aac accessibility acpi aim aimextras akode alsa amarok apache apache2 apm audiofile avi bashlogger bitmap-fonts blender-game bzip2 c++ ccache cdr cdrom cg chroot ck-server cli crypt cups curl dbus dedicated dhcp dio disk-cache divx4linux double-precision dri dvd dvdr dvdread eds emboss encode esd exif expat exscalibar fam fastcgi ffmpeg firefox foomaticdb fortran gatos gcj gd gdbm gif gimp glibc glibc-compat20 glibc-omitfp glut glx gmail gnome gpm gstreamer gtk gtk2 icq idn imagemagick imlib ipod ipv6 irc isdnlog javascript jpeg kde lcms libg++ libwww mad math md5sum mem-cache memcache memlimit mhash mikmod mmx mmxext mng motif mozilla mp3 mpeg mpeg4 msn musicbrainz mysql ncurses net nls no-old-linux nowin nsplugin nvidia ogg oggvorbis opengl oss pcre pdflib perl php png pppd python qt quicktime readline real reflection ruby sdl sensord session slang spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode userlocales utf8 vcd visualization vorbis win32codecs wxwindows xine xml2 xmms xorg xv zlib linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Chris Henhawke (RETIRED) gentoo-dev 2006-05-21 05:30:04 UTC
Confirmed.  Same happens on a machine of mine.

dump obtained from `centericq -d`

MSN::ext::gotBuddyListInfo                                                                                  
[OUT] CHG 4 IDL 0
+ 08:27 [msn] logged in                                                                                       
[IN] MSG Hotmail Hotmail 219                                                                                  
MSN::ext::gotInitialEmailNotification                                                                         
+ 08:27 [msn] unread e-mail: 0 in inbox, 3 in folders
[IN] NOT 325 <<borkage occurs here>> Segmentation fault                                                                               
chris@shell ~ $
Comment 2 Victor Nawothnig 2006-05-22 02:09:28 UTC
Error does not occur anymore since I unticked the option 'Check local mailbox' once. (Ticked it again)
Now centericq segfaults when I quit it using the q-Key.
Version hasnt been changed, config hasnt been changed.
Comment 3 Chris Henhawke (RETIRED) gentoo-dev 2006-05-22 02:50:29 UTC
(In reply to comment #2)
> Error does not occur anymore since I unticked the option 'Check local mailbox'
> once. (Ticked it again)
> Now centericq segfaults when I quit it using the q-Key.
> Version hasnt been changed, config hasnt been changed.
> 

I've always had that turned off.  Moving ~/.centericq to another folder then recreating the config causes the error to occur again on login.  I do not believe this is config related.
Comment 4 Victor Nawothnig 2006-05-23 02:23:34 UTC
Please try the source once.
If the error still occurs use valgrind to bugtrace the segmentation fault.
Comment 5 Chris Henhawke (RETIRED) gentoo-dev 2006-05-23 04:24:05 UTC
Created attachment 87315 [details]
Valgrind output from another machine of mine

Tested source on another machine of mine, with same results.  Attaching valgrind output.
Comment 6 Victor Nawothnig 2006-05-23 06:25:24 UTC
Id like you to post your emerge --info also, if you dont mind,
since the valgrind output looks a bit useless to me, at least.
Comment 7 Chris Henhawke (RETIRED) gentoo-dev 2006-05-23 09:58:16 UTC
(In reply to comment #6)
> Id like you to post your emerge --info also, if you dont mind,
> since the valgrind output looks a bit useless to me, at least.
> 

Sure thing.  Would gdb show anything significant?

# emerge --info
Portage 2203-svn (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
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 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync/portage/"
USE="x86 aim apm audiofile avi berkdb bitmap-fonts bzip2 cli client-only crypt cups curl dedicated dri eds emboss encode expat foomaticdb fortran gdbm gif gmp gpm gstreamer gtk2 icq imap imlib isdnlog jabber java jpeg ldap libg++ libwww lj mad mikmod motif mp3 mpeg msn ncurses nls ogg oggvorbis oscar oss pam pcre pdflib perl png pppd python qt quicktime readline reflection ruby sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis xml2 xorg yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS


Comment 8 David 2006-06-06 11:04:14 UTC
I had the same problem, however it doesn't show itself when I recompiled for debugging.

It seems that stepping down optimisation to -O0 stops it segfaulting for me, try it and see if that helps.
Comment 9 David 2006-06-06 11:39:33 UTC
Oops.  After a day of testing where it was fine, I have now connected again and it has segfaulted.  Annoyingly, I had removed all debug symbols from the binary by this point!

This could well be to do with certain contacts being online, I will have to try again another day.
Comment 10 Paul Tobias 2006-06-18 06:41:39 UTC
This bug affects me as well.
I have found a debian changelog[1] which says:
---
 centericq  (4.21.0-8) unstable; urgency=low
   * Update libmsn to last version : 3.2.
     This update can fix msn connection problem for some users.
 -- Julien Lemoine <speedblue@debian.org>  Sat, 17 Dec 2005 11:00:01 +0100 
---
in centericq_4.21.0-11.diff.gz there is:
"## DP: apply patch to update libmsn to lost version (3.2)"
but I'm not familiar with this patching stuff. Hope it will help.

Have a nice day, Bud

[1]http://packages.debian.org/changelogs/pool/main/c/centericq/centericq_4.21.0-11/changelog
Comment 11 Wolfram Schlich (RETIRED) gentoo-dev 2006-06-27 04:08:34 UTC
Upstream does not care about CenterICQ, so I don't either :-(
Maybe we should hard-mask and then remove CenterICQ from Portage.
I don't see a chance of upstream changing behavior.
This is frustrating to me as it is to all users experiencing
problems with CenterICQ.
Comment 12 Wolfram Schlich (RETIRED) gentoo-dev 2006-06-27 04:14:45 UTC
Resolving as WONTFIX as long as nobody else is willing to step in and deal with this upstream situation.
Comment 13 Leandro Simoes 2006-07-31 11:13:17 UTC
Guys, in http://centericq.de/#754 you can find a patch that solves that problem in Centericq.. I don't know how to patch an ebuild or even the portage tree, so I hope someone does that..

Thanks.
Comment 14 Denilson Sá Maia 2006-09-15 19:10:58 UTC
(In reply to comment #13)
> Guys, in http://centericq.de/#754 you can find a patch that solves that problem
> in Centericq..

I tried it, and at first it failed patching. Then I did:
sed 's,/libmsn/,/libmsn-0.1/,g'
on patch file, and finally the patch worked.

I tried to compile it with patch, and it did not segfaulted. I suggest adding a -r3 centericq version with above patch applied.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 00:58:15 UTC
*** Bug 161847 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 01:44:49 UTC
*** Bug 161847 has been marked as a duplicate of this bug. ***