Bug 318563

Summary: Kmail (Kontact) crashed when restarting an IMAP resource
Product: [Applications] kontact Reporter: Nathan Wolf <me>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nathan Wolf 2013-04-18 17:15:27 UTC
Application: kontact (4.10.2)
KDE Platform Version: 4.10.2 "release 556"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
The IMAP resource text was red instead of its normal black color in the list.  I checked the resource under kmail settings and it reported that it was unable to start so I clicked restart and Kontact crashed.

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

Thread 3 (Thread 0x7f95bf1f6700 (LWP 1461)):
#0  0x00007f95cfc35964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f95d46237c7 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f95d46237f9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f95cfc31e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f95d53897dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f95be8f5700 (LWP 1463)):
#0  0x00007f95d538087d in poll () from /lib64/libc.so.6
#1  0x00007f95cec25aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f95cec25bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f95d67b81f6 in QEventDispatcherGlib::processEvents (this=0x7f95b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f95d67889ef in QEventLoop::processEvents (this=this@entry=0x7f95be8f4e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f95d6788c78 in QEventLoop::exec (this=0x7f95be8f4e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f95d668b0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f95d668e0cc in QThreadPrivate::start (arg=0x23add50) at thread/qthread_unix.cpp:338
#8  0x00007f95cfc31e0f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f95d53897dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f95d7e43780 (LWP 1456)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fffb78e8320) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x28ee240, child=...) at itemviews/qsortfilterproxymodel.cpp:1676
#8  0x00007f95d607a35a in parent (this=0x9f97ab0) at ../../src/corelib/kernel/qabstractitemmodel.h:393
#9  QTreeView::isIndexHidden (this=0x2923e00, index=...) at itemviews/qtreeview.cpp:2851
#10 0x00007f95d607e191 in QTreeView::visualRect (this=0x2923e00, index=...) at itemviews/qtreeview.cpp:1045
#11 0x00007f95d20adb80 in Akonadi::DelegateAnimator::timerEvent (this=0x291abb0, event=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.2/akonadi/progressspinnerdelegate.cpp:48
#12 0x00007f95d679e4bc in QObject::event (this=0x291abb0, e=<optimized out>) at kernel/qobject.cpp:1165
#13 0x00007f95d5b3386c in QApplicationPrivate::notify_helper (this=this@entry=0x2237cc0, receiver=receiver@entry=0x291abb0, e=e@entry=0x7fffb78e8b80) at kernel/qapplication.cpp:4562
#14 0x00007f95d5b37ceb in QApplication::notify (this=0x7fffb78e8f80, receiver=0x291abb0, e=0x7fffb78e8b80) at kernel/qapplication.cpp:4423
#15 0x00007f95d71ef146 in KApplication::notify (this=0x7fffb78e8f80, receiver=0x291abb0, event=0x7fffb78e8b80) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#16 0x00007f95d6789c9e in QCoreApplication::notifyInternal (this=0x7fffb78e8f80, receiver=0x291abb0, event=0x7fffb78e8b80) at kernel/qcoreapplication.cpp:946
#17 0x00007f95d67baa71 in sendEvent (event=0x7fffb78e8b80, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#18 QTimerInfoList::activateTimers (this=0x222f660) at kernel/qeventdispatcher_unix.cpp:637
#19 0x00007f95d67b7b64 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#20 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#21 0x00007f95cec257d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f95cec25b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f95cec25bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f95d67b81d6 in QEventDispatcherGlib::processEvents (this=0x21fbad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0x00007f95d5bd3c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f95d67889ef in QEventLoop::processEvents (this=this@entry=0x7fffb78e8df0, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f95d6788c78 in QEventLoop::exec (this=0x7fffb78e8df0, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f95d678d918 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#29 0x0000000000403679 in main (argc=3, argv=0x7fffb78e90c8) at /usr/src/debug/kdepim-4.10.2/kontact/src/main.cpp:219

Possible duplicates by query: bug 317816, bug 314502, bug 314420, bug 313591, bug 310409.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:28:09 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 Denis Kurz 2017-01-07 22:50:30 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.