<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>255995</bug_id>
          
          <creation_ts>2010-11-03 22:09:45 +0000</creation_ts>
          <short_desc>KMail crash when i try remove selected letters from Search Folder</short_desc>
          <delta_ts>2011-02-14 15:11:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>1.13.2</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>219964</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Oleg Tsarev">zabivator</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>andresbajotierra</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1040064</commentid>
    <comment_count>0</comment_count>
    <who name="Oleg Tsarev">zabivator</who>
    <bug_when>2010-11-03 22:09:45 +0000</bug_when>
    <thetext>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 &quot;Search Folder&quot;
3) Use &quot;Filter&quot; to filter letters what you want delete
4) Press &quot;Del&quot; 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f042b6ff992 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, modelIndex=&lt;value optimized out&gt;) at ../../messagelist/core/model.cpp:561
#8  0x00007f042c135821 in QModelIndex::parent (this=0x12e7220, index=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x12e7220, index=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at itemviews/qtreeview.cpp:2275
#14 0x00007f042c0f1f17 in QAbstractItemView::selectionChanged (this=0x12e7220, selected=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, _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=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x0) at kernel/qobject.cpp:3293
#20 0x00007f042c14c837 in QItemSelectionModel::selectionChanged (this=0x3d22990, _t1=&lt;value optimized out&gt;, _t2=&lt;value optimized out&gt;) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#21 0x00007f042c153a22 in QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved (this=0x12f3e70, parent=..., start=&lt;value optimized out&gt;, end=&lt;value optimized out&gt;)
    at itemviews/qitemselectionmodel.cpp:629
#22 0x00007f042c15552e in QItemSelectionModel::qt_metacall (this=0x131e940, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fffaa42f7e0)
    at .moc/release-shared/moc_qitemselectionmodel.cpp:136
#23 0x00007f042b713e3f in QMetaObject::activate (sender=0x11dc220, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x0) at kernel/qobject.cpp:3293
#24 0x00007f042b75f2c4 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x3d22990, _t1=&lt;value optimized out&gt;, _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=&lt;value optimized out&gt;, tStart=&lt;value optimized out&gt;)
    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=&lt;value optimized out&gt;, _a=0x7fffaa42ffc0) at ./model.moc:90
#32 0x00007f042b713e3f in QMetaObject::activate (sender=0x130cfe8, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#45 0x00007f042bc8446e in QGuiEventDispatcherGlib::processEvents (this=0x3d22990, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f042b6ff992 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1064040</commentid>
    <comment_count>1</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-12-25 16:59:07 +0000</bug_when>
    <thetext>[Comment from a bug triager]
As described in bug 219964 comment 13, this may be a Qt issue which should be
fixed soon.
Regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1087678</commentid>
    <comment_count>2</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-02-14 15:11:55 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 219964 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>