Bug 236520

Summary: Kmail crashes during automatic startup
Product: [Unmaintained] kmail Reporter: Antonio J. Peña <tpenya>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antonio J. Peña 2010-05-06 09:39:46 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Upon the system startup, when Kmail tries to run automatically, once I introduce the password for the Kwallet account, Kmail crashes. The only way to start it is to close the wallet with KWalletManager and run Kmail again. I've checked that the first time the wallet is already closed.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  QString (this=0x0) at /usr/include/qt4/QtCore/qstring.h:714
#7  KIO::Slave::protocol (this=0x0) at ../../kio/kio/slave.cpp:176
#8  0x06af0b05 in KIO::SchedulerPrivate::assignJobToSlave (this=0x98ec320, slave=0x0, job=0x98f75d0) at ../../kio/kio/scheduler.cpp:1073
#9  0x06af0e21 in KIO::Scheduler::assignJobToSlave (slave=0x0, job=0x98f75d0) at ../../kio/kio/scheduler.cpp:388
#10 0x013f2463 in KMail::SearchJob::searchCompleteFolder (this=0x9bc6fe0) at ../../kmail/searchjob.cpp:95
#11 0x01354664 in KMail::FolderJob::start (this=0xbff254e8) at ../../kmail/folderjob.cpp:106
#12 0x011f6d18 in KMFolderImap::search (this=0x98cf7c8, pattern=0x97e55e0) at ../../kmail/kmfolderimap.cpp:2403
#13 0x013516a5 in KMSearch::slotProcessNextBatch (this=0x98e7330) at ../../kmail/kmfoldersearch.cpp:272
#14 0x013528d3 in KMSearch::qt_metacall (this=0x98e7330, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbff257ec) at ./kmfoldersearch.moc:85
#15 0x006e4c9a in QMetaObject::metacall (object=0x98e7330, cl=15139776, idx=7, argv=0xbff257ec) at kernel/qmetaobject.cpp:237
#16 0x006f33d5 in QMetaObject::activate (sender=0x98c6348, m=0x7f35a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#17 0x00744aa7 in QTimer::timeout (this=0x98c6348) at .moc/release-shared/moc_qtimer.cpp:134
#18 0x006fb60e in QTimer::timerEvent (this=0x98c6348, e=0xbff25d20) at kernel/qtimer.cpp:271
#19 0x006f0254 in QObject::event (this=0x98c6348, e=0x0) at kernel/qobject.cpp:1212
#20 0x044cf4dc in QApplicationPrivate::notify_helper (this=0x963e198, receiver=0x98c6348, e=0xbff25d20) at kernel/qapplication.cpp:4300
#21 0x044d605e in QApplication::notify (this=0xbff26d40, receiver=0x98c6348, e=0xbff25d20) at kernel/qapplication.cpp:3704
#22 0x00b41f2a in KApplication::notify (this=0xbff26d40, receiver=0x98c6348, event=0xbff25d20) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x006dfa3b in QCoreApplication::notifyInternal (this=0xbff26d40, receiver=0x98c6348, event=0xbff25d20) at kernel/qcoreapplication.cpp:704
#24 0x0070ed66 in QCoreApplication::sendEvent (this=0x9640234) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x9640234) at kernel/qeventdispatcher_unix.cpp:603
#26 0x0070b8e4 in timerSourceDispatch (source=0x9640200) at kernel/qeventdispatcher_glib.cpp:184
#27 0x085915e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x085952d8 in ?? () from /lib/libglib-2.0.so.0
#29 0x085954b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x0070b5d5 in QEventDispatcherGlib::processEvents (this=0x960f278, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#31 0x0458f135 in QGuiEventDispatcherGlib::processEvents (this=0x960f278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x006de059 in QEventLoop::processEvents (this=0xbff260c4, flags=) at kernel/qeventloop.cpp:149
#33 0x006de4aa in QEventLoop::exec (this=0xbff260c4, flags=...) at kernel/qeventloop.cpp:201
#34 0x00be276f in KWallet::Wallet::openWallet (name=..., w=50331791, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#35 0x01249c7e in KMKernel::wallet (this=0xbff26c78) at ../../kmail/kmkernel.cpp:2498
#36 0x011caecd in KMail::NetworkAccount::readPassword (this=0x98e95d0) at ../../kmail/networkaccount.cpp:338
#37 0x01160336 in KMail::AccountManager::readPasswords (this=0x98a05c0) at ../../kmail/accountmanager.cpp:438
#38 0x011c885b in KMail::NetworkAccount::passwd (this=0x98e3ac0) at ../../kmail/networkaccount.cpp:95
#39 0x011da66f in KMail::ImapAccountBase::makeConnection (this=0x98e3ac0) at ../../kmail/imapaccountbase.cpp:306
#40 0x011e0446 in KMAcctImap::makeConnection (this=0xbff254e8) at ../../kmail/kmacctimap.cpp:564
#41 0x011fde38 in KMFolderImap::listDirectory (this=0x9890f90) at ../../kmail/kmfolderimap.cpp:736
#42 0x010bd553 in KMail::FolderView::slotFolderExpanded (this=0x9b18160, item=0x9b58fa0) at ../../kmail/folderview.cpp:2465
#43 0x010c8ac7 in KMail::FolderView::qt_metacall (this=0x9b18160, _c=QMetaObject::InvokeMetaMethod, _id=149, _a=0xbff26568) at ./folderview.moc:234
#44 0x010cd60a in KMail::MainFolderView::qt_metacall (this=0x9b18160, _c=QMetaObject::InvokeMetaMethod, _id=149, _a=0xbff26568) at ./mainfolderview.moc:70
#45 0x006e4c9a in QMetaObject::metacall (object=0x9b18160, cl=15139776, idx=149, argv=0xbff26568) at kernel/qmetaobject.cpp:237
#46 0x006f33d5 in QMetaObject::activate (sender=0x9b18160, m=0x4e05510, local_signal_index=6, argv=0xbff26568) at kernel/qobject.cpp:3293
#47 0x04aef383 in QTreeWidget::itemExpanded (this=0x9b18160, _t1=0x9b58fa0) at .moc/release-shared/moc_qtreewidget.cpp:242
#48 0x04af1b36 in QTreeWidgetPrivate::_q_emitItemExpanded (this=0x9b18360, index=...) at itemviews/qtreewidget.cpp:2268
#49 0x04afbaae in QTreeWidget::qt_metacall (this=0x9b18160, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xbff267b8) at .moc/release-shared/moc_qtreewidget.cpp:155
#50 0x071249fa in KPIM::TreeWidget::qt_metacall (this=0x9b18160, _c=QMetaObject::InvokeMetaMethod, _id=109, _a=0xbff267b8) at moc_treewidget.cpp:74
#51 0x071a517a in KPIM::FolderTreeWidget::qt_metacall (this=0x9b18160, _c=QMetaObject::InvokeMetaMethod, _id=109, _a=0xbff267b8) at ./foldertreewidget.moc:74
#52 0x010c8a6a in KMail::FolderView::qt_metacall (this=0x9b18160, _c=QMetaObject::InvokeMetaMethod, _id=109, _a=0xbff267b8) at ./folderview.moc:200
#53 0x010cd60a in KMail::MainFolderView::qt_metacall (this=0x9b18160, _c=QMetaObject::InvokeMetaMethod, _id=109, _a=0xbff267b8) at ./mainfolderview.moc:70
#54 0x006e4c9a in QMetaObject::metacall (object=0x9b18160, cl=15139776, idx=109, argv=0xbff267b8) at kernel/qmetaobject.cpp:237
#55 0x006f33d5 in QMetaObject::activate (sender=0x9b18160, m=0x4e04af0, local_signal_index=0, argv=0xbff267b8) at kernel/qobject.cpp:3293
#56 0x04aad9d3 in QTreeView::expanded (this=0x9b18160, _t1=...) at .moc/release-shared/moc_qtreeview.cpp:201
#57 0x04ac09f2 in QTreeView::expand (this=0x9b18160, index=...) at itemviews/qtreeview.cpp:756
#58 0x04ac150c in QTreeView::setExpanded (this=0xbff254e8, index=..., expanded=true) at itemviews/qtreeview.cpp:817
#59 0x04af7a52 in QTreeWidget::setItemExpanded (this=0x9b18160, item=0x9b58fa0, expand=true) at itemviews/qtreewidget.cpp:3133
#60 0x010c1931 in QTreeWidgetItem::setExpanded (this=0x9b18160) at /usr/include/qt4/QtGui/qtreewidget.h:409
#61 KMail::FolderView::restoreItemStates (this=0x9b18160) at ../../kmail/folderview.cpp:389
#62 0x010c879d in KMail::FolderView::reload (this=0x9b18160, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#63 0x013312ab in KMMainWidget::readConfig (this=0x98f1c40) at ../../kmail/kmmainwidget.cpp:593
#64 0x01344691 in KMMainWidget (this=0x98f1c40, parent=0x9846210, aGUIClient=0x9846244, actionCollection=0x983dc20, config=...) at ../../kmail/kmmainwidget.cpp:232
#65 0x0104aa2a in KMMainWin (this=0x9846210, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#66 0x0124a456 in KMKernel::doSessionManagement (this=0xbff26c78) at ../../kmail/kmkernel.cpp:1693
#67 0x0804aab7 in main (argc=3, argv=0xbff26f04) at ../../kmail/main.cpp:134

Possible duplicates by query: bug 234367, bug 234366, bug 233715.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-05-27 15:00:49 UTC

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