Bug 450475 - Crash when adding notes
Summary: Crash when adding notes
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 450431 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-17 17:06 UTC by Christophe Marin
Modified: 2022-05-19 05:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 22.04.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2022-02-17 17:06:30 UTC
Reported downstream and reproducible:

1 - Select a message,
2 - RMB / Add note
3 - Unrelated to the crash, but the default note text is "AnnotationEditDialogPrivate note"
4 - Type / OK

#0  0x00007f50ef1973db in free () at /usr/lib64/libc.so.6
#1  0x00007f50edc24622 in PimCommon::AnnotationEditDialog::~AnnotationEditDialog() (this=0x7ffc1739b480)
    at /data/kde/src/pimcommon/src/pimcommonakonadi/widgets/annotationdialog.cpp:103
#2  0x00007f50f090695a in QDialog::exec() () at /usr/lib64/libQt5Widgets.so.5
#3  0x00007f50facd2957 in KMail::MessageActions::annotateMessage() (this=0x4a3f900) at /data/kde/src/kmail/src/messageactions.cpp:702
#4  0x00007f50facd7b1b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KMail::MessageActions::*)()>::call(void (KMail::MessageActions::*)(), KMail::MessageActions*, void**)
    (f=(void (KMail::MessageActions::*)(class KMail::MessageActions * const)) 0x7f50facd28f0 <KMail::MessageActions::annotateMessage()>, o=0x4a3f900, arg=0x7ffc1739b6c0)
    at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#5  0x00007f50facd7a8d in QtPrivate::FunctionPointer<void (KMail::MessageActions::*)()>::call<QtPrivate::List<>, void>(void (KMail::MessageActions::*)(), KMail::MessageActions*, void**)
    (f=(void (KMail::MessageActions::*)(class KMail::MessageActions * const)) 0x7f50facd28f0 <KMail::MessageActions::annotateMessage()>, o=0x4a3f900, arg=0x7ffc1739b6c0)
    at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#6  0x00007f50facd79d2 in QtPrivate::QSlotObject<void (KMail::MessageActions::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
    (which=1, this_=0x4a87fd0, r=0x4a3f900, a=0x7ffc1739b6c0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#7  0x00007f50ef9384f3 in QtPrivate::QSlotObjectBase::destroyIfLastRef() (this=0x4a87fd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#8  QtPrivate::QSlotObjectBase::destroyIfLastRef() (this=0x4a87fd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#9  doActivate<false>(QObject*, int, void**)::Deleter::operator()(QtPrivate::QSlotObjectBase*) const (slot=0x4a87fd0, this=<optimized out>) at kernel/qobject.cpp:3879
#10 std::unique_ptr<QtPrivate::QSlotObjectBase, doActivate<false>(QObject*, int, void**)::Deleter>::~unique_ptr() (this=<synthetic pointer>, __in_chrg=<optimized out>)
    at /usr/include/c++/11/bits/unique_ptr.h:361
#11 doActivate<false>(QObject*, int, void**) (sender=0x4a84920, signal_index=4, argv=0x7ffc1739b6c0) at kernel/qobject.cpp:3888
#12 0x00007f50f06f6182 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f50f06f8db4 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f50f087ea52 in  () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f50f0886841 in  () at /usr/lib64/libQt5Widgets.so.5
Comment 1 Christophe Marin 2022-02-17 17:28:17 UTC
*** Bug 450431 has been marked as a duplicate of this bug. ***
Comment 2 Alexander 2022-05-01 18:22:03 UTC
Still crashing: KDE Plasma 5.24.5. Is anybody taking notice of this? Well, except me...
Comment 3 Laurent Montel 2022-05-19 05:52:52 UTC
Fixed