Bug 393262

Summary: when closing the system or program, kontact suspends operations
Product: [Applications] kontact Reporter: jarek <kaja>
Component: contactsAssignee: Tobias Koenig <tokoe>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: kdepim-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mint (Debian based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jarek 2018-04-18 16:45:42 UTC
ver4.14.2
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaf99a780 (LWP 3314))]

Thread 6 (Thread 0xacc53b40 (LWP 3315)):
#0  0xb77c6424 in __kernel_vsyscall ()
#1  0xb323ad4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb614ddcc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb501e9ac in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb501e9ff in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3236f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb6140bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xac32ab40 (LWP 3316)):
#0  0xb77c6424 in __kernel_vsyscall ()
#1  0xb323ad4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb614ddcc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb504d9f3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4d29574 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb50347c6 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb504d369 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb3236f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb6140bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa9572b40 (LWP 3325)):
#0  0xb31509ae in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb31512df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb3151528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb649495f in QEventDispatcherGlib::processEvents (this=0xa8c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0xb6463823 in QEventLoop::processEvents (this=this@entry=0xa9572248, flags=...) at kernel/qeventloop.cpp:149
#5  0xb6463b49 in QEventLoop::exec (this=this@entry=0xa9572248, flags=...) at kernel/qeventloop.cpp:204
#6  0xb635023d in QThread::exec (this=this@entry=0x9784178) at thread/qthread.cpp:537
#7  0xb635038b in QThread::run (this=0x9784178) at thread/qthread.cpp:604
#8  0xb6352b6f in QThreadPrivate::start (arg=0x9784178) at thread/qthread_unix.cpp:349
#9  0xb3236f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb6140bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa7d1cb40 (LWP 3338)):
#0  0xb614dfe0 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb3196120 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb3150a27 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb31512df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3151528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb649495f in QEventDispatcherGlib::processEvents (this=0xa8200468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb6463823 in QEventLoop::processEvents (this=this@entry=0xa7d1c218, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6463b49 in QEventLoop::exec (this=this@entry=0xa7d1c218, flags=...) at kernel/qeventloop.cpp:204
#8  0xb635023d in QThread::exec (this=this@entry=0xa2fbd80) at thread/qthread.cpp:537
#9  0xb6443c44 in QInotifyFileSystemWatcherEngine::run (this=0xa2fbd80) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb6352b6f in QThreadPrivate::start (arg=0xa2fbd80) at thread/qthread_unix.cpp:349
#11 0xb3236f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb6140bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa6c5cb40 (LWP 3434)):
#0  0xb6494dc5 in testAndSetOrdered (newValue=1, expectedValue=0, this=0xbbe52f0) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:144
#1  testAndSetAcquire (newValue=1, expectedValue=0, this=0xbbe52f0) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:266
#2  tryLockInline (this=0xbbe5f8c) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:181
#3  lockInline (this=0xbbe5f8c) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:189
#4  QMutexLocker (m=0xbbe5f8c, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#5  canWaitLocked (this=0xbbe5f60) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:228
#6  postEventSourcePrepare (s=0xa82032f0, timeout=0xa6c5c0ac) at kernel/qeventdispatcher_glib.cpp:270
#7  0xb31509b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb31512df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb3151528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb649495f in QEventDispatcherGlib::processEvents (this=0xa8202958, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#11 0xb6463823 in QEventLoop::processEvents (this=this@entry=0xa6c5c218, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6463b49 in QEventLoop::exec (this=this@entry=0xa6c5c218, flags=...) at kernel/qeventloop.cpp:204
#13 0xb635023d in QThread::exec (this=this@entry=0xbc126a8) at thread/qthread.cpp:537
#14 0xb6443c44 in QInotifyFileSystemWatcherEngine::run (this=0xbc126a8) at io/qfilesystemwatcher_inotify.cpp:265
#15 0xb6352b6f in QThreadPrivate::start (arg=0xbc126a8) at thread/qthread_unix.cpp:349
#16 0xb3236f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb6140bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xaf99a780 (LWP 3314)):
[KCrash Handler]
#7  0xb6f46cf4 in operator QItemSelectionModel* (this=<error reading variable: Cannot access memory at address 0x4>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#8  QAbstractItemView::selectionModel (this=0x0) at itemviews/qabstractitemview.cpp:766
#9  0xaa225d36 in MailCommon::FolderTreeWidget::selectedCollections (this=0x9a8a120) at ../../mailcommon/folder/foldertreewidget.cpp:243
#10 0xaa39269e in KMMainWidget::updateFolderMenu (this=this@entry=0x9a80598) at ../../kmail/kmmainwidget.cpp:4105
#11 0xaa393498 in KMMainWidget::slotUpdateActionsAfterMailChecking (this=this@entry=0x9a80598) at ../../kmail/kmmainwidget.cpp:441
#12 0xaa48dc1a in KMMainWidget::qt_static_metacall (_o=_o@entry=0x9a80598, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=151, _a=0xbf87e648) at moc_kmmainwidget.cpp:526
#13 0xb647a0f7 in QMetaObject::activate (sender=sender@entry=0x9a806c8, m=m@entry=0xb65d1518 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#14 0xb64ca435 in QTimer::timeout (this=this@entry=0x9a806c8) at .moc/release-shared/moc_qtimer.cpp:147
#15 0xb6483926 in QTimer::timerEvent (this=0x9a806c8, e=0xbf87e9c0) at kernel/qtimer.cpp:280
#16 0xb647e55c in QObject::event (this=0x9a806c8, e=0xbf87e9c0) at kernel/qobject.cpp:1156
#17 0xb69c07f4 in QApplicationPrivate::notify_helper (this=0x95ecc50, receiver=0x9a806c8, e=0xbf87e9c0) at kernel/qapplication.cpp:4567
#18 0xb69c72d3 in QApplication::notify (this=0xbf87ee18, receiver=receiver@entry=0x9a806c8, e=e@entry=0xbf87e9c0) at kernel/qapplication.cpp:4353
#19 0xb75101b4 in KApplication::notify (this=0xbf87ee18, receiver=0x9a806c8, event=0xbf87e9c0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0xb6464e4a in QCoreApplication::notifyInternal (this=0xbf87ee18, receiver=0x9a806c8, event=event@entry=0xbf87e9c0) at kernel/qcoreapplication.cpp:953
#21 0xb64977bb in sendEvent (event=0xbf87e9c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QTimerInfoList::activateTimers (this=this@entry=0x95f2134) at kernel/qeventdispatcher_unix.cpp:621
#23 0xb6494788 in timerSourceDispatch (source=0x95f2100) at kernel/qeventdispatcher_glib.cpp:193
#24 0xb31511e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb3151468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb3151528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb649493b in QEventDispatcherGlib::processEvents (this=this@entry=0x957dd98, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#28 0xb6a7560e in QGuiEventDispatcherGlib::processEvents (this=0x957dd98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0xb6463823 in QEventLoop::processEvents (this=this@entry=0xbf87ebe8, flags=...) at kernel/qeventloop.cpp:149
#30 0xb6463b49 in QEventLoop::exec (this=0xbf87ebe8, flags=...) at kernel/qeventloop.cpp:204
#31 0xb66dc713 in KJob::exec (this=this@entry=0x9ede5c8) at ../../kdecore/jobs/kjob.cpp:210
#32 0xaa35ae76 in KMKernel::cleanup (this=0x99caf30) at ../../kmail/kmkernel.cpp:1311
#33 0xaa54d333 in KMailPart::~KMailPart (this=this@entry=0x98af420, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#34 0xaa54d45c in KMailPart::~KMailPart (this=0x98af420, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#35 0xb779bff8 in KontactInterface::Plugin::~Plugin (this=0x9874180, __vtt_parm=0xaad82c0c <VTT for KMailPlugin+4>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#36 0xaad76215 in KMailPlugin::~KMailPlugin (this=this@entry=0x9874180, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:173
#37 0xaad7625c in KMailPlugin::~KMailPlugin (this=0x9874180, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:177
#38 0xb7764146 in Kontact::MainWindow::~MainWindow (this=this@entry=0x9711b98, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#39 0xb77642bc in Kontact::MainWindow::~MainWindow (this=0x9711b98, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#40 0x0804ab86 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#41 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#42 main (argc=1, argv=0xbf87eef4) at ../../../kontact/src/main.cpp:220
Comment 1 Christoph Feck 2018-05-09 23:18:41 UTC
KDEPIM 4 is unmaintained.