Bug 397043 - SegFault from Python calls to Node::mergeDown()
Summary: SegFault from Python calls to Node::mergeDown()
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Unclassified
Component: Scripting (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-01 06:22 UTC by Emmet O'Neill
Modified: 2018-08-02 20:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmet O'Neill 2018-08-01 06:22:50 UTC
Calling the `mergeDown()` function from a Python script causes a reproducible SegFault crash on Linux and Windows (haven't tested others, but likely).

To reproduce:
- Open a Krita document.
- Open "Tools > Scripts > Scripter"
- With a merge-valid layer selected, run `Krita.instance().activeDocument().activeNode().mergeDown()`
Comment 1 Halla Rempt 2018-08-01 07:03:50 UTC
Could you attach a stacktrace? (Or a patch :P)