Bug 349798 - Kontact crashes exiting from systray using context menu....
Summary: Kontact crashes exiting from systray using context menu....
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-01 20:29 UTC by Ralsa
Modified: 2018-02-01 09:46 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 Ralsa 2015-07-01 20:29:00 UTC
Application: kontact (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-41-generic i686
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I try to exit application form the systray using the context menu. The, it crashes....

The crash can be reproduced every time.

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

Thread 5 (Thread 0xb608fb40 (LWP 13872)):
#0  0xb7782d50 in __kernel_vsyscall ()
#1  0x47e97d4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x4645f8ac in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#3  0x4645f8ff in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x47e93f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0x47dc1bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb5766b40 (LWP 13873)):
#0  0xb7782d50 in __kernel_vsyscall ()
#1  0x47e97d4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x4648e8f3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#3  0x4616a474 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x464756c6 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x4648e269 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0x47e93f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x47dc1bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb3f13b40 (LWP 13884)):
#0  0x47e9712e in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x434f9120 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x434b3a27 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x434b42df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x434b4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x4874ce5f in QEventDispatcherGlib::processEvents (this=0xb3500468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x4871bd23 in QEventLoop::processEvents (this=this@entry=0xb3f13288, flags=...) at kernel/qeventloop.cpp:149
#7  0x4871c049 in QEventLoop::exec (this=this@entry=0xb3f13288, flags=...) at kernel/qeventloop.cpp:204
#8  0x4860873d in QThread::exec (this=this@entry=0x9575e30) at thread/qthread.cpp:537
#9  0x4860888b in QThread::run (this=0x9575e30) at thread/qthread.cpp:604
#10 0x4860b06f in QThreadPrivate::start (arg=0x9575e30) at thread/qthread_unix.cpp:349
#11 0x47e93f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x47dc1bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb2bcbb40 (LWP 13892)):
#0  0x434f8d0e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x434f9118 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x434b3372 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x434b4288 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x434b4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x4874ce5f in QEventDispatcherGlib::processEvents (this=0xb2200468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x4871bd23 in QEventLoop::processEvents (this=this@entry=0xb2bcb258, flags=...) at kernel/qeventloop.cpp:149
#7  0x4871c049 in QEventLoop::exec (this=this@entry=0xb2bcb258, flags=...) at kernel/qeventloop.cpp:204
#8  0x4860873d in QThread::exec (this=this@entry=0x9c5b888) at thread/qthread.cpp:537
#9  0x486fc144 in QInotifyFileSystemWatcherEngine::run (this=0x9c5b888) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x4860b06f in QThreadPrivate::start (arg=0x9c5b888) at thread/qthread_unix.cpp:349
#11 0x47e93f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x47dc1bee in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb773d740 (LWP 13871)):
[KCrash Handler]
#7  0x4c21afb7 in MailCommon::FolderTreeWidget::folderTreeView (this=0x9833cf0) at ../../mailcommon/folder/foldertreewidget.cpp:261
#8  0x4c87f5b6 in folderTreeView (this=<optimized out>) at ../../kmail/kmmainwidget.h:146
#9  KMKernel::treeviewModelSelection (this=0x9770000) at ../../kmail/kmkernel.cpp:1939
#10 0x4c87adee in KMail::KMSystemTray::slotContextMenuAboutToShow (this=this@entry=0x9a839f0) at ../../kmail/kmsystemtray.cpp:307
#11 0x4c9b2994 in KMail::KMSystemTray::qt_static_metacall (_o=_o@entry=0x9a839f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfc378d8) at moc_kmsystemtray.cpp:62
#12 0x487325f7 in QMetaObject::activate (sender=sender@entry=0x9a88a90, m=m@entry=0x49a65334 <QMenu::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#13 0x495a2fc5 in QMenu::aboutToShow (this=0x9a88a90) at .moc/release-shared/moc_qmenu.cpp:164
#14 0x495a9ea8 in QMenu::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfc37a14, _c=<optimized out>) at .moc/release-shared/moc_qmenu.cpp:73
#15 0x48725ef4 in QMetaMethod::invoke (this=this@entry=0xbfc37b34, object=0x9a88a90, connectionType=<optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#16 0x487284d3 in QMetaObject::invokeMethod (obj=0x9a88a90, member=0x48998860 "aboutToShow", type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#17 0x48986812 in ?? () from /usr/lib/i386-linux-gnu/libdbusmenu-qt.so.2
#18 0x489882ec in ?? () from /usr/lib/i386-linux-gnu/libdbusmenu-qt.so.2
#19 0x48988664 in ?? () from /usr/lib/i386-linux-gnu/libdbusmenu-qt.so.2
#20 0x4891577e in QDBusConnectionPrivate::deliverCall (this=this@entry=0x9a83cd8, object=object@entry=0x9a86c28, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:951
#21 0x48916ac7 in QDBusConnectionPrivate::activateCall (this=0x9a83cd8, object=0x9a86c28, flags=4080, msg=...) at qdbusintegrator.cpp:863
#22 0x489170f7 in QDBusConnectionPrivate::activateObject (this=0x9a83cd8, node=..., msg=..., pathStartPos=8) at qdbusintegrator.cpp:1427
#23 0x489174d8 in QDBusActivateObjectEvent::placeMetaCall (this=0x979ab48) at qdbusintegrator.cpp:1541
#24 0x48736bfb in QObject::event (this=0x9a86c28, e=0x979ab48) at kernel/qobject.cpp:1194
#25 0x49103c94 in QApplicationPrivate::notify_helper (this=0x93d3468, receiver=0x9a86c28, e=0x979ab48) at kernel/qapplication.cpp:4567
#26 0x4910a773 in QApplication::notify (this=0xbfc38898, receiver=receiver@entry=0x9a86c28, e=e@entry=0x979ab48) at kernel/qapplication.cpp:4353
#27 0x49cbc354 in KApplication::notify (this=0xbfc38898, receiver=0x9a86c28, event=0x979ab48) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x4871d34a in QCoreApplication::notifyInternal (this=0xbfc38898, receiver=receiver@entry=0x9a86c28, event=event@entry=0x979ab48) at kernel/qcoreapplication.cpp:953
#29 0x48720c0d in sendEvent (event=0x979ab48, receiver=0x9a86c28) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x93a7010) at kernel/qcoreapplication.cpp:1577
#31 0x4872111c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#32 0x4874d73e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x93db810) at kernel/qeventdispatcher_glib.cpp:287
#34 0x434b41e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x434b4468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x434b4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x4874ce3b in QEventDispatcherGlib::processEvents (this=this@entry=0x93a7d98, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#38 0x491b8aae in QGuiEventDispatcherGlib::processEvents (this=0x93a7d98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x4871bd23 in QEventLoop::processEvents (this=this@entry=0xbfc38668, flags=...) at kernel/qeventloop.cpp:149
#40 0x4871c049 in QEventLoop::exec (this=0xbfc38668, flags=...) at kernel/qeventloop.cpp:204
#41 0x48c1c6d3 in KJob::exec (this=this@entry=0x9a6d570) at ../../kdecore/jobs/kjob.cpp:210
#42 0x4c884f76 in KMKernel::cleanup (this=0x9770000) at ../../kmail/kmkernel.cpp:1311
#43 0xb435c333 in KMailPart::~KMailPart (this=this@entry=0x964b780, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:119
#44 0xb435c45c in KMailPart::~KMailPart (this=0x964b780, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:121
#45 0x4c7e5918 in KontactInterface::Plugin::~Plugin (this=0x95e2870, __vtt_parm=0xb45c2c0c <VTT for KMailPlugin+4>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#46 0xb45b6215 in KMailPlugin::~KMailPlugin (this=this@entry=0x95e2870, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:173
#47 0xb45b625c in KMailPlugin::~KMailPlugin (this=0x95e2870, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:177
#48 0x47a64186 in Kontact::MainWindow::~MainWindow (this=this@entry=0x94ee920, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#49 0x47a642fc in Kontact::MainWindow::~MainWindow (this=0x94ee920, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#50 0x0804ab86 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#51 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#52 main (argc=1, argv=0xbfc38974) at ../../../kontact/src/main.cpp:220

Possible duplicates by query: bug 340636, bug 340624.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 19:38:15 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks (5.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 oportunity 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:46:39 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.