Bug 246617 - kontact crashes on launch
Summary: kontact crashes on launch
Status: RESOLVED DUPLICATE of bug 198561
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 16:47 UTC by Thomas Caswell
Modified: 2010-08-13 23:57 UTC (History)
1 user (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 Thomas Caswell 2010-08-03 16:47: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-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I left kontact running over night.  In the moring I tried to add an ldap server which I did not get configured right.  I then tried to import a vcard into my address book and it could not find a address book to import to.  

I assumed that this was a problem with the new method of storing the address book and tried to restart kontact.  Kontact crashed on launch. I tried logging out and back in, but kontact still crashed on launch, I rebooted and it still is crashing.  This crash report is from after the reboot.

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  0x00007f8266334d3f in KIO::SchedulerPrivate::assignJobToSlave (this=0x25cc0d0, slave=0x0, job=0x2626fc0) at ../../kio/kio/scheduler.cpp:1073
#8  0x00007f8250257d6a in KMail::SearchJob::searchCompleteFolder (this=0x258b510) at ../../kmail/searchjob.cpp:95
#9  0x00007f8250082f38 in KMFolderImap::search (this=0x29ad160, pattern=0x29a6480) at ../../kmail/kmfolderimap.cpp:2403
#10 0x00007f82501c06d7 in KMSearch::slotProcessNextBatch (this=0x28fae30) at ../../kmail/kmfoldersearch.cpp:272
#11 0x00007f82501c1840 in KMSearch::qt_metacall (this=0x28fae30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7cb51c80) at ./kmfoldersearch.moc:85
#12 0x00007f8268b06e3f in QMetaObject::activate (sender=0x2b6e4e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2d95350) at kernel/qobject.cpp:3293
#13 0x00007f8268b03a63 in QObject::event (this=0x2b6e4e0, e=0x7fff7cb523d0) at kernel/qobject.cpp:1212
#14 0x00007f8267ead22c in QApplicationPrivate::notify_helper (this=0x2280ab0, receiver=0x2b6e4e0, e=0x7fff7cb523d0) at kernel/qapplication.cpp:4300
#15 0x00007f8267eb36fb in QApplication::notify (this=0x7fff7cb55610, receiver=0x2b6e4e0, e=0x7fff7cb523d0) at kernel/qapplication.cpp:4183
#16 0x00007f82694dc526 in KApplication::notify (this=0x7fff7cb55610, receiver=0x2b6e4e0, event=0x7fff7cb523d0) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f8268af406c in QCoreApplication::notifyInternal (this=0x7fff7cb55610, receiver=0x2b6e4e0, event=0x7fff7cb523d0) at kernel/qcoreapplication.cpp:704
#18 0x00007f8268b20d42 in QCoreApplication::sendEvent (this=0x228eaa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0x228eaa0) at kernel/qeventdispatcher_unix.cpp:603
#20 0x00007f8268b1d824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#21 0x00007f82602628c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f8260266748 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f82602668fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f8268b1d513 in QEventDispatcherGlib::processEvents (this=0x2254d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007f8267f5d46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff7cb51940, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f8268af2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007f8268af2d6c in QEventLoop::exec (this=0x7fff7cb527b0, flags=) at kernel/qeventloop.cpp:201
#28 0x00007f826956cec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#29 0x00007f82500d01f4 in KMKernel::wallet (this=0x285dc40) at ../../kmail/kmkernel.cpp:2498
#30 0x00007f825005a751 in KMail::NetworkAccount::readPassword (this=0x2b7e820) at ../../kmail/networkaccount.cpp:338
#31 0x00007f824fff96da in KMail::AccountManager::readPasswords (this=<value optimized out>) at ../../kmail/accountmanager.cpp:438
#32 0x00007f825005826d in KMail::NetworkAccount::passwd (this=<value optimized out>) at ../../kmail/networkaccount.cpp:95
#33 0x00007f8250068d78 in KMail::ImapAccountBase::makeConnection (this=0x2b7e820) at ../../kmail/imapaccountbase.cpp:306
#34 0x00007f825008acf3 in KMFolderImap::listDirectory (this=0x29a4240) at ../../kmail/kmfolderimap.cpp:736
#35 0x00007f824ff648d9 in KMail::FolderView::slotFolderExpanded (this=<value optimized out>, item=<value optimized out>) at ../../kmail/folderview.cpp:2465
#36 0x00007f824ff6ef2b in KMail::FolderView::qt_metacall (this=0x26626a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7cb52ea0) at ./folderview.moc:234
#37 0x00007f824ff73480 in KMail::MainFolderView::qt_metacall (this=0x7fff7cb51940, _c=QMetaObject::InvokeMetaMethod, _id=40005377, _a=0x2d95350) at ./mainfolderview.moc:70
#38 0x00007f8268b06e3f in QMetaObject::activate (sender=0x26626a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2d95350) at kernel/qobject.cpp:3293
#39 0x00007f82684492a2 in QTreeWidget::itemExpanded (this=0x7fff7cb51940, _t1=0x2d550a0) at .moc/release-shared/moc_qtreewidget.cpp:242
#40 0x00007f8268455033 in QTreeWidget::qt_metacall (this=0x26626a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7cb53090) at .moc/release-shared/moc_qtreewidget.cpp:155
#41 0x00007f8269f49230 in KPIM::TreeWidget::qt_metacall (this=0x7fff7cb51940, _c=QMetaObject::InvokeMetaMethod, _id=40005377, _a=0x2d95350) at moc_treewidget.cpp:74
#42 0x00007f8269fbe6d0 in KPIM::FolderTreeWidget::qt_metacall (this=0x7fff7cb51940, _c=QMetaObject::InvokeMetaMethod, _id=40005377, _a=0x2d95350) at ./foldertreewidget.moc:74
#43 0x00007f824ff6eec0 in KMail::FolderView::qt_metacall (this=0x7fff7cb51940, _c=QMetaObject::InvokeMetaMethod, _id=40005377, _a=0x2d95350) at ./folderview.moc:200
#44 0x00007f824ff73480 in KMail::MainFolderView::qt_metacall (this=0x7fff7cb51940, _c=QMetaObject::InvokeMetaMethod, _id=40005377, _a=0x2d95350) at ./mainfolderview.moc:70
#45 0x00007f8268b06e3f in QMetaObject::activate (sender=0x26626a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2d95350) at kernel/qobject.cpp:3293
#46 0x00007f826840a6a2 in QTreeView::expanded (this=0x7fff7cb51940, _t1=<value optimized out>) at .moc/release-shared/moc_qtreeview.cpp:201
#47 0x00007f826841c883 in QTreeView::expand (this=0x26626a0, index=...) at itemviews/qtreeview.cpp:744
#48 0x00007f82684510a1 in QTreeWidget::setItemExpanded (this=0x26626a0, item=0x2d550a0, expand=<value optimized out>) at itemviews/qtreewidget.cpp:3133
#49 0x00007f824ff68614 in QTreeWidgetItem::setExpanded (this=0x26626a0) at /usr/include/qt4/QtGui/qtreewidget.h:409
#50 KMail::FolderView::restoreItemStates (this=0x26626a0) at ../../kmail/folderview.cpp:389
#51 0x00007f824ff6ec87 in KMail::FolderView::reload (this=0x26626a0, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#52 0x00007f82501a3817 in KMMainWidget::readConfig (this=0x2b8e0a0) at ../../kmail/kmmainwidget.cpp:593
#53 0x00007f82501b47e9 in KMMainWidget (this=0x2b8e0a0, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...)
    at ../../kmail/kmmainwidget.cpp:232
#54 0x00007f8250777498 in KMailPart (this=0x27957e0, 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 0x00007f8250777c9f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x228ab30, parent=0x228ab30, args=...) at /usr/include/kpluginfactory.h:467
#56 0x00007f826901396c in KPluginFactory::create (this=0x27b17a0, iface=0x7f82674495c0 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x228ab30, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#57 0x00007f8269cc256a in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x228ab30, libname=0x273d238 "kmailpart") at /usr/include/kpluginfactory.h:491
#58 KontactInterface::Core::createPart (this=0x228ab30, libname=0x273d238 "kmailpart") at ../../kontactinterface/core.cpp:87
#59 0x00007f82511ea210 in KMailPlugin::createPart (this=0x7fff7cb51940) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:179
#60 0x00007f8269cc4879 in KontactInterface::Plugin::part (this=0x7fff7cb51940) at ../../kontactinterface/plugin.cpp:191
#61 0x00007f826a27708f in Kontact::MainWindow::selectPlugin (this=0x228ab30, plugin=0x2774a80) at ../../../kontact/src/mainwindow.cpp:778
#62 0x00007f826a271e6c in Kontact::MainWindow::loadSettings (this=0x228ab30) at ../../../kontact/src/mainwindow.cpp:944
#63 0x00007f826a27a110 in Kontact::MainWindow::initObject (this=0x228ab30) at ../../../kontact/src/mainwindow.cpp:210
#64 0x00007f826a27b58c in MainWindow (this=0x228ab30, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
#65 0x0000000000404804 in KontactApp::newInstance (this=0x7fff7cb55610) at ../../../kontact/src/main.cpp:136
#66 0x00007f82694e36b6 in KUniqueApplicationAdaptor::newInstance (this=0x2349c50, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#67 0x00007f82694e3cf6 in KUniqueApplicationAdaptor::qt_metacall (this=0x2349c50, _c=QMetaObject::InvokeMetaMethod, _id=6317216, _a=0x7fff7cb54700) at ./kuniqueapplication_p.moc:81
#68 0x00007f8265f3f486 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 0x00007f8265f406ef in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x2349c50, flags=337, msg=...) at qdbusintegrator.cpp:809
#70 0x00007f8265f411cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#71 0x00007f8265f41468 in QDBusActivateObjectEvent::placeMetaCall (this=0x240c050) at qdbusintegrator.cpp:1477
#72 0x00007f8268b03d49 in QObject::event (this=0x7fff7cb55610, e=0x240c050) at kernel/qobject.cpp:1248
#73 0x00007f8267eb159d in QApplication::event (this=0x7fff7cb55610, e=0x240c050) at kernel/qapplication.cpp:2353
#74 0x00007f8267ead22c in QApplicationPrivate::notify_helper (this=0x2280ab0, receiver=0x7fff7cb55610, e=0x240c050) at kernel/qapplication.cpp:4300
#75 0x00007f8267eb36fb in QApplication::notify (this=0x7fff7cb55610, receiver=0x7fff7cb55610, e=0x240c050) at kernel/qapplication.cpp:4183
#76 0x00007f82694dc526 in KApplication::notify (this=0x7fff7cb55610, receiver=0x7fff7cb55610, event=0x240c050) at ../../kdeui/kernel/kapplication.cpp:302
#77 0x00007f8268af406c in QCoreApplication::notifyInternal (this=0x7fff7cb55610, receiver=0x7fff7cb55610, event=0x240c050) at kernel/qcoreapplication.cpp:704
#78 0x00007f8268af67e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2255620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#79 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2255620) at kernel/qcoreapplication.cpp:1345
#80 0x00007f8268b1d9d3 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 0x00007f82602628c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#83 0x00007f8260266748 in ?? () from /lib/libglib-2.0.so.0
#84 0x00007f82602668fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#85 0x00007f8268b1d513 in QEventDispatcherGlib::processEvents (this=0x2254d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#86 0x00007f8267f5d46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff7cb51940, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#87 0x00007f8268af2992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#88 0x00007f8268af2d6c in QEventLoop::exec (this=0x23cd540, flags=) at kernel/qeventloop.cpp:201
#89 0x00007f82699ad411 in Akonadi::Control::Private::exec (this=0x2344650) at ../../akonadi/control.cpp:137
#90 0x00007f82699adb75 in Akonadi::Control::start (parent=0x0) at ../../akonadi/control.cpp:233
#91 0x0000000000403e72 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:204

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

Possible duplicates by query: bug 245452, bug 242570, bug 237245, bug 236520, bug 234367.

Reported using DrKonqi
Comment 1 Thomas Caswell 2010-08-03 17:22:53 UTC
I fixed this crash by deleting ~/.kde/share/config/kmailrc and re-configuring my imap accounts.
Comment 2 Nicolas L. 2010-08-13 23:57:16 UTC

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