| Summary: | [master] Segfault when activating transform tool with no selection | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | tomtomtomreportingin |
| Component: | Tools/Transform | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | penguinflyer2222 |
| Priority: | NOR | ||
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/8fcfc8ce26f81807312056a893fab4b30e2d84e9 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
tomtomtomreportingin
2022-11-13 19:55:08 UTC
Confirmed on 55b758bc. Judging by the backtrace, it was introduced in 812ef762 "Make sure that local selection is not transformed twice during transformation" (https://invent.kde.org/graphics/krita/-/commit/812ef7623b8d3b205b90b7e546773ff26854c3bb), but I haven't confirmed that. libkritaimage.dll!KisSelection::parentNode+0x9 kritatooltransform.dll!KisTransformUtils::fetchNodesList+0x144 [src/plugins/tools/tool_transform2/kis_transform_utils.cpp @ 667] 665: KIS_SAFE_ASSERT_RECOVER_NOOP(!hasTransformMaskDescendant); 666: > 667: KisNodeSP selectionNode = selection->parentNode(); 668: 669: auto fetchFunc = kritatooltransform.dll!InplaceTransformStrokeStrategy::initStrokeCallback+0x497 [src/plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp @ 305] 303: 304: // When placing an external source image, we never work recursively on any layer masks > 305: m_d->processedNodes = KisTransformUtils::fetchNodesList(m_d->mode, m_d->rootNode, m_d->externalSource, m_d->selection); 306: 307: bool argsAreInitialized = false; Git commit 8fcfc8ce26f81807312056a893fab4b30e2d84e9 by Dmitry Kazakov. Committed on 14/11/2022 at 08:09. Pushed by dkazakov into branch 'master'. Fix the condition for avoidance of double selection transformation M +2 -2 plugins/tools/tool_transform2/kis_transform_utils.cpp https://invent.kde.org/graphics/krita/commit/8fcfc8ce26f81807312056a893fab4b30e2d84e9 |