Bug 491960

Summary: Kleopatra crash
Product: [Applications] kleopatra Reporter: threeseven.t3s7
Component: generalAssignee: Andre Heinecke <aheinecke>
Status: RESOLVED FIXED    
Severity: crash CC: fella, kdepim-bugs, mutz
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/59944/events/e4a978254d104039a35f4af3ff0f9cba/
Attachments: New crash information added by DrKonqi

Description threeseven.t3s7 2024-08-20 23:45:44 UTC
Application: kleopatra (3.2.0.240502 (24.05.2))

Qt Version: 6.7.2
Frameworks Version: 6.5.0
Operating System: Linux 6.10.5-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 6.1.4 [CoredumpBackend]

-- Information about the crash:
I was in the settings window for certification details, right as I click to exit that specific window (not the app itself), the app crashes. 

I have changed a few things within the application, specifically, the location of the toolbar, added more tools to the toolbar, and also added icons to some of the tools that do not have icons. 

Leading up to the first crash, I was using Kleopatra for over an hour nearly, with no issues. After the first crash, Kleopatra has now crashed everytime within 5 minutes, it doesn't matter what I am doing or where I am at within the application. I am going to update my system and reboot, I will update this post if the crashes continue.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  GpgME::Key::primaryFingerprint (this=this@entry=0x5c2f2b96aca8) at /usr/src/debug/gpgme/gpgme-1.23.2/lang/cpp/src/key.cpp:306
#10 std::__introsort_loop<__gnu_cxx::__normal_iterator<(anonymous namespace)::KeyWithOrigin*, std::vector<(anonymous namespace)::KeyWithOrigin> >, long int, __gnu_cxx::__ops::_Iter_comp_iter<Kleo::Commands::LookupCertificatesCommand::Private::tryToFinishKeyLookup()::<lambda(const auto:55&, const auto:56&)> > >(__gnu_cxx::__normal_iterator<(anonymous namespace)::KeyWithOrigin*, std::vector<(anonymous namespace)::KeyWithOrigin, std::allocator<(anonymous namespace)::KeyWithOrigin> > >, __gnu_cxx::__normal_iterator<(anonymous namespace)::KeyWithOrigin*, std::vector<(anonymous namespace)::KeyWithOrigin, std::allocator<(anonymous namespace)::KeyWithOrigin> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<Kleo::Commands::LookupCertificatesCommand::Private::tryToFinishKeyLookup()::<lambda(const auto:55&, const auto:56&)> >) (__first=__first@entry=..., __last=__last@entry=..., __depth_limit=<optimized out>, __comp=...) at /usr/include/c++/14.1.1/bits/stl_algo.h:1889
#13 Kleo::Commands::LookupCertificatesCommand::Private::tryToFinishKeyLookup (this=0x5c2f2b9643e0) at /usr/src/debug/kleopatra/kleopatra-24.05.2/src/commands/lookupcertificatescommand.cpp:520
#14 0x00007ca25f9a16f7 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:469
#15 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4086


Reported using DrKonqi
Comment 1 threeseven.t3s7 2024-08-20 23:45:45 UTC
Created attachment 172796 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Tobias Fella 2024-08-21 07:03:00 UTC
This was fixed with 9b3730193ad13d93e6fded47340c9a1b13ad7718. The fixed version will be in tomorrow's gear release