Bug 371569 - Kontact crashes at closing
Summary: Kontact crashes at closing
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-24 11:41 UTC by noucamp13
Modified: 2018-02-01 09:44 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 noucamp13 2016-10-24 11:41:11 UTC
Application: kontact (4.14.2)
KDE Platform Version: 4.14.2 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

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

I manually close the application and the crash message appears. This has been repeated over 5 times with the same result.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fda60ba3800 (LWP 4594))]

Thread 5 (Thread 0x7fda40fdf700 (LWP 4596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fda5b94681d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fda5b946859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fda58067184 in start_thread (arg=0x7fda40fdf700) at pthread_create.c:312
#4  0x00007fda5e11b37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fda006dc700 (LWP 4597)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fda5b68720d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fda5b975fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fda58067184 in start_thread (arg=0x7fda006dc700) at pthread_create.c:312
#4  0x00007fda5e11b37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fd9f1007700 (LWP 4603)):
#0  0x00007fda5e10c6cd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fda57bc8c10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fda57b87b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fda57b87f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fda57b880ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fda5e8947be in QEventDispatcherGlib::processEvents (this=0x7fd9ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fda5e8660af in QEventLoop::processEvents (this=this@entry=0x7fd9f1006da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fda5e8663a5 in QEventLoop::exec (this=this@entry=0x7fd9f1006da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fda5e762c5f in QThread::exec (this=this@entry=0x2503ce0) at thread/qthread.cpp:537
#9  0x00007fda5e847823 in QInotifyFileSystemWatcherEngine::run (this=0x2503ce0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fda5e76532f in QThreadPrivate::start (arg=0x2503ce0) at thread/qthread_unix.cpp:349
#11 0x00007fda58067184 in start_thread (arg=0x7fd9f1007700) at pthread_create.c:312
#12 0x00007fda5e11b37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd9eb136700 (LWP 4620)):
#0  0x00007fda57bc961a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fda57bc9979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fda57b87ed5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fda57b880ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fda5e8947be in QEventDispatcherGlib::processEvents (this=0x7fd9e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fda5e8660af in QEventLoop::processEvents (this=this@entry=0x7fd9eb135de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fda5e8663a5 in QEventLoop::exec (this=this@entry=0x7fd9eb135de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fda5e762c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007fda5e76532f in QThreadPrivate::start (arg=0x1fdc310) at thread/qthread_unix.cpp:349
#9  0x00007fda58067184 in start_thread (arg=0x7fd9eb136700) at pthread_create.c:312
#10 0x00007fda5e11b37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fda60ba3800 (LWP 4594)):
[KCrash Handler]
#6  size (this=0x10) at /usr/include/qt4/QtCore/qlist.h:98
#7  count (this=0x10) at /usr/include/qt4/QtCore/qlist.h:280
#8  size (this=0x0) at ../../kmail/undostack.h:59
#9  KMMainWidget::updateMessageActionsDelayed (this=0x2dd2450) at ../../kmail/kmmainwidget.cpp:3967
#10 0x00007fd9f6853c1e in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:388
#11 0x00007fda5e87b87a in QMetaObject::activate (sender=0x3222180, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#12 0x00007fda5e87fa31 in QObject::event (this=0x3222180, e=<optimized out>) at kernel/qobject.cpp:1156
#13 0x00007fda5f259e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1db6cc0, receiver=receiver@entry=0x3222180, e=e@entry=0x7ffda16b8390) at kernel/qapplication.cpp:4567
#14 0x00007fda5f2604a0 in QApplication::notify (this=this@entry=0x7ffda16b9040, receiver=receiver@entry=0x3222180, e=e@entry=0x7ffda16b8390) at kernel/qapplication.cpp:4353
#15 0x00007fda5ff64cca in KApplication::notify (this=0x7ffda16b9040, receiver=0x3222180, event=0x7ffda16b8390) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007fda5e8674dd in QCoreApplication::notifyInternal (this=0x7ffda16b9040, receiver=0x3222180, event=0x7ffda16b8390) at kernel/qcoreapplication.cpp:953
#17 0x00007fda5e897323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QTimerInfoList::activateTimers (this=0x1db8d20) at kernel/qeventdispatcher_unix.cpp:621
#19 0x00007fda5e8945f1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#20 0x00007fda57b87e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fda57b88048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fda57b880ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fda5e8947a1 in QEventDispatcherGlib::processEvents (this=0x1d77bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#24 0x00007fda5f2fbbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fda5e8660af in QEventLoop::processEvents (this=this@entry=0x7ffda16b8600, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007fda5e8663a5 in QEventLoop::exec (this=0x7ffda16b8600, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007fda5ecf2af3 in KJob::exec (this=this@entry=0x24e62a0) at ../../kdecore/jobs/kjob.cpp:210
#28 0x00007fd9f6745b56 in KMKernel::cleanup (this=0x2406f40) at ../../kmail/kmkernel.cpp:1311
#29 0x00007fd9f6b00e48 in KMailPart::~KMailPart (this=this@entry=0x2237430, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#30 0x00007fd9f6b00f29 in KMailPart::~KMailPart (this=0x2237430, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#31 0x00007fda607dfd2e in KontactInterface::Plugin::~Plugin (this=0x2223bb0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#32 0x00007fd9fd461d26 in KMailPlugin::~KMailPlugin (this=0x2223bb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:173
#33 0x00007fd9fd461d49 in KMailPlugin::~KMailPlugin (this=0x2223bb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:177
#34 0x00007fda603a6f8e in Kontact::MainWindow::~MainWindow (this=this@entry=0x1f2ccf0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#35 0x00007fda603a70e9 in Kontact::MainWindow::~MainWindow (this=0x1f2ccf0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#36 0x00007fda5e87fc58 in QObject::event (this=this@entry=0x1f2ccf0, e=e@entry=0x1fc4600) at kernel/qobject.cpp:1175
#37 0x00007fda5f2a956b in QWidget::event (this=this@entry=0x1f2ccf0, event=event@entry=0x1fc4600) at kernel/qwidget.cpp:8846
#38 0x00007fda5f663a33 in QMainWindow::event (this=this@entry=0x1f2ccf0, event=event@entry=0x1fc4600) at widgets/qmainwindow.cpp:1478
#39 0x00007fda60019441 in KMainWindow::event (this=this@entry=0x1f2ccf0, ev=ev@entry=0x1fc4600) at ../../kdeui/widgets/kmainwindow.cpp:1084
#40 0x00007fda60050ed9 in KXmlGuiWindow::event (this=0x1f2ccf0, ev=0x1fc4600) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#41 0x00007fda5f259e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1db6cc0, receiver=receiver@entry=0x1f2ccf0, e=e@entry=0x1fc4600) at kernel/qapplication.cpp:4567
#42 0x00007fda5f2604a0 in QApplication::notify (this=this@entry=0x7ffda16b9040, receiver=receiver@entry=0x1f2ccf0, e=e@entry=0x1fc4600) at kernel/qapplication.cpp:4353
#43 0x00007fda5ff64cca in KApplication::notify (this=0x7ffda16b9040, receiver=0x1f2ccf0, event=0x1fc4600) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007fda5e8674dd in QCoreApplication::notifyInternal (this=0x7ffda16b9040, receiver=receiver@entry=0x1f2ccf0, event=event@entry=0x1fc4600) at kernel/qcoreapplication.cpp:953
#45 0x00007fda5e86ab3d in sendEvent (event=0x1fc4600, receiver=0x1f2ccf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d762b0) at kernel/qcoreapplication.cpp:1577
#47 0x00007fda5e86afe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#48 0x00007fda5e894f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#49 postEventSourceDispatch (s=0x1daff10) at kernel/qeventdispatcher_glib.cpp:287
#50 0x00007fda57b87e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fda57b88048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007fda57b880ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007fda5e8947a1 in QEventDispatcherGlib::processEvents (this=0x1d77bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#54 0x00007fda5f2fbbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007fda5e8660af in QEventLoop::processEvents (this=this@entry=0x7ffda16b8f40, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007fda5e8663a5 in QEventLoop::exec (this=this@entry=0x7ffda16b8f40, flags=...) at kernel/qeventloop.cpp:204
#57 0x00007fda5e86bb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#58 0x00007fda5f25837c in QApplication::exec () at kernel/qapplication.cpp:3828
#59 0x0000000000403660 in main (argc=1, argv=0x7ffda16b9188) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 335679.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 23:01:21 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:44:56 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.