Bug 457897 - Kontact (or Kmail) hangs when selecting email, and crashes when closing
Summary: Kontact (or Kmail) hangs when selecting email, and crashes when closing
Status: REPORTED
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: 2022-08-15 03:44 UTC by Erich Eickmeyer
Modified: 2022-11-23 21:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.58 KB, text/plain)
2022-09-18 23:52 UTC, john4deidre2013
Details
New crash information added by DrKonqi (7.29 KB, text/plain)
2022-11-23 21:07 UTC, john4deidre2013
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Eickmeyer 2022-08-15 03:44:59 UTC
Application: kontact (5.20.3 (22.04.3))

Qt Version: 5.15.4
Frameworks Version: 5.96.0
Operating System: Linux 5.15.0-24-lowlatency x86_64
Windowing System: X11
Distribution: Ubuntu Kinetic Kudu (development branch)
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
Sometimes an email that has been filtered-out to another folder or otherwise deleted from the inbox, it remains in the inbox. When this happens, selecting it will cause the application to allow other emails to be selected, but the application will hang and not display the email or open the email in a window. Closing the application results in a crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd388b7ceb8 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1143
#6  QAction::d_func (this=0x0) at ../../include/QtWidgets/../../src/widgets/kernel/qaction.h:63
#7  QAction::setText (this=this@entry=0x0, text=...) at kernel/qaction.cpp:714
#8  0x00007fd31fef44b2 in KMMainWidget::updateFolderMenu (this=0x55ec79c1c690) at ./src/kmmainwidget.cpp:4037
#9  0x00007fd31fefecc7 in KMMainWidget::setupActions (this=<optimized out>) at ./src/kmmainwidget.cpp:3399
#10 0x00007fd31ff049e2 in KMMainWidget::KMMainWidget (this=this@entry=0x55ec79c1c690, parent=parent@entry=0x55ec75400960, aGUIClient=aGUIClient@entry=0x55ec7e31e5a0, actionCollection=<optimized out>, config=...) at ./src/kmmainwidget.cpp:242
#11 0x00007fd33425b2c7 in KMailPart::KMailPart (this=0x55ec7e31e570, parentWidget=<optimized out>, parent=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/kmail_part.cpp:69
#12 0x00007fd33425b8b5 in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x7fd36c03c190, parent=0x7fd36c03c190, args=...) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:897
#13 0x00007fd38921d172 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#14 0x00007fd3893abaa7 in KPluginFactory::create<KParts::Part> (args=..., parent=0x7fd36c03c190, this=0x55ec71a2af50) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:939
#15 KPluginFactory::instantiatePlugin<KParts::Part> (args=..., parent=0x7fd36c03c190, data=...) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:509
#16 KontactInterface::Core::createPart (this=0x7fd36c03c190, libname=0x55ec735e5588 "kmailpart") at ./src/core.cpp:70
#17 0x00007fd3893ad0d2 in KontactInterface::Plugin::loadPart (this=this@entry=0x55ec71889eb0) at ./src/plugin.cpp:129
#18 0x00007fd3345dfc6a in KMailPlugin::createPart (this=0x55ec71889eb0) at ./src/kontactplugin/kmail/kmail_plugin.cpp:149
#19 0x00007fd3893af0ac in KontactInterface::Plugin::part (this=this@entry=0x55ec71889eb0) at ./src/plugin.cpp:140
#20 0x00007fd3893dc2bb in Kontact::MainWindow::selectPlugin (this=0x7fd36c03c190, plugin=0x55ec71889eb0) at ./src/mainwindow.cpp:552
#21 0x00007fd3893dd8c4 in Kontact::MainWindow::loadSettings (this=this@entry=0x7fd36c03c190) at ./src/mainwindow.cpp:681
#22 0x00007fd3893e1cc8 in Kontact::MainWindow::initObject (this=0x7fd36c03c190) at ./src/mainwindow.cpp:147
#23 0x00007fd3893e2720 in Kontact::MainWindow::MainWindow (this=<optimized out>, this=<optimized out>) at ./src/mainwindow.cpp:84
#24 0x000055ec7061e705 in KontactApp::activate (this=0x7ffd0f8977e0, args=..., workingDir=...) at ./src/main.cpp:115
#25 0x00007fd3893ab1be in KontactInterface::PimUniqueApplication::newInstance (this=0x7ffd0f8977e0, startupId=..., arguments=..., workingDirectory=...) at ./src/pimuniqueapplication.cpp:174
#26 0x00007fd3893ae2b7 in KontactInterface::PimUniqueApplication::qt_static_metacall (_c=<optimized out>, _id=<optimized out>, _a=0x7ffd0f897100, _o=0x7ffd0f8977e0) at ./obj-x86_64-linux-gnu/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:87
#27 KontactInterface::PimUniqueApplication::qt_static_metacall (_o=_o@entry=0x7ffd0f8977e0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7ffd0f897100) at ./obj-x86_64-linux-gnu/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:79
#28 0x00007fd3893ae3b3 in KontactInterface::PimUniqueApplication::qt_metacall (this=0x7ffd0f8977e0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffd0f897100) at ./obj-x86_64-linux-gnu/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:124
#29 0x00007fd38914523b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#30 0x00007fd389148cf0 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fd36c0192c0, object=0x7ffd0f8977e0, flags=81, msg=...) at ./src/dbus/qdbusintegrator.cpp:904
#31 0x00007fd38914956e in QDBusConnectionPrivate::activateCall (msg=..., flags=<optimized out>, object=<optimized out>, this=0x7fd36c0192c0) at ./src/dbus/qdbusintegrator.cpp:853
#32 QDBusConnectionPrivate::activateObject (this=0x7fd36c0192c0, node=..., msg=..., pathStartPos=<optimized out>) at ./src/dbus/qdbusintegrator.cpp:1521
#33 0x00007fd38914ba0c in QDBusActivateObjectEvent::placeMetaCall (this=0x55ec7e4b4fd0) at ./src/dbus/qdbusintegrator.cpp:1617
#34 0x00007fd3880c19d0 in QObject::event (this=0x7ffd0f8977e0, e=0x55ec7e4b4fd0) at kernel/qobject.cpp:1314
#35 0x00007fd388b80f42 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7ffd0f8977e0, e=0x55ec7e4b4fd0) at kernel/qapplication.cpp:3637
#36 0x00007fd388094d78 in QCoreApplication::notifyInternal2 (receiver=0x7ffd0f8977e0, event=0x55ec7e4b4fd0) at kernel/qcoreapplication.cpp:1064
#37 0x00007fd388097df1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55ec70f374b0) at kernel/qcoreapplication.cpp:1821
#38 0x00007fd3880ef187 in postEventSourceDispatch (s=0x55ec71104b20) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007fd37e32ad3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fd37e37f6a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fd37e3283e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fd3880ee84a in QEventDispatcherGlib::processEvents (this=0x55ec71105d00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007fd38809370b in QEventLoop::exec (this=this@entry=0x7ffd0f8976c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#44 0x00007fd38809bb6a in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#45 0x000055ec7061d68c in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:214
[Inferior 1 (process 46206) detached]

Reported using DrKonqi
Comment 1 john4deidre2013 2022-09-18 23:52:14 UTC
Created attachment 152200 [details]
New crash information added by DrKonqi

kontact (5.21.1 (22.08.1)) using Qt 5.15.5

This happened today 19 Sept 2022

i was using libvirt to install an iso.  this must have been a resource issue perhaps.  while i was using libvirt, i clicked on the kontact menu icon, then it crashed with the errors in debug

-- Backtrace (Reduced):
#4  0x00007f033f7f1404 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
[...]
#7  QAction::setText (this=this@entry=0x0, text=...) at kernel/qaction.cpp:714
#8  0x00007f02e0d02a2a in KMMainWidget::updateFolderMenu (this=0x557b9d25b4b0) at /usr/src/debug/kmail-22.08.1-1.1.x86_64/src/kmmainwidget.cpp:4045
#9  0x00007f02e0cf9d4d in KMMainWidget::setupActions (this=<optimized out>) at /usr/src/debug/kmail-22.08.1-1.1.x86_64/src/kmmainwidget.cpp:3405
#10 0x00007f02e0cea531 in KMMainWidget::KMMainWidget (this=<optimized out>, parent=<optimized out>, aGUIClient=<optimized out>, actionCollection=<optimized out>, config=..., this=<optimized out>, parent=<optimized out>, aGUIClient=<optimized out>, actionCollection=<optimized out>, config=...) at /usr/src/debug/kmail-22.08.1-1.1.x86_64/src/kmmainwidget.cpp:242
Comment 2 john4deidre2013 2022-11-23 21:07:41 UTC
Created attachment 153980 [details]
New crash information added by DrKonqi

kontact (5.21.3 (22.08.3)) using Qt 5.15.7

Not too sure if i've said this, but this crash happened under heavy load while loading steam.  not too sure if that was the cause or not

-- Backtrace (Reduced):
#4  0x00007f95529a13e4 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
[...]
#7  QAction::setText (this=this@entry=0x0, text=...) at kernel/qaction.cpp:714
#8  0x00007f94eb5eb8ba in KMMainWidget::updateFolderMenu (this=0x558f70069c20) at /usr/src/debug/kmail-22.08.3/src/kmmainwidget.cpp:4045
#9  0x00007f94eb5e2bed in KMMainWidget::setupActions (this=<optimized out>) at /usr/src/debug/kmail-22.08.3/src/kmmainwidget.cpp:3405
#10 0x00007f94eb5d33b1 in KMMainWidget::KMMainWidget (this=<optimized out>, parent=<optimized out>, aGUIClient=<optimized out>, actionCollection=<optimized out>, config=..., this=<optimized out>, parent=<optimized out>, aGUIClient=<optimized out>, actionCollection=<optimized out>, config=...) at /usr/src/debug/kmail-22.08.3/src/kmmainwidget.cpp:242