Bug 250184 - kontact crashed when deleting remote-folder
Summary: kontact crashed when deleting remote-folder
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 2.0.90
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-04 18:53 UTC by Julian Bäume
Modified: 2010-12-14 19:15 UTC (History)
1 user (show)

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 Julian Bäume 2010-09-04 18:53:04 UTC
Application: kontact (4.5 beta1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.36-rc3-8-default x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
I was playing around with folders in KMail2 when this happened. I wanted to delete a folder from an IMAP account and selected “Delete Folder” from context-menu. At first, nothing happened. So I clicked again. After some seconds a confirmation dialog appeared and right after that a second one. After confirming the first one, Kontact crashed. I tried to reproduce this a few times, but couldn’t trigger the second dialog, again.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f60d29fc760 (LWP 12874))]

Thread 2 (Thread 0x7f60bbbbc710 (LWP 12876)):
#0  0x00007f60cb80b39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f60ced682a0 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f60ced682d9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f60cb806a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f60d00b682d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f60d29fc760 (LWP 12874)):
[KCrash Handler]
#6  QSharedDataPointer (one=..., other=...) at /usr/include/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/entity.cpp:49
#8  0x00007f60cd5c7a7e in Akonadi::Entity::operator= (this=0x3065da8, other=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/entity.cpp:116
#9  0x00007f60cd5f0b6d in operator= (this=0x35134e0, collection=..., parent=0x0) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/collection.h:76
#10 Akonadi::CollectionDeleteJob::CollectionDeleteJob (this=0x35134e0, collection=..., parent=0x0) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/collectiondeletejob.cpp:46
#11 0x00007f60b762a05c in FolderCollection::removeCollection (this=0x0) at /usr/src/debug/kdepim-4.4.93/kmail/foldercollection.cpp:430
#12 0x00007f60b7716764 in KMMainWidget::slotDelayedRemoveFolder (this=0x9349f0, job=<value optimized out>) at /usr/src/debug/kdepim-4.4.93/kmail/kmmainwidget.cpp:1596
#13 0x00007f60b77249c5 in KMMainWidget::qt_metacall (this=0x9349f0, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0x7fff29840930) at /usr/src/debug/kdepim-4.4.93/build/kmail/kmmainwidget.moc:384
#14 0x00007f60d07c2a1f in QMetaObject::activate (sender=0x33c7630, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff29840930) at kernel/qobject.cpp:3295
#15 0x00007f60d0b7e8b2 in KJob::result (this=<value optimized out>, _t1=0x33c7630) at /usr/src/debug/kdelibs-4.5.1/build/kdecore/kjob.moc:194
#16 0x00007f60d0b7e8f0 in KJob::emitResult (this=0x33c7630) at /usr/src/debug/kdelibs-4.5.1/kdecore/jobs/kjob.cpp:312
#17 0x00007f60cd66cf2d in Akonadi::Job::qt_metacall (this=0x33c7630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff29840a40)
    at /usr/src/debug/kdepimlibs-4.5.1/build/akonadi/job.moc:91
#18 0x00007f60cd5f7055 in Akonadi::CollectionFetchJob::qt_metacall (this=0x33c7630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff29840a40)
    at /usr/src/debug/kdepimlibs-4.5.1/build/akonadi/collectionfetchjob.moc:73
#19 0x00007f60d07c2a1f in QMetaObject::activate (sender=0x2d59950, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#20 0x00007f60d07c7dbf in QSingleShotTimer::timerEvent (this=0x2d59950) at kernel/qtimer.cpp:308
#21 0x00007f60d07c022e in QObject::event (this=0x2d59950, e=0x7fff298411f0) at kernel/qobject.cpp:1212
#22 0x00007f60d11164d4 in QApplicationPrivate::notify_helper (this=0x644b90, receiver=0x2d59950, e=0x7fff298411f0) at kernel/qapplication.cpp:4302
#23 0x00007f60d111eaca in QApplication::notify (this=<value optimized out>, receiver=0x2d59950, e=0x7fff298411f0) at kernel/qapplication.cpp:4185
#24 0x00007f60d1d441e6 in KApplication::notify (this=0x7fff29843050, receiver=0x2d59950, event=0x7fff298411f0) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#25 0x00007f60d07aee4c in QCoreApplication::notifyInternal (this=0x7fff29843050, receiver=0x2d59950, event=0x7fff298411f0) at kernel/qcoreapplication.cpp:726
#26 0x00007f60d07da0c9 in sendEvent (this=0x63f760) at kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x63f760) at kernel/qeventdispatcher_unix.cpp:618
#28 0x00007f60d07d6ff8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#30 0x00007f60cb305a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f60cb306270 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f60cb306510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f60d07d767f in QEventDispatcherGlib::processEvents (this=0x6156e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f60d11b714e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f60d07ae292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f60d07ae495 in QEventLoop::exec (this=0x7fff29841580, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f60d15b27ee in QDialog::exec (this=0x38ede30) at dialogs/qdialog.cpp:546
#38 0x00007f60d1e90d4d in KMessageBox::createKMessageBox (dialog=0x38ede30, icon=<value optimized out>, text=..., strlist=<value optimized out>, ask=..., checkboxReturn=0x7fff29841d2f, options=..., 
    details=..., notifyType=QMessageBox::Warning) at /usr/src/debug/kdelibs-4.5.1/kdeui/dialogs/kmessagebox.cpp:337
#39 0x00007f60d1ead524 in KMessageBox::createKMessageBox (dialog=0x38ede30, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x7fff29841d2f, options=..., details=...)
    at /usr/src/debug/kdelibs-4.5.1/kdeui/dialogs/kmessagebox.cpp:152
#40 0x00007f60d1eb2b2a in KMessageBox::warningContinueCancelListWId (parent_id=127958176, text=..., strlist=..., caption=..., buttonContinue_=<value optimized out>, 
    buttonCancel_=<value optimized out>, dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.5.1/kdeui/dialogs/kmessagebox.cpp:708
#41 0x00007f60d1eb2cfb in KMessageBox::warningContinueCancelList (parent=<value optimized out>, text=..., strlist=..., caption=..., buttonContinue=<value optimized out>, 
    buttonCancel=<value optimized out>, dontAskAgainName=..., options=...) at /usr/src/debug/kdelibs-4.5.1/kdeui/dialogs/kmessagebox.cpp:670
#42 0x00007f60d1eb2d57 in KMessageBox::warningContinueCancel (parent=<value optimized out>, text=<value optimized out>, caption=<value optimized out>, buttonContinue=<value optimized out>, 
    buttonCancel=<value optimized out>, dontAskAgainName=<value optimized out>, options=...) at /usr/src/debug/kdelibs-4.5.1/kdeui/dialogs/kmessagebox.cpp:646
#43 0x00007f60b77161a2 in KMMainWidget::slotDelayedRemoveFolder (this=0x9349f0, job=<value optimized out>) at /usr/src/debug/kdepim-4.4.93/kmail/kmmainwidget.cpp:1593
#44 0x00007f60b77249c5 in KMMainWidget::qt_metacall (this=0x9349f0, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0x7fff29842350) at /usr/src/debug/kdepim-4.4.93/build/kmail/kmmainwidget.moc:384
#45 0x00007f60d07c2a1f in QMetaObject::activate (sender=0x2ce7260, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff29842350) at kernel/qobject.cpp:3295
#46 0x00007f60d0b7e8b2 in KJob::result (this=<value optimized out>, _t1=0x2ce7260) at /usr/src/debug/kdelibs-4.5.1/build/kdecore/kjob.moc:194
#47 0x00007f60d0b7e8f0 in KJob::emitResult (this=0x2ce7260) at /usr/src/debug/kdelibs-4.5.1/kdecore/jobs/kjob.cpp:312
#48 0x00007f60cd66cf2d in Akonadi::Job::qt_metacall (this=0x2ce7260, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff29842460)
    at /usr/src/debug/kdepimlibs-4.5.1/build/akonadi/job.moc:91
#49 0x00007f60cd5f7055 in Akonadi::CollectionFetchJob::qt_metacall (this=0x2ce7260, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff29842460)
    at /usr/src/debug/kdepimlibs-4.5.1/build/akonadi/collectionfetchjob.moc:73
#50 0x00007f60d07c2a1f in QMetaObject::activate (sender=0x27ba2e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#51 0x00007f60d07c7dbf in QSingleShotTimer::timerEvent (this=0x27ba2e0) at kernel/qtimer.cpp:308
#52 0x00007f60d07c022e in QObject::event (this=0x27ba2e0, e=0x7fff29842c10) at kernel/qobject.cpp:1212
#53 0x00007f60d11164d4 in QApplicationPrivate::notify_helper (this=0x644b90, receiver=0x27ba2e0, e=0x7fff29842c10) at kernel/qapplication.cpp:4302
#54 0x00007f60d111eaca in QApplication::notify (this=<value optimized out>, receiver=0x27ba2e0, e=0x7fff29842c10) at kernel/qapplication.cpp:4185
#55 0x00007f60d1d441e6 in KApplication::notify (this=0x7fff29843050, receiver=0x27ba2e0, event=0x7fff29842c10) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#56 0x00007f60d07aee4c in QCoreApplication::notifyInternal (this=0x7fff29843050, receiver=0x27ba2e0, event=0x7fff29842c10) at kernel/qcoreapplication.cpp:726
#57 0x00007f60d07da0c9 in sendEvent (this=0x63f760) at kernel/qcoreapplication.h:215
#58 QTimerInfoList::activateTimers (this=0x63f760) at kernel/qeventdispatcher_unix.cpp:618
#59 0x00007f60d07d6ff8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#60 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#61 0x00007f60cb305a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#62 0x00007f60cb306270 in ?? () from /usr/lib64/libglib-2.0.so.0
#63 0x00007f60cb306510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#64 0x00007f60d07d767f in QEventDispatcherGlib::processEvents (this=0x6156e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#65 0x00007f60d11b714e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#66 0x00007f60d07ae292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#67 0x00007f60d07ae495 in QEventLoop::exec (this=0x7fff29842fa0, flags=...) at kernel/qeventloop.cpp:201
#68 0x00007f60d07b288b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#69 0x0000000000404117 in _start ()

Reported using DrKonqi
Comment 1 Laurent Montel 2010-12-14 18:18:15 UTC
Could you update to new version please?
Comment 2 Julian Bäume 2010-12-14 18:41:03 UTC
Ahh, I really wanted to check this with a newer version, but forgot about it. I could reproduce the "dialogue taking some time to appear"-phenomenon by creating and deleting folders very fast. But this time only one confirmation-dialogue appeared and the crash didn’t happen. So I guess this is either fixed (or it didn’t happen when reporting this ;)).
Comment 3 Laurent Montel 2010-12-14 18:52:36 UTC
So you can close it please ?
Thanks