Bug 74308 - kopete crashes on exit
Summary: kopete crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 02:11 UTC by Unknown
Modified: 2004-02-07 01:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2004-02-06 02:11:55 UTC
Version:           0.8.90 (CVS >= 20040123) (using KDE 3.2.90 (CVS >= 20040117), compiled sources)
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.6.2

Backtrace. I know this is an old issue that says resolved. In this incarnation, it's back! I have accounts set up in Y!, ICQ and AIM. No M$. Also, at time of crash, NONE were logged on.

[New Thread 16384 (LWP 25293)]
0x418725c9 in waitpid () from /lib/libpthread.so.0
#0  0x418725c9 in waitpid () from /lib/libpthread.so.0
#1  0x40f21737 in KCrash::defaultCrashHandler(int) ()
   from /mnt/src/src/kde/lib/libkdecore.so.4
#2  0x41870c45 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x400bebb9 in KopeteAccount::protocol() const ()
   from /mnt/src/src/kde/lib/libkopete.so.1
#5  0x400bb977 in KopeteAccountManager::accounts(KopeteProtocol const*) ()
   from /mnt/src/src/kde/lib/libkopete.so.1
#6  0x4008639d in KopeteProtocol::slotAccountDestroyed(QObject*) ()
   from /mnt/src/src/kde/lib/libkopete.so.1
#7  0x40086ed0 in KopeteProtocol::qt_invoke(int, QUObject*) ()
   from /mnt/src/src/kde/lib/libkopete.so.1
#8  0x426bc0e4 in AIMProtocol::qt_invoke(int, QUObject*) ()
   from /mnt/src/src/kde/lib/kde3/kopete_aim.so
#9  0x412f8e50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#10 0x4160f223 in QObject::destroyed(QObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#11 0x412f5c6d in QObject::~QObject() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#12 0x400c1ecd in KopetePluginDataObject::~KopetePluginDataObject() ()
   from /mnt/src/src/kde/lib/libkopete.so.1
#13 0x400be8a6 in KopeteAccount::~KopeteAccount() ()
   from /mnt/src/src/kde/lib/libkopete.so.1
#14 0x425edc75 in OscarAccount::~OscarAccount() ()
   from /mnt/src/src/kde/lib/libkopete_oscar.so.1
#15 0x426be1d0 in AIMAccount::~AIMAccount() ()
   from /mnt/src/src/kde/lib/kde3/kopete_aim.so
#16 0x412f6883 in QObject::event(QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#17 0x4129e035 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#18 0x4129d6eb in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#19 0x40e857d5 in KApplication::notify(QObject*, QEvent*) ()
   from /mnt/src/src/kde/lib/libkdecore.so.4
#20 0x4129ede8 in QApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#21 0x4129ec68 in QApplication::sendPostedEvents() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#22 0x4124be4b in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#23 0x412b1276 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#24 0x412b1118 in QEventLoop::exec() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#25 0x4129e281 in QApplication::exec() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#26 0x08061a90 in main ()
#27 0x419bdd06 in __libc_start_main () from /lib/libc.so.6
Comment 1 Martijn Klingens 2004-02-07 01:31:25 UTC
Subject: KDE_3_2_BRANCH: kdenetwork/kopete/libkopete

CVS commit by mklingens: 

Don't crash on exit

CCMAIL: 74308-done@bugs.kde.org


  M +2 -2      kopeteaccountmanager.cpp   1.43.2.2


--- kdenetwork/kopete/libkopete/kopeteaccountmanager.cpp  #1.43.2.1:1.43.2.2
@@ -230,5 +230,6 @@ void KopeteAccountManager::removeAccount
 void KopeteAccountManager::unregisterAccount( KopeteAccount *account )
 {
-        kdDebug(14010) << k_funcinfo << "Unregistering account " << account->accountId() << endl;
+        kdDebug( 14010 ) << k_funcinfo << "Unregistering account " << account->accountId() << endl;
+        d->accounts.remove( account );
         emit accountUnregistered( account );
 }