Bug 480951 - Kontact crashes on exit
Summary: Kontact crashes on exit
Status: RESOLVED DUPLICATE of bug 470097
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 5.240.95
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-06 13:29 UTC by Kotori Itsuka
Modified: 2024-02-06 13:37 UTC (History)
1 user (show)

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


Attachments
crash caught in gdb (35.64 KB, text/plain)
2024-02-06 13:29 UTC, Kotori Itsuka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kotori Itsuka 2024-02-06 13:29:50 UTC
Created attachment 165615 [details]
crash caught in gdb

SUMMARY
Closing kontact crashes kontact.

STEPS TO REPRODUCE
1. Open Kontact
2. Close Kontact

OBSERVED RESULT
Segmentation fault

EXPECTED RESULT
Clean close

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6500 XT

ADDITIONAL INFORMATION
I also was able to reproduce this in a clean install of kde (virtualbox arch testing) after closing all the kontact windows. (main window plus account wizard).
For what it's worth, I recently had a similar crash at exit of one of my qt6 apps caused by not manually deleting a dock window before tearing down the window. It turns out depending on qt ownership for a sane delete chain doesn't work the same way it once did, especially when a subroutine (I think it was a function related to my list widget) derefences a pointer back to the main window during the destruction process. not sure if that'll help here though?
Comment 1 Nicolas Fella 2024-02-06 13:37:01 UTC

*** This bug has been marked as a duplicate of bug 470097 ***