Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16113 - Kopete crash on AIM connect
Summary: Kopete crash on AIM connect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-20 20:05 UTC by calicojck
Modified: 2003-09-07 14:35 UTC (History)
3 users (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 calicojck 2003-02-20 20:05:20 UTC
I cannot log into AIM through Kopete without it crashing.  I get a signal 11 (SIGSEGV). 
I get this error in Kopete version 0.6.0, 0.6.1, and 0.6.1a.  I just copied the 0.6.1 ebuild to make  
an ebuild for 0.6.1a. 

Reproducible: Always
Steps to Reproduce:
1. Open Kopete 
2. Connect to AIM 
Actual Results:  
Kopete immediately crashes 

Expected Results:  
Sign into AIM 

The backtrace from the KDE crash handler (without debugging symbols) gives me this: 
 
(no debugging symbols found)...0x41338239 in wait4 () from /lib/libc.so.6 
#0  0x41338239 in wait4 () from /lib/libc.so.6 
#1  0x413b9200 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x412078d6 in waitpid () from /lib/libpthread.so.0 
#3  0x4097791e in KCrash::defaultCrashHandler () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#4  0x412056e4 in pthread_sighandler () from /lib/libpthread.so.0
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-22 14:25:03 UTC
please compile kopete with debug: DEBUG=1 DEBUGBUILD=1 emerge kopete and 
append its backtrace (which we can send upstream then) 
Comment 2 calicojck 2003-02-22 17:10:19 UTC
I recompiled with debug options, Kopete no longer crashes.  To double check, I recompiled 
without the debug options, and the crash happens.  Recompiled again with DEBUG=1 
DEBUGBUILD=1 as instructed and the crash is fixed. 
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-22 17:15:48 UTC
please append the output of 'emerge info'. 
Comment 4 calicojck 2003-02-22 17:18:46 UTC
# emerge info 
Portage 2.0.47-r2 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7) 
================================================================= 
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm avi cups encode jpeg libg++ mikmod mmx mpeg ncurses pdflib 
qtmt quicktime spell truetype xml2 xmms xv berkdb bonobo cdr esd gdbm gif gnome-libs gpm 
gtk gtkhtml guile imlib libwww motif nls opengl pam perl png python readline sdl slang ssl svga 
tcltk tcpd tetex tiff X mozilla arts kde qt pda java ogg oggvorbis alsa jack gtk2 crypt gnome" 
COMPILER="" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=i686 -O3 -pipe" 
CXXFLAGS="-march=i686 -O3 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-22 17:26:46 UTC
please try if a kopete compiled with 'CFLAGS="" CXXFLAGS="" emerge kopete' 
also fails, if it does not, please try using -O2 instead of -O3. 
Comment 6 calicojck 2003-02-22 19:51:28 UTC
A compile with no flags also gives me a crash 
Comment 7 Craig Callender 2003-02-24 08:45:51 UTC
Just so you don't get bit in the butt like I did.  If you start kopete via anothing other than a 
command line with debug enabled, it writes all it's data to /$HOME/.xsession-errors.  I filled 
about 16GB in about 4 days.  So you might want to watch that. 
Comment 8 Yannick Koehler (RETIRED) gentoo-dev 2003-02-24 08:54:17 UTC
About Comment #7, I got that two, and it was a little hard to figure out what 
happenned has most app where crashing except kopete due to the space left issue that 
arise once the .xsession-errors max out the disk-space. 
 
I wonder if there's a configure option to disable such debug output inside the 
xsession-error file. 
Comment 9 Craig Callender 2003-02-24 14:11:58 UTC
I linked .xsession-errors to /dev/null, and I remove the link when debugging kopete.  That was 
my work-around.  Since I only use the file when using kopete. 
Comment 10 Quequero 2003-03-25 08:21:47 UTC
Same problem here (just after the upgrade of kde to kde 3.1.1 and qt 3.1.2), here is 
the backtrace: 
 
0x4145bf47 in waitpid () from /lib/libpthread.so.0 
#0  0x4145bf47 in waitpid () from /lib/libpthread.so.0 
#1  0x40aaa77e in KCrash::defaultCrashHandler(int) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#2  0x4145adfa in __pthread_sighandler () from /lib/libpthread.so.0 
#3  <signal handler called> 
#4  0x410ce658 in QSocket::sn_read(bool) () from /usr/qt/3/lib/libqt-mt.so.3 
#5  0x4120b063 in QSocket::qt_invoke(int, QUObject*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#6  0x40efc479 in QObject::activate_signal(QConnectionList*, QUObject*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#7  0x40efc555 in QObject::activate_signal(int, int) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#8  0x411ddc32 in QSocketNotifier::activated(int) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#9  0x40f18ac0 in QSocketNotifier::event(QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#10 0x40e9e564 in QApplication::internalNotify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#11 0x40e9dadb in QApplication::notify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#12 0x40a1e4f9 in KApplication::notify(QObject*, QEvent*) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#13 0x40e7925a in QEventLoop::activateSocketNotifiers() () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#14 0x40e568a7 in QEventLoop::processEvents(unsigned) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#15 0x40eb23a6 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3 
#16 0x40eb2248 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#17 0x40e9e791 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#18 0x0805de70 in KIconLoader::unknown() () 
#19 0x414e87a6 in __libc_start_main () from /lib/libc.so.6 
 
and my emerge info: 
 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) 
================================================================= 
System uname: 2.4.20 i686 AMD Athlon(TM) XP1800+ 
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm 
berkdb slang readline arts svga java guile X sdl gpm tcpd pam libwww ssl python esd 
imlib oggvorbis gtk qt kde motif opengl acpi apache2 cdr dvd fbcon gd -gnome ipv6 
jikes mysql perl samba sse tcltk" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-mcpu=athlon-xp -O3 -pipe" 
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j5" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
i have no .xsession-error here :) 
Que 
 
Comment 11 Quequero 2003-03-25 09:27:24 UTC
I've just recompiled kopete with debug enabled, here is the new backtrace: 
[New Thread 16384 (LWP 5878)] 
0x41472f47 in waitpid () from /lib/libpthread.so.0 
#0  0x41472f47 in waitpid () from /lib/libpthread.so.0 
#1  0x40ac177e in KCrash::defaultCrashHandler(int) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#2  0x41471dfa in __pthread_sighandler () from /lib/libpthread.so.0 
#3  <signal handler called> 
#4  0x410e5658 in QSocket::sn_read(bool) () from /usr/qt/3/lib/libqt-mt.so.3 
#5  0x41222063 in QSocket::qt_invoke(int, QUObject*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#6  0x40f13479 in QObject::activate_signal(QConnectionList*, QUObject*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#7  0x40f13555 in QObject::activate_signal(int, int) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#8  0x411f4c32 in QSocketNotifier::activated(int) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#9  0x40f2fac0 in QSocketNotifier::event(QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#10 0x40eb5564 in QApplication::internalNotify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#11 0x40eb4adb in QApplication::notify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#12 0x40a354f9 in KApplication::notify(QObject*, QEvent*) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#13 0x40e9025a in QEventLoop::activateSocketNotifiers() () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#14 0x40e6d8a7 in QEventLoop::processEvents(unsigned) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#15 0x40ec93a6 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3 
#16 0x40ec9248 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#17 0x40eb5791 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#18 0x0805dfe0 in main (argc=-512, argv=0xfffffe00) at main.cpp:80 
#19 0x414ff7a6 in __libc_start_main () from /lib/libc.so.6 
 
btw it crash even if i try to connect to icq server, not only aim. 
 
*  x11-libs/qt 
      Latest version available: 3.1.2 
      Latest version installed: 3.1.2 
*  kde-base/kde 
      Latest version available: 3.1.1 
      Latest version installed: 3.1.1 
 
Que 
Comment 12 Michele Balistreri (RETIRED) gentoo-dev 2003-04-12 17:46:42 UTC
This is a QT 3.1.2 bug (the one reported by quequero), take a look of the bug #19005 
Comment 13 Dan Armak (RETIRED) gentoo-dev 2003-04-23 10:51:56 UTC
...and please report if qt-3.1.2-r3 fixes the problem. 
Comment 14 calicojck 2003-04-23 15:36:40 UTC
qt-3.1.2-r3 does not fix this problem for me.  It still crashes unless compiled with debug and debugbuild.
Comment 15 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-23 15:45:14 UTC
It looks like some kind of race-condition. Maybe you could check with the kopete people.
Comment 16 Michele Balistreri (RETIRED) gentoo-dev 2003-05-11 06:13:09 UTC
what about kopete 0.6.2? 
Comment 17 calicojck 2003-05-13 08:59:10 UTC
I have the same problem with Kopete 0.6.2.
Comment 18 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-05 09:22:36 UTC
please try kopete-0.7
Comment 19 calicojck 2003-08-06 08:16:32 UTC
I'll update kopete when I get back to school in September.  My Gentoo box doesn't have a network connection here, but I'll update the progress in the beginning of September.
Comment 20 Andreas Simon 2003-09-02 01:58:13 UTC
Just for your information: The Oscar plugin (which also handles AIM) was totaly rewritten for kopete 0.7. The problems of the old code were well known.
Comment 21 calicojck 2003-09-07 12:25:10 UTC
I upgraded to Gentoo 1.4 and in the process upgraded Kopete to version 0.7.1.  I can no longer reproduce this bug.
Comment 22 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-07 14:35:09 UTC
fine, another closed bug :)