Bug 454605 - Kmail crashes when i have tried to add note to a message
Summary: Kmail crashes when i have tried to add note to a message
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-30 12:40 UTC by Alexander
Modified: 2022-05-30 12:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 22.04.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2022-05-30 12:40:31 UTC
Application: kmail (5.20.1 (22.04.1))
 (Compiled from sources)
Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.15.41-gentoo-x86_64 x86_64
Windowing System: X11
Distribution: "Gentoo Base System release 2.8"
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
1. Right mouse button on e-mail
2. Select "Add note" from context menu
3. Write a note
4. Press Ok button
5. Kmail crashes

PS: Also kmail crashes when i press Cancel button on the step 4.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f69ae82f30b in free () at /lib64/libc.so.6
#5  0x00007f69afa89882 in QDialog::exec() () at /usr/lib64/libQt5Widgets.so.5
#6  0x00007f69b7da838c in KMail::MessageActions::annotateMessage() () at /usr/lib64/libkmailprivate.so.5
#7  0x00007f69aee77fe6 in void doActivate<false>(QObject*, int, void**) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f69af86edb2 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5
#9  0x00007f69af871b34 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f69af9ff14a in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f69afa06e81 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f69af8b8cde in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f69af87596f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f69af87d80a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f69aee44608 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f69af87c2dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f69af8d3254 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f69af8d5975 in QWidgetWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f69af87596f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f69aee44608 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f69af2468a0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#22 0x00007f69af225fbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#23 0x00007f69a182148a in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5XcbQpa.so.5
#24 0x00007f69a89b143b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f69a89b16f8 in g_main_context_iterate.constprop () at /usr/lib64/libglib-2.0.so.0
#26 0x00007f69a89b17af in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#27 0x00007f69aee967b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f69aee42ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f69afa04887 in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f69afa049c1 in QMenu::exec(QPoint const&, QAction*) () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f69ae090803 in MessageList::Core::View::ViewPrivate::onPressed(QMouseEvent*) () at /usr/lib64/libKF5MessageList.so.5
#32 0x00007f69af8b8cde in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007f69af96760e in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007f69aee443b5 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#35 0x00007f69af87595e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007f69af87d80a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#37 0x00007f69aee44608 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#38 0x00007f69af87c2dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#39 0x00007f69af8d275a in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#40 0x00007f69af8d5975 in QWidgetWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#41 0x00007f69af87596f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#42 0x00007f69aee44608 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#43 0x00007f69af2468a0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#44 0x00007f69af225fbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#45 0x00007f69a182148a in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5XcbQpa.so.5
#46 0x00007f69a89b143b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#47 0x00007f69a89b16f8 in g_main_context_iterate.constprop () at /usr/lib64/libglib-2.0.so.0
#48 0x00007f69a89b17af in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#49 0x00007f69aee967b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#50 0x00007f69aee42ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#51 0x00007f69aee4b62d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#52 0x0000564f0f707aa5 in main ()
[Inferior 1 (process 2833) detached]

Possible duplicates by query: bug 453376, bug 453126, bug 452444, bug 452416, bug 452259.

Reported using DrKonqi
Comment 1 Laurent Montel 2022-05-30 12:56:46 UTC
Fixed