Bug 233482

Summary: kmail crash when doing maintenance
Product: [Unmaintained] kmail Reporter: bzhbok
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bzhbok 2010-04-06 13:16:17 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-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I'm using kmail with several IMAP accounts, and 1 IMAP deconnected account. The bug is more probably related my main IMAP account, that is quite bloated (high number of messages, automatic filter to sub-folder).
Kmail was really slow : several seconds to load a folder (and I'm sure my internet connection is not responsible for it). I though making maintenance may help : I clicked "expire old messages" (which I never done in 2 years of using kmail). I then tried to browse folder to read some emails and this is when kmail crashes. After the crash there where still a kmail processus alive. I killed it (-9) and restart kmail. Every thing was back to normal. The new messages that kmail failed to download before where there.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb76fd48a in vtable for KMenu () from /usr/lib/libkdeui.so.5
#7  0xb6d70c52 in KMail::ISubject::notify (this=0x8a0c0f0) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.2/kmail/isubject.cpp:33
#8  0xb6a22482 in KMMessage::updateBodyPart (this=0x8a0c080, partSpecifier=..., data=...) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.2/kmail/kmmessage.cpp:3185
#9  0xb6d45a20 in KMail::ImapJob::slotGetMessageResult (this=0x9884618, job=0xa2160a0) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.2/kmail/imapjob.cpp:435
#10 0xb6d4797f in KMail::ImapJob::qt_metacall (this=0x9884618, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff49018) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.2/kmail/imapjob.moc:88
#11 0xb66c206a in QMetaObject::metacall (object=0x9884618, cl=1229794816, idx=12, argv=0xbff49018) at kernel/qmetaobject.cpp:237
#12 0xb66d065f in QMetaObject::activate (sender=0xa2160a0, m=0xb734bec8, local_signal_index=3, argv=<value optimized out>) at kernel/qobject.cpp:3293
#13 0xb71dea63 in KJob::result (this=0xa2160a0, _t1=0xa2160a0) at /home/phil/kdemod/core/kdelibs/src/build/kdecore/kjob.moc:194
#14 0xb71dedc8 in KJob::emitResult (this=0xa2160a0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kdecore/jobs/kjob.cpp:312
#15 0xb5284dd0 in KIO::SimpleJob::slotFinished (this=0xa2160a0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kio/kio/job.cpp:486
#16 0xb52852fd in KIO::TransferJob::slotFinished (this=0xa2160a0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kio/kio/job.cpp:1058
#17 0xb52831e3 in KIO::TransferJob::qt_metacall (this=0xa2160a0, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbff492ac) at /home/phil/kdemod/core/kdelibs/src/build/kio/jobclasses.moc:367
#18 0xb66c206a in QMetaObject::metacall (object=0xa2160a0, cl=1229794816, idx=47, argv=0xbff492ac) at kernel/qmetaobject.cpp:237
#19 0xb66d065f in QMetaObject::activate (sender=0x9b1ae78, m=0xb5432fc4, local_signal_index=4, argv=<value optimized out>) at kernel/qobject.cpp:3293
#20 0xb534eaf7 in KIO::SlaveInterface::finished (this=0x9b1ae78) at /home/phil/kdemod/core/kdelibs/src/build/kio/slaveinterface.moc:171
#21 0xb5351e1d in KIO::SlaveInterface::dispatch (this=0x9b1ae78, _cmd=104, rawdata=...) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:175
#22 0xb534efb3 in KIO::SlaveInterface::dispatch (this=0x9b1ae78) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:91
#23 0xb5342498 in KIO::Slave::gotInput (this=0x9b1ae78) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kio/kio/slave.cpp:324
#24 0xb53426a3 in KIO::Slave::qt_metacall (this=0x9b1ae78, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbff495bc) at /home/phil/kdemod/core/kdelibs/src/build/kio/slave.moc:82
#25 0xb66c206a in QMetaObject::metacall (object=0x9b1ae78, cl=1229794816, idx=30, argv=0xbff495bc) at kernel/qmetaobject.cpp:237
#26 0xb66d065f in QMetaObject::activate (sender=0x8fffe28, m=0xb542f8a0, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3293
#27 0xb524db07 in KIO::Connection::readyRead (this=0x8fffe28) at /home/phil/kdemod/core/kdelibs/src/build/kio/connection.moc:92
#28 0xb524feae in KIO::ConnectionPrivate::dequeue (this=0x902de70) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kio/kio/connection.cpp:82
#29 0xb524ffde in KIO::Connection::qt_metacall (this=0x8fffe28, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x9eeb080) at /home/phil/kdemod/core/kdelibs/src/build/kio/connection.moc:79
#30 0xb66c206a in QMetaObject::metacall (object=0x8fffe28, cl=1229794816, idx=5, argv=0x9eeb080) at kernel/qmetaobject.cpp:237
#31 0xb66cc586 in QMetaCallEvent::placeMetaCall (this=0xa9cc6d8, object=0x8fffe28) at kernel/qobject.cpp:561
#32 0xb66cd6be in QObject::event (this=0x8fffe28, e=0xa9cc6d8) at kernel/qobject.cpp:1248
#33 0xb5c1be4c in QApplicationPrivate::notify_helper (this=0x88bdea0, receiver=0x8fffe28, e=0xa9cc6d8) at kernel/qapplication.cpp:4300
#34 0xb5c22a5e in QApplication::notify (this=0xbff49fc0, receiver=0x8fffe28, e=0xa9cc6d8) at kernel/qapplication.cpp:3704
#35 0xb75322ca in KApplication::notify (this=0xbff49fc0, receiver=0x8fffe28, event=0xa9cc6d8) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#36 0xb66bce6b in QCoreApplication::notifyInternal (this=0xbff49fc0, receiver=0x8fffe28, event=0xa9cc6d8) at kernel/qcoreapplication.cpp:704
#37 0xb66bf843 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8795f70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8795f70) at kernel/qcoreapplication.cpp:1345
#39 0xb66bf9ad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#40 0xb66e8cbf in QCoreApplication::sendPostedEvents (s=0x88bf790) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x88bf790) at kernel/qeventdispatcher_glib.cpp:276
#42 0xb3e90895 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb3e94568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#44 0xb3e94748 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb66e87b5 in QEventDispatcherGlib::processEvents (this=0x8795a60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0xb5cd85c5 in QGuiEventDispatcherGlib::processEvents (this=0x8795a60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0xb66bb4a9 in QEventLoop::processEvents (this=0xbff49e74, flags=) at kernel/qeventloop.cpp:149
#48 0xb66bb8fa in QEventLoop::exec (this=0xbff49e74, flags=...) at kernel/qeventloop.cpp:201
#49 0xb66bfa6f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0xb5c1bee7 in QApplication::exec () at kernel/qapplication.cpp:3579
#51 0x0804aa8e in main (argc=3, argv=0xbff4a184) at /home/phil/kdemod/core/kdepim/src/kdepim-4.4.2/kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-04-14 22:44:45 UTC

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