Bug 248011

Summary: KMail crashes on startup
Product: [Unmaintained] kmail Reporter: Anssi Hannula <anssi.hannula>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, pachkov
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Anssi Hannula 2010-08-16 00:24:37 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.1-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
(I'm running Mandriva Cooker, not 2010.1 as it says above)

- What I was doing when the application crashed:
Starting KMail.

- Custom settings of the application:
One standard remote IMAP account.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  KIO::Slave::d_func (this=0x0) at /usr/src/debug/kdelibs-4.5.0/kio/kio/slave.h:216
#7  0x00007f8c70cd843c in KIO::Slave::protocol (this=0x0) at /usr/src/debug/kdelibs-4.5.0/kio/kio/slave.cpp:180
#8  0x00007f8c70cd0810 in KIO::SchedulerPrivate::assignJobToSlave (this=0x16a3730, slave=0x0, job=0x474a320) at /usr/src/debug/kdelibs-4.5.0/kio/kio/scheduler.cpp:1205
#9  0x00007f8c757271d6 in KMail::SearchJob::searchCompleteFolder (this=0x47ac5f0) at /usr/src/debug/kdepim-4.4.5/kmail/searchjob.cpp:95
#10 0x00007f8c755b883d in KMFolderImap::search (this=0x173d590, pattern=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/kmfolderimap.cpp:2408
#11 0x00007f8c756aeefb in KMSearch::slotProcessNextBatch (this=0x4656950) at /usr/src/debug/kdepim-4.4.5/kmail/kmfoldersearch.cpp:272
#12 0x00007f8c756aefd8 in KMSearch::qt_metacall (this=0x4656950, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa6c98280)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/kmfoldersearch.moc:85
#13 0x00007f8c7436beb7 in QMetaObject::activate (sender=0x46524f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f8c73cc5e90) at kernel/qobject.cpp:3272
#14 0x00007f8c74366349 in QObject::event (this=0x46524f0, e=0x0) at kernel/qobject.cpp:1175
#15 0x00007f8c74838dec in QApplicationPrivate::notify_helper (this=0xe31430, receiver=0x46524f0, e=0x7fffa6c989f0) at kernel/qapplication.cpp:4389
#16 0x00007f8c7483effd in QApplication::notify (this=0x7fffa6c9b5e0, receiver=0x46524f0, e=0x7fffa6c989f0) at kernel/qapplication.cpp:4270
#17 0x00007f8c764b33ae in KApplication::notify (this=0x7fffa6c9b5e0, receiver=0x46524f0, event=0x7fffa6c989f0) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#18 0x00007f8c743541ec in QCoreApplication::notifyInternal (this=0x7fffa6c9b5e0, receiver=0x46524f0, event=0x7fffa6c989f0) at kernel/qcoreapplication.cpp:732
#19 0x00007f8c74383852 in sendEvent (this=0xe34cd0) at kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0xe34cd0) at kernel/qeventdispatcher_unix.cpp:602
#21 0x00007f8c74380604 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 0x00007f8c6b868700 in g_main_dispatch (context=0xe33d20) at gmain.c:2119
#23 g_main_context_dispatch (context=0xe33d20) at gmain.c:2672
#24 0x00007f8c6b86c648 in g_main_context_iterate (context=0xe33d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2750
#25 0x00007f8c6b86c7fc in g_main_context_iteration (context=0xe33d20, may_block=1) at gmain.c:2813
#26 0x00007f8c743802f3 in QEventDispatcherGlib::processEvents (this=0xdec9a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#27 0x00007f8c748e978e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f8c74352f12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007f8c743532fc in QEventLoop::exec (this=0x7fffa6c98d20, flags=) at kernel/qeventloop.cpp:201
#30 0x00007f8c76534588 in KWallet::Wallet::openWallet (name=<value optimized out>, w=73400550, ot=<value optimized out>) at /usr/src/debug/kdelibs-4.5.0/kdeui/util/kwallet.cpp:268
#31 0x00007f8c755f1f44 in KMKernel::wallet (this=0x7fffa6c9b470) at /usr/src/debug/kdepim-4.4.5/kmail/kmkernel.cpp:2525
#32 0x00007f8c75599983 in KMail::NetworkAccount::readPassword (this=0x10e0580) at /usr/src/debug/kdepim-4.4.5/kmail/networkaccount.cpp:338
#33 0x00007f8c7554b564 in KMail::AccountManager::readPasswords (this=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/accountmanager.cpp:438
#34 0x00007f8c7559a041 in KMail::NetworkAccount::passwd (this=0x10e0580) at /usr/src/debug/kdepim-4.4.5/kmail/networkaccount.cpp:95
#35 0x00007f8c755a1ba9 in KMail::ImapAccountBase::makeConnection (this=0x10e0580) at /usr/src/debug/kdepim-4.4.5/kmail/imapaccountbase.cpp:306
#36 0x00007f8c755c22f7 in KMFolderImap::listDirectory (this=0x1119af0) at /usr/src/debug/kdepim-4.4.5/kmail/kmfolderimap.cpp:741
#37 0x00007f8c754cfc91 in KMail::FolderView::slotFolderExpanded (this=<value optimized out>, item=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/folderview.cpp:2465
#38 0x00007f8c754d77eb in KMail::FolderView::qt_metacall (this=0x45d8fa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa6c99390)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/folderview.moc:234
#39 0x00007f8c754dcd20 in KMail::MainFolderView::qt_metacall (this=0x0, _c=QMetaObject::InvokeMetaMethod, _id=74735072, _a=0x7f8c73cc5e90)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/mainfolderview.moc:70
#40 0x00007f8c7436beb7 in QMetaObject::activate (sender=0x45d8fa0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f8c73cc5e90) at kernel/qobject.cpp:3272
#41 0x00007f8c74df6942 in QTreeWidget::itemExpanded (this=0x0, _t1=0x462ad50) at .moc/release-shared/moc_qtreewidget.cpp:242
#42 0x00007f8c74dfe003 in QTreeWidget::qt_metacall (this=0x45d8fa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa6c99580) at .moc/release-shared/moc_qtreewidget.cpp:155
#43 0x00007f8c6d7ce020 in KPIM::TreeWidget::qt_metacall (this=0x0, _c=QMetaObject::InvokeMetaMethod, _id=74735072, _a=0x7f8c73cc5e90)
    at /usr/src/debug/kdepim-4.4.5/build/libkdepim/moc_treewidget.cpp:74
#44 0x00007f8c6d836b20 in KPIM::FolderTreeWidget::qt_metacall (this=0x0, _c=QMetaObject::InvokeMetaMethod, _id=74735072, _a=0x7f8c73cc5e90)
    at /usr/src/debug/kdepim-4.4.5/build/libkdepim/foldertreewidget.moc:74
#45 0x00007f8c754d74f0 in KMail::FolderView::qt_metacall (this=0x0, _c=QMetaObject::InvokeMetaMethod, _id=74735072, _a=0x7f8c73cc5e90) at /usr/src/debug/kdepim-4.4.5/build/kmail/folderview.moc:200
#46 0x00007f8c754dcd20 in KMail::MainFolderView::qt_metacall (this=0x0, _c=QMetaObject::InvokeMetaMethod, _id=74735072, _a=0x7f8c73cc5e90)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/mainfolderview.moc:70
#47 0x00007f8c7436beb7 in QMetaObject::activate (sender=0x45d8fa0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f8c73cc5e90) at kernel/qobject.cpp:3272
#48 0x00007f8c74db7d82 in QTreeView::expanded (this=0x0, _t1=<value optimized out>) at .moc/release-shared/moc_qtreeview.cpp:201
#49 0x00007f8c74dc8c03 in QTreeView::expand (this=0x45d8fa0, index=...) at itemviews/qtreeview.cpp:752
#50 0x00007f8c74dfda31 in QTreeWidget::setItemExpanded (this=0x45d8fa0, item=0x462ad50, expand=<value optimized out>) at itemviews/qtreewidget.cpp:3141
#51 0x00007f8c754d688e in KMail::FolderView::restoreItemStates (this=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/folderview.cpp:389
#52 0x00007f8c754d6f38 in KMail::FolderView::reload (this=0x45d8fa0, openFoldersForUpdate=false) at /usr/src/debug/kdepim-4.4.5/kmail/folderview.cpp:671
#53 0x00007f8c756a33b7 in KMMainWidget::readConfig (this=0x16b8510) at /usr/src/debug/kdepim-4.4.5/kmail/kmmainwidget.cpp:593
#54 0x00007f8c756a438a in KMMainWidget::KMMainWidget (this=0x16b8510, parent=<value optimized out>, aGUIClient=0x16df0d0, actionCollection=<value optimized out>, config=...)
    at /usr/src/debug/kdepim-4.4.5/kmail/kmmainwidget.cpp:232
#55 0x00007f8c7547dced in KMMainWin::KMMainWin (this=0x16df070, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/kmmainwin.cpp:41
#56 0x00007f8c755fad9c in KMKernel::openReader (this=<value optimized out>, onlyCheck=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/kmkernel.cpp:441
#57 0x00007f8c755fc208 in KMKernel::action (this=0x7fffa6c9b470, mailto=<value optimized out>, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., 
    customHeaders=...) at /usr/src/debug/kdepim-4.4.5/kmail/kmkernel.cpp:1966
#58 0x00007f8c755fd5fe in KMKernel::handleCommandLine (this=<value optimized out>, noArgsOpensReader=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/kmkernel.cpp:387
#59 0x000000000040314a in KMailApplication::newInstance (this=0x7fffa6c9b5e0) at /usr/src/debug/kdepim-4.4.5/kmail/main.cpp:87
#60 0x00007f8c764b7b82 in KUniqueApplicationAdaptor::newInstance (this=0xfd7ee0, asn_id=<value optimized out>, args=...) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kuniqueapplication.cpp:440
#61 0x00007f8c764b7c0f in KUniqueApplicationAdaptor::qt_metacall (this=0xfd7ee0, _c=QMetaObject::InvokeMetaMethod, _id=74735072, _a=0x7fffa6c9a660)
    at /usr/src/debug/kdelibs-4.5.0/build/kdeui/kuniqueapplication_p.moc:81
#62 0x00007f8c722caede in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:909
#63 0x00007f8c722cc14f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0xfd7ee0, flags=337, msg=...) at qdbusintegrator.cpp:812
#64 0x00007f8c722ccc2d in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1369
#65 0x00007f8c722cced8 in QDBusActivateObjectEvent::placeMetaCall (this=0x16de8c0) at qdbusintegrator.cpp:1482
#66 0x00007f8c7436662e in QObject::event (this=0x7fffa6c9b5e0, e=0x0) at kernel/qobject.cpp:1211
#67 0x00007f8c7483bd16 in QApplication::event (this=0x7fffa6c9b5e0, e=0x16de8c0) at kernel/qapplication.cpp:2439
#68 0x00007f8c74838dec in QApplicationPrivate::notify_helper (this=0xe31430, receiver=0x7fffa6c9b5e0, e=0x16de8c0) at kernel/qapplication.cpp:4389
#69 0x00007f8c7483effd in QApplication::notify (this=0x7fffa6c9b5e0, receiver=0x7fffa6c9b5e0, e=0x16de8c0) at kernel/qapplication.cpp:4270
#70 0x00007f8c764b33ae in KApplication::notify (this=0x7fffa6c9b5e0, receiver=0x7fffa6c9b5e0, event=0x16de8c0) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#71 0x00007f8c743541ec in QCoreApplication::notifyInternal (this=0x7fffa6c9b5e0, receiver=0x7fffa6c9b5e0, event=0x16de8c0) at kernel/qcoreapplication.cpp:732
#72 0x00007f8c74357fe2 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xded170) at kernel/qcoreapplication.h:215
#73 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xded170) at kernel/qcoreapplication.cpp:1373
#74 0x00007f8c743807b3 in sendPostedEvents (s=0xe34b80) at kernel/qcoreapplication.h:220
#75 postEventSourceDispatch (s=0xe34b80) at kernel/qeventdispatcher_glib.cpp:277
#76 0x00007f8c6b868700 in g_main_dispatch (context=0xe33d20) at gmain.c:2119
#77 g_main_context_dispatch (context=0xe33d20) at gmain.c:2672
#78 0x00007f8c6b86c648 in g_main_context_iterate (context=0xe33d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2750
#79 0x00007f8c6b86c7fc in g_main_context_iteration (context=0xe33d20, may_block=1) at gmain.c:2813
#80 0x00007f8c743802f3 in QEventDispatcherGlib::processEvents (this=0xdec9a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#81 0x00007f8c748e978e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#82 0x00007f8c74352f12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#83 0x00007f8c743532fc in QEventLoop::exec (this=0x7fffa6c9b420, flags=) at kernel/qeventloop.cpp:201
#84 0x00007f8c74358279 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#85 0x0000000000402f7d in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/main.cpp:149

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-16 00:46:34 UTC

*** This bug has been marked as a duplicate of bug 198561 ***
Comment 2 Sergey Pachkov 2011-04-05 09:54:15 UTC
Created attachment 58588 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.0

kMAIL crashes on startup every time. I have one account, it works by IMAP.

-- Backtrace (Reduced):
#6  0x00007fa8239d35dc in KMail::SearchJob::searchCompleteFolder (this=0x1272230) at ../../kmail/searchjob.cpp:87
#7  0x00007fa8237f6e58 in KMFolderImap::search (this=0x12061b0, pattern=0x12b3fa0) at ../../kmail/kmfolderimap.cpp:2408
#8  0x00007fa82393ac6d in KMSearch::slotProcessNextBatch (this=0x1135b80) at ../../kmail/kmfoldersearch.cpp:272
#9  0x00007fa82393adc0 in KMSearch::qt_metacall (this=0x1135b80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffab9ca210) at ./kmfoldersearch.moc:85
[...]
#11 0x00007fa8221308f9 in QObject::event (this=0x125ca30, e=0x0) at kernel/qobject.cpp:1183