[Bug 206592] New: delete 2200+ imap messages from imap spam folder crashes kmail

Kevin Colyer kevin at ywambrussels.be
Mon Sep 7 08:08:26 BST 2009


https://bugs.kde.org/show_bug.cgi?id=206592

           Summary: delete 2200+ imap messages from imap spam folder
                    crashes kmail
           Product: kontact
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kevin at ywambrussels.be


Application that crashed: kontact
Version of the application: 4.3.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Kontact open and idle over the weekend. Time to empty the spam folder (IMAP).
2200 spam messages in Inbox. First I marked all as read. OK. Then selected all
and deleted them (shift-delete). Kmail seg-faults at this point. (IMAP server
is dovecot)

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 0 (LWP 7631)]

Thread 5 (Thread 0xacf49b90 (LWP 4551)):
#0  0xb7fcb430 in __kernel_vsyscall ()
#1  0xb50f00e5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb59682ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b4d172 in QWaitCondition::wait (this=0x95b8018, mutex=0x944f950,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0d7b148 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b8000,
th=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0d7deec in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x92a6ec0, th=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0d79d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x95b8000, th=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0d7dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa1e9780, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa1e9780, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa1e9780, previous=0xadf5620) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb0d7bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xacf49330,
parent=0x95b8000, th=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#14 0xb0d7c5fb in ThreadWeaver::Thread::run (this=0xa1e9780) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#15 0xb5b4c132 in QThreadPrivate::start (arg=0xa1e9780) at
thread/qthread_unix.cpp:188
#16 0xb50ec4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb595949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xab7ffb90 (LWP 4557)):
#0  0xb7fcb430 in __kernel_vsyscall ()
#1  0xb50f00e5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb59682ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b4d172 in QWaitCondition::wait (this=0x95b8018, mutex=0x944f950,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0d7b148 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b8000,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0d7deec in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x92a6ec0, th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0d79d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x95b8000, th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0d7dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa0db970, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa0db970, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa0db970, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa0db970, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#16 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa0db970, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#17 0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#18 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa0db970, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#19 0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#20 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0xa0db970, previous=0x9f107e8) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#21 0xb0d7bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xab7ff330,
parent=0x95b8000, th=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#22 0xb0d7c5fb in ThreadWeaver::Thread::run (this=0xa0db970) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#23 0xb5b4c132 in QThreadPrivate::start (arg=0xa0db970) at
thread/qthread_unix.cpp:188
#24 0xb50ec4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#25 0xb595949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaaffeb90 (LWP 4560)):
#0  0xb7fcb430 in __kernel_vsyscall ()
#1  0xb50f00e5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb59682ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b4d172 in QWaitCondition::wait (this=0x95b8018, mutex=0x944f950,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0d7b148 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b8000,
th=0x9d22d90) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0d7deec in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x92a6ec0, th=0x9d22d90) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0d79d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x95b8000, th=0x9d22d90) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0d7dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0x9d22d90) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0x9d22d90, previous=0x0) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0d7e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0x9d22d90) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0x9d22d90, previous=0xa2e3710) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb0d7bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xaaffe330,
parent=0x95b8000, th=0x9d22d90) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#12 0xb0d7c5fb in ThreadWeaver::Thread::run (this=0x9d22d90) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#13 0xb5b4c132 in QThreadPrivate::start (arg=0x9d22d90) at
thread/qthread_unix.cpp:188
#14 0xb50ec4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb595949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa9ff2b90 (LWP 4566)):
#0  0xb7fcb430 in __kernel_vsyscall ()
#1  0xb50f00e5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb59682ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b4d172 in QWaitCondition::wait (this=0x95b8018, mutex=0x944f950,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0d7b148 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x95b8000,
th=0x9ec2cd8) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0d7deec in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x92a6ec0, th=0x9ec2cd8) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0d79d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x95b8000, th=0x9ec2cd8) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0d7dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x92a6ec0,
th=0x9ec2cd8) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0d7b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x95b8000,
th=0x9ec2cd8, previous=0xb401b88) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0d7bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa9ff2330,
parent=0x95b8000, th=0x9ec2cd8) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#10 0xb0d7c5fb in ThreadWeaver::Thread::run (this=0x9ec2cd8) at
/build/buildd/kde4libs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#11 0xb5b4c132 in QThreadPrivate::start (arg=0x9ec2cd8) at
thread/qthread_unix.cpp:188
#12 0xb50ec4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb595949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb485a700 (LWP 7631)):
[KCrash Handler]
#6  0xb1231f07 in KMMoveCommand (this=0xe04ef78, destFolder=0x0,
msgList=@0xbffe5268) at /build/buildd/kdepim-4.3.1/kmail/kmcommands.cpp:2005
#7  0xb126e06a in KMMainWidget::moveMessageSet (this=0x9693430, set=0xe28d328,
destination=0x0, confirmOnDeletion=true) at
/build/buildd/kdepim-4.3.1/kmail/kmmainwidget.cpp:1730
#8  0xb126e70a in KMMainWidget::slotDeleteMsg (this=0x9693430,
confirmDelete=false) at /build/buildd/kdepim-4.3.1/kmail/kmmainwidget.cpp:1804
#9  0xb12822f8 in KMMainWidget::qt_metacall (this=0x9693430,
_c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbffe53cc) at
/build/buildd/kdepim-4.3.1/obj-i486-linux-gnu/kmail/kmmainwidget.moc:415
#10 0xb5c561b8 in QMetaObject::activate (sender=0x9cdda68, from_signal_index=5,
to_signal_index=6, argv=0xbffe53cc) at kernel/qobject.cpp:3113
#11 0xb5c565f0 in QMetaObject::activate (sender=0x9cdda68, m=0xb696ce48,
from_local_signal_index=1, to_local_signal_index=2, argv=0xbffe53cc) at
kernel/qobject.cpp:3207
#12 0xb60fd6c1 in QAction::triggered (this=0x9cdda68, _t1=false) at
.moc/release-shared/moc_qaction.cpp:236
#13 0xb60fec3f in QAction::activate (this=0x9cdda68, event=QAction::Trigger) at
kernel/qaction.cpp:1160
#14 0xb610173b in QAction::event (this=0x9cdda68, e=0xbffe57f4) at
kernel/qaction.cpp:1079
#15 0xb6c16d59 in KAction::event (this=0x9cdda68, event=0xbffe57f4) at
/build/buildd/kde4libs-4.3.1/kdeui/actions/kaction.cpp:88
#16 0xb6103d3c in QApplicationPrivate::notify_helper (this=0x8e8d4b0,
receiver=0x9cdda68, e=0xbffe57f4) at kernel/qapplication.cpp:4056
#17 0xb610c03e in QApplication::notify (this=0xbffe7698, receiver=0x9cdda68,
e=0xbffe57f4) at kernel/qapplication.cpp:3603
#18 0xb6cfc85d in KApplication::notify (this=0xbffe7698, receiver=0x9cdda68,
event=0xbffe57f4) at
/build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#19 0xb5c40bcb in QCoreApplication::notifyInternal (this=0xbffe7698,
receiver=0x9cdda68, event=0xbffe57f4) at kernel/qcoreapplication.cpp:610
#20 0xb613d108 in QShortcutMap::dispatchEvent (this=0x8e8d550, e=0xbffe5b7c) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 0xb613f01f in QShortcutMap::tryShortcutEvent (this=0x8e8d550, o=0x95ead78,
e=0xbffe5b7c) at kernel/qshortcutmap.cpp:369
#22 0xb610d2e0 in QApplication::notify (this=0xbffe7698, receiver=0x95ead78,
e=0xbffe5b7c) at kernel/qapplication.cpp:3645
#23 0xb6cfc85d in KApplication::notify (this=0xbffe7698, receiver=0x95ead78,
event=0xbffe5b7c) at
/build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#24 0xb5c40bcb in QCoreApplication::notifyInternal (this=0xbffe7698,
receiver=0x95ead78, event=0xbffe5b7c) at kernel/qcoreapplication.cpp:610
#25 0xb6104c1e in qt_sendSpontaneousEvent (receiver=0x95ead78,
event=0x656c6574) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#26 0xb61a2720 in QKeyMapper::sendKeyEvent (keyWidget=0x95ead78, grab=false,
type=QEvent::KeyPress, code=16777223, modifiers={i = -1073849144},
text=@0xbffe5cf4, autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=119, nativeVirtualKey=65535,
nativeModifiers=17) at kernel/qkeymapper_x11.cpp:1675
#27 0xb61a48ee in QKeyMapperPrivate::translateKeyEvent (this=0x8eb4b60,
keyWidget=0x95ead78, event=0xbffe73ac, grab=false) at
kernel/qkeymapper_x11.cpp:1645
#28 0xb6179f8c in QApplication::x11ProcessEvent (this=0xbffe7698,
event=0xbffe73ac) at kernel/qapplication_x11.cpp:3443
#29 0xb61a637a in x11EventSourceDispatch (s=0x8e78868, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0xb4d11b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb4d150eb in ?? () from /usr/lib/libglib-2.0.so.0
#32 0xb4d15268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0xb5c6c2f8 in QEventDispatcherGlib::processEvents (this=0x8e50028, flags={i
= -1073842840}) at kernel/qeventdispatcher_glib.cpp:327
#34 0xb61a5a75 in QGuiEventDispatcherGlib::processEvents (this=0x8e50028,
flags={i = -1073842792}) at kernel/qguieventdispatcher_glib.cpp:202
#35 0xb5c3f1fa in QEventLoop::processEvents (this=0xbffe7610, flags={i =
-1073842728}) at kernel/qeventloop.cpp:149
#36 0xb5c3f642 in QEventLoop::exec (this=0xbffe7610, flags={i = -1073842664})
at kernel/qeventloop.cpp:201
#37 0xb5c41ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0xb6103bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#39 0x0804bfef in main (argc=1, argv=0xbffe7994) at
/build/buildd/kdepim-4.3.1/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 206040

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list