Summary: | Crash when creating a freehand path using an xp-pen tablet | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Halla Rempt <halla> |
Component: | Tools/Vector | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | crash | Keywords: | release_blocker |
Priority: | NOR | ||
Version: | 4.2.7 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Halla Rempt
2019-10-02 09:47:16 UTC
Git commit d5279a0196bbaa08bb505a0db121a156a9d6d341 by Dmitry Kazakov. Committed on 08/10/2019 at 15:26. Pushed by dkazakov into branch 'krita/4.2'. Remove extra update when creating a new shape The update is emitted by KoShapeManager itself, so there is no reason to trigger it manually (it also eases thread-safety concerns, because after adding the shape to shape manager it is no longer safe to access it from the worker thread). M +0 -5 libs/ui/flake/kis_shape_controller.cpp https://invent.kde.org/kde/krita/commit/d5279a0196bbaa08bb505a0db121a156a9d6d341 Git commit d4ee038d34b8a9e3b8fa2e53a09a2bb4da57f576 by Dmitry Kazakov. Committed on 08/10/2019 at 15:26. Pushed by dkazakov into branch 'krita/4.2'. Fix crash when using Pencil Tool with a tablet The patch basically makes KoPathShape::outline() cont-safe. Q_FOREACH doesn't support thread-safety, because it relies on copy-on-write. Every non-const access during Q_FOREACH will casue a detach, which is not safe in multithreaded environment. M +6 -4 libs/flake/KoPathShape.cpp https://invent.kde.org/kde/krita/commit/d4ee038d34b8a9e3b8fa2e53a09a2bb4da57f576 Git commit b67fede2997233fc5303022f439ded895c04cedb by Dmitry Kazakov. Committed on 08/10/2019 at 15:33. Pushed by dkazakov into branch 'master'. Remove extra update when creating a new shape The update is emitted by KoShapeManager itself, so there is no reason to trigger it manually (it also eases thread-safety concerns, because after adding the shape to shape manager it is no longer safe to access it from the worker thread). M +0 -5 libs/ui/flake/kis_shape_controller.cpp https://invent.kde.org/kde/krita/commit/b67fede2997233fc5303022f439ded895c04cedb Git commit fb81d715fc99d09c0e6fe72759152fd0261592b8 by Dmitry Kazakov. Committed on 08/10/2019 at 15:33. Pushed by dkazakov into branch 'master'. Fix crash when using Pencil Tool with a tablet The patch basically makes KoPathShape::outline() cont-safe. Q_FOREACH doesn't support thread-safety, because it relies on copy-on-write. Every non-const access during Q_FOREACH will casue a detach, which is not safe in multithreaded environment. M +6 -4 libs/flake/KoPathShape.cpp https://invent.kde.org/kde/krita/commit/fb81d715fc99d09c0e6fe72759152fd0261592b8 The user reports that the issue is fixed. |