Bug 230623 - Kmail crashed and will not restart after deleting two emails in succession
Summary: Kmail crashed and will not restart after deleting two emails in succession
Status: RESOLVED DUPLICATE of bug 211885
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 22:06 UTC by stebe
Modified: 2010-03-14 01:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stebe 2010-03-13 22:06:28 UTC
Application: kmail (1.13.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-16-generic i686
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I was reading and deleting emails from an imap connection.   When I deleted two emails, the second one before the first was moved to the trash, kmail crashed.  Now whenever I attempt to open kmail, I get a segmentation fault.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  KMail::SearchJob::slotSearchFolder (this=0x9d66da0) at ../../kmail/searchjob.cpp:278
#7  0x011171a8 in KMail::SearchJob::slotSearchData (this=0x9d66da0, job=0x0, data=...) at ../../kmail/searchjob.cpp:201
#8  0x011172a2 in KMail::SearchJob::searchCompleteFolder (this=0x9d66da0) at ../../kmail/searchjob.cpp:84
#9  0x01079704 in KMail::FolderJob::start (this=0x0) at ../../kmail/folderjob.cpp:106
#10 0x00f1bbe8 in KMFolderImap::search (this=0x9cf0fa8, pattern=0x9d38580) at ../../kmail/kmfolderimap.cpp:2403
#11 0x01076745 in KMSearch::slotProcessNextBatch (this=0x9d23bb8) at ../../kmail/kmfoldersearch.cpp:272
#12 0x01077973 in KMSearch::qt_metacall (this=0x9d23bb8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf95748c) at ./kmfoldersearch.moc:85
#13 0x01a57b3a in QMetaObject::metacall (object=0x9d23bb8, cl=95, idx=7, argv=0xbf95748c) at kernel/qmetaobject.cpp:237
#14 0x01a66285 in QMetaObject::activate (sender=0x9d76a10, m=0x1b665a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#15 0x01ab79e7 in QTimer::timeout (this=0x9d76a10) at .moc/release-shared/moc_qtimer.cpp:134
#16 0x01a6e4be in QTimer::timerEvent (this=0x9d76a10, e=0xbf9579c0) at kernel/qtimer.cpp:271
#17 0x01a63104 in QObject::event (this=0x9d76a10, e=0x1) at kernel/qobject.cpp:1212
#18 0x08af44dc in QApplicationPrivate::notify_helper (this=0x9b7bab0, receiver=0x9d76a10, e=0xbf9579c0) at kernel/qapplication.cpp:4300
#19 0x08afb03e in QApplication::notify (this=0xbf959050, receiver=0x9d76a10, e=0xbf9579c0) at kernel/qapplication.cpp:3704
#20 0x008d7efa in KApplication::notify (this=0xbf959050, receiver=0x9d76a10, event=0xbf9579c0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x01a528db in QCoreApplication::notifyInternal (this=0xbf959050, receiver=0x9d76a10, event=0xbf9579c0) at kernel/qcoreapplication.cpp:704
#22 0x01a81c26 in QCoreApplication::sendEvent (this=0x9b64774) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x9b64774) at kernel/qeventdispatcher_unix.cpp:603
#24 0x01a7e7a4 in timerSourceDispatch (source=0x9b64740) at kernel/qeventdispatcher_glib.cpp:184
#25 0x022063c5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x0220a0f0 in ?? () from /lib/libglib-2.0.so.0
#27 0x0220a288 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x01a7e495 in QEventDispatcherGlib::processEvents (this=0x9ae9278, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0x08bb3eb5 in QGuiEventDispatcherGlib::processEvents (this=0x9ae9278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x01a50ef9 in QEventLoop::processEvents (this=0xbf957d64, flags=) at kernel/qeventloop.cpp:149
#31 0x01a5134a in QEventLoop::exec (this=0xbf957d64, flags=...) at kernel/qeventloop.cpp:201
#32 0x009785ff in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#33 0x08225ac7 in MailTransport::TransportManager::wallet (this=0x9c0f0a0) at ../../mailtransport/transportmanager.cpp:602
#34 0x082217cd in MailTransport::Transport::readPassword (this=0x9ccc708) at ../../mailtransport/transport.cpp:295
#35 0x08221cf1 in MailTransport::Transport::qt_metacall (this=0x9ccc708, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf957fdc) at ./transport.moc:72
#36 0x01a57b3a in QMetaObject::metacall (object=0x9ccc708, cl=95, idx=5, argv=0xbf957fdc) at kernel/qmetaobject.cpp:237
#37 0x01a66285 in QMetaObject::activate (sender=0x9c7f6e0, m=0x1b65188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#38 0x01a6de97 in QSingleShotTimer::timeout (this=0x9c7f6e0) at .moc/release-shared/qtimer.moc:82
#39 0x01a6dfac in QSingleShotTimer::timerEvent (this=0x9c7f6e0) at kernel/qtimer.cpp:308
#40 0x01a63104 in QObject::event (this=0x9c7f6e0, e=0x1) at kernel/qobject.cpp:1212
#41 0x08af44dc in QApplicationPrivate::notify_helper (this=0x9b7bab0, receiver=0x9c7f6e0, e=0xbf958510) at kernel/qapplication.cpp:4300
#42 0x08afb03e in QApplication::notify (this=0xbf959050, receiver=0x9c7f6e0, e=0xbf958510) at kernel/qapplication.cpp:3704
#43 0x008d7efa in KApplication::notify (this=0xbf959050, receiver=0x9c7f6e0, event=0xbf958510) at ../../kdeui/kernel/kapplication.cpp:302
#44 0x01a528db in QCoreApplication::notifyInternal (this=0xbf959050, receiver=0x9c7f6e0, event=0xbf958510) at kernel/qcoreapplication.cpp:704
#45 0x01a81c26 in QCoreApplication::sendEvent (this=0x9b64774) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QTimerInfoList::activateTimers (this=0x9b64774) at kernel/qeventdispatcher_unix.cpp:603
#47 0x01a7e7a4 in timerSourceDispatch (source=0x9b64740) at kernel/qeventdispatcher_glib.cpp:184
#48 0x022063c5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#49 0x0220a0f0 in ?? () from /lib/libglib-2.0.so.0
#50 0x0220a288 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#51 0x01a7e495 in QEventDispatcherGlib::processEvents (this=0x9ae9278, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0x08bb3eb5 in QGuiEventDispatcherGlib::processEvents (this=0x9ae9278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x01a50ef9 in QEventLoop::processEvents (this=0xbf9588b4, flags=) at kernel/qeventloop.cpp:149
#54 0x01a5134a in QEventLoop::exec (this=0xbf9588b4, flags=...) at kernel/qeventloop.cpp:201
#55 0x009785ff in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#56 0x00f6eb9e in KMKernel::wallet (this=0xbf958f88) at ../../kmail/kmkernel.cpp:2498
#57 0x00eefe9d in KMail::NetworkAccount::readPassword (this=0x9d5fd38) at ../../kmail/networkaccount.cpp:328
#58 0x00ef0881 in KMail::NetworkAccount::readConfig (this=0x9d5fd38, config=...) at ../../kmail/networkaccount.cpp:170
#59 0x00f0050f in KMail::ImapAccountBase::readConfig (this=0x9d5fd38, config=...) at ../../kmail/imapaccountbase.cpp:207
#60 0x00f05384 in KMAcctImap::readConfig (this=0x9d5fd38, config=...) at ../../kmail/kmacctimap.cpp:540
#61 0x00e88285 in KMail::AccountManager::readConfig (this=0x9ce6860) at ../../kmail/accountmanager.cpp:131
#62 0x00f81d19 in KMKernel::init (this=0xbf958f88) at ../../kmail/kmkernel.cpp:1542
#63 0x0804aaaf in main (argc=3, argv=0xbf959214) at ../../kmail/main.cpp:131

Reported using DrKonqi
Comment 1 stebe 2010-03-13 22:45:24 UTC
I am again able to use kmail.  What I had to do was delete a search I created from the search folder in the kmail directory.   The search was for unread mail in all folders.

Here is the contents of the unread file:

[Search Folder]
Base=.2020268535.directory/INBOX
Recursive=true
contentsA=Unread
fieldA=<status>
funcA=contains
name=<unknown>
operator=and
rules=1
Comment 2 Björn Ruberg 2010-03-14 01:53:15 UTC

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