| Summary: | Crash when closing Yakuake | ||
|---|---|---|---|
| Product: | [Applications] yakuake | Reporter: | Nicolas Fella <nicolas.fella> |
| Component: | general | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | bugseforuns, nate |
| Priority: | NOR | ||
| Version First Reported In: | Git (Frameworks 5) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/yakuake/commit/2551725589e6b748e3c2a49452ac44e0525e5736 | Version Fixed/Implemented In: | 22.08.1 |
| Sentry Crash Report: | |||
|
Description
Nicolas Fella
2022-07-19 14:40:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/yakuake/-/merge_requests/75 Git commit 35bed35bb88c12121502a515172e33ad9a037823 by Nicolas Fella. Committed on 05/08/2022 at 10:49. Pushed by nicolasfella into branch 'release/22.08'. Don't emit wantsBlurChanged when cleaning up session This causes a use-after-free crash when recomputing wantsBlur Not a pretty fix, but the proper solution is more involved M +0 -1 app/session.cpp https://invent.kde.org/utilities/yakuake/commit/35bed35bb88c12121502a515172e33ad9a037823 Git commit 2551725589e6b748e3c2a49452ac44e0525e5736 by Nicolas Fella. Committed on 22/08/2022 at 20:26. Pushed by nicolasfella into branch 'master'. Revise ownership of terminal instances Currently the Terminal objects are parented to the base splitter When they are destroyed the session reacts to that and removes them from its internal map This is rather complex and causes a crash when closing the app Instead have the session own the terminals (and manage them using unique_ptr) This is complicated by the fact that the part instance deletes itself when the terminal is exited by the user In that case notify the session that the terminal wants to be deleted and clean up accordingly M +37 -35 app/session.cpp M +1 -1 app/session.h M +16 -12 app/terminal.cpp M +3 -0 app/terminal.h https://invent.kde.org/utilities/yakuake/commit/2551725589e6b748e3c2a49452ac44e0525e5736 |