Bug 330041 - kontact crashes when closing app while IMAP operation is still ongoing
Summary: kontact crashes when closing app while IMAP operation is still ongoing
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.13 Pre
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-16 17:08 UTC by Michi
Modified: 2016-09-25 09:27 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 Michi 2014-01-16 17:08:43 UTC
Application: kontact (4.13 pre)
KDE Platform Version: 4.12.60
Qt Version: 4.8.5
Operating System: Linux 3.13.0-rc7-mic x86_64
Distribution (Platform): openSUSE RPMs

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

I deleted an item in an IMAP resource. That sometimes (well too often at least) takes ages ... In the current situation I closed Kontact while that IMAP operation was still ongoing. And then there was this crash.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x2b6fc2265100 (LWP 2636))]

Thread 4 (Thread 0x2b6fe2c52700 (LWP 2637)):
#0  0x00002b6fcaa2d0cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002b6fc8230466 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00002b6fc8230499 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00002b6fcaa2915b in start_thread () from /lib64/libpthread.so.0
#4  0x00002b6fc4b21dcd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x2b7022f55700 (LWP 2638)):
#0  0x00002b6fcaa2d0cf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002b6fc7fa285d in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00002b6fc8257f56 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00002b6fcaa2915b in start_thread () from /lib64/libpthread.so.0
#4  0x00002b6fc4b21dcd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x2b7031665700 (LWP 2648)):
#0  0x00007fffc8dad827 in clock_gettime ()
#1  0x00002b6fc4b2eebd in clock_gettime () from /lib64/libc.so.6
#2  0x00002b6fc4317e47 in do_gettime (frac=0x2b7031664b00, sec=0x2b7031664af8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00002b6fc43f1089 in QTimerInfoList::updateCurrentTime (this=this@entry=0x2b7038002660) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00002b6fc43eff57 in timerSourceCheckHelper (src=0x2b7038002600) at kernel/qeventdispatcher_glib.cpp:150
#6  0x00002b6fcaf8c681 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#7  0x00002b6fcaf8cb9b in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00002b6fcaf8cd0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9  0x00002b6fc43efd76 in QEventDispatcherGlib::processEvents (this=0x2b70380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#10 0x00002b6fc43c1d0f in QEventLoop::processEvents (this=this@entry=0x2b7031664d20, flags=...) at kernel/qeventloop.cpp:149
#11 0x00002b6fc43c2005 in QEventLoop::exec (this=this@entry=0x2b7031664d20, flags=...) at kernel/qeventloop.cpp:204
#12 0x00002b6fc42c0fef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#13 0x00002b6fc42c368f in QThreadPrivate::start (arg=0x1a86da0) at thread/qthread_unix.cpp:338
#14 0x00002b6fcaa2915b in start_thread () from /lib64/libpthread.so.0
#15 0x00002b6fc4b21dcd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x2b6fc2265100 (LWP 2636)):
[KCrash Handler]
#5  0x00002b6fc36d7be0 in QStackedWidget::currentWidget() const () from /usr/lib64/libQtGui.so.4
#6  0x00002b702c6c6510 in MessageList::Pane::markMessageItemsAsAboutToBeRemoved(long, bool) () from /usr/lib64/libmessagelist.so.4
#7  0x00002b702b9d05c0 in KMMainWidget::slotMoveMessagesCompleted(KMMoveCommand*) () from /usr/lib64/libkmailprivate.so.4
#8  0x00002b702baa98c2 in ?? () from /usr/lib64/libkmailprivate.so.4
#9  0x00002b6fc43d6d68 in QMetaObject::activate (sender=0x341e5a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc8c9d370) at kernel/qobject.cpp:3556
#10 0x00002b702baa8b4f in KMMoveCommand::moveDone(KMMoveCommand*) () from /usr/lib64/libkmailprivate.so.4
#11 0x00002b702b9be72f in KMMoveCommand::completeMove(KMCommand::Result) () from /usr/lib64/libkmailprivate.so.4
#12 0x00002b6fc43d6d68 in QMetaObject::activate (sender=sender@entry=0x45978f0, m=m@entry=0x2b6fc42325e0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffc8c9d4c0) at kernel/qobject.cpp:3556
#13 0x00002b6fc3ea33a2 in KJob::result (this=this@entry=0x45978f0, _t1=_t1@entry=0x45978f0) at /usr/src/debug/kdelibs-4.12.50/build/kdecore/kjob.moc:207
#14 0x00002b6fc3ea33e0 in KJob::emitResult (this=0x45978f0) at /usr/src/debug/kdelibs-4.12.50/kdecore/jobs/kjob.cpp:318
#15 0x00002b6fc43db11e in QObject::event (this=0x45978f0, e=<optimized out>) at kernel/qobject.cpp:1203
#16 0x00002b6fc32948ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00002b6fc329ae70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00002b6fc2c9122a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x00002b6fc43c30ad in QCoreApplication::notifyInternal (this=0x7fffc8c9e530, receiver=receiver@entry=0x45978f0, event=event@entry=0x205c950) at kernel/qcoreapplication.cpp:949
#20 0x00002b6fc43c60ff in sendEvent (event=0x205c950, receiver=0x45978f0) at kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x17aa6f0) at kernel/qcoreapplication.cpp:1573
#22 0x00002b6fc43c65a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#23 0x00002b6fc43f0493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x17dfe00) at kernel/qeventdispatcher_glib.cpp:280
#25 0x00002b6fcaf8ca24 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00002b6fcaf8cc68 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00002b6fcaf8cd0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00002b6fc43efd55 in QEventDispatcherGlib::processEvents (this=0x17aff70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#29 0x00002b6fc3331936 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00002b6fc43c1d0f in QEventLoop::processEvents (this=this@entry=0x7fffc8c9daf0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00002b6fc43c2005 in QEventLoop::exec (this=0x7fffc8c9daf0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00002b6fc3ea4583 in KJob::exec (this=0x2069000) at /usr/src/debug/kdelibs-4.12.50/kdecore/jobs/kjob.cpp:210
#33 0x00002b702b9a5d56 in KMKernel::cleanup() () from /usr/lib64/libkmailprivate.so.4
#34 0x00002b702b6df108 in ?? () from /usr/lib64/kde4/kmailpart.so
#35 0x00002b702b6df1e9 in ?? () from /usr/lib64/kde4/kmailpart.so
#36 0x00002b6fc240d89e in KontactInterface::Plugin::~Plugin() () from /usr/lib64/libkontactinterface.so.4
#37 0x00002b702944f436 in ?? () from /usr/lib64/kde4/kontact_kmailplugin.so
#38 0x00002b702944f459 in ?? () from /usr/lib64/kde4/kontact_kmailplugin.so
#39 0x00002b6fc284751e in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#40 0x00002b6fc2847679 in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#41 0x00002b6fc43db158 in QObject::event (this=0x1a95e90, e=<optimized out>) at kernel/qobject.cpp:1184
#42 0x00002b6fc32e3e4b in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00002b6fc3699643 in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00002b6fc2d7d0a9 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#45 0x00002b6fc32948ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00002b6fc329ae70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#47 0x00002b6fc2c9122a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#48 0x00002b6fc43c30ad in QCoreApplication::notifyInternal (this=0x7fffc8c9e530, receiver=receiver@entry=0x1a95e90, event=event@entry=0x3d047b0) at kernel/qcoreapplication.cpp:949
#49 0x00002b6fc43c60ff in sendEvent (event=0x3d047b0, receiver=0x1a95e90) at kernel/qcoreapplication.h:231
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x17aa6f0) at kernel/qcoreapplication.cpp:1573
#51 0x00002b6fc43c65a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#52 0x00002b6fc43f0493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#53 postEventSourceDispatch (s=0x17dfe00) at kernel/qeventdispatcher_glib.cpp:280
#54 0x00002b6fcaf8ca24 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#55 0x00002b6fcaf8cc68 in ?? () from /usr/lib64/libglib-2.0.so.0
#56 0x00002b6fcaf8cd0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#57 0x00002b6fc43efd55 in QEventDispatcherGlib::processEvents (this=0x17aff70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#58 0x00002b6fc3331936 in ?? () from /usr/lib64/libQtGui.so.4
#59 0x00002b6fc43c1d0f in QEventLoop::processEvents (this=this@entry=0x7fffc8c9e430, flags=...) at kernel/qeventloop.cpp:149
#60 0x00002b6fc43c2005 in QEventLoop::exec (this=this@entry=0x7fffc8c9e430, flags=...) at kernel/qeventloop.cpp:204
#61 0x00002b6fc43c713b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#62 0x0000000000403960 in ?? ()
#63 0x00002b6fc4a5bb15 in __libc_start_main () from /lib64/libc.so.6
#64 0x0000000000403e28 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:26:06 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Michi 2016-09-25 06:30:28 UTC
seems to be fixed
Comment 3 Christophe Marin 2016-09-25 09:27:20 UTC
Thanks for the feedback.