Bug 73677 - Kopete crashed on exit (web presence plugin)
Summary: Kopete crashed on exit (web presence plugin)
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Web Presence Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Matt Rogers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-28 13:49 UTC by Rob Kaper
Modified: 2004-02-04 02:25 UTC (History)
1 user (show)

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 Rob Kaper 2004-01-28 13:49:40 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

Got the following crash on exit:

[New Thread 16384 (LWP 290)]
0x41b56477 in waitpid () from /lib/libpthread.so.0
#0  0x41b56477 in waitpid () from /lib/libpthread.so.0
#1  0x410595b7 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#2  0x41b54bc5 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x00000018 in ?? ()
#5  0x41f9fa1c in WebPresencePlugin::listenToAccount(KopeteAccount*) (
    this=0x826dbf8, account=0x8250660) at webpresenceplugin.cpp:119
#6  0x41f9f942 in WebPresencePlugin::listenToAllAccounts() (this=0x826dbf8)
    at webpresenceplugin.cpp:101
#7  0x41fa13d8 in WebPresencePlugin::qt_invoke(int, QUObject*) (
    this=0x826dbf8, _id=7, _o=0xbffff280) at webpresenceplugin.moc:102
#8  0x414bf31f in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x81c8b60, clist=0x81ca538, o=0xbffff280) at kernel/qobject.cpp:2359
#9  0x400cd285 in KopeteAccountManager::accountUnregistered(KopeteAccount*) (
    this=0x81c8b60, t0=0x8250660) at kopeteaccountmanager.moc:139
#10 0x400cc574 in KopeteAccountManager::unregisterAccount(KopeteAccount*) (
    this=0x81c8b60, account=0x8250660) at kopeteaccountmanager.cpp:231
#11 0x400cdcc4 in ~KopeteAccount (this=0x8250660) at kopeteaccount.cpp:101
#12 0x4209297c in ~JabberAccount (this=0x8250660) at jabberaccount.cpp:108
#13 0x414bcc80 in QObject::event(QEvent*) (this=0x8250660, e=0x8242ce0)
    at kernel/qobject.cpp:750
#14 0x4145c96d in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff830, receiver=0x8250660, e=0x8242ce0)
    at kernel/qapplication.cpp:2614
#15 0x4145be2a in QApplication::notify(QObject*, QEvent*) (this=0xbffff830, 
    receiver=0x8250660, e=0x8242ce0) at kernel/qapplication.cpp:2337
#16 0x40fd06d5 in KApplication::notify(QObject*, QEvent*) (this=0xbffff830, 
    receiver=0x8250660, event=0x8242ce0) at kapplication.cpp:503
#17 0x40368c7f in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x8250660, event=0x8242ce0) at qapplication.h:490
#18 0x4145d86c in QApplication::sendPostedEvents(QObject*, int) (receiver=0x0, 
    event_type=0) at kernel/qapplication.cpp:3240
#19 0x4145d601 in QApplication::sendPostedEvents() ()
    at kernel/qapplication.cpp:3151
#20 0x414042a7 in QEventLoop::processEvents(unsigned) (this=0x8141c40, flags=4)
    at kernel/qeventloop_x11.cpp:202
#21 0x41470c6a in QEventLoop::enterLoop() (this=0x8141c40)
    at kernel/qeventloop.cpp:198
#22 0x41470b86 in QEventLoop::exec() (this=0x8141c40)
    at kernel/qeventloop.cpp:145
#23 0x4145caed in QApplication::exec() (this=0xbffff830)
    at kernel/qapplication.cpp:2737
#24 0x080653fd in main (argc=7, argv=0xbffff9b4) at main.cpp:96
#25 0x41ca8916 in __libc_start_main () from /lib/libc.so.6
Comment 1 Matt Rogers 2004-02-02 06:16:49 UTC
working on it.
Comment 2 Matt Rogers 2004-02-04 02:25:04 UTC
Subject: KDE_3_2_BRANCH: kdenetwork/kopete/plugins/webpresence

CVS commit by mattr: 

Backport the patch that fixes bug 73667.

CCMAIL: 73677-done@bugs.kde.org


  M +1 -1      webpresenceplugin.cpp   1.41.2.1


--- kdenetwork/kopete/plugins/webpresence/webpresenceplugin.cpp  #1.41:1.41.2.1
@@ -107,5 +107,5 @@ void WebPresencePlugin::listenToAllAccou
 void WebPresencePlugin::listenToAccount( KopeteAccount* account )
 {
-        if(account->myself())
+        if(account && account->myself())
         {
                 // Connect to the account's status changed signal