Bug 250939 - Kopete crashes on exit
Summary: Kopete crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: OTR Plugin (show other bugs)
Version: 1.0.80
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 264048 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-12 02:37 UTC by boris64
Modified: 2013-06-05 19:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description boris64 2010-09-12 02:37:47 UTC
Application: kopete (1.0.80)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.35.4-v2k11+-r800_accel-v2.1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Kopete crashes _everytime_ on:

1) kquitapp kopete
or
2) exit kde session

The crash can be reproduced every time.

-- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 1 (Thread 0x7f4c07efa760 (LWP 5685))]

Thread 2 (Thread 0x7f4c01da6710 (LWP 7233)):
#0  0x000000367aec87f3 in poll () from /lib/libc.so.6
#1  0x000000399c23de64 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0
#2  0x000000399c23e39d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x000000399cb92996 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000000399cb657b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x000000399cb659ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000039a526a9d3 in QCA::SyncThread::run() () from /usr/lib64/qca2/libqca.so.2
#7  0x000000399ca736da in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x000000367b606d5c in start_thread () from /lib/libpthread.so.0
#9  0x000000367aed15ed in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f4c07efa760 (LWP 5685)):
[KCrash Handler]
#6  0x000000367ae327c5 in raise () from /lib/libc.so.6
#7  0x000000367ae33c46 in abort () from /lib/libc.so.6
#8  0x000000399ca6a5f4 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x000000399ca6a78d in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x000000399ca6a925 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00000039a1abf3d9 in operator-> (this=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/libkopete/kopetemessagehandler.cpp:82
#12 0x00000039a1abf455 in Kopete::MessageHandlerFactory::~MessageHandlerFactory (this=0x1d0a780, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/libkopete/kopetemessagehandler.cpp:96
#13 0x00007f4c00472189 in OtrMessageHandlerFactory::~OtrMessageHandlerFactory (this=0x1d0a780, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/plugins/otr/otrplugin.h:55
#14 0x00007f4c004706fa in OTRPlugin::~OTRPlugin (this=0x220ea90, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/plugins/otr/otrplugin.cpp:127
#15 0x00007f4c00470799 in OTRPlugin::~OTRPlugin (this=0x220ea90, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/plugins/otr/otrplugin.cpp:130
#16 0x00000039a1ad38bf in Kopete::PluginManagerPrivate::~PluginManagerPrivate (this=0x1c2c0f0, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/libkopete/kopetepluginmanager.cpp:78
#17 0x00000039a1ad0f4b in destroy () at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/libkopete/kopetepluginmanager.cpp:104
#18 0x000000367ae353b1 in __run_exit_handlers () from /lib/libc.so.6
#19 0x000000367ae35405 in exit () from /lib/libc.so.6
#20 0x000000367ae1ece4 in __libc_start_main () from /lib/libc.so.6
#21 0x00000000004123a9 in _start ()

Reported using DrKonqi
Comment 1 Pino Toscano 2010-09-12 09:27:22 UTC
Try to disable the OTR plugin, in the meanwhile.
Comment 2 boris64 2010-09-12 11:57:05 UTC
After disabling all plugins, i still get a crash on every
session exit (or "kquitapp kopete"). However the backtrace
looks different

[backtrace]
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb170b2d760 (LWP 593635))]

Thread 2 (Thread 0x7fb16a7f6710 (LWP 593660)):
#0  0x000000399cb921d4 in idleTimerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#1  0x000000399c23ce1e in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x000000399c23dcf9 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0
#3  0x000000399c23e39d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x000000399cb92996 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x000000399cb657b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x000000399cb659ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000039a526a9d3 in QCA::SyncThread::run() () from /usr/lib64/qca2/libqca.so.2
#8  0x000000399ca736da in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x000000367b606d5c in start_thread () from /lib/libpthread.so.0
#10 0x000000367aed15ed in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fb170b2d760 (LWP 593635)):
[KCrash Handler]
#6  0x0000000000000020 in ?? ()
#7  0x000000399cb7c745 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fb1689c21bd in OscarAccount::logOff (this=0x15c9d50, reason=Kopete::Account::Manual) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/oscar/oscaraccount.cpp:190
#9  0x00007fb1689c2a37 in OscarAccount::~OscarAccount (this=0x15c9d50, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/oscar/oscaraccount.cpp:175
#10 0x00007fb168448709 in AIMAccount::~AIMAccount (this=0x15c9d50, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/oscar/aim/aimaccount.cpp:245
#11 0x000000399cb7a101 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#12 0x000000399cb7d76d in QObject::~QObject() () from /usr/lib64/qt4/libQtCore.so.4
#13 0x0000003ebb6d66f3 in Kopete::Protocol::~Protocol (this=0x1457cc0, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/libkopete/kopeteprotocol.cpp:63
#14 0x00007fb168444d49 in AIMProtocol::~AIMProtocol (this=0x1457cc0, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/protocols/oscar/aim/aimprotocol.cpp:247
#15 0x0000003ebb6d38bf in Kopete::PluginManagerPrivate::~PluginManagerPrivate (this=0xf25db0, __in_chrg=<value optimized out>) at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/libkopete/kopetepluginmanager.cpp:78
#16 0x0000003ebb6d0f4b in destroy () at /tmp/portage/portage/kde-base/kopete-4.5.1/work/kopete-4.5.1/kopete/libkopete/kopetepluginmanager.cpp:104
#17 0x000000367ae353b1 in __run_exit_handlers () from /lib/libc.so.6
#18 0x000000367ae35405 in exit () from /lib/libc.so.6
#19 0x000000367ae1ece4 in __libc_start_main () from /lib/libc.so.6
#20 0x00000000004123a9 in _start ()
[/backtrace]
Comment 3 Lamarque V. Souza 2011-04-14 05:47:31 UTC
*** Bug 264048 has been marked as a duplicate of this bug. ***
Comment 4 Pali Rohár 2013-06-05 19:01:52 UTC
This bug is fixed for KDE 4.11. Now kopete does not crash if is exited via dbus (kquitapp or logout)