Bug 499755

Summary: KMail: Segfault when trying to delete unused identity
Product: [Applications] kontact Reporter: lars+kde
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/118677/events/d9560945d3824df984acbe1bdfd4f77f/
Attachments: New crash information added by DrKonqi

Description lars+kde 2025-02-10 12:14:02 UTC
Application: kontact (6.3.1 (24.12.1))

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.10.0
Operating System: Linux 6.12.11-200.fc41.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 41 (KDE Plasma)"
DrKonqi: 6.2.5 [CoredumpBackend]

-- Information about the crash:
I found some unused identities in KMail. When I try to delete them KMail segfaults every time.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007fb928004bcc in QHashPrivate::Data<QHashPrivate::Node<QString, QVariant> >::findBucket<QString> (this=0xc0, key=...) at /usr/include/qt6/QtCore/qhash.h:686
#6  0x00007fb9280060c2 in QHashPrivate::Data<QHashPrivate::Node<QString, QVariant> >::findNode<QString> (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:703
#7  QHash<QString, QVariant>::valueImpl<QString> (this=<optimized out>, key=...) at /usr/include/qt6/QtCore/qhash.h:1058
#8  QHash<QString, QVariant>::value (this=0x556f9f037930, key=...) at /usr/include/qt6/QtCore/qhash.h:1067
#9  KIdentityManagementCore::Identity::property (this=this@entry=0x556f9f037920, key=...) at /usr/src/debug/kidentitymanagement-24.12.1-1.fc41.x86_64/src/core/identity.cpp:283


Reported using DrKonqi
Comment 1 lars+kde 2025-02-10 12:14:03 UTC
Created attachment 178110 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.