[Bug 214185] New: KMail hangs, eating all CPU (seems to hang in KMMsgDict::update)

Daniel Hahler kde-bugzilla at thequod.de
Wed Nov 11 22:03:45 GMT 2009


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

           Summary: KMail hangs, eating all CPU (seems to hang in
                    KMMsgDict::update)
           Product: kmail
           Version: 1.12.2
          Platform: Ubuntu Packages
        OS/Version: unspecified
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kde-bugzilla at thequod.de


Version:           1.12.2 (using KDE 4.3.2)
Installed from:    Ubuntu Packages

KMail currently hangs here, eating all CPU.

I do not remember exactly what I've done before, but something like:
 - report spam from the GMail account Spam folder
 - moving some messages to the right gmail folder (false positives), wondering
why KMail has to download all mails from the folder in the move process
(another bug I think)
 - the last action was probably some remove

Here's the first backtrace from gdb, followed by the tips of some
continue-and-gdb-again processes:

#0 KMMsgDictREntry::get (this=0x92a3388, msg=0xe17a480, index=252611,
newIndex=252610) at ../../kmail/kmmsgdict.cpp:108
#1 KMMsgDict::update (this=0x92a3388, msg=0xe17a480, index=252611,
newIndex=252610) at ../../kmail/kmmsgdict.cpp:318
#2 0xb6bf2113 in KMMsgList::remove (this=0x9a39118, idx=162348) at
../../kmail/kmmsglist.cpp:151
#3 0xb6bf21af in KMMsgList::take (this=0x9a39118, idx=162348) at
../../kmail/kmmsglist.cpp:165
#4 0xb6d794e7 in KMFolderIndex::takeIndexEntry (this=0x9a390c8, idx=162348) at
../../kmail/kmfolderindex.cpp:530
#5 0xb6b7d3e6 in FolderStorage::removeMsg (this=0x9a390c8, idx=162348) at
../../kmail/folderstorage.cpp:397
#6 0xb6c2e87a in KMFolderImap::removeMsg (this=0x9a390c8, idx=162348,
quiet=true) at ../../kmail/kmfolderimap.cpp:292
#7 0xb6c363fd in KMFolderImap::slotListFolderResult (this=0x9a390c8,
job=0xb07a088) at ../../kmail/kmfolderimap.cpp:1368
#8 0xb6c3c290 in KMFolderImap::qt_metacall (this=0x9a390c8,
_c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfae5dc8) at
./kmfolderimap.moc:182
#9 0xb5d4bc3a in QMetaObject::metacall (object=0x9a390c8, cl=252611, idx=63,
argv=0xbfae5dc8) at kernel/qmetaobject.cpp:237
#10 0xb5d5a6fb in QMetaObject::activate (sender=0xb07a088, m=0xb73acd68,
local_signal_index=3, argv=0xbfae5dc8) at kernel/qobject.cpp:3398
#11 0xb7246fe3 in KJob::result (this=0xb07a088, _t1=0xb07a088) at
./kjob.moc:188
#12 0xb7247469 in KJob::emitResult (this=0xb07a088) at
../../kdecore/jobs/kjob.cpp:304
#13 0xb48de660 in KIO::SimpleJob::slotFinished (this=0xb07a088) at
../../kio/kio/job.cpp:477
#14 0xb48de7cb in KIO::ListJob::slotFinished (this=0xb07a088) at
../../kio/kio/job.cpp:2408
#15 0xb48e53ee in KIO::ListJob::qt_metacall (this=0xb07a088,
_c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbfae600c) at
./jobclasses.moc:764
#16 0xb5d4bc3a in QMetaObject::metacall (object=0xb07a088, cl=252611, idx=43,
argv=0xbfae600c) at kernel/qmetaobject.cpp:237
#17 0xb5d5a6fb in QMetaObject::activate (sender=0xaf82ce8, m=0xb4a90f64,
local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3398
#18 0xb49a8557 in KIO::SlaveInterface::finished (this=0xaf82ce8) at
./slaveinterface.moc:165
#19 0xb49ac44d in KIO::SlaveInterface::dispatch (this=0xaf82ce8, _cmd=104,
rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#20 0xb49a8a13 in KIO::SlaveInterface::dispatch (this=0xaf82ce8) at
../../kio/kio/slaveinterface.cpp:91
#21 0xb499aaea in KIO::Slave::gotInput (this=0xaf82ce8) at
../../kio/kio/slave.cpp:322
#22 0xb499cee3 in KIO::Slave::qt_metacall (this=0xaf82ce8,
_c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfae62ec) at ./slave.moc:76
#23 0xb5d4bc3a in QMetaObject::metacall (object=0xaf82ce8, cl=252611, idx=30,
argv=0xbfae62ec) at kernel/qmetaobject.cpp:237
#24 0xb5d5a6fb in QMetaObject::activate (sender=0xafad4e8, m=0xb4a8d8a0,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3398
#25 0xb48a4f97 in KIO::Connection::readyRead (this=0xafad4e8) at
./connection.moc:86
#26 0xb48a6d5e in KIO::ConnectionPrivate::dequeue (this=0xafad298) at
../../kio/kio/connection.cpp:82
#27 0xb48a6e8e in KIO::Connection::qt_metacall (this=0xafad4e8,
_c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x103d8c18) at ./connection.moc:73
#28 0xb5d4bc3a in QMetaObject::metacall (object=0xafad4e8, cl=252611, idx=5,
argv=0x103d8c18) at kernel/qmetaobject.cpp:237
#29 0xb5d56306 in QMetaCallEvent::placeMetaCall (this=0x9186d48,
object=0xafad4e8) at kernel/qobject.cpp:562
#30 0xb5d5735e in QObject::event (this=0xafad4e8, e=0x9186d48) at
kernel/qobject.cpp:1246
#31 0xb5f8ec6c in QApplicationPrivate::notify_helper (this=0x90e24f8,
receiver=0xafad4e8, e=0x9186d48) at kernel/qapplication.cpp:4277
#32 0xb5f95a1e in QApplication::notify (this=0xbfae6c50, receiver=0xafad4e8,
e=0x9186d48) at kernel/qapplication.cpp:3702
#33 0xb7587bfa in KApplication::notify (this=0xbfae6c50, receiver=0xafad4e8,
event=0x9186d48) at ../../kdeui/kernel/kapplication.cpp:302
#34 0xb5d469cb in QCoreApplication::notifyInternal (this=0xbfae6c50,
receiver=0xafad4e8, event=0x9186d48) at kernel/qcoreapplication.cpp:704
#35 0xb5d49403 in QCoreApplication::sendEvent (receiver=0x0, event_type=0,
data=0x90cdc80)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x90cdc80) at kernel/qcoreapplication.cpp:1345
#37 0xb5d4956d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1238
#38 0xb5d729ff in QCoreApplication::sendPostedEvents (s=0x90f3258) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x90f3258) at
kernel/qeventdispatcher_glib.cpp:276
#40 0xb3a5ee78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0xb3a62720 in ?? () from /lib/libglib-2.0.so.0
#42 0xb3a62853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0xb5d724f5 in QEventDispatcherGlib::processEvents (this=0x90cd880,
flags=...) at kernel/qeventdispatcher_glib.cpp:407
#44 0xb6042635 in QGuiEventDispatcherGlib::processEvents (this=0x90cd880,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#45 0xb5d45019 in QEventLoop::processEvents (this=0xbfae6b14, flags=DWARF-2
expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#46 0xb5d4546a in QEventLoop::exec (this=0xbfae6b14, flags=...) at
kernel/qeventloop.cpp:201
#47 0xb5d4962f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#48 0xb5f8ed07 in QApplication::exec () at kernel/qapplication.cpp:3616
#49 0x0804a702 in main (argc=3, argv=0xbfae6e04) at ../../kmail/main.cpp:146

#0 0xb6b74534 in FolderStorage::rDict (this=0x92a3388, msg=0xd84f1a8,
index=172217, newIndex=172216) at ../../kmail/folderstorage.h:596
#1 KMMsgDict::update (this=0x92a3388, msg=0xd84f1a8, index=172217,
newIndex=172216) at ../../kmail/kmmsgdict.cpp:316
#2 0xb6bf2113 in KMMsgList::remove (this=0x9a39118, idx=162348) at
../../kmail/kmmsglist.cpp:151

#0 KMMsgDictREntry::get (this=0x92a3388, msg=0xe330bd0, index=266644,
newIndex=266643) at ../../kmail/kmmsgdict.cpp:108
#1 KMMsgDict::update (this=0x92a3388, msg=0xe330bd0, index=266644,
newIndex=266643) at ../../kmail/kmmsgdict.cpp:318
#2 0xb6bf2113 in KMMsgList::remove (this=0x9a39118, idx=162348) at
../../kmail/kmmsglist.cpp:151

#0 KMMsgDict::update (this=0x92a3388, msg=0xdf1a848, index=230792,
newIndex=230791) at ../../kmail/kmmsgdict.cpp:315
#1 0xb6bf2113 in KMMsgList::remove (this=0x9a39118, idx=162348) at
../../kmail/kmmsglist.cpp:151

ProblemType: Bug
Architecture: i386
Date: Wed Nov 11 22:39:08 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: kmail 4:4.3.2-0ubuntu6
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.49-generic
SourcePackage: kdepim
Uname: Linux 2.6.31-15-generic i686

(via https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/480962)

-- 
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