Bug 234779 - Kmail crashes at startup after use Search
Summary: Kmail crashes at startup after use Search
Status: RESOLVED DUPLICATE of bug 234366
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 09:30 UTC by Murz
Modified: 2010-04-28 11:33 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 Murz 2010-04-19 09:30:11 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 x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
When I starting kmail via cli, I see in output:

$kmail
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kmail(2224) KMFolderMgr::removeFolderAux: Can not find parent folder for  Last Search 
kmail(2224) KMFolderImap::account: No parent folder found for "myaccount2" 
<unknown program name>(2223)/: Communication problem with  "kmail" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

KCrash: Application 'kmail' crashing...

It repeates every time.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f2b16093b5c in KMail::SearchJob::searchCompleteFolder (this=0xec7b20) at ../../kmail/searchjob.cpp:87
#6  0x00007f2b15ebef38 in KMFolderImap::search (this=0xe38910, pattern=0xc6a510) at ../../kmail/kmfolderimap.cpp:2403
#7  0x00007f2b15ffc6d7 in KMSearch::slotProcessNextBatch (this=0xeb84b0) at ../../kmail/kmfoldersearch.cpp:272
#8  0x00007f2b15ffd840 in KMSearch::qt_metacall (this=0xeb84b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9cfde9f0) at ./kmfoldersearch.moc:85
#9  0x00007f2b148d4e3f in QMetaObject::activate (sender=0xeab1f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#10 0x00007f2b148d1a63 in QObject::event (this=0xeab1f0, e=0x7fff9cfdf140) at kernel/qobject.cpp:1212
#11 0x00007f2b14d9522c in QApplicationPrivate::notify_helper (this=0xadb420, receiver=0xeab1f0, e=0x7fff9cfdf140) at kernel/qapplication.cpp:4300
#12 0x00007f2b14d9b6fb in QApplication::notify (this=0x7fff9cfe1410, receiver=0xeab1f0, e=0x7fff9cfdf140) at kernel/qapplication.cpp:4183
#13 0x00007f2b16e97526 in KApplication::notify (this=0x7fff9cfe1410, receiver=0xeab1f0, event=0x7fff9cfdf140) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f2b148c206c in QCoreApplication::notifyInternal (this=0x7fff9cfe1410, receiver=0xeab1f0, event=0x7fff9cfdf140) at kernel/qcoreapplication.cpp:704
#15 0x00007f2b148eed42 in QCoreApplication::sendEvent (this=0xa1ae70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QTimerInfoList::activateTimers (this=0xa1ae70) at kernel/qeventdispatcher_unix.cpp:603
#17 0x00007f2b148eb824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#18 0x00007f2b0b92b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f2b0b92f748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f2b0b92f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f2b148eb513 in QEventDispatcherGlib::processEvents (this=0x9d8000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007f2b14e4546e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9cfde740, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f2b148c0992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f2b148c0d6c in QEventLoop::exec (this=0x7fff9cfdf520, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f2b16f27ec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#26 0x00007f2b0f0c356d in MailTransport::TransportManager::wallet (this=0xa79b30) at ../../mailtransport/transportmanager.cpp:602
#27 0x00007f2b0f0bf8cd in MailTransport::Transport::readPassword (this=0xa98a70) at ../../mailtransport/transport.cpp:295
#28 0x00007f2b0f0bfd70 in MailTransport::Transport::qt_metacall (this=0xa98a70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./transport.moc:72
#29 0x00007f2b148d4e3f in QMetaObject::activate (sender=0xa94a00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#30 0x00007f2b148dc65f in QSingleShotTimer::timerEvent (this=0xa94a00) at kernel/qtimer.cpp:308
#31 0x00007f2b148d1a63 in QObject::event (this=0xa94a00, e=0x7fff9cfe00d0) at kernel/qobject.cpp:1212
#32 0x00007f2b14d9522c in QApplicationPrivate::notify_helper (this=0xadb420, receiver=0xa94a00, e=0x7fff9cfe00d0) at kernel/qapplication.cpp:4300
#33 0x00007f2b14d9b6fb in QApplication::notify (this=0x7fff9cfe1410, receiver=0xa94a00, e=0x7fff9cfe00d0) at kernel/qapplication.cpp:4183
#34 0x00007f2b16e97526 in KApplication::notify (this=0x7fff9cfe1410, receiver=0xa94a00, event=0x7fff9cfe00d0) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f2b148c206c in QCoreApplication::notifyInternal (this=0x7fff9cfe1410, receiver=0xa94a00, event=0x7fff9cfe00d0) at kernel/qcoreapplication.cpp:704
#36 0x00007f2b148eed42 in QCoreApplication::sendEvent (this=0xa1ae70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0xa1ae70) at kernel/qeventdispatcher_unix.cpp:603
#38 0x00007f2b148eb824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#39 0x00007f2b0b92b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f2b0b92f748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f2b0b92f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f2b148eb513 in QEventDispatcherGlib::processEvents (this=0x9d8000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f2b14e4546e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9cfde740, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f2b148c0992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f2b148c0d6c in QEventLoop::exec (this=0x7fff9cfe04b0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f2b16f27ec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#47 0x00007f2b15f0c1f4 in KMKernel::wallet (this=0x7fff9cfe12a0) at ../../kmail/kmkernel.cpp:2498
#48 0x00007f2b15e96863 in KMail::NetworkAccount::readPassword (this=0xec6690) at ../../kmail/networkaccount.cpp:328
#49 0x00007f2b15e9701e in KMail::NetworkAccount::readConfig (this=0xec6690, config=...) at ../../kmail/networkaccount.cpp:170
#50 0x00007f2b15ea5a88 in KMail::ImapAccountBase::readConfig (this=0x7fff9cfde740, config=...) at ../../kmail/imapaccountbase.cpp:207
#51 0x00007f2b15e384cd in KMail::AccountManager::readConfig (this=<value optimized out>) at ../../kmail/accountmanager.cpp:131
#52 0x00007f2b15f1e7a4 in KMKernel::init (this=0x7fff9cfe12a0) at ../../kmail/kmkernel.cpp:1542
#53 0x0000000000403421 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:131

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

Reported using DrKonqi
Comment 1 Murz 2010-04-19 09:37:05 UTC
I have solve this crash for me by manually deleting file '~/.kde/share/apps/kmail/search/Last search'. 
If I put this file back, the crash goes back.
Content of file (private data are replaced by XXX:

[Search Folder]
Base=.958616589.directory/INBOX
Recursive=true
contentsA=andrey@XXX.ru\n \n
fieldA=From
funcA=contains
name=<unknown>
operator=and
rules=1
Comment 2 Nicolas L. 2010-04-28 11:33:54 UTC

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