Bug 290472

Summary: Crash deleting multiple nested folders from archive folder
Product: [Applications] kmail2 Reporter: Alex Doll <alex.doll>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Doll 2012-01-03 07:13:05 UTC
Application: kmail (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

Ran the import wizard (from Evolution) and ended up with a pile of directories (added the wrong thing).  Selected the root of the tree of created directories and selected Delete.  KMail began deleting directories then crashed after about two minutes (it had not completed).  There were hundreds of directories - possibly an out-of-memory situation?

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

Thread 3 (Thread 0xb06abb70 (LWP 17553)):
#0  0xb5a83782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb605a36c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb3b228fb in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb3b22a1f in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb5a7fa7d in start_thread () from /lib/libpthread.so.0
#5  0xb604c85e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xafd83b70 (LWP 17554)):
#0  0xb485ac96 in clock_gettime () from /lib/librt.so.1
#1  0xb6d59c35 in do_gettime (frac=0xafd83070, sec=0xafd83068) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e2c206 in QTimerInfoList::updateCurrentTime (this=0xaf401abc) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb6e2c56a in QTimerInfoList::timerWait (this=0xaf401abc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6e2adc3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xafd8315c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb47a144c in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb47a2207 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb47a27fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb6e2b897 in QEventDispatcherGlib::processEvents (this=0xaf400468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0xb6dfc44d in QEventLoop::processEvents (this=0xafd832e0, flags=...) at kernel/qeventloop.cpp:149
#11 0xb6dfc691 in QEventLoop::exec (this=0xafd832e0, flags=...) at kernel/qeventloop.cpp:201
#12 0xb6cff75b in QThread::exec (this=0x834a168) at thread/qthread.cpp:498
#13 0xb6cff84b in QThread::run (this=0x834a168) at thread/qthread.cpp:565
#14 0xb6d02613 in QThreadPrivate::start (arg=0x834a168) at thread/qthread_unix.cpp:331
#15 0xb5a7fa7d in start_thread () from /lib/libpthread.so.0
#16 0xb604c85e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1bcd710 (LWP 17549)):
[KCrash Handler]
#6  0xb5521114 in ?? () from /usr/lib/libakonadi-kde.so.4
#7  0xb55214cb in Akonadi::Entity::Entity(Akonadi::Entity const&) () from /usr/lib/libakonadi-kde.so.4
#8  0xb55219a3 in Akonadi::Collection::Collection(Akonadi::Collection const&) () from /usr/lib/libakonadi-kde.so.4
#9  0xb51da44d in MailCommon::FolderCollection::collection() const () from /usr/lib/libmailcommon.so.4
#10 0xb703fc7a in KMMainWidget::slotDelayedRemoveFolder(KJob*) () from /usr/lib/libkmailprivate.so.4
#11 0xb7056d86 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#12 0xb6e037dd in metacall (argv=0xbfb84e18, idx=75, cl=QMetaObject::InvokeMetaMethod, object=0x82a3538) at kernel/qmetaobject.cpp:237
#13 QMetaObject::metacall (object=0x82a3538, cl=QMetaObject::InvokeMetaMethod, idx=75, argv=0xbfb84e18) at kernel/qmetaobject.cpp:232
#14 0xb6e12710 in QMetaObject::activate (sender=0x8e589d0, m=0xb742358c, local_signal_index=3, argv=0xbfb84e18) at kernel/qobject.cpp:3287
#15 0xb72761f5 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#16 0xb7276248 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#17 0xb5517f0e in ?? () from /usr/lib/libakonadi-kde.so.4
#18 0xb5573cdf in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#19 0xb5574802 in Akonadi::CollectionFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#20 0xb6e037dd in metacall (argv=0x9542838, idx=34, cl=QMetaObject::InvokeMetaMethod, object=0x8e589d0) at kernel/qmetaobject.cpp:237
#21 QMetaObject::metacall (object=0x8e589d0, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x9542838) at kernel/qmetaobject.cpp:232
#22 0xb6e0e305 in QMetaCallEvent::placeMetaCall (this=0x94f8c30, object=0x8e589d0) at kernel/qobject.cpp:535
#23 0xb6e1582f in QObject::event (this=0x8e589d0, e=0x94f8c30) at kernel/qobject.cpp:1226
#24 0xb6334f24 in notify_helper (e=0x94f8c30, receiver=0x8e589d0, this=0x8095ca0) at kernel/qapplication.cpp:4481
#25 QApplicationPrivate::notify_helper (this=0x8095ca0, receiver=0x8e589d0, e=0x94f8c30) at kernel/qapplication.cpp:4453
#26 0xb633a2b2 in QApplication::notify (this=0x94f8c30, receiver=0x8e589d0, e=0x94f8c30) at kernel/qapplication.cpp:4228
#27 0xb7626681 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb6dfd42e in QCoreApplication::notifyInternal (this=0xbfb8572c, receiver=0x8e589d0, event=0x94f8c30) at kernel/qcoreapplication.cpp:787
#29 0xb6e00bf4 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80519c8) at kernel/qcoreapplication.cpp:1428
#31 0xb6e00d3c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#32 0xb6e2b404 in sendPostedEvents () at kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x808afb0) at kernel/qeventdispatcher_glib.cpp:277
#34 0xb47a1e2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb47a2560 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0xb47a27fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0xb6e2b837 in QEventDispatcherGlib::processEvents (this=0x8051560, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#38 0xb63e8b1a in QGuiEventDispatcherGlib::processEvents (this=0x8051560, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0xb6dfc44d in QEventLoop::processEvents (this=0xbfb85644, flags=...) at kernel/qeventloop.cpp:149
#40 0xb6dfc691 in QEventLoop::exec (this=0xbfb85644, flags=...) at kernel/qeventloop.cpp:201
#41 0xb6e00dea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#42 0xb6332da4 in QApplication::exec () at kernel/qapplication.cpp:3755
#43 0x0804a496 in ?? ()
#44 0xb5f91003 in __libc_start_main () from /lib/libc.so.6
#45 0x0804a939 in _start ()

Possible duplicates by query: bug 284022, bug 282060, bug 278645.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-06 17:49:17 UTC

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