Bug 218937 - Kopete crashes probably due to facebook-plugin bug [Kopete::Contact::account, Kopete::Contact::onlineStatus, Kopete::PasswordedAccount::connect]
Summary: Kopete crashes probably due to facebook-plugin bug [Kopete::Contact::account,...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Applications
Component: Facebook Plugin (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 218825 218977 219753 221047 223795 224616 226111 227051 229404 231128 234995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-16 16:08 UTC by Tom Kijas
Modified: 2010-05-03 12:58 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.92 KB, text/plain)
2010-01-17 18:12 UTC, Ryan Schwenker
Details
New crash information added by DrKonqi (9.94 KB, text/plain)
2010-02-10 22:35 UTC, kevin C
Details
New crash information added by DrKonqi (7.93 KB, text/plain)
2010-02-11 23:51 UTC, markm999
Details
New crash information added by DrKonqi (4.72 KB, text/plain)
2010-03-19 09:26 UTC, h.i.m
Details
New crash information added by DrKonqi (5.07 KB, text/plain)
2010-05-03 12:58 UTC, Alfredo Amaya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Kijas 2009-12-16 16:08:11 UTC
Application: kopete (0.99.80)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.32-020632-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I tried to start Kopete in KDE4.4 beta1 but it always crashed, I think it may be due to facebook plugin for kopete, will search if really so...

The crash can be reproduced everytime.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  Kopete::Contact::account (this=0x0) at ../../../kopete/libkopete/kopetecontact.cpp:474
#6  0x00007fdea99c7874 in Kopete::Contact::onlineStatus (this=0x0) at ../../../kopete/libkopete/kopetecontact.cpp:133
#7  0x00007fde9299845e in ?? () from /usr/lib/kde4/kopete_facebook.so
#8  0x00007fdea99f4b31 in Kopete::PasswordedAccount::connect (this=0x2f3a200, initialStatus=<value optimized out>) at ../../../kopete/libkopete/kopetepasswordedaccount.cpp:66
#9  0x00007fdea99f454e in Kopete::PasswordedAccount::connect (this=0x2f3a200) at ../../../kopete/libkopete/kopetepasswordedaccount.cpp:52
#10 0x00007fde92998ea8 in ?? () from /usr/lib/kde4/kopete_facebook.so
#11 0x00007fde92999195 in ?? () from /usr/lib/kde4/kopete_facebook.so
#12 0x00007fdea99b20e1 in Kopete::AccountManager::setOnlineStatus (this=<value optimized out>, category=2, statusMessage=..., flags=<value optimized out>)
    at ../../../kopete/libkopete/kopeteaccountmanager.cpp:130
#13 0x000000000041630b in KopeteApplication::slotAllPluginsLoaded (this=<value optimized out>) at ../../../kopete/kopete/kopeteapplication.cpp:230
#14 0x0000000000416cb6 in KopeteApplication::qt_metacall (this=0x7fff1415e040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1415d4e0) at ./kopeteapplication.moc:80
#15 0x00007fdea7b3adc3 in QMetaObject::activate (sender=0x27bae48, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2f40001) at kernel/qobject.cpp:3294
#16 0x00007fdea99f8f4b in Kopete::PluginManager::slotLoadNextPlugin (this=0x27bae48) at ../../../kopete/libkopete/kopetepluginmanager.cpp:326
#17 0x00007fdea99fc308 in Kopete::PluginManager::qt_metacall (this=0x27bae48, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1415d620) at ./kopetepluginmanager.moc:120
#18 0x00007fdea7b3adc3 in QMetaObject::activate (sender=0x27127d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2f40001) at kernel/qobject.cpp:3294
#19 0x00007fdea7b4267f in QSingleShotTimer::timerEvent (this=0x27127d0) at kernel/qtimer.cpp:308
#20 0x00007fdea7b37a33 in QObject::event (this=0x27127d0, e=0x7fff1415dcf0) at kernel/qobject.cpp:1224
#21 0x00007fdea6ee9e8c in QApplicationPrivate::notify_helper (this=0x23f5dc0, receiver=0x27127d0, e=0x7fff1415dcf0) at kernel/qapplication.cpp:4242
#22 0x00007fdea6ef048d in QApplication::notify (this=0x7fff1415e040, receiver=0x27127d0, e=0x7fff1415dcf0) at kernel/qapplication.cpp:4125
#23 0x00007fdea879f666 in KApplication::notify (this=0x7fff1415e040, receiver=0x27127d0, event=0x7fff1415dcf0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007fdea7b2804c in QCoreApplication::notifyInternal (this=0x7fff1415e040, receiver=0x27127d0, event=0x7fff1415dcf0) at kernel/qcoreapplication.cpp:704
#25 0x00007fdea7b54d52 in QCoreApplication::sendEvent (this=0x23ed4e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x23ed4e0) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007fdea7b51958 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#29 0x00007fdea1ba1bbe in g_main_dispatch (context=0x23ebe30) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x23ebe30) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#31 0x00007fdea1ba5588 in g_main_context_iterate (context=0x23ebe30, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#32 0x00007fdea1ba56b0 in IA__g_main_context_iteration (context=0x23ebe30, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#33 0x00007fdea7b51623 in QEventDispatcherGlib::processEvents (this=0x23a2eb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#34 0x00007fdea6f982fe in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007fdea7b26972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007fdea7b26d4c in QEventLoop::exec (this=0x7fff1415df90, flags=) at kernel/qeventloop.cpp:201
#37 0x00007fdea7b2aa8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x00000000004154e2 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:105

Reported using DrKonqi
Comment 1 Nicolas L. 2009-12-17 15:45:26 UTC
what do you think about this ?

Index: kopete/libkopete/kopetecontact.cpp
===================================================================
--- kopete/libkopete/kopetecontact.cpp  (révision 1061995)
+++ kopete/libkopete/kopetecontact.cpp  (copie de travail)
@@ -130,7 +130,7 @@

 OnlineStatus Contact::onlineStatus() const
 {
-       if ( this == account()->myself() || account()->isConnected() )
+       if ( account() && ( this == account()->myself() || account()->isConnected() ) )
                return d->onlineStatus;
        else
                return protocol()->accountOfflineStatus();
Comment 2 Dario Andres 2009-12-23 14:06:59 UTC
Better backtrace from bug 219753:
---
[KCrash Handler]
#5  Kopete::Contact::account (this=0x0) at
/usr/src/debug/kdenetwork-4.3.85/kopete/libkopete/kopetecontact.cpp:474
#6  0x00007f8c9d7582f4 in Kopete::Contact::onlineStatus (this=0x0) at
/usr/src/debug/kdenetwork-4.3.85/kopete/libkopete/kopetecontact.cpp:133
#7  0x00007f8c89b4c3de in FacebookAccount::connectWithPassword(QString const&)
() from /usr/lib64/kde4/kopete_facebook.so
#8  0x00007f8c9d7855d1 in Kopete::PasswordedAccount::connect (this=0xa7c2b0,
initialStatus=<value optimized out>) at
/usr/src/debug/kdenetwork-4.3.85/kopete/libkopete/kopetepasswordedaccount.cpp:66
#9  0x00007f8c9d784fee in Kopete::PasswordedAccount::connect (this=0xa7c2b0) at
/usr/src/debug/kdenetwork-4.3.85/kopete/libkopete/kopetepasswordedaccount.cpp:52
#10 0x00007f8c89b4ce28 in FacebookAccount::slotGoOnline() () from
/usr/lib64/kde4/kopete_facebook.so
#11 0x00007f8c89b4d115 in FacebookAccount::setOnlineStatus(Kopete::OnlineStatus
const&, Kopete::StatusMessage const&,
QFlags<Kopete::Account::OnlineStatusOption> const&) ()
   from /usr/lib64/kde4/kopete_facebook.so
#12 0x00007f8c9d742b61 in Kopete::AccountManager::setOnlineStatus (this=<value
optimized out>, category=2, statusMessage=..., flags=<value optimized out>)
    at
/usr/src/debug/kdenetwork-4.3.85/kopete/libkopete/kopeteaccountmanager.cpp:130
#13 0x000000000041632b in KopeteApplication::slotAllPluginsLoaded (this=<value
optimized out>) at
/usr/src/debug/kdenetwork-4.3.85/kopete/kopete/kopeteapplication.cpp:230
...
Comment 3 Dario Andres 2009-12-23 14:07:07 UTC
*** Bug 219753 has been marked as a duplicate of this bug. ***
Comment 4 Roman Jarosz 2009-12-25 13:28:45 UTC
*** Bug 218977 has been marked as a duplicate of this bug. ***
Comment 5 Roman Jarosz 2009-12-25 14:29:44 UTC
*** Bug 218825 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-01-03 15:24:35 UTC
*** Bug 221047 has been marked as a duplicate of this bug. ***
Comment 7 Ryan Schwenker 2010-01-17 18:12:19 UTC
Created attachment 39981 [details]
New crash information added by DrKonqi

After I configure the Facebook chat, it crashes. Every time
Comment 8 Dario Andres 2010-01-22 15:58:21 UTC
- Are you using an updated version of the plugin ?
- Did you recompiled the facebook plugin when you updated your KDE Software Compilation version ?
Regards
Comment 9 Roman Jarosz 2010-02-07 23:39:06 UTC
*** Bug 224616 has been marked as a duplicate of this bug. ***
Comment 10 Roman Jarosz 2010-02-07 23:50:14 UTC
*** Bug 223795 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-02-10 20:59:18 UTC
*** Bug 226111 has been marked as a duplicate of this bug. ***
Comment 12 kevin C 2010-02-10 22:35:32 UTC
Created attachment 40649 [details]
New crash information added by DrKonqi

Il just want to lauch my chat session
Comment 13 Dario Andres 2010-02-10 22:40:08 UTC
@Kevin: did you recompiled the Facebook plugin after updating to KDE SC 4.4.0 ?
Comment 14 kevin C 2010-02-10 23:46:22 UTC
(In reply to comment #13)
> @Kevin: did you recompiled the Facebook plugin after updating to KDE SC 4.4.0 ?
 I made a yum update with the kde-unstable repo enable, and it install an update. It works now.
Comment 15 markm999 2010-02-11 23:51:17 UTC
Created attachment 40701 [details]
New crash information added by DrKonqi

Kopete crashed after setup a fecebook account
Comment 16 m.wege 2010-02-12 01:01:25 UTC
if the crash is really the fault of the facebook plugin, there is no need to fix it anymore, because the facebook plugin is not needed anymore. facebook now supports jabber / xmpp :

http://www.facebook.com/sitetour/chat.php
Comment 17 Tom Kijas 2010-02-12 03:10:59 UTC
Ok, thanks, closing
Comment 18 Dario Andres 2010-02-15 19:55:20 UTC
*** Bug 227051 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2010-03-17 22:56:40 UTC
*** Bug 231128 has been marked as a duplicate of this bug. ***
Comment 20 Dave 2010-03-18 10:36:01 UTC
Went to the kopeterc file and commented out all of the lines referring to the facebook account.  Now Kopete works fine.  I would say it is a facebook bug.

Thanks,

Dave




----- Original Message ----
> From: Dario Andres <andresbajotierra@gmail.com>
> To: diacobel@yahoo.com
> Sent: Wed, March 17, 2010 5:56:42 PM
> Subject: [Bug 218937] Kopete crashes probably due to facebook-plugin bug [Kopete::Contact::account, Kopete::Contact::onlineStatus, Kopete::PasswordedAccount::connect]
> 
> 
> >https://bugs.kde.org/show_bug.cgi?id=218937


Dario Andres <
> ymailto="mailto:andresbajotierra@gmail.com" 
> href="mailto:andresbajotierra@gmail.com">andresbajotierra@gmail.com> 
> changed:

           What    
> |Removed                    
> |Added
----------------------------------------------------------------------------
  
>                CC|        
>                     |
> ymailto="mailto:diacobel@yahoo.com" 
> href="mailto:diacobel@yahoo.com">diacobel@yahoo.com




--- 
> Comment #19 from Dario Andres <andresbajotierra gmail com>  
> 2010-03-17 22:56:40 ---
*** Bug 231128 has been marked as a duplicate of this 
> bug. ***
Comment 21 h.i.m 2010-03-19 09:26:48 UTC
Created attachment 41755 [details]
New crash information added by DrKonqi

Kopete crashed while loging in facebook-account. facebook was set to not connect on startup. i loged in manually.
Comment 22 Dario Andres 2010-04-11 01:29:18 UTC
*** Bug 229404 has been marked as a duplicate of this bug. ***
Comment 23 Nicolas L. 2010-04-21 19:24:17 UTC
*** Bug 234995 has been marked as a duplicate of this bug. ***
Comment 24 Alfredo Amaya 2010-05-03 12:58:25 UTC
Created attachment 43186 [details]
New crash information added by DrKonqi

When I try adding a FB account on Kopete, it ever crash on login. I use KDE 4.42 on openSUSE 11.2