Bug 255995

Summary: KMail crash when i try remove selected letters from Search Folder
Product: [Unmaintained] kmail Reporter: Oleg Tsarev <zabivator>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oleg Tsarev 2010-11-03 22:09:45 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-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
1) Try to search some messages
2) Open "Search Folder"
3) Use "Filter" to filter letters what you want delete
4) Press "Del" button on the keyboard
5) KMail is crashed

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f042e2b4820 (LWP 1638))]

Thread 2 (Thread 0x7f0411eac710 (LWP 2777)):
#0  0x00007f04292183f5 in __pthread_mutex_lock (mutex=0x1b98938) at pthread_mutex_lock.c:61
#1  0x00007f042276bee3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f042276c318 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f042276c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f042b72a566 in QEventDispatcherGlib::processEvents (this=0x1b969f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f042b6ff992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f042b6ffd6c in QEventLoop::exec (this=0x7f0411eabcf0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f042b609d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f042b6e0178 in QInotifyFileSystemWatcherEngine::run (this=0x1b95e00) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f042b60c775 in QThreadPrivate::start (arg=0x1b95e00) at thread/qthread_unix.cpp:248
#10 0x00007f04292159ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f042adcb70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f042e2b4820 (LWP 1638)):
[KCrash Handler]
#5  0x00007f0426c90594 in MessageList::Core::Item::childItemHasIndex (this=0x3d22990, item=0x7f042b063eb8, idx=6684724) at ../../messagelist/core/item.cpp:202
#6  0x00007f0426ca3ad8 in MessageList::Core::Model::index (this=0x11dc220, item=0x7f042b063eb8, column=0) at ../../messagelist/core/model.cpp:508
#7  0x00007f0426ca3c1a in MessageList::Core::Model::parent (this=<value optimized out>, modelIndex=<value optimized out>) at ../../messagelist/core/model.cpp:561
#8  0x00007f042c135821 in QModelIndex::parent (this=0x12e7220, index=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x12e7220, index=<value optimized out>) at itemviews/qtreeview.cpp:2817
#10 0x00007f042c135f9e in QTreeViewPrivate::itemHeight (this=0x134ae70, item=145) at itemviews/qtreeview.cpp:3238
#11 0x00007f042c13b235 in QTreeViewPrivate::coordinateForItem (this=0x134ae70, item=152) at itemviews/qtreeview.cpp:3261
#12 0x00007f042c13bb44 in QTreeView::visualRect (this=0x12e7220, index=...) at itemviews/qtreeview.cpp:1058
#13 0x00007f042c134b51 in QTreeView::visualRegionForSelection (this=0x12e7220, selection=<value optimized out>) at itemviews/qtreeview.cpp:2275
#14 0x00007f042c0f1f17 in QAbstractItemView::selectionChanged (this=0x12e7220, selected=<value optimized out>, deselected=...) at itemviews/qabstractitemview.cpp:3312
#15 0x00007f042c136b6b in QTreeView::selectionChanged (this=0x12e7220, selected=..., deselected=...) at itemviews/qtreeview.cpp:3889
#16 0x00007f042c0fb4e9 in QAbstractItemView::qt_metacall (this=0x12e7220, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaa42f1d0)
    at .moc/release-shared/moc_qabstractitemview.cpp:237
#17 0x00007f042c144775 in QTreeView::qt_metacall (this=0x3d22990, _c=721829560, _id=6684724, _a=0x0) at .moc/release-shared/moc_qtreeview.cpp:119
#18 0x00007f0426cce3e0 in MessageList::Core::View::qt_metacall (this=0x3d22990, _c=721829560, _id=6684724, _a=0x0) at ./view.moc:83
#19 0x00007f042b713e3f in QMetaObject::activate (sender=0x131e940, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#20 0x00007f042c14c837 in QItemSelectionModel::selectionChanged (this=0x3d22990, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#21 0x00007f042c153a22 in QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved (this=0x12f3e70, parent=..., start=<value optimized out>, end=<value optimized out>)
    at itemviews/qitemselectionmodel.cpp:629
#22 0x00007f042c15552e in QItemSelectionModel::qt_metacall (this=0x131e940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaa42f7e0)
    at .moc/release-shared/moc_qitemselectionmodel.cpp:136
#23 0x00007f042b713e3f in QMetaObject::activate (sender=0x11dc220, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#24 0x00007f042b75f2c4 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x3d22990, _t1=<value optimized out>, _t2=36, _t3=36) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#25 0x00007f042b6f8713 in QAbstractItemModel::beginRemoveRows (this=0x11dc220, parent=..., first=36, last=36) at kernel/qabstractitemmodel.cpp:2447
#26 0x00007f0426c91354 in MessageList::Core::Item::takeChildItem (this=0x2ba9360, model=0x11dc220, child=0x2a902b0) at ../../messagelist/core/item.cpp:611
#27 0x00007f0426ca9e46 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Cleanup (this=0x130cfb0, job=<value optimized out>, tStart=<value optimized out>)
    at ../../messagelist/core/model.cpp:3036
#28 0x00007f0426cabb55 in MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x130cfb0, job=0x7f042b063eb8, tStart=...) at ../../messagelist/core/model.cpp:3394
#29 0x00007f0426cabf16 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x130cfb0) at ../../messagelist/core/model.cpp:3750
#30 0x00007f0426cac733 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x130cfb0) at ../../messagelist/core/model.cpp:3965
#31 0x00007f0426cae59e in MessageList::Core::Model::qt_metacall (this=0x11dc220, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaa42ffc0) at ./model.moc:90
#32 0x00007f042b713e3f in QMetaObject::activate (sender=0x130cfe8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#33 0x00007f042b710a63 in QObject::event (this=0x130cfe8, e=0x7fffaa430710) at kernel/qobject.cpp:1212
#34 0x00007f042bbd422c in QApplicationPrivate::notify_helper (this=0xf89940, receiver=0x130cfe8, e=0x7fffaa430710) at kernel/qapplication.cpp:4300
#35 0x00007f042bbda6fb in QApplication::notify (this=0x7fffaa430b80, receiver=0x130cfe8, e=0x7fffaa430710) at kernel/qapplication.cpp:4183
#36 0x00007f042dcd6526 in KApplication::notify (this=0x7fffaa430b80, receiver=0x130cfe8, event=0x7fffaa430710) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x00007f042b70106c in QCoreApplication::notifyInternal (this=0x7fffaa430b80, receiver=0x130cfe8, event=0x7fffaa430710) at kernel/qcoreapplication.cpp:704
#38 0x00007f042b72dd42 in QCoreApplication::sendEvent (this=0xf8d140) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QTimerInfoList::activateTimers (this=0xf8d140) at kernel/qeventdispatcher_unix.cpp:603
#40 0x00007f042b72a824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#41 0x00007f04227688c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007f042276c748 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007f042276c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007f042b72a513 in QEventDispatcherGlib::processEvents (this=0xf4f000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#45 0x00007f042bc8446e in QGuiEventDispatcherGlib::processEvents (this=0x3d22990, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f042b6ff992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f042b6ffd6c in QEventLoop::exec (this=0x7fffaa4309b0, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f042b703aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

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

Possible duplicates by query: bug 223260.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-25 16:59:07 UTC
[Comment from a bug triager]
As described in bug 219964 comment 13, this may be a Qt issue which should be
fixed soon.
Regards
Comment 2 Christophe Marin 2011-02-14 15:11:55 UTC

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