Bug 243102

Summary: kontact crashes on start due to search from previous startup
Product: [Applications] kontact Reporter: n.behrendorff
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description n.behrendorff 2010-06-29 03:41:45 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Can delete Last search in ~/.kde/share/apps/kmail/search/ and it will start again. If not it crashes on every start. All I did was leave a search up when I shut down last.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fcb13238b5c in KMail::SearchJob::searchCompleteFolder (this=0x19a08d0) at ../../kmail/searchjob.cpp:87
#6  0x00007fcb13063f38 in KMFolderImap::search (this=0x18d72c0, pattern=0x171d3b0) at ../../kmail/kmfolderimap.cpp:2403
#7  0x00007fcb131a16d7 in KMSearch::slotProcessNextBatch (this=0x190e5d0) at ../../kmail/kmfoldersearch.cpp:272
#8  0x00007fcb131a2840 in KMSearch::qt_metacall (this=0x190e5d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff70c43b30) at ./kmfoldersearch.moc:85
#9  0x00007fcb2b398e3f in QMetaObject::activate (sender=0x1791c20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#10 0x00007fcb2b395a63 in QObject::event (this=0x1791c20, e=0x7fff70c44280) at kernel/qobject.cpp:1212
#11 0x00007fcb2a73f22c in QApplicationPrivate::notify_helper (this=0x1066da0, receiver=0x1791c20, e=0x7fff70c44280) at kernel/qapplication.cpp:4300
#12 0x00007fcb2a7456fb in QApplication::notify (this=0x7fff70c492b0, receiver=0x1791c20, e=0x7fff70c44280) at kernel/qapplication.cpp:4183
#13 0x00007fcb2bd6e526 in KApplication::notify (this=0x7fff70c492b0, receiver=0x1791c20, event=0x7fff70c44280) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007fcb2b38606c in QCoreApplication::notifyInternal (this=0x7fff70c492b0, receiver=0x1791c20, event=0x7fff70c44280) at kernel/qcoreapplication.cpp:704
#15 0x00007fcb2b3b2d42 in QCoreApplication::sendEvent (this=0x106d980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QTimerInfoList::activateTimers (this=0x106d980) at kernel/qeventdispatcher_unix.cpp:603
#17 0x00007fcb2b3af824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#18 0x00007fcb22af58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007fcb22af9748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007fcb22af98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007fcb2b3af513 in QEventDispatcherGlib::processEvents (this=0x103ad70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007fcb2a7ef46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff70c43880, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fcb2b384992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007fcb2b384d6c in QEventLoop::exec (this=0x7fff70c44660, flags=) at kernel/qeventloop.cpp:201
#25 0x00007fcb2bdfeec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#26 0x00007fcb1206556d in MailTransport::TransportManager::wallet (this=0x1699530) at ../../mailtransport/transportmanager.cpp:602
#27 0x00007fcb120618cd in MailTransport::Transport::readPassword (this=0x16a3980) at ../../mailtransport/transport.cpp:295
#28 0x00007fcb12061d70 in MailTransport::Transport::qt_metacall (this=0x16a3980, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./transport.moc:72
#29 0x00007fcb2b398e3f in QMetaObject::activate (sender=0x1700a40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#30 0x00007fcb2b3a065f in QSingleShotTimer::timerEvent (this=0x1700a40) at kernel/qtimer.cpp:308
#31 0x00007fcb2b395a63 in QObject::event (this=0x1700a40, e=0x7fff70c45210) at kernel/qobject.cpp:1212
#32 0x00007fcb2a73f22c in QApplicationPrivate::notify_helper (this=0x1066da0, receiver=0x1700a40, e=0x7fff70c45210) at kernel/qapplication.cpp:4300
#33 0x00007fcb2a7456fb in QApplication::notify (this=0x7fff70c492b0, receiver=0x1700a40, e=0x7fff70c45210) at kernel/qapplication.cpp:4183
#34 0x00007fcb2bd6e526 in KApplication::notify (this=0x7fff70c492b0, receiver=0x1700a40, event=0x7fff70c45210) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007fcb2b38606c in QCoreApplication::notifyInternal (this=0x7fff70c492b0, receiver=0x1700a40, event=0x7fff70c45210) at kernel/qcoreapplication.cpp:704
#36 0x00007fcb2b3b2d42 in QCoreApplication::sendEvent (this=0x106d980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x106d980) at kernel/qeventdispatcher_unix.cpp:603
#38 0x00007fcb2b3af824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#39 0x00007fcb22af58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fcb22af9748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fcb22af98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fcb2b3af513 in QEventDispatcherGlib::processEvents (this=0x103ad70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007fcb2a7ef46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff70c43880, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fcb2b384992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fcb2b384d6c in QEventLoop::exec (this=0x7fff70c455f0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fcb2bdfeec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#47 0x00007fcb1206556d in MailTransport::TransportManager::wallet (this=0x1699530) at ../../mailtransport/transportmanager.cpp:602
#48 0x00007fcb120618cd in MailTransport::Transport::readPassword (this=0x16961f0) at ../../mailtransport/transport.cpp:295
#49 0x00007fcb12061d70 in MailTransport::Transport::qt_metacall (this=0x16961f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./transport.moc:72
#50 0x00007fcb2b398e3f in QMetaObject::activate (sender=0x1693b50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#51 0x00007fcb2b3a065f in QSingleShotTimer::timerEvent (this=0x1693b50) at kernel/qtimer.cpp:308
#52 0x00007fcb2b395a63 in QObject::event (this=0x1693b50, e=0x7fff70c461a0) at kernel/qobject.cpp:1212
#53 0x00007fcb2a73f22c in QApplicationPrivate::notify_helper (this=0x1066da0, receiver=0x1693b50, e=0x7fff70c461a0) at kernel/qapplication.cpp:4300
#54 0x00007fcb2a7456fb in QApplication::notify (this=0x7fff70c492b0, receiver=0x1693b50, e=0x7fff70c461a0) at kernel/qapplication.cpp:4183
#55 0x00007fcb2bd6e526 in KApplication::notify (this=0x7fff70c492b0, receiver=0x1693b50, event=0x7fff70c461a0) at ../../kdeui/kernel/kapplication.cpp:302
#56 0x00007fcb2b38606c in QCoreApplication::notifyInternal (this=0x7fff70c492b0, receiver=0x1693b50, event=0x7fff70c461a0) at kernel/qcoreapplication.cpp:704
#57 0x00007fcb2b3b2d42 in QCoreApplication::sendEvent (this=0x106d980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#58 QTimerInfoList::activateTimers (this=0x106d980) at kernel/qeventdispatcher_unix.cpp:603
#59 0x00007fcb2b3af824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#60 0x00007fcb22af58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0x00007fcb22af9748 in ?? () from /lib/libglib-2.0.so.0
#62 0x00007fcb22af98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0x00007fcb2b3af513 in QEventDispatcherGlib::processEvents (this=0x103ad70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#64 0x00007fcb2a7ef46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff70c43880, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fcb2b384992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#66 0x00007fcb2b384d6c in QEventLoop::exec (this=0x7fff70c46580, flags=) at kernel/qeventloop.cpp:201
#67 0x00007fcb2bdfeec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#68 0x00007fcb130b11f4 in KMKernel::wallet (this=0x16820d0) at ../../kmail/kmkernel.cpp:2498
#69 0x00007fcb1303b863 in KMail::NetworkAccount::readPassword (this=0x1910c00) at ../../kmail/networkaccount.cpp:328
#70 0x00007fcb1303c01e in KMail::NetworkAccount::readConfig (this=0x1910c00, config=...) at ../../kmail/networkaccount.cpp:170
#71 0x00007fcb1304aa88 in KMail::ImapAccountBase::readConfig (this=0x7fff70c43880, config=...) at ../../kmail/imapaccountbase.cpp:207
#72 0x00007fcb12fdd4cd in KMail::AccountManager::readConfig (this=<value optimized out>) at ../../kmail/accountmanager.cpp:131
#73 0x00007fcb130c37a4 in KMKernel::init (this=0x16820d0) at ../../kmail/kmkernel.cpp:1542
#74 0x00007fcb13758258 in KMailPart (this=0x1578710, parentWidget=0x1065c80, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at ../../kmail/kmail_part.cpp:73
#75 0x00007fcb13758c9f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x1065c80, parent=0x1065c80, args=...) at /usr/include/kpluginfactory.h:467
#76 0x00007fcb2b8a596c in KPluginFactory::create (this=0x159ab00, iface=0x7fcb29cdc5c0 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x1065c80, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#77 0x00007fcb2c55456a in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x1065c80, libname=0x15013d8 "kmailpart") at /usr/include/kpluginfactory.h:491
#78 KontactInterface::Core::createPart (this=0x1065c80, libname=0x15013d8 "kmailpart") at ../../kontactinterface/core.cpp:87
#79 0x00007fcb143d7210 in KMailPlugin::createPart (this=0x7fff70c43880) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:179
#80 0x00007fcb2c556879 in KontactInterface::Plugin::part (this=0x7fff70c43880) at ../../kontactinterface/plugin.cpp:191
#81 0x00007fcb2cb0908f in Kontact::MainWindow::selectPlugin (this=0x1065c80, plugin=0x1552000) at ../../../kontact/src/mainwindow.cpp:778
#82 0x00007fcb2cb03e6c in Kontact::MainWindow::loadSettings (this=0x1065c80) at ../../../kontact/src/mainwindow.cpp:944
#83 0x00007fcb2cb0c110 in Kontact::MainWindow::initObject (this=0x1065c80) at ../../../kontact/src/mainwindow.cpp:210
#84 0x00007fcb2cb0d58c in MainWindow (this=0x1065c80, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#85 0x0000000000404804 in KontactApp::newInstance (this=0x7fff70c492b0) at ../../../kontact/src/main.cpp:136
#86 0x00007fcb2bd756b6 in KUniqueApplicationAdaptor::newInstance (this=0x10f9160, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#87 0x00007fcb2bd75cf6 in KUniqueApplicationAdaptor::qt_metacall (this=0x10f9160, _c=QMetaObject::InvokeMetaMethod, _id=20466544, _a=0x7fff70c48470) at ./kuniqueapplication_p.moc:81
#88 0x00007fcb287d2486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#89 0x00007fcb287d36ef in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x10f9160, flags=337, msg=...) at qdbusintegrator.cpp:809
#90 0x00007fcb287d41cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#91 0x00007fcb287d4468 in QDBusActivateObjectEvent::placeMetaCall (this=0x10e5d10) at qdbusintegrator.cpp:1477
#92 0x00007fcb2b395d49 in QObject::event (this=0x7fff70c492b0, e=0x10e5d10) at kernel/qobject.cpp:1248
#93 0x00007fcb2a74359d in QApplication::event (this=0x7fff70c492b0, e=0x10e5d10) at kernel/qapplication.cpp:2353
#94 0x00007fcb2a73f22c in QApplicationPrivate::notify_helper (this=0x1066da0, receiver=0x7fff70c492b0, e=0x10e5d10) at kernel/qapplication.cpp:4300
#95 0x00007fcb2a7456fb in QApplication::notify (this=0x7fff70c492b0, receiver=0x7fff70c492b0, e=0x10e5d10) at kernel/qapplication.cpp:4183
#96 0x00007fcb2bd6e526 in KApplication::notify (this=0x7fff70c492b0, receiver=0x7fff70c492b0, event=0x10e5d10) at ../../kdeui/kernel/kapplication.cpp:302
#97 0x00007fcb2b38606c in QCoreApplication::notifyInternal (this=0x7fff70c492b0, receiver=0x7fff70c492b0, event=0x10e5d10) at kernel/qcoreapplication.cpp:704
#98 0x00007fcb2b3887e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x103b620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#99 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x103b620) at kernel/qcoreapplication.cpp:1345
#100 0x00007fcb2b3af9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#101 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#102 0x00007fcb22af58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#103 0x00007fcb22af9748 in ?? () from /lib/libglib-2.0.so.0
#104 0x00007fcb22af98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#105 0x00007fcb2b3af513 in QEventDispatcherGlib::processEvents (this=0x103ad70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#106 0x00007fcb2a7ef46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff70c43880, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#107 0x00007fcb2b384992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#108 0x00007fcb2b384d6c in QEventLoop::exec (this=0x7fff70c491f0, flags=) at kernel/qeventloop.cpp:201
#109 0x00007fcb2b388aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#110 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

This bug may be a duplicate of or related to bug 241147.

Possible duplicates by query: bug 242669, bug 242570, bug 241147, bug 240701, bug 239013.

Reported using DrKonqi
Comment 1 Christophe Marin 2010-06-30 20:29:25 UTC

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