https://bugs.kde.org/show_bug.cgi?id=514230
Bug ID: 514230
Summary: possible NULL pointer dereference in
KontactKCMultiDialog::closeEvent
Classification: Applications
Product: kontact
Version First 6.5.3
Reported In:
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org
If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Please remove this comment after reading and before submitting - thanks!
***
SUMMARY
STEPS TO REPRODUCE
1. navigate to settings -> Configure Kontact...
2. close the configuration window using the close button
3. repeat steps 1 and 2 (alternatively, close the Kontact main window using the
close button)
OBSERVED RESULT
the application crashes due to a segmentation fault
EXPECTED RESULT
SOFTWARE/OS VERSIONS
Windows:
macOS:
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Gentoo Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
ADDITIONAL INFORMATION
When closing the configuration window, the function
KontactKCMultiDialog::closeEvent deletes all KCModules currently held, after
which the window gets hidden. When reopening it, the previously deleted
KCModules are not recreated. The next activation of
KontactKCMultiDialog::closeEvent triggers a NULL pointer dereference by
attempting to remove the already deleted KCModules once again.
--
You are receiving this mail because:
You are watching all bug changes.