Bug 277000

Summary: Kmail crashed after deleting a filter-rule
Product: [Applications] kontact Reporter: Ewald Müller <EMuede>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Errormessage when selecting the INBOX-Folder

Description Ewald Müller 2011-07-03 12:24:40 UTC
Application: kontact (4.4.8)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-32-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
On every opening of the INBOX-Folder (IMAP) an errormessage arised like 'fault in searching INBOX-Folder; invald string ' (two special characters, i didn't have in my filter rule).
So i tried to delete the filter-rule, then the segmentation fault occured!
Now at every start of Kontact (KMail) the segmentation fault arises, i can't use Kmail anymore !!


The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb789f990 (LWP 2041))]

Thread 2 (Thread 0xb32a7b70 (LWP 2045)):
#0  0x0173de16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x0109af5b in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x010a0085 in QTimerInfoList::updateCurrentTime (this=0xb2901a34) at kernel/qeventdispatcher_unix.cpp:340
#3  0x010a00ca in QTimerInfoList::timerWait (this=0xb2901a34, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x0109e078 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb32a70ac) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0109e105 in timerSourcePrepare (source=0x0, timeout=0x1741ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01781aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x01781ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x017824b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0109de6f in QEventDispatcherGlib::processEvents (this=0x90fc8d8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x01070759 in QEventLoop::processEvents (this=0xb32a7270, flags=) at kernel/qeventloop.cpp:149
#11 0x01070baa in QEventLoop::exec (this=0xb32a7270, flags=...) at kernel/qeventloop.cpp:201
#12 0x00f71fc9 in QThread::exec (this=0x90feb78) at thread/qthread.cpp:487
#13 0x010501db in QInotifyFileSystemWatcherEngine::run (this=0x90feb78) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00f7497e in QThreadPrivate::start (arg=0x90feb78) at thread/qthread_unix.cpp:248
#15 0x0164b96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x001dda4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb789f990 (LWP 2041)):
[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  0x046e96a5 in KIO::SchedulerPrivate::assignJobToSlave (this=0x8a955d8, slave=0x0, job=0x9686e28) at ../../kio/kio/scheduler.cpp:1073
#9  0x046e99c1 in KIO::Scheduler::assignJobToSlave (slave=0x0, job=0x9686e28) at ../../kio/kio/scheduler.cpp:388
#10 0xb47ae39f in KMail::SearchJob::searchSingleMessage (this=0x95b3930) at ../../kmail/searchjob.cpp:395
#11 0xb4711ba4 in KMail::FolderJob::start (this=0xbf95fe58) at ../../kmail/folderjob.cpp:106
#12 0xb45b3aa6 in KMFolderImap::search (this=0x8db6de8, pattern=0x8cf66d0, serNum=10597) at ../../kmail/kmfolderimap.cpp:2431
#13 0xb4710d18 in KMFolderSearch::propagateHeaderChanged (this=0x8dc7ca8, aFolder=0x8dc2a00, idx=298) at ../../kmail/kmfoldersearch.cpp:1167
#14 0xb47114e0 in KMFolderSearch::qt_metacall (this=0x8dc7ca8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf960194) at ./kmfoldersearch.moc:193
#15 0x0107747a in QMetaObject::metacall (object=0x8dc7ca8, cl=3214277889, idx=42, argv=0xbf960194) at kernel/qmetaobject.cpp:237
#16 0x01085fbb in QMetaObject::activate (sender=0x8e44e70, m=0xb4aac268, local_signal_index=7, argv=0xbf960194) at kernel/qobject.cpp:3295
#17 0xb452c8e9 in KMFolderMgr::msgHeaderChanged (this=0x8e44e70, _t1=0x8dc2a00, _t2=298) at ./kmfoldermgr.moc:169
#18 0xb452f6b8 in KMFolderMgr::qt_metacall (this=0x8e44e70, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf9602c4) at ./kmfoldermgr.moc:104
#19 0x0107747a in QMetaObject::metacall (object=0x8e44e70, cl=3214277889, idx=11, argv=0xbf9602c4) at kernel/qmetaobject.cpp:237
#20 0x01085fbb in QMetaObject::activate (sender=0x8dc2a00, m=0xb4aab600, local_signal_index=14, argv=0xbf9602c4) at kernel/qobject.cpp:3295
#21 0xb44d22f9 in KMFolder::msgHeaderChanged (this=0x8dc2a00, _t1=0x8dc2a00, _t2=298) at ./kmfolder.moc:258
#22 0xb44d83ea in KMFolder::qt_metacall (this=0x8dc2a00, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf9603e4) at ./kmfolder.moc:137
#23 0x0107747a in QMetaObject::metacall (object=0x8dc2a00, cl=3214277889, idx=18, argv=0xbf9603e4) at kernel/qmetaobject.cpp:237
#24 0x01085fbb in QMetaObject::activate (sender=0x8db6de8, m=0xb4aabbe8, local_signal_index=17, argv=0xbf9603e4) at kernel/qobject.cpp:3295
#25 0xb45039a9 in FolderStorage::msgHeaderChanged (this=0x8db6de8, _t1=0x8dc2a00, _t2=298) at ./folderstorage.moc:280
#26 0xb4577736 in KMMsgBase::setStatus (this=0x94a2370, aStatus=..., idx=298) at ../../kmail/kmmsgbase.cpp:209
#27 0xb43e9f16 in KMMessage::setStatus (this=0x94a2370, aStatus=..., idx=298) at ../../kmail/kmmessage.cpp:3006
#28 0xb4503595 in FolderStorage::setStatus (this=0x8db6de8, idx=298, status=..., toggle=false) at ../../kmail/folderstorage.cpp:1094
#29 0xb45065ef in FolderStorage::setStatus (this=0x8db6de8, ids=..., status=..., toggle=false) at ../../kmail/folderstorage.cpp:1104
#30 0xb45c7929 in KMFolderImap::setStatus (this=0x8db6de8, _ids=..., status=..., toggle=false) at ../../kmail/kmfolderimap.cpp:1928
#31 0xb44d1fcd in KMFolder::setStatus (this=0x8dc2a00, ids=..., status=..., toggle=<value optimized out>) at ../../kmail/kmfolder.cpp:925
#32 0xb46bb547 in KMSetStatusCommand::execute (this=0xa3da600) at ../../kmail/kmcommands.cpp:1732
#33 0xb46b7c22 in KMCommand::slotPostTransfer (this=0xa3da600, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#34 0xb46c1d5f in KMCommand::qt_metacall (this=0xa3da600, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9608a8) at ./kmcommands.moc:93
#35 0xb46c2482 in KMSetStatusCommand::qt_metacall (this=0xa3da600, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9608a8) at ./kmcommands.moc:1534
#36 0x0107747a in QMetaObject::metacall (object=0xa3da600, cl=3214277889, idx=9, argv=0xbf9608a8) at kernel/qmetaobject.cpp:237
#37 0x01085fbb in QMetaObject::activate (sender=0xa3da600, m=0xb4ab11d4, local_signal_index=0, argv=0xbf9608a8) at kernel/qobject.cpp:3295
#38 0xb46b1623 in KMCommand::messagesTransfered (this=0xa3da600, _t1=KMCommand::OK) at ./kmcommands.moc:108
#39 0xb46ca296 in KMCommand::transferSelectedMsgs (this=0xa3da600) at ../../kmail/kmcommands.cpp:393
#40 0xb46ca4ce in KMCommand::slotStart (this=0xa3da600) at ../../kmail/kmcommands.cpp:287
#41 0xb46c1d3b in KMCommand::qt_metacall (this=0xa3da600, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf960acc) at ./kmcommands.moc:92
#42 0xb46c2482 in KMSetStatusCommand::qt_metacall (this=0xa3da600, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf960acc) at ./kmcommands.moc:1534
#43 0x0107747a in QMetaObject::metacall (object=0xa3da600, cl=3214277889, idx=8, argv=0xbf960acc) at kernel/qmetaobject.cpp:237
#44 0x01085fbb in QMetaObject::activate (sender=0x95c61f8, m=0x1186188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#45 0x0108d827 in QSingleShotTimer::timeout (this=0x95c61f8) at .moc/release-shared/qtimer.moc:82
#46 0x0108d93c in QSingleShotTimer::timerEvent (this=0x95c61f8) at kernel/qtimer.cpp:308
#47 0x01082a64 in QObject::event (this=0x95c61f8, e=0x0) at kernel/qobject.cpp:1212
#48 0x049bfe8c in QApplicationPrivate::notify_helper (this=0x885edf0, receiver=0x95c61f8, e=0xbf961000) at kernel/qapplication.cpp:4302
#49 0x049c6a0e in QApplication::notify (this=0xbf961364, receiver=0x95c61f8, e=0xbf961000) at kernel/qapplication.cpp:3706
#50 0x00b5d40a in KApplication::notify (this=0xbf961364, receiver=0x95c61f8, event=0xbf961000) at ../../kdeui/kernel/kapplication.cpp:302
#51 0x0107213b in QCoreApplication::notifyInternal (this=0xbf961364, receiver=0x95c61f8, event=0xbf961000) at kernel/qcoreapplication.cpp:726
#52 0x010a15c6 in QCoreApplication::sendEvent (this=0x8865a9c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QTimerInfoList::activateTimers (this=0x8865a9c) at kernel/qeventdispatcher_unix.cpp:603
#54 0x0109e177 in timerSourceDispatch (source=0x8865f00) at kernel/qeventdispatcher_glib.cpp:184
#55 idleTimerSourceDispatch (source=0x8865f00) at kernel/qeventdispatcher_glib.cpp:231
#56 0x0177e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#57 0x017822d8 in ?? () from /lib/libglib-2.0.so.0
#58 0x017824b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#59 0x0109de35 in QEventDispatcherGlib::processEvents (this=0x883b070, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#60 0x04a7fe15 in QGuiEventDispatcherGlib::processEvents (this=0x883b070, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x01070759 in QEventLoop::processEvents (this=0xbf9612c4, flags=) at kernel/qeventloop.cpp:149
#62 0x01070baa in QEventLoop::exec (this=0xbf9612c4, flags=...) at kernel/qeventloop.cpp:201
#63 0x01075e3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#64 0x049bff27 in QApplication::exec () at kernel/qapplication.cpp:3581
#65 0x0804b472 in main (argc=1, argv=0xbf961584) at ../../../kontact/src/main.cpp:224

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

Possible duplicates by query: bug 262919, bug 261744, bug 257022, bug 255969, bug 255400.

Reported using DrKonqi
Comment 1 Ewald Müller 2011-07-03 12:32:05 UTC
Created attachment 61573 [details]
Errormessage when selecting the INBOX-Folder

This messagebox occures evertime i select the INBOX-Folder; i don't use any -ownerdefined- filter-rules
Comment 2 Ewald Müller 2011-07-03 13:17:51 UTC
After stopping and restarting the akonadi-Agent, deleting the entry in the ~/.kde/share/apps/kmail/search/ -Folder, removing the associated lock-File 
kmail is now usable again.
Comment 3 Christophe Marin 2011-07-05 20:44:35 UTC

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