Summary: | Crash on closing a certain image | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Halla Rempt <halla> |
Component: | Layer Stack | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 3.0.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/krita/c7c3310f910ddcc6d1af1fe2273232d1b3f1da80 | Version Fixed In: | |
Sentry Crash Report: |
Description
Halla Rempt
2016-11-07 14:44:41 UTC
Note: this already happened in 3.0 Git commit 53ea42754134e9c051a30987f850eec99fe99ec0 by Dmitry Kazakov. Committed on 09/11/2016 at 08:20. Pushed by dkazakov into branch 'krita/3.1'. Fix crash when closing images with shape layer + mask We shouldn't call any node's method that accesses parent() or next/prevSibling() in ctor and dtor. It is just unsafe. M +4 -6 libs/ui/flake/kis_shape_layer.cc M +7 -1 libs/ui/flake/kis_shape_layer_canvas.cpp M +2 -0 libs/ui/flake/kis_shape_layer_canvas.h M +11 -0 libs/ui/tests/kis_kra_saver_test.cpp M +2 -0 libs/ui/tests/kis_kra_saver_test.h M +9 -1 libs/ui/tests/util.h http://commits.kde.org/krita/53ea42754134e9c051a30987f850eec99fe99ec0 Git commit c7c3310f910ddcc6d1af1fe2273232d1b3f1da80 by Dmitry Kazakov. Committed on 09/11/2016 at 10:41. Pushed by dkazakov into branch 'rempt/impex-refactoring'. Fix crash when closing images with shape layer + mask We shouldn't call any node's method that accesses parent() or next/prevSibling() in ctor and dtor. It is just unsafe. # Conflicts: # libs/ui/flake/kis_shape_layer.cc M +2 -3 libs/ui/flake/kis_shape_layer.cc M +7 -1 libs/ui/flake/kis_shape_layer_canvas.cpp M +2 -0 libs/ui/flake/kis_shape_layer_canvas.h M +9 -1 libs/ui/tests/util.h M +11 -0 plugins/impex/libkra/tests/kis_kra_saver_test.cpp M +2 -0 plugins/impex/libkra/tests/kis_kra_saver_test.h http://commits.kde.org/krita/c7c3310f910ddcc6d1af1fe2273232d1b3f1da80 |