Bug 174511

Summary: Kopete crashes on KDE logout (kopetepluginmanager)
Product: [Applications] kopete Reporter: René Krell <renda.krell>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christophe, renda.krell
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The backtrace of the crash

Description René Krell 2008-11-07 09:28:17 UTC
Version:           0.60.3 (using 4.1.3 (KDE 4.1.3) "release 51.1", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.18-0.2-default

Since KDE 4.1.2 (I guess this was Kopete 0.60.2) Kopete crashes regularly each time I shutdown KDE with Kopete still running (Logout or Shutdown).

I append a backtrace with debug symbols later.
Comment 1 René Krell 2008-11-07 09:29:52 UTC
Created attachment 28381 [details]
The backtrace of the crash

The same problem happens on my x86_64 system at home.
Comment 2 René Krell 2008-11-07 09:35:29 UTC
"kdepluginmanager" should be "kopetepluginmanager" in title
Comment 3 George Kiagiadakis 2008-11-07 09:44:06 UTC

*** This bug has been marked as a duplicate of bug 172011 ***
Comment 4 René Krell 2008-11-07 10:23:56 UTC
Sorry, but this is no duplicate. Please compare the backtraces once more.
The given patch in #172011 does not fix the crash I reported here. I verified this in the OpenSUSE source package of kde4-kopete - the mentioned patch from #172011 is applied there but "my" crash still occurs regularly.
Comment 5 René Krell 2008-11-07 10:27:17 UTC
Look at the source RPM from http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/src/kdenetwork4-4.1.3-35.3.src.rpm
It contains the sources for the package I have installed here. The file kopetepluginmanager.cpp already contains the mentioned lines.
Comment 6 Christophe Marin 2008-11-07 13:10:38 UTC
Copy/paste from #1 :

Application: Kopete (kopete), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb59cb920 (LWP 17774)]
[KCrash handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5f5e900 in raise () from /lib/libc.so.6
#8  0xb5f60238 in abort () from /lib/libc.so.6
#9  0xb73668c5 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb73669a2 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb8040b2f in operator-> (this=0xb807feb0)
    at /usr/src/debug/kdenetwork-4.1.3/kopete/libkopete/kopetepluginmanager.cpp:98
#12 0xb8045aab in Kopete::PluginManager::slotPluginDestroyed (this=0x81e1e34, 
    plugin=0x8471f38)
    at /usr/src/debug/kdenetwork-4.1.3/kopete/libkopete/kopetepluginmanager.cpp:416
#13 0xb804653f in Kopete::PluginManager::qt_metacall (this=0x81e1e34, 
    _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfbf088c)
    at /usr/src/debug/kdenetwork-4.1.3/build/kopete/libkopete/kopetepluginmanager.moc:103
#14 0xb7473730 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7473b30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7473bbb in QObject::destroyed () from /usr/lib/libQtCore.so.4
#17 0xb7475679 in QObject::~QObject () from /usr/lib/libQtCore.so.4
#18 0xb804051d in ~Plugin (this=0x8471f38)
    at /usr/src/debug/kdenetwork-4.1.3/kopete/libkopete/kopeteplugin.cpp:44
#19 0xb804a008 in ~Protocol (this=0x8471f38)
    at /usr/src/debug/kdenetwork-4.1.3/kopete/libkopete/kopeteprotocol.cpp:76
#20 0xb3531021 in ~JabberProtocol (this=0x8471f38)
    at /usr/src/debug/kdenetwork-4.1.3/kopete/protocols/jabber/jabberprotocol.cpp:146
#21 0xb80479df in ~PluginManagerPrivate (this=0x81e1e20)
    at /usr/src/debug/kdenetwork-4.1.3/kopete/libkopete/kopetepluginmanager.cpp:72
#22 0xb80408ba in destroy ()
    at /usr/src/debug/kdenetwork-4.1.3/kopete/libkopete/kopetepluginmanager.cpp:98
#23 0xb7fcf43b in ~KCleanUpGlobalStatic (this=0xb807fd60)
    at /usr/include/kglobal.h:67
#24 0xb5f618f1 in exit () from /lib/libc.so.6
#25 0xb5f4a5fd in __libc_start_main () from /lib/libc.so.6
#26 0x08063ec1 in _start ()
#0  0xffffe430 in __kernel_vsyscall ()
Comment 7 Roman Jarosz 2008-11-08 20:39:38 UTC
I'm setting this as fixed because hopefully the correct fix is now in 4.1 branch (commit 881698). As I cannot reproduce this crash it would be great if anybody could confirm that the commit 881698 did fix the crash.

*** This bug has been marked as a duplicate of bug 172011 ***