https://bugs.kde.org/show_bug.cgi?id=457897
Bug ID: 457897
Summary: Kontact (or Kmail) hangs when selecting email, and
crashes when closing
Product: kontact
Version: unspecified
Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kdepim-bugs@kde.org
Reporter: eeickme...@ubuntu.com
Target Milestone: ---
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 0x7fd388b7ceb8 in QScopedPointer >::operator-> (this=0x8) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#5 qGetPtrHelper > > (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 0x7fd31fef44b2 in KMMainWidget::updateFolderMenu (this=0x55ec79c1c690)
at ./src/kmmainwidget.cpp:4037
#9 0x7fd31fefecc7 in KMMainWidget::setupActions (this=) at
./src/kmmainwidget.cpp:3399
#10 0x7fd31ff049e2 in KMMainWidget::KMMainWidget
(this=this@entry=0x55ec79c1c690, parent=parent@entry=0x55ec75400960,
aGUIClient=aGUIClient@entry=0x55ec7e31e5a0, actionCollection=,
config=...) at ./src/kmmainwidget.cpp:242
#11 0x7fd33425b2c7 in KMailPart::KMailPart (this=0x55ec7e31e570,
parentWidget=, parent=, __in_chrg=, __vtt_parm=) at ./src/kmail_part.cpp:69
#12 0x7fd33425b8b5 in KPluginFactory::createPartInstance
(parentWidget=0x7fd36c03c190, parent=0x7fd36c03c190, args=...) at
/usr/include/KF5/KCoreAddons/kpluginfactory.h:897
#13 0x7fd38921d172 in KPluginFactory::create(char const*, QWidget*,
QObject*, QList const&, QString const&) () from
/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#14 0x7fd3893abaa7 in KPluginFactory::create (args=...,
parent=0x7fd36c03c190, this=0x55ec71a2af50) at
/usr/include/KF5/KCoreAddons/kpluginfactory.h:939
#15 KPluginFactory::instantiatePlugin (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 0x7fd3893ad0d2 in KontactInterface::Plugin::loadPart
(this=this@entry=0x55ec71889eb0) at ./src/plugin.cpp:129
#18 0x7fd3345dfc6a in KMailPlugin::createPart (this=0x55ec71889eb0) at
./src/kontactplugin/kmail/kmail_plugin.cpp:149
#19 0x7fd3893af0ac in KontactInterface::Plugin::part
(this=this@entry=0x55ec71889eb0) at ./src/plugin.cpp:140
#20 0x7fd3893dc2bb in Kontact::MainWindow::selectPlugin
(this=0x7fd36c03c190, plugin=0x55ec71889eb0) at ./src/mainwindow.cpp:552
#21 0x7fd3893dd8c4 in Kontact::MainWindow::loadSettings
(this=this@entry=0x7fd36c03c190) at ./src/mainwindow.cpp:681
#22 0x7fd3893e1cc8 in Kontact::MainWindow::initObject (this=0x7fd36c03c190)
at ./src/mainwindow.cpp:147
#23 0x7fd3893e2720 in Kontact::MainWindow::MainWindow (this=, this=) at ./src/mainwindow.cpp:84
#24 0x55ec7061e705 in KontactApp::activate (this=0x7ffd0f8977e0, args=...,
workingDir=...) at ./src/main.cpp:115
#25 0x7fd3893ab1be in KontactInterface::PimUniqueApplication::newInstance
(this=0x7ffd0f8977e0, startupId=..., arguments=..., workingDirectory=...) at
./src/pimuniqueapplication.cpp:174
#26 0x7fd3893ae2b7 in
KontactInterface::PimUniqueApplication::qt_static_metacall (_c=,
_id=, _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 0x7fd3893ae3b3 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 0x7fd38914523b in