Bug 452444 - KMail crashed on quit
Summary: KMail crashed on quit
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-04-09 20:40 UTC by Erik Quaeghebeur
Modified: 2022-05-20 10:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.95 KB, text/plain)
2022-04-19 12:17 UTC, Erik Quaeghebeur
Details
New crash information added by DrKonqi (8.82 KB, text/plain)
2022-05-20 10:01 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2022-04-09 20:40:19 UTC
Application: kmail (5.19.3 (21.12.3))
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.15.32-gentoo-r1-a x86_64
Windowing System: X11
Distribution: Gentoo/Linux
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I was opening a mail, but it did not load. Therefore, I quit the application, which triggered this crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault

[KCrash Handler]
#4  0x0000734216b897d8 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/tools/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >&) (ptr=...) at ../../include/QtCore/../../../qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/corelib/global/qglobal.h:1143
#6  QAction::d_func() (this=this@entry=0x0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2-r12/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/widgets/kernel/qaction.h:63
#7  QAction::setText(QString const&) (this=this@entry=0x0, text=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2-r12/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/widgets/kernel/qaction.cpp:714
#8  0x000073421f0953f2 in KMMainWidget::updateFolderMenu() (this=0x734118106e60) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:4043
#9  0x000073421f09fef1 in KMMainWidget::setupActions() (this=0x734118106e60) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:3405
#10 0x000073421f0a5819 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig> const&) (this=this@entry=0x734118106e60, parent=parent@entry=0x652703b06800, aGUIClient=aGUIClient@entry=0x652703b06878, actionCollection=actionCollection@entry=0x652702bf35b0, config=...) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:251
#11 0x000073421f04e5aa in KMMainWin::KMMainWin(QWidget*) (this=this@entry=0x652703b06800, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwin.cpp:49
#12 0x000073421f060607 in KMKernel::openReader(bool, bool) (this=<optimized out>, onlyCheck=<optimized out>, startInTray=<optimized out>) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmkernel.cpp:565
#13 0x000073421f06597f in KMKernel::action(bool, bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, QUrl const&, QList<QUrl> const&, QStringList const&, QString const&, QString const&, QString const&) (this=0x7ffe4e06dbe0, mailto=<optimized out>, check=<optimized out>, startInTray=<optimized out>, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=..., identity=...) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmkernel.cpp:1276
#14 0x000073421f06729b in KMKernel::handleCommandLine(bool, QStringList const&, QString const&) (this=<optimized out>, noArgsOpensReader=noArgsOpensReader@entry=true, args=..., workingDir=...) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmkernel.cpp:476
#15 0x0000652701705842 in KMailApplication::activate(QStringList const&, QString const&) (this=<optimized out>, args=..., workingDir=...) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/main.cpp:100
#16 0x000073421f1ae123 in KontactInterface::PimUniqueApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffe4e06d0e0, _o=<optimized out>) at /var/tmp/portage/kde-apps/kontactinterface-21.12.3/work/kontactinterface-21.12.3_build/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:87
#17 KontactInterface::PimUniqueApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffe4e06d0e0) at /var/tmp/portage/kde-apps/kontactinterface-21.12.3/work/kontactinterface-21.12.3_build/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:79
#18 0x000073421f1ae3d3 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) (this=0x7ffe4e06dbc0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffe4e06d0e0) at /var/tmp/portage/kde-apps/kontactinterface-21.12.3/work/kontactinterface-21.12.3_build/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:124
#19 0x0000734215895d1b in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at ../../include/QtCore/../../../qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/corelib/tools/qvarlengtharray.h:190
#20 0x0000734215899863 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (this=this@entry=0x73419c003a00, object=0x7ffe4e06dbc0, flags=81, msg=...) at /var/tmp/portage/dev-qt/qtdbus-5.15.2-r10/work/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/dbus/qdbusintegrator.cpp:904
#21 0x000073421589a11e in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (msg=..., flags=<optimized out>, object=<optimized out>, this=0x73419c003a00) at /var/tmp/portage/dev-qt/qtdbus-5.15.2-r10/work/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/dbus/qdbusintegrator.cpp:853
#22 QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) (this=0x73419c003a00, node=..., msg=..., pathStartPos=<optimized out>) at /var/tmp/portage/dev-qt/qtdbus-5.15.2-r10/work/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/dbus/qdbusintegrator.cpp:1521
#23 0x000073421589c698 in QDBusActivateObjectEvent::placeMetaCall(QObject*) (this=0x6527027efce0) at /var/tmp/portage/dev-qt/qtdbus-5.15.2-r10/work/qtbase-a4f9e56975fa6ab4a1f63a9b34a4d77b1cfe4acd/src/dbus/qdbusintegrator.cpp:1617
#24 0x00007342161e7426 in QObject::event(QEvent*) (this=0x7ffe4e06dbc0, e=0x6527027efce0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r14/work/qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qobject.cpp:1314
#25 0x0000734216b8d96f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7ffe4e06dbc0, e=0x6527027efce0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2-r12/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/widgets/kernel/qapplication.cpp:3632
#26 0x00007342161bbb78 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7ffe4e06dbc0, event=0x6527027efce0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r14/work/qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qcoreapplication.cpp:1064
#27 0x00007342161bf1e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x6527023c2950) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r14/work/qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qcoreapplication.cpp:1821
#28 0x000073421620e203 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x6527024cf570) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r14/work/qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#29 0x000073420fe7a16b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x000073420fe7a428 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x000073420fe7a4df in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x000073421620dc94 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6527024d5d40, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r14/work/qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#33 0x00007342161ba56b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe4e06d690, flags=..., flags@entry=...) at ../../include/QtCore/../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/global/qflags.h:69
#34 0x00007342161c2b9d in QCoreApplication::exec() () at ../../include/QtCore/../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/global/qflags.h:121
#35 0x00007342165a429c in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.2-r16/work/qtbase-38ad2f39daec09168728033969265834b6a2d924/src/gui/kernel/qguiapplication.cpp:1867
#36 0x0000734216b8d8e5 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.2-r12/work/qtbase-7c6c0030cf80ef7b9ace42996b0e0c3a72f76860/src/widgets/kernel/qapplication.cpp:2824
#37 0x00006527017054d5 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/main.cpp:173
[Inferior 1 (process 302016) detached]

Possible duplicates by query: bug 449514, bug 448024, bug 447360, bug 443988, bug 443958.

Reported using DrKonqi
Comment 1 Erik Quaeghebeur 2022-04-19 12:17:38 UTC
Created attachment 148237 [details]
New crash information added by DrKonqi

kmail (5.19.3 (21.12.3)) using Qt 5.15.3

- What I was doing when the application crashed:
Loading of content of a mailbox stalled, so I wanted to restart kmail. It crashed on quitting (Ctrl-Q).

As compared to the previous bugreport, this one shows it is still present in the more recent version 21.12.3 of kmail.

-- Backtrace (Reduced):
#4  0x00007218c32707d8 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8) at /var/tmp/portage/dev-qt/qtwidgets-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
[...]
#7  QAction::setText(QString const&) (this=this@entry=0x0, text=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.3/work/qtbase-everywhere-src-5.15.3/src/widgets/kernel/qaction.cpp:714
#8  0x00007218cb7953f2 in KMMainWidget::updateFolderMenu() (this=0x6279476bff20) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:4043
#9  0x00007218cb79fef1 in KMMainWidget::setupActions() (this=0x6279476bff20) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:3405
#10 0x00007218cb7a5819 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig> const&) (this=this@entry=0x6279476bff20, parent=parent@entry=0x62793c5f5da0, aGUIClient=aGUIClient@entry=0x62793c5f5e18, actionCollection=actionCollection@entry=0x62793cac7fd0, config=...) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:251
Comment 2 Erik Quaeghebeur 2022-05-20 10:01:31 UTC
Created attachment 149017 [details]
New crash information added by DrKonqi

kmail (5.19.3 (21.12.3)) using Qt 5.15.3

- What I was doing when the application crashed:
Closing/Restarting KMail after restarting akonadi. The trace seems to be more complete.

-- Backtrace (Reduced):
#4  0x00007131ac3ef7d8 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x8) at /var/tmp/portage/dev-qt/qtwidgets-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
[...]
#7  QAction::setText(QString const&) (this=this@entry=0x0, text=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.3/work/qtbase-everywhere-src-5.15.3/src/widgets/kernel/qaction.cpp:714
#8  0x00007131b49193f2 in KMMainWidget::updateFolderMenu() (this=0x71311c623240) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:4043
#9  0x00007131b4923ef1 in KMMainWidget::setupActions() (this=0x71311c623240) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:3405
#10 0x00007131b4929819 in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig> const&) (this=this@entry=0x71311c623240, parent=parent@entry=0x5dfd13c5b600, aGUIClient=aGUIClient@entry=0x5dfd13c5b678, actionCollection=actionCollection@entry=0x5dfd13a4e070, config=...) at /var/tmp/portage/kde-apps/kmail-21.12.3/work/kmail-21.12.3/src/kmmainwidget.cpp:251