Bug 233715

Summary: Kontact crashes on launch
Product: [Unmaintained] kmail Reporter: diseberg
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, bjoern, diseberg
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description diseberg 2010-04-08 11:32:20 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-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Kontact crashes on launch. I can get it to work if I first open Kmail.

This also happened in Karmic

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  QString (this=0x0) at /usr/include/qt4/QtCore/qstring.h:714
#6  KIO::Slave::protocol (this=0x0) at ../../kio/kio/slave.cpp:176
#7  0x00007f1f8c592d3f in KIO::SchedulerPrivate::assignJobToSlave (this=0x1afb570, slave=0x0, job=0x1fb2940) at ../../kio/kio/scheduler.cpp:1073
#8  0x00007f1f6ee78d6a in KMail::SearchJob::searchCompleteFolder (this=0x21f4c70) at ../../kmail/searchjob.cpp:95
#9  0x00007f1f6eca3f38 in KMFolderImap::search (this=0x1f89c00, pattern=0x1f89be0) at ../../kmail/kmfolderimap.cpp:2403
#10 0x00007f1f6ede16d7 in KMSearch::slotProcessNextBatch (this=0x2024420) at ../../kmail/kmfoldersearch.cpp:272
#11 0x00007f1f6ede2840 in KMSearch::qt_metacall (this=0x2024420, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80be70e0) at ./kmfoldersearch.moc:85
#12 0x00007f1f8ed63e3f in QMetaObject::activate (sender=0x1fa7200, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x22672e0) at kernel/qobject.cpp:3293
#13 0x00007f1f8ed60a63 in QObject::event (this=0x1fa7200, e=0x7fff80be7830) at kernel/qobject.cpp:1212
#14 0x00007f1f8e10a22c in QApplicationPrivate::notify_helper (this=0x171e700, receiver=0x1fa7200, e=0x7fff80be7830) at kernel/qapplication.cpp:4300
#15 0x00007f1f8e1106fb in QApplication::notify (this=0x7fff80bea9a0, receiver=0x1fa7200, e=0x7fff80be7830) at kernel/qapplication.cpp:4183
#16 0x00007f1f8f739526 in KApplication::notify (this=0x7fff80bea9a0, receiver=0x1fa7200, event=0x7fff80be7830) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f1f8ed5106c in QCoreApplication::notifyInternal (this=0x7fff80bea9a0, receiver=0x1fa7200, event=0x7fff80be7830) at kernel/qcoreapplication.cpp:704
#18 0x00007f1f8ed7dd42 in QCoreApplication::sendEvent (this=0x1724cc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0x1724cc0) at kernel/qeventdispatcher_unix.cpp:603
#20 0x00007f1f8ed7a824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#21 0x00007f1f864c28c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f1f864c6748 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f1f864c68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f1f8ed7a513 in QEventDispatcherGlib::processEvents (this=0x16f3990, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007f1f8e1ba31e in QGuiEventDispatcherGlib::processEvents (this=0x7fff80be6da0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f1f8ed4f992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007f1f8ed4fd6c in QEventLoop::exec (this=0x7fff80be7c10, flags=) at kernel/qeventloop.cpp:201
#28 0x00007f1f8f7c9ec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#29 0x00007f1f6ecf11f4 in KMKernel::wallet (this=0x1ada330) at ../../kmail/kmkernel.cpp:2498
#30 0x00007f1f6ec7b751 in KMail::NetworkAccount::readPassword (this=0x202e650) at ../../kmail/networkaccount.cpp:338
#31 0x00007f1f6ec1a6da in KMail::AccountManager::readPasswords (this=<value optimized out>) at ../../kmail/accountmanager.cpp:438
#32 0x00007f1f6ec7926d in KMail::NetworkAccount::passwd (this=<value optimized out>) at ../../kmail/networkaccount.cpp:95
#33 0x00007f1f6ec89d78 in KMail::ImapAccountBase::makeConnection (this=0x202e650) at ../../kmail/imapaccountbase.cpp:306
#34 0x00007f1f6ecabcf3 in KMFolderImap::listDirectory (this=0x1f43aa0) at ../../kmail/kmfolderimap.cpp:736
#35 0x00007f1f6eb858d9 in KMail::FolderView::slotFolderExpanded (this=<value optimized out>, item=<value optimized out>) at ../../kmail/folderview.cpp:2465
#36 0x00007f1f6eb8ff2b in KMail::FolderView::qt_metacall (this=0x2126680, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80be8300) at ./folderview.moc:234
#37 0x00007f1f6eb94480 in KMail::MainFolderView::qt_metacall (this=0x7fff80be6da0, _c=QMetaObject::InvokeMetaMethod, _id=33237249, _a=0x22672e0) at ./mainfolderview.moc:70
#38 0x00007f1f8ed63e3f in QMetaObject::activate (sender=0x2126680, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x22672e0) at kernel/qobject.cpp:3293
#39 0x00007f1f8e6a6152 in QTreeWidget::itemExpanded (this=0x7fff80be6da0, _t1=0x2182e50) at .moc/release-shared/moc_qtreewidget.cpp:242
#40 0x00007f1f8e6b1ee3 in QTreeWidget::qt_metacall (this=0x2126680, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff80be84f0) at .moc/release-shared/moc_qtreewidget.cpp:155
#41 0x00007f1f901a6230 in KPIM::TreeWidget::qt_metacall (this=0x7fff80be6da0, _c=QMetaObject::InvokeMetaMethod, _id=33237249, _a=0x22672e0) at moc_treewidget.cpp:74
#42 0x00007f1f9021b6d0 in KPIM::FolderTreeWidget::qt_metacall (this=0x7fff80be6da0, _c=QMetaObject::InvokeMetaMethod, _id=33237249, _a=0x22672e0) at ./foldertreewidget.moc:74
#43 0x00007f1f6eb8fec0 in KMail::FolderView::qt_metacall (this=0x7fff80be6da0, _c=QMetaObject::InvokeMetaMethod, _id=33237249, _a=0x22672e0) at ./folderview.moc:200
#44 0x00007f1f6eb94480 in KMail::MainFolderView::qt_metacall (this=0x7fff80be6da0, _c=QMetaObject::InvokeMetaMethod, _id=33237249, _a=0x22672e0) at ./mainfolderview.moc:70
#45 0x00007f1f8ed63e3f in QMetaObject::activate (sender=0x2126680, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x22672e0) at kernel/qobject.cpp:3293
#46 0x00007f1f8e667552 in QTreeView::expanded (this=0x7fff80be6da0, _t1=<value optimized out>) at .moc/release-shared/moc_qtreeview.cpp:201
#47 0x00007f1f8e679733 in QTreeView::expand (this=0x2126680, index=...) at itemviews/qtreeview.cpp:744
#48 0x00007f1f8e6adf51 in QTreeWidget::setItemExpanded (this=0x2126680, item=0x2182e50, expand=<value optimized out>) at itemviews/qtreewidget.cpp:3133
#49 0x00007f1f6eb89614 in QTreeWidgetItem::setExpanded (this=0x2126680) at /usr/include/qt4/QtGui/qtreewidget.h:409
#50 KMail::FolderView::restoreItemStates (this=0x2126680) at ../../kmail/folderview.cpp:389
#51 0x00007f1f6eb8fc87 in KMail::FolderView::reload (this=0x2126680, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#52 0x00007f1f6edc4817 in KMMainWidget::readConfig (this=0x2046a00) at ../../kmail/kmmainwidget.cpp:593
#53 0x00007f1f6edd57e9 in KMMainWidget (this=0x2046a00, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...)
    at ../../kmail/kmmainwidget.cpp:232
#54 0x00007f1f6f398498 in KMailPart (this=0x1c758f0, parentWidget=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at ../../kmail/kmail_part.cpp:112
#55 0x00007f1f6f398c9f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x171fe00, parent=0x171fe00, args=...) at /usr/include/kpluginfactory.h:467
#56 0x00007f1f8f27096c in KPluginFactory::create (this=0x1c817f0, iface=0x7f1f8d6a75c0 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x171fe00, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#57 0x00007f1f8ff1f56a in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x171fe00, libname=0x1c3e888 "kmailpart") at /usr/include/kpluginfactory.h:491
#58 KontactInterface::Core::createPart (this=0x171fe00, libname=0x1c3e888 "kmailpart") at ../../kontactinterface/core.cpp:87
#59 0x00007f1f710a5210 in KMailPlugin::createPart (this=0x7fff80be6da0) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:179
#60 0x00007f1f8ff21879 in KontactInterface::Plugin::part (this=0x7fff80be6da0) at ../../kontactinterface/plugin.cpp:191
#61 0x00007f1f904d408f in Kontact::MainWindow::selectPlugin (this=0x171fe00, plugin=0x1c185c0) at ../../../kontact/src/mainwindow.cpp:778
#62 0x00007f1f904cee6c in Kontact::MainWindow::loadSettings (this=0x171fe00) at ../../../kontact/src/mainwindow.cpp:944
#63 0x00007f1f904d7110 in Kontact::MainWindow::initObject (this=0x171fe00) at ../../../kontact/src/mainwindow.cpp:210
#64 0x00007f1f904d858c in MainWindow (this=0x171fe00, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#65 0x0000000000404804 in KontactApp::newInstance (this=0x7fff80bea9a0) at ../../../kontact/src/main.cpp:136
#66 0x00007f1f8f7406b6 in KUniqueApplicationAdaptor::newInstance (this=0x18fa610, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#67 0x00007f1f8f740cf6 in KUniqueApplicationAdaptor::qt_metacall (this=0x18fa610, _c=QMetaObject::InvokeMetaMethod, _id=6317216, _a=0x7fff80be9b60) at ./kuniqueapplication_p.moc:81
#68 0x00007f1f8c19d486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#69 0x00007f1f8c19e6ef in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x18fa610, flags=337, msg=...) at qdbusintegrator.cpp:809
#70 0x00007f1f8c19f1cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#71 0x00007f1f8c19f468 in QDBusActivateObjectEvent::placeMetaCall (this=0x1981810) at qdbusintegrator.cpp:1477
#72 0x00007f1f8ed60d49 in QObject::event (this=0x7fff80bea9a0, e=0x1981810) at kernel/qobject.cpp:1248
#73 0x00007f1f8e10e59d in QApplication::event (this=0x7fff80bea9a0, e=0x1981810) at kernel/qapplication.cpp:2353
#74 0x00007f1f8e10a22c in QApplicationPrivate::notify_helper (this=0x171e700, receiver=0x7fff80bea9a0, e=0x1981810) at kernel/qapplication.cpp:4300
#75 0x00007f1f8e1106fb in QApplication::notify (this=0x7fff80bea9a0, receiver=0x7fff80bea9a0, e=0x1981810) at kernel/qapplication.cpp:4183
#76 0x00007f1f8f739526 in KApplication::notify (this=0x7fff80bea9a0, receiver=0x7fff80bea9a0, event=0x1981810) at ../../kdeui/kernel/kapplication.cpp:302
#77 0x00007f1f8ed5106c in QCoreApplication::notifyInternal (this=0x7fff80bea9a0, receiver=0x7fff80bea9a0, event=0x1981810) at kernel/qcoreapplication.cpp:704
#78 0x00007f1f8ed537e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x16f4240) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#79 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x16f4240) at kernel/qcoreapplication.cpp:1345
#80 0x00007f1f8ed7a9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#81 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#82 0x00007f1f864c28c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#83 0x00007f1f864c6748 in ?? () from /lib/libglib-2.0.so.0
#84 0x00007f1f864c68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#85 0x00007f1f8ed7a513 in QEventDispatcherGlib::processEvents (this=0x16f3990, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#86 0x00007f1f8e1ba31e in QGuiEventDispatcherGlib::processEvents (this=0x7fff80be6da0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#87 0x00007f1f8ed4f992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#88 0x00007f1f8ed4fd6c in QEventLoop::exec (this=0x7fff80bea8e0, flags=) at kernel/qeventloop.cpp:201
#89 0x00007f1f8ed53aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#90 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-08 18:39:56 UTC
This looks somehow related to bug 204223...
Comment 2 Björn Ruberg 2010-04-14 23:01:22 UTC

*** This bug has been marked as a duplicate of bug 198561 ***
Comment 3 diseberg 2010-04-18 13:21:58 UTC
Created attachment 42872 [details]
New crash information added by DrKonqi

Don't know why my bug report got merged with another.

Kontact crashes on launch. Every single time unless kmail is open separately. Then everythong works fine.