Bug 235715

Summary: Crash when moving lots of mails on IMAP server
Product: [Unmaintained] kmail Reporter: Malte S. Stretz <mss>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern, bve, tjm1983
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Malte S. Stretz 2010-04-29 14:26:31 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-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I just changed my Sieve script to filter Spam mails. The version beforehand moved mails to Trash (can't remember why), now I chose my Spam folder. To move all my Spam mail (~5000+) from Trash to Spam I created a Search looking for X-Spam-Flag == YES, chose the Search folder, selected all mail and dragged and dropped them into the Spam folder.

This took ages so I went away. I think first I tried to open my Inbox which failed because KMail was busy. Anyway, when I just came back to my place after an hour or so, KMail was crashed.

I just restarted KMail and it moved/copied ~5800 mails to the Spam folder while I still have ~500 (spam) mails in the Trash folder.

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

Thread 2 (Thread 0x7fb294385710 (LWP 2597)):
#0  0x00007fb2b2056f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb2a9a054a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb2a9a058fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fb2b29c1566 in QEventDispatcherGlib::processEvents (this=0x1c42c30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fb2b2996992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb2b2996d6c in QEventLoop::exec (this=0x7fb294384cf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fb2b28a0d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fb2b2977178 in QInotifyFileSystemWatcherEngine::run (this=0x1b0d5d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb2b28a3775 in QThreadPrivate::start (arg=0x1b0d5d0) at thread/qthread_unix.cpp:248
#9  0x00007fb2b04ad9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fb2b206369d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb2b5544820 (LWP 2478)):
[KCrash Handler]
#5  0x00007fb2b29ab0a3 in QObjectPrivate::isSignalConnected (sender=0x18ad6a70, m=<value optimized out>, local_signal_index=1, argv=0x7fff91c69d40) at kernel/qobject_p.h:227
#6  QMetaObject::activate (sender=0x18ad6a70, m=<value optimized out>, local_signal_index=1, argv=0x7fff91c69d40) at kernel/qobject.cpp:3218
#7  0x00007fb2abe025b0 in KPIM::ProgressItem::progressItemProgress (this=0x3, _t1=0x18ad6a70, _t2=2800) at ./progressmanager.moc:114
#8  0x00007fb2b3f835a3 in KPIM::ProgressItem::updateProgress (this=0xd88d30, folder=0xc385a0) at ../../libkdepim/progressmanager.h:153
#9  KMAcctImap::postProcessNewMail (this=0xd88d30, folder=0xc385a0) at ../../kmail/kmacctimap.cpp:402
#10 0x00007fb2b3f8475e in KMAcctImap::qt_metacall (this=0xd88d30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff91c6a140) at ./kmacctimap.moc:90
#11 0x00007fb2b29aae3f in QMetaObject::activate (sender=0xc06230, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#12 0x00007fb2b3f941fd in KMFolderImap::folderComplete (this=0x3, _t1=0xc06230, _t2=true) at ./kmfolderimap.moc:212
#13 0x00007fb2b3f978b0 in KMFolderImap::finishMailCheck (this=0xc06230, dbg=0x7fb2b432c71f "getMessage", state=KMFolderImap::imapFinished) at ../../kmail/kmfolderimap.cpp:2483
#14 0x00007fb2b3f9eb44 in KMFolderImap::getMessagesResult (this=0xc06230, job=0x54a5d00, lastSet=true) at ../../kmail/kmfolderimap.cpp:1767
#15 0x00007fb2b3fa9769 in KMFolderImap::qt_metacall (this=0xc06230, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff91c6a3f0) at ./kmfolderimap.moc:191
#16 0x00007fb2b29aae3f in QMetaObject::activate (sender=0x54a5d00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#17 0x00007fb2b499cb82 in KJob::result (this=0x3, _t1=0x54a5d00) at ./kjob.moc:194
#18 0x00007fb2b499ce20 in KJob::emitResult (this=0x54a5d00) at ../../kdecore/jobs/kjob.cpp:312
#19 0x00007fb2af28e503 in KIO::SimpleJob::slotFinished (this=0x54a5d00) at ../../kio/kio/job.cpp:486
#20 0x00007fb2af28eec7 in KIO::TransferJob::slotFinished (this=0x54a5d00) at ../../kio/kio/job.cpp:1058
#21 0x00007fb2af28caf1 in KIO::TransferJob::qt_metacall (this=0x54a5d00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff91c6a7f0) at ./jobclasses.moc:367
#22 0x00007fb2b29aae3f in QMetaObject::activate (sender=0xab1df0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#23 0x00007fb2af34e271 in KIO::SlaveInterface::dispatch (this=0xab1df0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#24 0x00007fb2af34b5e3 in KIO::SlaveInterface::dispatch (this=0xab1df0) at ../../kio/kio/slaveinterface.cpp:91
#25 0x00007fb2af33fa46 in KIO::Slave::gotInput (this=0xab1df0) at ../../kio/kio/slave.cpp:324
#26 0x00007fb2af33fc2c in KIO::Slave::qt_metacall (this=0xab1df0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff91c6ac10) at ./slave.moc:82
#27 0x00007fb2b29aae3f in QMetaObject::activate (sender=0xaa3c40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#28 0x00007fb2af25d9d7 in KIO::ConnectionPrivate::dequeue (this=0x16ee010) at ../../kio/kio/connection.cpp:82
#29 0x00007fb2af25dafd in KIO::Connection::qt_metacall (this=0xaa3c40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x5cc22d0) at ./connection.moc:79
#30 0x00007fb2b29a7d49 in QObject::event (this=0xaa3c40, e=0x967d470) at kernel/qobject.cpp:1248
#31 0x00007fb2b2e6b22c in QApplicationPrivate::notify_helper (this=0x9400c0, receiver=0xaa3c40, e=0x967d470) at kernel/qapplication.cpp:4300
#32 0x00007fb2b2e716fb in QApplication::notify (this=0x7fff91c6b830, receiver=0xaa3c40, e=0x967d470) at kernel/qapplication.cpp:4183
#33 0x00007fb2b4f6d526 in KApplication::notify (this=0x7fff91c6b830, receiver=0xaa3c40, event=0x967d470) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007fb2b299806c in QCoreApplication::notifyInternal (this=0x7fff91c6b830, receiver=0xaa3c40, event=0x967d470) at kernel/qcoreapplication.cpp:704
#35 0x00007fb2b299a7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x8aa8b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x8aa8b0) at kernel/qcoreapplication.cpp:1345
#37 0x00007fb2b29c19d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007fb2a9a018c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fb2a9a05748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fb2a9a058fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fb2b29c1513 in QEventDispatcherGlib::processEvents (this=0x8aa000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007fb2b2f1b46e in QGuiEventDispatcherGlib::processEvents (this=0x3, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fb2b2996992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fb2b2996d6c in QEventLoop::exec (this=0x7fff91c6b660, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fb2b299aaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-23 14:58:00 UTC
*** Bug 242563 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2010-07-05 14:43:56 UTC
*** Bug 243406 has been marked as a duplicate of this bug. ***
Comment 3 Björn Ruberg 2010-08-09 01:03:12 UTC

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