Bug 218240 - Kontact crashes when opening
Summary: Kontact crashes when opening
Status: RESOLVED DUPLICATE of bug 211885
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 08:26 UTC by dgonzalez003
Modified: 2009-12-14 16:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dgonzalez003 2009-12-11 08:26:08 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I just cannot open Kontact, it always crashes. Until yesterday it was ok. It gives a segmentation fault.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fc56cce4320 in KIO::Slave::slaveProtocol() () from /usr/lib/libkio.so.5
#6  0x00007fc56ccdfaef in ?? () from /usr/lib/libkio.so.5
#7  0x00007fc558ec667a in ?? () from /usr/lib/libkmailprivate.so.4
#8  0x00007fc558ceea1f in ?? () from /usr/lib/libkmailprivate.so.4
#9  0x00007fc558e2b097 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x00007fc558e2f4f0 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0x00007fc56e7d5ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00007fc56e7cfd83 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#13 0x00007fc56f0e0efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007fc56f0e81ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007fc56fd17ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007fc56e7c0c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007fc56e7eb862 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007fc56e7e925d in ?? () from /usr/lib/libQtCore.so.4
#19 0x00007fc56803abbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007fc56803e588 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007fc56803e6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007fc56e7e91a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007fc56f1754be in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007fc56e7bf532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007fc56e7bf904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x00007fc56fda0ab0 in KWallet::Wallet::openWallet(QString const&, unsigned long, KWallet::Wallet::OpenType) () from /usr/lib/libkdeui.so.5
#27 0x00007fc558d3cca4 in KMKernel::wallet() () from /usr/lib/libkmailprivate.so.4
#28 0x00007fc558cc5171 in ?? () from /usr/lib/libkmailprivate.so.4
#29 0x00007fc558c669da in KMail::AccountManager::readPasswords() () from /usr/lib/libkmailprivate.so.4
#30 0x00007fc558cc2b2d in ?? () from /usr/lib/libkmailprivate.so.4
#31 0x00007fc558ccd6a8 in ?? () from /usr/lib/libkmailprivate.so.4
#32 0x00007fc558cf2fb7 in ?? () from /usr/lib/libkmailprivate.so.4
#33 0x00007fc558bcc1b9 in KMail::FolderView::slotFolderExpanded(QTreeWidgetItem*) () from /usr/lib/libkmailprivate.so.4
#34 0x00007fc558bd61ab in KMail::FolderView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#35 0x00007fc558bd9f00 in ?? () from /usr/lib/libkmailprivate.so.4
#36 0x00007fc56e7d5ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#37 0x00007fc56f626e92 in QTreeWidget::itemExpanded(QTreeWidgetItem*) () from /usr/lib/libQtGui.so.4
#38 0x00007fc56f632fa3 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#39 0x00007fc57018b0a0 in KPIM::TreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdepim.so.4
#40 0x00007fc5701e6860 in KPIM::FolderTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdepim.so.4
#41 0x00007fc558bd6140 in KMail::FolderView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#42 0x00007fc558bd9f00 in ?? () from /usr/lib/libkmailprivate.so.4
#43 0x00007fc56e7d5ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#44 0x00007fc56f5e92a2 in QTreeView::expanded(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#45 0x00007fc56f5fbd03 in QTreeView::expand(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#46 0x00007fc56f62ec0b in QTreeWidget::setItemExpanded(QTreeWidgetItem const*, bool) () from /usr/lib/libQtGui.so.4
#47 0x00007fc558bcf964 in KMail::FolderView::restoreItemStates() () from /usr/lib/libkmailprivate.so.4
#48 0x00007fc558bd5f07 in KMail::FolderView::reload(bool) () from /usr/lib/libkmailprivate.so.4
#49 0x00007fc558e0effb in KMMainWidget::readConfig() () from /usr/lib/libkmailprivate.so.4
#50 0x00007fc558e2027d in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, KConfig*) () from /usr/lib/libkmailprivate.so.4
#51 0x00007fc55942f516 in ?? () from /usr/lib/kde4/kmailpart.so
#52 0x00007fc5594306ff in QObject* KPluginFactory::createPartInstance<KMailPart>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kmailpart.so
#53 0x00007fc56ecafe7e in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#54 0x00007fc5704651db in Kontact::Core::createPart(char const*) () from /usr/lib/libkontactinterfaces.so.4
#55 0x00007fc55ae60a40 in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#56 0x00007fc570465cf9 in Kontact::Plugin::part() () from /usr/lib/libkontactinterfaces.so.4
#57 0x00007fc570689f5f in Kontact::MainWindow::selectPlugin(Kontact::Plugin*) () from /usr/lib/libkontactprivate.so.4
#58 0x00007fc57068569c in Kontact::MainWindow::loadSettings() () from /usr/lib/libkontactprivate.so.4
#59 0x00007fc57068e1b0 in Kontact::MainWindow::initObject() () from /usr/lib/libkontactprivate.so.4
#60 0x00007fc57068e65c in Kontact::MainWindow::MainWindow() () from /usr/lib/libkontactprivate.so.4
#61 0x0000000000404854 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-11 12:56:54 UTC
- If you can reproduce the crash at will (or you experience this regularly), can you install the "kdepim-dbg" package and post a complete backtrace here? Thanks
Comment 2 dgonzalez003 2009-12-11 15:41:02 UTC
Yes, I still have that problem. 

May it have something to do with Akonadi? Yesterday it crashed when Kontact tried to access to it.


The new backtrace is the following:

Application: Kontact (kontact), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007f270ed7046c in KMail::SearchJob::searchCompleteFolder (this=0x1602ce0) at ../../kmail/searchjob.cpp:87
#6  0x00007f270eb98a1f in KMFolderImap::search (this=0x1702df0, pattern=0x16897e0) at ../../kmail/kmfolderimap.cpp:2412
#7  0x00007f270ecd5097 in KMSearch::slotProcessNextBatch (this=0x166d7c0) at ../../kmail/kmfoldersearch.cpp:272
#8  0x00007f270ecd94f0 in KMSearch::qt_metacall (this=0x166d7c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35759d30) at ./kmfoldersearch.moc:79
#9  0x00007f272467fddc in QMetaObject::activate (sender=0x17a7d10, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f2724211e90) at kernel/qobject.cpp:3113
#10 0x00007f2724679d83 in QObject::event (this=0x17a7d10, e=0x0) at kernel/qobject.cpp:1075
#11 0x00007f2724f8aefc in QApplicationPrivate::notify_helper (this=0xf9b130, receiver=0x17a7d10, e=0x7fff3575a330) at kernel/qapplication.cpp:4056
#12 0x00007f2724f921ce in QApplication::notify (this=0x7fff3575dfe0, receiver=0x17a7d10, e=0x7fff3575a330) at kernel/qapplication.cpp:4021
#13 0x00007f2725bc1ab6 in KApplication::notify (this=0x7fff3575dfe0, receiver=0x17a7d10, event=0x7fff3575a330) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f272466ac2c in QCoreApplication::notifyInternal (this=0x7fff3575dfe0, receiver=0x17a7d10, event=0x7fff3575a330) at kernel/qcoreapplication.cpp:610
#15 0x00007f2724695862 in QCoreApplication::sendEvent (this=0xfa13e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#16 QTimerInfoList::activateTimers (this=0xfa13e0) at kernel/qeventdispatcher_unix.cpp:572
#17 0x00007f272469325d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#18 0x00007f271dee4bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f271dee8588 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f271dee86b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f27246931a6 in QEventDispatcherGlib::processEvents (this=0xf6dcb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#22 0x00007f272501f4be in QGuiEventDispatcherGlib::processEvents (this=0x7fff35759a80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#23 0x00007f2724669532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f2724669904 in QEventLoop::exec (this=0x7fff3575a6f0, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f2725c4aab0 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:252
#26 0x00007f270e08fc32 in MailTransport::TransportManager::wallet (this=0x15a6880) at ../../mailtransport/transportmanager.cpp:420
#27 0x00007f270e085955 in MailTransport::Transport::readPassword (this=0x15a7eb0) at ../../mailtransport/transport.cpp:245
#28 0x00007f270e085b80 in MailTransport::Transport::qt_metacall (this=0x15a7eb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./transport.moc:66
#29 0x00007f272467fddc in QMetaObject::activate (sender=0x1515340, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f2724211e90) at kernel/qobject.cpp:3113
#30 0x00007f2724684e1f in QSingleShotTimer::timerEvent (this=0x1515340) at kernel/qtimer.cpp:298
#31 0x00007f2724679d83 in QObject::event (this=0x1515340, e=0x0) at kernel/qobject.cpp:1075
#32 0x00007f2724f8aefc in QApplicationPrivate::notify_helper (this=0xf9b130, receiver=0x1515340, e=0x7fff3575b120) at kernel/qapplication.cpp:4056
#33 0x00007f2724f921ce in QApplication::notify (this=0x7fff3575dfe0, receiver=0x1515340, e=0x7fff3575b120) at kernel/qapplication.cpp:4021
#34 0x00007f2725bc1ab6 in KApplication::notify (this=0x7fff3575dfe0, receiver=0x1515340, event=0x7fff3575b120) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f272466ac2c in QCoreApplication::notifyInternal (this=0x7fff3575dfe0, receiver=0x1515340, event=0x7fff3575b120) at kernel/qcoreapplication.cpp:610
#36 0x00007f2724695862 in QCoreApplication::sendEvent (this=0xfa13e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#37 QTimerInfoList::activateTimers (this=0xfa13e0) at kernel/qeventdispatcher_unix.cpp:572
#38 0x00007f272469325d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#39 0x00007f271dee4bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f271dee8588 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f271dee86b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f27246931a6 in QEventDispatcherGlib::processEvents (this=0xf6dcb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#43 0x00007f272501f4be in QGuiEventDispatcherGlib::processEvents (this=0x7fff35759a80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007f2724669532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f2724669904 in QEventLoop::exec (this=0x7fff3575b4e0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f2725c4aab0 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:252
#47 0x00007f270ebe6ca4 in KMKernel::wallet (this=0x1534ee0) at ../../kmail/kmkernel.cpp:2459
#48 0x00007f270eb6f283 in KMail::NetworkAccount::readPassword (this=0x17a8930) at ../../kmail/networkaccount.cpp:328
#49 0x00007f270eb6fa3e in KMail::NetworkAccount::readConfig (this=0x17a8930, config=...) at ../../kmail/networkaccount.cpp:170
#50 0x00007f270eb798ae in KMail::ImapAccountBase::readConfig (this=0x7fff35759a80, config=...) at ../../kmail/imapaccountbase.cpp:204
#51 0x00007f270eb13ecb in KMail::AccountManager::readConfig (this=<value optimized out>) at ../../kmail/accountmanager.cpp:131
#52 0x00007f270ebf7d07 in KMKernel::init (this=0x1534ee0) at ../../kmail/kmkernel.cpp:1495
#53 0x00007f270f2d92cc in KMailPart (this=0x1455860, parentWidget=0x10f00b0, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at ../../kmail/kmail_part.cpp:73
#54 0x00007f270f2da6ff in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x10f00b0, parent=0x10f00b0, args=...) at /usr/include/kpluginfactory.h:467
#55 0x00007f2724b59e7e in KPluginFactory::create (this=0x147a550, iface=0x7f2723c9a200 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x10f00b0, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#56 0x00007f272630f1db in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x10f00b0, libname=0x1438e08 "kmailpart") at /usr/include/kpluginfactory.h:491
#57 Kontact::Core::createPart (this=0x10f00b0, libname=0x1438e08 "kmailpart") at ../../kontactinterfaces/core.cpp:87
#58 0x00007f2710d0aa40 in KMailPlugin::createPart (this=0x7fff35759a80) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:170
#59 0x00007f272630fcf9 in Kontact::Plugin::part (this=0x7fff35759a80) at ../../kontactinterfaces/plugin.cpp:187
#60 0x00007f2726533f5f in Kontact::MainWindow::selectPlugin (this=0x10f00b0, plugin=0x1419da0) at ../../../kontact/src/mainwindow.cpp:754
#61 0x00007f272652f69c in Kontact::MainWindow::loadSettings (this=0x10f00b0) at ../../../kontact/src/mainwindow.cpp:926
#62 0x00007f27265381b0 in Kontact::MainWindow::initObject (this=0x10f00b0) at ../../../kontact/src/mainwindow.cpp:226
#63 0x00007f272653865c in MainWindow (this=0x10f00b0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:162
#64 0x0000000000404854 in KontactApp::newInstance (this=0x7fff3575dfe0) at ../../../kontact/src/main.cpp:134
#65 0x00007f2725bc8916 in KUniqueApplicationAdaptor::newInstance (this=0x1063860, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:459
#66 0x00007f2725bc8f06 in KUniqueApplicationAdaptor::qt_metacall (this=0x1063860, _c=QMetaObject::InvokeMetaMethod, _id=20884720, _a=0x7fff3575d310) at ./kuniqueapplication_p.moc:75
#67 0x00007f272279aad4 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#68 0x00007f272279bc69 in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1063860, flags=337, msg=...) at qdbusintegrator.cpp:796
#69 0x00007f272279c547 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=..., msg=<value optimized out>, pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1347
#70 0x00007f272279c7c8 in QDBusActivateObjectEvent::placeMetaCall (this=0x10caba0) at qdbusintegrator.cpp:1464
#71 0x00007f272467a0f9 in QObject::event (this=0x7fff3575dfe0, e=0x10caba0) at kernel/qobject.cpp:1111
#72 0x00007f2724f94b4d in QApplication::event (this=0x7fff3575dfe0, e=0x10caba0) at kernel/qapplication.cpp:2317
#73 0x00007f2724f8aefc in QApplicationPrivate::notify_helper (this=0xf9b130, receiver=0x7fff3575dfe0, e=0x10caba0) at kernel/qapplication.cpp:4056
#74 0x00007f2724f921ce in QApplication::notify (this=0x7fff3575dfe0, receiver=0x7fff3575dfe0, e=0x10caba0) at kernel/qapplication.cpp:4021
#75 0x00007f2725bc1ab6 in KApplication::notify (this=0x7fff3575dfe0, receiver=0x7fff3575dfe0, event=0x10caba0) at ../../kdeui/kernel/kapplication.cpp:302
#76 0x00007f272466ac2c in QCoreApplication::notifyInternal (this=0x7fff3575dfe0, receiver=0x7fff3575dfe0, event=0x10caba0) at kernel/qcoreapplication.cpp:610
#77 0x00007f272466b80a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xf6e080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#78 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xf6e080) at kernel/qcoreapplication.cpp:1247
#79 0x00007f2724693533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#80 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#81 0x00007f271dee4bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#82 0x00007f271dee8588 in ?? () from /lib/libglib-2.0.so.0
#83 0x00007f271dee86b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#84 0x00007f27246931a6 in QEventDispatcherGlib::processEvents (this=0xf6dcb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#85 0x00007f272501f4be in QGuiEventDispatcherGlib::processEvents (this=0x7fff35759a80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#86 0x00007f2724669532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#87 0x00007f2724669904 in QEventLoop::exec (this=0x7fff3575df20, flags=) at kernel/qeventloop.cpp:201
#88 0x00007f272466bab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#89 0x0000000000403f47 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218
Comment 3 Dario Andres 2009-12-14 15:38:12 UTC
Mh, the second backtrace is different from the first one, but the issues could be related. 
The issue is being tracked at bug 211885. Bug 211885 comment 13 got a workaround to this crash, could you test it ?
Thanks
Comment 4 dgonzalez003 2009-12-14 16:06:42 UTC
That worked!! Thanks very much.
Comment 5 Dario Andres 2009-12-14 16:35:29 UTC
Thanks :)

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