Bug 246820

Summary: Kmail crashes when deleting several messages Maildir
Product: [Unmaintained] kmail Reporter: envite
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description envite 2010-08-05 17:08:23 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
I was hand deleting several messages at the same time from the Trash (that is, not moving them TO the trash, but deleting them FROM the trash) by CTRL-clicking a bunch at a time and hitting DEL key. Kmail crashed exactly one of the times. I wrote some letters in the search bar, hit CTRL-A to select all messages in Trash having that letter combination, and KMail crashed in the moment I hit DEL key.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fb0bd115760 (LWP 17271))]

Thread 5 (Thread 0x7fb09d8ab710 (LWP 17588)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb0bb10ce8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb0b661ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299d250, th=0x4167310) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb0b661f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x4167310) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb0b661f714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x4167310) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb0b661dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb09d8aae30, parent=0x299d250, th=0x4167310) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb0b661e1d8 in ThreadWeaver::Thread::run (this=0x4167310) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb0bb10be35 in QThreadPrivate::start (arg=0x4167310) at thread/qthread_unix.cpp:248
#9  0x00007fb0b44f88ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fb0b9be701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb09d0aa710 (LWP 17603)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb0bb10ce8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb0b661ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299d250, th=0x324fde0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb0b661f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x324fde0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb0b661f714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x324fde0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb0b661f714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x324fde0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb0b661f714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x324fde0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb0b661dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb09d0a9e30, parent=0x299d250, th=0x324fde0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007fb0b661e1d8 in ThreadWeaver::Thread::run (this=0x324fde0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007fb0bb10be35 in QThreadPrivate::start (arg=0x324fde0) at thread/qthread_unix.cpp:248
#11 0x00007fb0b44f88ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007fb0b9be701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb09ee16710 (LWP 17626)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb0bb10ce8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb0b661ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299d250, th=0x464d680) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb0b661f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x464d680) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb0b661dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb09ee15e30, parent=0x299d250, th=0x464d680) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb0b661e1d8 in ThreadWeaver::Thread::run (this=0x464d680) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb0bb10be35 in QThreadPrivate::start (arg=0x464d680) at thread/qthread_unix.cpp:248
#8  0x00007fb0b44f88ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fb0b9be701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb096e6c710 (LWP 17641)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb0bb10ce8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2867ec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb0b661ce56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x299d250, th=0x4cc0860) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb0b661f6fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x4cc0860) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb0b661f714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x4cc0860) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb0b661f714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26489b0, th=0x4cc0860) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb0b661dc7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb096e6be30, parent=0x299d250, th=0x4cc0860) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fb0b661e1d8 in ThreadWeaver::Thread::run (this=0x4cc0860) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fb0bb10be35 in QThreadPrivate::start (arg=0x4cc0860) at thread/qthread_unix.cpp:248
#10 0x00007fb0b44f88ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fb0b9be701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb0bd115760 (LWP 17271)):
[KCrash Handler]
#5  0x00007fb0b5ef65d4 in MessageList::Core::Item::parent (this=0x3995070) at ../../messagelist/core/item.cpp:417
#6  0x00007fb0b5f094e8 in MessageList::Core::Model::index (this=0x28d7c70, item=0x3995070, column=0) at ../../messagelist/core/model.cpp:500
#7  0x00007fb0b5f0964a in MessageList::Core::Model::parent (this=<value optimized out>, modelIndex=<value optimized out>) at ../../messagelist/core/model.cpp:561
#8  0x00007fb0baaff9dd in QModelIndex::parent (this=0x2ada630, index=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x2ada630, index=<value optimized out>) at itemviews/qtreeview.cpp:2818
#10 0x00007fb0bab0015e in QTreeViewPrivate::itemHeight (this=0x2b1f0f0, item=2) at itemviews/qtreeview.cpp:3239
#11 0x00007fb0bab0039f in QTreeViewPrivate::updateScrollBars (this=0x2b1f0f0) at itemviews/qtreeview.cpp:3484
#12 0x00007fb0bab007d4 in QTreeView::updateGeometries (this=0x2ada630) at itemviews/qtreeview.cpp:2746
#13 0x00007fb0b5f12186 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x28dc110) at ../../messagelist/core/model.cpp:3848
#14 0x00007fb0b5f129a3 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x28dc110) at ../../messagelist/core/model.cpp:3965
#15 0x00007fb0b5f1489e in MessageList::Core::Model::qt_metacall (this=0x28d7c70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff97b76610) at ./model.moc:90
#16 0x00007fb0bb20e346 in QMetaObject::activate (sender=0x28dc148, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#17 0x00007fb0bb20aba3 in QObject::event (this=0x28dc148, e=0x7fff97b76d60) at kernel/qobject.cpp:1212
#18 0x00007fb0ba59b32c in QApplicationPrivate::notify_helper (this=0x24f8d20, receiver=0x28dc148, e=0x7fff97b76d60) at kernel/qapplication.cpp:4302
#19 0x00007fb0ba5a180b in QApplication::notify (this=0x7fff97b771d0, receiver=0x28dc148, e=0x7fff97b76d60) at kernel/qapplication.cpp:4185
#20 0x00007fb0bcb36836 in KApplication::notify (this=0x7fff97b771d0, receiver=0x28dc148, event=0x7fff97b76d60) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007fb0bb1fb15c in QCoreApplication::notifyInternal (this=0x7fff97b771d0, receiver=0x28dc148, event=0x7fff97b76d60) at kernel/qcoreapplication.cpp:726
#22 0x00007fb0bb227ed2 in QCoreApplication::sendEvent (this=0x24fc660) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x24fc660) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00007fb0bb224a48 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#26 0x00007fb0b17da6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007fb0b17de538 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007fb0b17de6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007fb0bb224713 in QEventDispatcherGlib::processEvents (this=0x2340840, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007fb0ba64b14e in QGuiEventDispatcherGlib::processEvents (this=0x3995070, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fb0bb1f9a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fb0bb1f9e5c in QEventLoop::exec (this=0x7fff97b77000, flags=) at kernel/qeventloop.cpp:201
#33 0x00007fb0bb1feaeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#34 0x0000000000403452 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 227770, bug 223245.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-08-05 23:33:09 UTC

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