Bug 499090

Summary: Kontact crashes on deleting identity
Product: [Applications] kontact Reporter: hey
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/118677/events/f552ff2759fb4a2b98623585a8cb0561/
Attachments: New crash information added by DrKonqi

Description hey 2025-01-24 14:23:55 UTC
Application: kontact (6.3.1 (24.12.1))

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.1
Frameworks Version: 6.10.0
Operating System: Linux 6.12.9-200.fc41.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 41.20250121.0 (Kinoite)"
DrKonqi: 6.2.5 [CoredumpBackend]

-- Information about the crash:
An IMAP account of mine had stopped syncing successfully and so I deleted the old one and recreated it. Unfortunately, the account creation wizard also created an identity for that account, which I didn't need because I wanted to use an existing one. When I selected the old one and clicked "Remove", Kontact froze and crashed.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007f2e68009bcc in QHashPrivate::Data<QHashPrivate::Node<QString, QVariant> >::findBucket<QString> (this=0x56006eaaa, key=...) at /usr/include/qt6/QtCore/qhash.h:686
#6  0x00007f2e6800b0c2 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=0x56006eaaa780, key=...) at /usr/include/qt6/QtCore/qhash.h:1067
#9  KIdentityManagementCore::Identity::property (this=this@entry=0x56006eaaa770, key=...) at /usr/src/debug/kidentitymanagement-24.12.1-1.fc41.x86_64/src/core/identity.cpp:283


Reported using DrKonqi
Comment 1 hey 2025-01-24 14:23:56 UTC
Created attachment 177644 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Laurent Montel 2025-01-24 15:23:12 UTC
Already fixed in 6.3.2