| Summary: | Segmentation fault after deleting vector layer and closing documet. | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | wolthera <griffinvalley> |
| Component: | Layers/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | dimula73, penguinflyer2222 |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/4cc73f716bac902fda022c2415b9f211709d4fa1 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
wolthera
2025-11-26 17:34:20 UTC
I can't reproduce this from those specific steps, that backtrace just seems to randomly happen sometimes when I close Krita with a document containing text after the text-in-shape MR!2432 was merged. I'm afraid I cannot reproduce the issue here Git commit 4cc73f716bac902fda022c2415b9f211709d4fa1 by Dmitry Kazakov, on behalf of Luna Lovecraft. Committed on 27/01/2026 at 16:29. Pushed by dkazakov into branch 'master'. Fix crash when deleting vector layers This fix crashes two issues: Crash 1 1) Create a vector layer 2) Don't manipulate with it in any form (important to keep the shape manager not initialized) 3) Remove this vector layer 4) Close the document without saving -> crash Crash 2 1) Create a vector layer 2) Add a rectangle shape 3) Add some text inside the rectangle shape 4) Enter the "text contour editing mode" 5) Remove the vector layer 6) Close the document without saving -> crash M +2 -1 libs/ui/canvas/kis_canvas2.cpp https://invent.kde.org/graphics/krita/-/commit/4cc73f716bac902fda022c2415b9f211709d4fa1 |