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
please compile kopete with debug: DEBUG=1 DEBUGBUILD=1 emerge kopete and append its backtrace (which we can send upstream then)
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.
please append the output of 'emerge info'.
# 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"
please try if a kopete compiled with 'CFLAGS="" CXXFLAGS="" emerge kopete' also fails, if it does not, please try using -O2 instead of -O3.
A compile with no flags also gives me a crash
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.
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.
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.
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
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
This is a QT 3.1.2 bug (the one reported by quequero), take a look of the bug #19005
...and please report if qt-3.1.2-r3 fixes the problem.
qt-3.1.2-r3 does not fix this problem for me. It still crashes unless compiled with debug and debugbuild.
It looks like some kind of race-condition. Maybe you could check with the kopete people.
what about kopete 0.6.2?
I have the same problem with Kopete 0.6.2.
please try kopete-0.7
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.
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.
I upgraded to Gentoo 1.4 and in the process upgraded Kopete to version 0.7.1. I can no longer reproduce this bug.
fine, another closed bug :)