Application: kmail (4.7.3) KDE Platform Version: 4.7.3 (4.7.3) (Compiled from sources) Qt Version: 4.8.0 Operating System: Linux 3.1.0-2-ARCH i686 Distribution (Platform): Archlinux Packages -- Information about the crash: kmail crashed when I did a text search for a word in my downloaded emails. -- Backtrace: Application: KMail (kmail), signal: Aborted [Current thread is 1 (Thread 0xb1579960 (LWP 24465))] Thread 3 (Thread 0xaec64b70 (LWP 24469)): #0 0xb775c424 in __kernel_vsyscall () #1 0xb575e8fb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5d1d42c in pthread_cond_wait () from /lib/libc.so.6 #3 0xb3374143 in ?? () from /usr/lib/libQtWebKit.so.4 #4 0xb337425f in ?? () from /usr/lib/libQtWebKit.so.4 #5 0xb575acf7 in start_thread () from /lib/libpthread.so.0 #6 0xb5d0f86e in clone () from /lib/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 2 (Thread 0xae363b70 (LWP 24470)): #0 0xb775c424 in __kernel_vsyscall () #1 0xb5d051ae in poll () from /lib/libc.so.6 #2 0xb425d09b in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb424e5e6 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb424e97a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb6086b97 in QEventDispatcherGlib::processEvents (this=0x88e2d88, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0xb604e85d in QEventLoop::processEvents (this=0xae3632b0, flags=...) at kernel/qeventloop.cpp:149 #7 0xb604eaf9 in QEventLoop::exec (this=0xae3632b0, flags=...) at kernel/qeventloop.cpp:204 #8 0xb5f2ac6d in QThread::exec (this=0x88de060) at thread/qthread.cpp:501 #9 0xb5f2ad3b in QThread::run (this=0x88de060) at thread/qthread.cpp:568 #10 0xb5f2dfba in QThreadPrivate::start (arg=0x88de060) at thread/qthread_unix.cpp:298 #11 0xb575acf7 in start_thread () from /lib/libpthread.so.0 #12 0xb5d0f86e in clone () from /lib/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 1 (Thread 0xb1579960 (LWP 24465)): [KCrash Handler] #7 0xb775c424 in __kernel_vsyscall () #8 0xb5c6ab9f in raise () from /lib/libc.so.6 #9 0xb5c6c525 in abort () from /lib/libc.so.6 #10 0xb5f2251a in qt_message_output (msgType=QtFatalMsg, buf=0x8f89f48 "ASSERT: \"item.isValid()\" in file /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp, line 387") at global/qglobal.cpp:2255 #11 0xb5f2271b in qt_message (msgType=QtFatalMsg, msg=0xb60c63a8 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfff4c24 "\r`'\265\240\276'\265\203\001") at global/qglobal.cpp:2301 #12 0xb5f22838 in qFatal (msg=0xb60c63a8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2484 #13 0xb5f228c5 in qt_assert (assertion=0xb527600d "item.isValid()", file=0xb527bea0 "/home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp", line=387) at global/qglobal.cpp:1999 #14 0xb51d94aa in Akonadi::ItemModel::itemForIndex (this=0x8767f40, index=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp:387 #15 0xb6eb86a7 in KMSearchMessageModel::data (this=0x8767f40, index=..., role=0) at /home/hussam/packages/kdepim/src/kdepim/kmail/kmsearchmessagemodel.cpp:83 #16 0xb69c6a78 in QSortFilterProxyModel::lessThan (this=0x0, left=..., right=...) at itemviews/qsortfilterproxymodel.cpp:2402 #17 0xb69c7cec in QSortFilterProxyModelPrivate::proxy_intervals_for_source_items_to_add (this=0x87b0b10, proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:614 #18 0xb69c854d in QSortFilterProxyModelPrivate::insert_source_items (this=0x87b0b10, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:673 #19 0xb69cd6dc in QSortFilterProxyModelPrivate::source_items_inserted (this=0x87b0b10, source_parent=..., start=1, end=1, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806 #20 0xb69cdac0 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x87b0b10, source_parent=..., start=1, end=1) at itemviews/qsortfilterproxymodel.cpp:1280 #21 0xb6068449 in QMetaObject::activate (sender=0x8767f40, m=0xb61bb2b8, local_signal_index=5, argv=0xbfff50c0) at kernel/qobject.cpp:3546 #22 0xb60c14f5 in QAbstractItemModel::rowsInserted (this=0x8767f40, _t1=..., _t2=1, _t3=1) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197 #23 0xb6048f86 in QAbstractItemModel::endInsertRows (this=0x8767f40) at kernel/qabstractitemmodel.cpp:2433 #24 0xb51da3f6 in Akonadi::ItemModel::Private::itemsAdded (this=0x87b0388, list=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp:224 #25 0xb51da442 in Akonadi::ItemModel::Private::itemAdded (this=0x87b0388, item=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp:231 #26 0xb51daac2 in Akonadi::ItemModel::qt_static_metacall (_o=0x8767f40, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfff52f4) at /home/hussam/packages/kdepimlibs/src/build/akonadi/itemmodel.moc:73 #27 0xb6068449 in QMetaObject::activate (sender=0x87b38d0, m=0xb531f518, local_signal_index=4, argv=0xbfff52f4) at kernel/qobject.cpp:3546 #28 0xb51ef79d in Akonadi::Monitor::itemLinked (this=0x87b38d0, _t1=..., _t2=...) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:211 #29 0xb51f4ac3 in Akonadi::MonitorPrivate::emitItemNotification (this=0x87b1098, msg=..., item=..., collection=..., collectionDest=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:530 #30 0xb51f5646 in Akonadi::MonitorPrivate::emitNotification (this=0x87b1098, msg=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:284 #31 0xb51f2c4f in Akonadi::MonitorPrivate::flushPipeline (this=0x87b1098) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:425 #32 0xb51f2d70 in Akonadi::MonitorPrivate::dataAvailable (this=0x87b1098) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:434 #33 0xb51effad in Akonadi::Monitor::qt_static_metacall (_o=0x87b38d0, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfff5570) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:133 #34 0xb6068449 in QMetaObject::activate (sender=0x8f5dc60, m=0xb531e15c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3546 #35 0xb519d2d5 in Akonadi::EntityCacheBase::dataAvailable (this=0x8f5dc60) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitycache_p.moc:102 #36 0xb51f8fe9 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x8f5dc60, job=0x8deda60) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitycache_p.h:190 #37 0xb519d385 in Akonadi::EntityCacheBase::qt_static_metacall (_o=0x8f5dc60, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfff56f8) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitycache_p.moc:54 #38 0xb6068449 in QMetaObject::activate (sender=0x8deda60, m=0xb726e4cc, local_signal_index=3, argv=0xbfff56f8) at kernel/qobject.cpp:3546 #39 0xb70a8665 in KJob::result (this=0x8deda60, _t1=0x8deda60) at /home/hussam/packages/kdelibs/src/build/kdecore/kjob.moc:208 #40 0xb70a86b7 in KJob::emitResult (this=0x8deda60) at /home/hussam/packages/kdelibs/src/kdelibs/kdecore/jobs/kjob.cpp:312 #41 0xb51d73fa in Akonadi::ItemFetchJobPrivate::startFetchJob (this=0xbfff5768) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemfetchjob.cpp:102 #42 0xb51d7568 in Akonadi::ItemFetchJob::doStart (this=0x8deda60) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemfetchjob.cpp:166 #43 0xb51eab85 in Akonadi::JobPrivate::startQueued (this=0x8f8ec88) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/job.cpp:153 #44 0xb521bfbb in Akonadi::SessionPrivate::startJob (this=0x855eca8, job=0x8deda60) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/session.cpp:267 #45 0xb521de17 in Akonadi::SessionPrivate::doStartNext (this=0x855eca8) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/session.cpp:256 #46 0xb6063801 in QMetaCallEvent::placeMetaCall (this=0x8f959e8, object=0x873ee68) at kernel/qobject.cpp:524 #47 0xb606dc4b in QObject::event (this=0x873ee68, e=0x8f959e8) at kernel/qobject.cpp:1194 #48 0xb62f7a9c in notify_helper (e=0x8f959e8, receiver=0x873ee68, this=0x8528888) at kernel/qapplication.cpp:4518 #49 QApplicationPrivate::notify_helper (this=0x8528888, receiver=0x873ee68, e=0x8f959e8) at kernel/qapplication.cpp:4490 #50 0xb62fdb1d in QApplication::notify (this=0x8528888, receiver=0x873ee68, e=0x8f959e8) at kernel/qapplication.cpp:4379 #51 0xb746f7b8 in KApplication::notify (this=0xbfff610c, receiver=0x873ee68, event=0x8f959e8) at /home/hussam/packages/kdelibs/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #52 0xb60504fe in QCoreApplication::notifyInternal (this=0xbfff610c, receiver=0x873ee68, event=0x8f959e8) at kernel/qcoreapplication.cpp:876 #53 0xb60542c0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x84cfca0) at kernel/qcoreapplication.cpp:1500 #55 0xb605468c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393 #56 0xb60866a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #57 postEventSourceDispatch (s=0x852b3b8) at kernel/qeventdispatcher_glib.cpp:279 #58 0xb424dfaf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #59 0xb424e6e0 in ?? () from /usr/lib/libglib-2.0.so.0 #60 0xb424e97a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #61 0xb6086b37 in QEventDispatcherGlib::processEvents (this=0x84cf8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #62 0xb63baa6a in QGuiEventDispatcherGlib::processEvents (this=0x84cf8a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #63 0xb604e85d in QEventLoop::processEvents (this=0xbfff6024, flags=...) at kernel/qeventloop.cpp:149 #64 0xb604eaf9 in QEventLoop::exec (this=0xbfff6024, flags=...) at kernel/qeventloop.cpp:204 #65 0xb605473a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #66 0xb62f5854 in QApplication::exec () at kernel/qapplication.cpp:3779 #67 0x08049c9e in main (argc=3, argv=0xbfff61f4) at /home/hussam/packages/kdepim/src/kdepim/kmail/main.cpp:145 Reported using DrKonqi
Always reproducible with kdepimlibs/kdepim-runtime/kdepim from 4.7 branch.
It only crashes if the search returns results.
Before it crashes, kmails says: Error during adding a record to table "CollectionPimItemRelation" "columns Collection_id, PimItem_id are not unique Unable to fetch row" in a terminal.
this time, it crashed after second search. Terminal says: $ kmail2(12505): Error while fetching items. 103 "Unknown error. (Cannot list root collection.)" "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('gtk'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'gtk'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('gtk'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'gtk'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('gtk'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'gtk'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('gtk'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'gtk'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('gtk'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'gtk'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('google'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'google'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('gtk'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'gtk'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" ASSERT: "item.isValid()" in file /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp, line 387 *** KMail got signal 6 (Exiting) *** Dead letters dumped. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kmail path = /usr/bin pid = 12505 KCrash: Arguments: /usr/bin/kmail --nocrashhandler KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit sock_file=/home/hussam/.kde4/socket-LARS/kdeinit4__0
This could be a akonadi or nepomuk or something bug. now plasma-desktop crashes when kmail does. Application: Plasma Desktop Shell (plasma-desktop), signal: Aborted [Current thread is 1 (Thread 0xafa5cb30 (LWP 8702))] Thread 2 (Thread 0xa797cb70 (LWP 8703)): #0 0xb7897424 in __kernel_vsyscall () #1 0xb77081ae in poll () from /lib/libc.so.6 #2 0xb25cf10b in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb25c0656 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb25c09ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb6399b97 in QEventDispatcherGlib::processEvents (this=0xa3e04d8, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0xb636185d in QEventLoop::processEvents (this=0xa797c1c0, flags=...) at kernel/qeventloop.cpp:149 #7 0xb6361af9 in QEventLoop::exec (this=0xa797c1c0, flags=...) at kernel/qeventloop.cpp:204 #8 0xb623dc6d in QThread::exec (this=0xa3e11f8) at thread/qthread.cpp:501 #9 0xb633c663 in QInotifyFileSystemWatcherEngine::run (this=0xa3e11f8) at io/qfilesystemwatcher_inotify.cpp:248 #10 0xb6240fba in QThreadPrivate::start (arg=0xa3e11f8) at thread/qthread_unix.cpp:298 #11 0xb21b5a9c in ?? () from /usr/lib/libGL.so.1 #12 0x00000000 in ?? () Thread 1 (Thread 0xafa5cb30 (LWP 8702)): [KCrash Handler] #7 0xb7897424 in __kernel_vsyscall () #8 0xb766db9f in raise () from /lib/libc.so.6 #9 0xb766f525 in abort () from /lib/libc.so.6 #10 0xb623551a in qt_message_output (msgType=QtFatalMsg, buf=0xb443198 "ASSERT: \"parentCollection != m_rootCollection\" in file /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitytreemodel_p.cpp, line 639") at global/qglobal.cpp:2255 #11 0xb623571b in qt_message (msgType=QtFatalMsg, msg=0xb63d93a8 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfd2c724 "D|\305\247\264z\305\247\177\002") at global/qglobal.cpp:2301 #12 0xb6235838 in qFatal (msg=0xb63d93a8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2484 #13 0xb62358c5 in qt_assert (assertion=0xa7c57c44 "parentCollection != m_rootCollection", file=0xa7c57ab4 "/home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitytreemodel_p.cpp", line=639) at global/qglobal.cpp:1999 #14 0xa7b90f66 in Akonadi::EntityTreeModelPrivate::retrieveAncestors (this=0xa503a10, collection=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitytreemodel_p.cpp:639 #15 0xa7b9484f in Akonadi::EntityTreeModelPrivate::monitoredCollectionAdded (this=0xa503a10, collection=..., parent=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitytreemodel_p.cpp:734 #16 0xa7b8604c in Akonadi::EntityTreeModel::qt_static_metacall (_o=0xa278c28, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfd2c974) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitytreemodel.moc:138 #17 0xb637b449 in QMetaObject::activate (sender=0xa79b640, m=0xa7d01518, local_signal_index=6, argv=0xbfd2c974) at kernel/qobject.cpp:3546 #18 0xa7bd18ed in Akonadi::Monitor::collectionAdded (this=0xa79b640, _t1=..., _t2=...) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:225 #19 0xa7bd531f in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x9fb76e0, msg=..., col=..., par=..., dest=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:590 #20 0xa7bd7665 in Akonadi::MonitorPrivate::emitNotification (this=0x9fb76e0, msg=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:281 #21 0xa7b44c17 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x9fb76e0, msg=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/changerecorder_p.h:60 #22 0xa7bd4cdf in Akonadi::MonitorPrivate::flushPipeline (this=0x9fb76e0) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:425 #23 0xa7bd4e00 in Akonadi::MonitorPrivate::dataAvailable (this=0x9fb76e0) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:434 #24 0xa7bd203d in Akonadi::Monitor::qt_static_metacall (_o=0xa79b640, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfd2ccb0) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:133 #25 0xb637b449 in QMetaObject::activate (sender=0xa3f22d0, m=0xa7d0015c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3546 #26 0xa7b7f355 in Akonadi::EntityCacheBase::dataAvailable (this=0xa3f22d0) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitycache_p.moc:102 #27 0xa7bdaf89 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::fetchResult (this=0xa3f22d0, job=0xb4aff10) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitycache_p.h:190 #28 0xa7b7f405 in Akonadi::EntityCacheBase::qt_static_metacall (_o=0xa3f22d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfd2ce38) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitycache_p.moc:54 #29 0xb637b449 in QMetaObject::activate (sender=0xb4aff10, m=0xb68334cc, local_signal_index=3, argv=0xbfd2ce38) at kernel/qobject.cpp:3546 #30 0xb666d665 in KJob::result (this=0xb4aff10, _t1=0xb4aff10) at /home/hussam/packages/kdelibs/src/build/kdecore/kjob.moc:208 #31 0xb666d6b7 in KJob::emitResult (this=0xb4aff10) at /home/hussam/packages/kdelibs/src/kdelibs/kdecore/jobs/kjob.cpp:312 #32 0xa7bcc403 in Akonadi::JobPrivate::delayedEmitResult (this=0xb628498) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/job.cpp:144 #33 0xb6376801 in QMetaCallEvent::placeMetaCall (this=0xa416900, object=0xb4aff10) at kernel/qobject.cpp:524 #34 0xb6380c4b in QObject::event (this=0xb4aff10, e=0xa416900) at kernel/qobject.cpp:1194 #35 0xb5755a9c in notify_helper (e=0xa416900, receiver=0xb4aff10, this=0x9e491e8) at kernel/qapplication.cpp:4518 #36 QApplicationPrivate::notify_helper (this=0x9e491e8, receiver=0xb4aff10, e=0xa416900) at kernel/qapplication.cpp:4490 #37 0xb575bb1d in QApplication::notify (this=0x9e491e8, receiver=0xb4aff10, e=0xa416900) at kernel/qapplication.cpp:4379 #38 0xb6a34ce8 in KApplication::notify (this=0x9e4ce98, receiver=0xb4aff10, event=0xa416900) at /home/hussam/packages/kdelibs/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #39 0xb63634fe in QCoreApplication::notifyInternal (this=0x9e4ce98, receiver=0xb4aff10, event=0xa416900) at kernel/qcoreapplication.cpp:876 #40 0xb63672c0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9d84ca0) at kernel/qcoreapplication.cpp:1500 #42 0xb636768c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393 #43 0xb63996a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #44 postEventSourceDispatch (s=0x9e53b80) at kernel/qeventdispatcher_glib.cpp:279 #45 0xb25c001f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #46 0xb25c0750 in ?? () from /usr/lib/libglib-2.0.so.0 #47 0xb25c09ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #48 0xb6399b37 in QEventDispatcherGlib::processEvents (this=0x9d848a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #49 0xb5818a6a in QGuiEventDispatcherGlib::processEvents (this=0x9d848a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #50 0xb636185d in QEventLoop::processEvents (this=0xbfd2d5e4, flags=...) at kernel/qeventloop.cpp:149 #51 0xb6361af9 in QEventLoop::exec (this=0xbfd2d5e4, flags=...) at kernel/qeventloop.cpp:204 #52 0xb636773a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #53 0xb5753854 in QApplication::exec () at kernel/qapplication.cpp:3779 #54 0xb780b311 in kdemain (argc=1, argv=0xbfd2d7f4) at /home/hussam/packages/kdebase-workspace/src/kde-workspace/plasma/desktop/shell/main.cpp:120 #55 0x0804852b in main (argc=1, argv=0xbfd2d7f4) at /home/hussam/packages/kdebase-workspace/src/build/plasma/desktop/shell/plasma-desktop_dummy.cpp:3
Using mysql backend for akonadi, I now get AgentManager::removeSearch 49 AgentManager::addSearch "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('feedback'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'feedback'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "SPARQL" 49 Known subscriber "kmail2" subscribes again void Nepomuk::Query::QueryServiceClient::close() AgentManager::removeSearch 49 AgentManager::addSearch "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('feedback'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'feedback'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "SPARQL" 49 Database "akonadi" opened using driver "QMYSQL" void Akonadi::NotificationSource::serviceUnregistered(const QString&) Notification source "kmail2" now serving: () void Akonadi::NotificationSource::unsubscribe() "kmail2" X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x4000d5 when kmail crashes upon a search.
ASSERT: "parentCollection != m_rootCollection" in file /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitytreemodel_p.cpp, line 640 this too.
Created attachment 66631 [details] New crash information added by DrKonqi kmail (4.7.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0 - What I was doing when the application crashed: crash still happens with kde 4.7.4 with latest kdepim from 4.7 branch PS. It happens less often when akonadi is using sqlite backend than mysql. -- Backtrace (Reduced): #13 0xb5ea58c5 in qt_assert (assertion=0xb519d53d "item.isValid()", file=0xb51a33c0 "/home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp", line=387) at global/qglobal.cpp:1999 #14 0xb510094a in Akonadi::ItemModel::itemForIndex (this=0x902e2e8, index=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/itemmodel.cpp:387 #15 0xb6e3df17 in KMSearchMessageModel::data (this=0x902e2e8, index=..., role=0) at /home/hussam/packages/kdepim/src/kdepim/kmail/kmsearchmessagemodel.cpp:83 #16 0xb6949aa8 in QSortFilterProxyModel::lessThan (this=0x0, left=..., right=...) at itemviews/qsortfilterproxymodel.cpp:2402 #17 0xb6e3e98c in KMSearchFilterProxyModel::lessThan (this=0x0, left=..., right=...) at /home/hussam/packages/kdepim/src/kdepim/kmail/kmsearchfilterproxymodel.cpp:56
I committed fixes for all the crashes mentioned in this report. Those fixes will be in the 4.8.0 release There may be some nepomuk related issues in here though, but I'm not sure. If you do have nepomuk issues, please file a different report. I will close this one now since it is mainly about kmail2 crashes.