Bug 216451 - kmail crash when moving large folder (offline IMAP)
Summary: kmail crash when moving large folder (offline IMAP)
Status: RESOLVED DUPLICATE of bug 199375
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-28 00:31 UTC by Mark Purcell
Modified: 2009-11-28 00:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Purcell 2009-11-28 00:31:10 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-1-686 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
When moving a large folder, I got this crash.

I suspect it maybe due to my usage of offline imap or running low on disk space.

Either way a crash is not the desirable outcome.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00000010 in ?? ()
#6  0xb5aa050e in qDeleteAll<KIO::SchedulerPrivate::ProtocolInfoDict> () at /usr/include/qt4/QtCore/qalgorithms.h:358
#7  ~SchedulerPrivate () at ../../kio/kio/scheduler.cpp:103
#8  destroy () at ../../kio/kio/scheduler.cpp:209
#9  0xb59d5cfb in ~KCleanUpGlobalStatic (this=0xb5b9f214, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kglobal.h:62
#10 0xb62a4461 in ?? () from /lib/i686/cmov/libc.so.6
#11 0xb62a44bf in ?? () from /lib/i686/cmov/libc.so.6
#12 0xb0c07544 in KMKernel::emergencyExit (this=0x8a65a88, reason=...) at ../../kmail/kmkernel.cpp:2010
#13 0xb0be94fc in KMFolderMaildir::addMsgInternal (this=0x8bc4578, aMsg=0x1349bce0, index_return=0xbf9afa1c, stripUid=false) at ../../kmail/kmfoldermaildir.cpp:390
#14 0xb0bea2c9 in KMFolderMaildir::addMsg (this=0x8bc4578, aMsg=0x1349bce0, index_return=0xbf9afa1c) at ../../kmail/kmfoldermaildir.cpp:334
#15 0xb0be1e0e in KMFolderCachedImap::addMsgInternal (this=0x8bc4578, msg=0x1349bce0, newMail=true, index_return=0xbf9afa1c) at ../../kmail/kmfoldercachedimap.cpp:551
#16 0xb0d0ea78 in KMail::CachedImapJob::slotGetNextMessage (this=0x134b1270, job=0x8ebec60) at ../../kmail/cachedimapjob.cpp:310
#17 0xb0d10eff in KMail::CachedImapJob::qt_metacall (this=0x134b1270, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf9afb3c) at ./cachedimapjob.moc:102
#18 0xb6fc7303 in QMetaObject::activate (sender=0x8ebec60, from_signal_index=7, to_signal_index=7, argv=0xbf9afb3c) at kernel/qobject.cpp:3112
#19 0xb6fc7f42 in QMetaObject::activate (sender=0x8ebec60, m=0xb72dbc28, local_signal_index=3, argv=0xbf9afb3c) at kernel/qobject.cpp:3186
#20 0xb717e4d3 in KJob::result (this=0x8ebec60, _t1=0x8ebec60) at ./kjob.moc:188
#21 0xb717e979 in KJob::emitResult (this=0x8ebec60) at ../../kdecore/jobs/kjob.cpp:304
#22 0xb59efbd5 in KIO::SimpleJob::slotFinished (this=0x8ebec60) at ../../kio/kio/job.cpp:477
#23 0xb59f0533 in KIO::TransferJob::slotFinished (this=0x8ebec60) at ../../kio/kio/job.cpp:948
#24 0xb59ecac3 in KIO::TransferJob::qt_metacall (this=0x8ebec60, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf9afd78) at ./jobclasses.moc:343
#25 0xb6fc7303 in QMetaObject::activate (sender=0xa989b58, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3112
#26 0xb6fc7f42 in QMetaObject::activate (sender=0xa989b58, m=0xb5b97ba4, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3186
#27 0xb5ab57d7 in KIO::SlaveInterface::finished (this=0xa989b58) at ./slaveinterface.moc:165
#28 0xb5ab9587 in KIO::SlaveInterface::dispatch (this=0xa989b58, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#29 0xb5ab5cb7 in KIO::SlaveInterface::dispatch (this=0xa989b58) at ../../kio/kio/slaveinterface.cpp:91
#30 0xb5aa7c9d in KIO::Slave::gotInput (this=0xa989b58) at ../../kio/kio/slave.cpp:322
#31 0xb5aaa183 in KIO::Slave::qt_metacall (this=0xa989b58, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf9b0048) at ./slave.moc:76
#32 0xb6fc7303 in QMetaObject::activate (sender=0xabe2838, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#33 0xb6fc7f42 in QMetaObject::activate (sender=0xabe2838, m=0xb5b944e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#34 0xb59b3d57 in KIO::Connection::readyRead (this=0xabe2838) at ./connection.moc:86
#35 0xb59b5663 in KIO::ConnectionPrivate::dequeue (this=0xaac2cc8) at ../../kio/kio/connection.cpp:82
#36 0xb59b5a46 in KIO::Connection::qt_metacall (this=0xabe2838, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xabbbe68) at ./connection.moc:73
#37 0xb6fc0b0b in QMetaCallEvent::placeMetaCall (this=0xbb8a838, object=0xabe2838) at kernel/qobject.cpp:477
#38 0xb6fc25e0 in QObject::event (this=0xabe2838, e=0xbb8a838) at kernel/qobject.cpp:1110
#39 0xb65f1a94 in QApplicationPrivate::notify_helper (this=0x875b700, receiver=0xabe2838, e=0xbb8a838) at kernel/qapplication.cpp:4065
#40 0xb65f9bee in QApplication::notify (this=0xbf9b090c, receiver=0xabe2838, e=0xbb8a838) at kernel/qapplication.cpp:3605
#41 0xb74b40fd in KApplication::notify (this=0xbf9b090c, receiver=0xabe2838, event=0xbb8a838) at ../../kdeui/kernel/kapplication.cpp:302
#42 0xb6fb21eb in QCoreApplication::notifyInternal (this=0xbf9b090c, receiver=0xabe2838, event=0xbb8a838) at kernel/qcoreapplication.cpp:610
#43 0xb6fb2e2e in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8732998) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8732998) at kernel/qcoreapplication.cpp:1247
#45 0xb6fb300d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#46 0xb6fdd4cf in QCoreApplication::sendPostedEvents (s=0x875d8d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#47 postEventSourceDispatch (s=0x875d8d8) at kernel/qeventdispatcher_glib.cpp:276
#48 0xb4a30e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#49 0xb4a34623 in ?? () from /lib/libglib-2.0.so.0
#50 0xb4a347a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#51 0xb6fdd041 in QEventDispatcherGlib::processEvents (this=0x87326e8, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#52 0xb6691305 in QGuiEventDispatcherGlib::processEvents (this=0x87326e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#53 0xb6fb083a in QEventLoop::processEvents (this=0xbf9b0780, flags=...) at kernel/qeventloop.cpp:149
#54 0xb6fb0c82 in QEventLoop::exec (this=0xbf9b0780, flags=...) at kernel/qeventloop.cpp:201
#55 0xb6fb30d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#56 0xb65f1917 in QApplication::exec () at kernel/qapplication.cpp:3525
#57 0x0804bd40 in main (argc=1, argv=0xbf9b0b04) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2009-11-28 00:58:28 UTC
KMKernel::emergencyExit is there to prevent KMail from writing a empty kmailrc file. (see bug 169132)

A fix in kdelibs was also committed (svn 1023830).

The crash was also fixed and will be in 4.3.4, it's bug 199375.

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