Bug 355358

Summary: Sending mail (gmail), outgoing server not supported, notification new mail in sent; CRASH
Product: [Applications] kontact Reporter: Franz Klotsche <frans_k>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: stasnel
Priority: NOR    
Version: 4.13   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Franz Klotsche 2015-11-14 22:14:49 UTC
Application: kontact (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.19.0-33-generic x86_64
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
I got several erros while trying to send about the outgoing server settings aren't supported (I tried authentification methods PLAIN and LOGIN)  After I sent the mail with the web app of google mail Kontact notified a new mail in sent, when I got back to Kontact it crashed.

-- 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 0x7f92dac88800 (LWP 2734))]

Thread 6 (Thread 0x7f92bc65c700 (LWP 2762)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f92d5a1e81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f92d5a1e859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f92d2140182 in start_thread (arg=0x7f92bc65c700) at pthread_create.c:312
#4  0x00007f92d81f147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f927be59700 (LWP 2813)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f92d575f20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f92d5a4dfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f92d2140182 in start_thread (arg=0x7f927be59700) at pthread_create.c:312
#4  0x00007f92d81f147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f9268247700 (LWP 3559)):
#0  __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f9260000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f9260000a60) at pthread_mutex_unlock.c:310
#2  0x00007f92d1ca29b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f92d1c608f9 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f92d1c60f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f92d1c610ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f92d896a7be in QEventDispatcherGlib::processEvents (this=0x7f92600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f92d893c0af in QEventLoop::processEvents (this=this@entry=0x7f9268246de0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f92d893c3a5 in QEventLoop::exec (this=this@entry=0x7f9268246de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f92d8838c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#10 0x00007f92d883b32f in QThreadPrivate::start (arg=0x1d7d1f0) at thread/qthread_unix.cpp:349
#11 0x00007f92d2140182 in start_thread (arg=0x7f9268247700) at pthread_create.c:312
#12 0x00007f92d81f147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f925fdad700 (LWP 3617)):
#0  __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f9254000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f9254000a60) at pthread_mutex_unlock.c:310
#2  0x00007f92d1ca29b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f92d1c60680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f92d1c60f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f92d1c610ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f92d896a7be in QEventDispatcherGlib::processEvents (this=0x7f92540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f92d893c0af in QEventLoop::processEvents (this=this@entry=0x7f925fdacda0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f92d893c3a5 in QEventLoop::exec (this=this@entry=0x7f925fdacda0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f92d8838c5f in QThread::exec (this=this@entry=0x1d48f80) at thread/qthread.cpp:537
#10 0x00007f92d891d823 in QInotifyFileSystemWatcherEngine::run (this=0x1d48f80) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f92d883b32f in QThreadPrivate::start (arg=0x1d48f80) at thread/qthread_unix.cpp:349
#12 0x00007f92d2140182 in start_thread (arg=0x7f925fdad700) at pthread_create.c:312
#13 0x00007f92d81f147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f92539fc700 (LWP 3774)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9272c90ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9272c91039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f92d2140182 in start_thread (arg=0x7f92539fc700) at pthread_create.c:312
#4  0x00007f92d81f147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f92dac88800 (LWP 2734)):
[KCrash Handler]
#6  isEmpty (this=0x90, this@entry=0x120) at ../../include/QtCore/../../src/corelib/tools/qhash.h:297
#7  QHash<QModelIndex, QPersistentModelIndexData*>::remove (this=this@entry=0x90, akey=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:786
#8  0x00007f92d8932fd4 in QAbstractItemModelPrivate::removePersistentIndexData (this=0x0, data=data@entry=0x412e8c0) at kernel/qabstractitemmodel.cpp:542
#9  0x00007f92d8933369 in QPersistentModelIndexData::destroy (data=0x412e8c0) at kernel/qabstractitemmodel.cpp:83
#10 0x00007f92d89333af in QPersistentModelIndex::~QPersistentModelIndex (this=0x40bd648, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:155
#11 0x00007f92d97fcb8c in node_destruct (this=<optimized out>, to=0x40bd648, from=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:433
#12 free (this=<optimized out>, data=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#13 QList<QPersistentModelIndex>::~QList (this=0x90, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:732
#14 0x00007f92d9840189 in ~QHeaderViewPrivate (this=0x37fc1d0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:66
#15 QHeaderViewPrivate::~QHeaderViewPrivate (this=0x37fc1d0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:66
#16 0x00007f92d8956735 in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#17 ~QScopedPointer (this=0x3f19aa8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#18 QObject::~QObject (this=0x3f19aa0, __in_chrg=<optimized out>) at kernel/qobject.cpp:816
#19 0x00007f92d937bddc in QWidget::~QWidget (this=0x3f19aa0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554
#20 0x00007f92d9832ad9 in QHeaderView::~QHeaderView (this=0x3f19aa0, __in_chrg=<optimized out>) at itemviews/qheaderview.cpp:339
#21 0x00007f92d8954168 in QObjectPrivate::deleteChildren (this=this@entry=0x3ed1520) at kernel/qobject.cpp:1907
#22 0x00007f92d937bd47 in QWidget::~QWidget (this=0x3ed14b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#23 0x00007f91cec44299 in ?? () from /usr/lib/libeventviews.so.4
#24 0x00007f92d8954168 in QObjectPrivate::deleteChildren (this=this@entry=0x39a87d0) at kernel/qobject.cpp:1907
#25 0x00007f92d937bd47 in QWidget::~QWidget (this=0x3eb2680, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#26 0x00007f91cec172d5 in EventViews::TodoView::~TodoView() () from /usr/lib/libeventviews.so.4
#27 0x00007f91cec174c9 in EventViews::TodoView::~TodoView() () from /usr/lib/libeventviews.so.4
#28 0x00007f92d8954168 in QObjectPrivate::deleteChildren (this=this@entry=0x3eb2480) at kernel/qobject.cpp:1907
#29 0x00007f92d937bd47 in QWidget::~QWidget (this=0x246dc30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#30 0x00007f91cef2caf1 in ?? () from /usr/lib/libkorganizerprivate.so.4
#31 0x00007f92d8954168 in QObjectPrivate::deleteChildren (this=this@entry=0x3c31e20) at kernel/qobject.cpp:1907
#32 0x00007f92d937bd47 in QWidget::~QWidget (this=0x3c31df0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#33 0x00007f92d9777ea9 in QStackedWidget::~QStackedWidget (this=0x3c31df0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:196
#34 0x00007f92d8954168 in QObjectPrivate::deleteChildren (this=this@entry=0x3c09b70) at kernel/qobject.cpp:1907
#35 0x00007f92d937bd47 in QWidget::~QWidget (this=0x3a3d2e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#36 0x00007f92da1224d9 in KVBox::~KVBox (this=0x3a3d2e0, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#37 0x00007f92d8954168 in QObjectPrivate::deleteChildren (this=this@entry=0x3c9bac0) at kernel/qobject.cpp:1907
#38 0x00007f92d937bd47 in QWidget::~QWidget (this=0x3b7f3f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#39 0x00007f92d9773a49 in QSplitter::~QSplitter (this=0x3b7f3f0, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#40 0x00007f92d8954168 in QObjectPrivate::deleteChildren (this=this@entry=0x39cbb90) at kernel/qobject.cpp:1907
#41 0x00007f92d937bd47 in QWidget::~QWidget (this=0x3a90360, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#42 0x00007f91ceee5679 in CalendarView::~CalendarView() () from /usr/lib/libkorganizerprivate.so.4
#43 0x00007f91ceecf37e in ActionManager::~ActionManager() () from /usr/lib/libkorganizerprivate.so.4
#44 0x00007f91ceecf479 in ActionManager::~ActionManager() () from /usr/lib/libkorganizerprivate.so.4
#45 0x00007f91cf5cf46f in ?? () from /usr/lib/kde4/korganizerpart.so
#46 0x00007f91cf5cf529 in ?? () from /usr/lib/kde4/korganizerpart.so
#47 0x00007f92da8b5d2e in KontactInterface::Plugin::~Plugin() () from /usr/lib/libkontactinterface.so.4
#48 0x00007f9278c2ccf1 in ?? () from /usr/lib/kde4/kontact_korganizerplugin.so
#49 0x00007f9278c2cd39 in ?? () from /usr/lib/kde4/kontact_korganizerplugin.so
#50 0x00007f92da47cf8e in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#51 0x00007f92da47d0e9 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#52 0x00007f92d8955c58 in QObject::event (this=this@entry=0x1c610a0, e=e@entry=0x7b05980) at kernel/qobject.cpp:1175
#53 0x00007f92d937f56b in QWidget::event (this=this@entry=0x1c610a0, event=event@entry=0x7b05980) at kernel/qwidget.cpp:8846
#54 0x00007f92d9739a33 in QMainWindow::event (this=this@entry=0x1c610a0, event=event@entry=0x7b05980) at widgets/qmainwindow.cpp:1478
#55 0x00007f92da0ef491 in KMainWindow::event (this=this@entry=0x1c610a0, ev=ev@entry=0x7b05980) at ../../kdeui/widgets/kmainwindow.cpp:1084
#56 0x00007f92da126f09 in KXmlGuiWindow::event (this=0x1c610a0, ev=0x7b05980) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#57 0x00007f92d932fe2c in QApplicationPrivate::notify_helper (this=this@entry=0x1af6160, receiver=receiver@entry=0x1c610a0, e=e@entry=0x7b05980) at kernel/qapplication.cpp:4567
#58 0x00007f92d93364a0 in QApplication::notify (this=this@entry=0x7ffebe850990, receiver=receiver@entry=0x1c610a0, e=e@entry=0x7b05980) at kernel/qapplication.cpp:4353
#59 0x00007f92da03ad1a in KApplication::notify (this=0x7ffebe850990, receiver=0x1c610a0, event=0x7b05980) at ../../kdeui/kernel/kapplication.cpp:311
#60 0x00007f92d893d4dd in QCoreApplication::notifyInternal (this=0x7ffebe850990, receiver=receiver@entry=0x1c610a0, event=event@entry=0x7b05980) at kernel/qcoreapplication.cpp:953
#61 0x00007f92d8940b3d in sendEvent (event=0x7b05980, receiver=0x1c610a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1ab52b0) at kernel/qcoreapplication.cpp:1577
#63 0x00007f92d8940fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#64 0x00007f92d896af83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#65 postEventSourceDispatch (s=0x1af1140) at kernel/qeventdispatcher_glib.cpp:287
#66 0x00007f92d1c60e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f92d1c61048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f92d1c610ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007f92d896a7a1 in QEventDispatcherGlib::processEvents (this=0x1aee890, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#70 0x00007f92d93d1be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x00007f92d893c0af in QEventLoop::processEvents (this=this@entry=0x7ffebe850890, flags=...) at kernel/qeventloop.cpp:149
#72 0x00007f92d893c3a5 in QEventLoop::exec (this=this@entry=0x7ffebe850890, flags=...) at kernel/qeventloop.cpp:204
#73 0x00007f92d8941b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#74 0x0000000000403660 in ?? ()
#75 0x00007f92d8118ec5 in __libc_start_main (main=0x402bb0, argc=3, argv=0x7ffebe850ad8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffebe850ac8) at libc-start.c:287
#76 0x0000000000403b28 in _start ()

Possible duplicates by query: bug 335531, bug 322158, bug 315601, bug 314394.

Report to https://bugs.kde.org/

Reproducible: Didn't try
Comment 1 Denis Kurz 2017-06-23 20:21:21 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those 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:55:13 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.