https://bugs.kde.org/show_bug.cgi?id=490995

            Bug ID: 490995
           Summary: Copying a layer twice to a second document crashes
                    Krita
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@ralek.art
  Target Milestone: ---

If you copy and paste a layer twice into a new document, Krita immediately
crashes with this in the log:

SAFE ASSERT (krita): "!nodes.isEmpty()" in file
/builds/graphics/krita/libs/image/kis_layer_utils.cpp, line 1624
Segmentation fault (core dumped)

To reproduce:
- Create a document
- Create a new layer of any type, or use the default background layer
- Copy the layer
- Paste it into a second new document
- Delete the new pasted layer
- In the original document, copy the same layer again
- Paste it in the second document again
- Krita crashes to desktop

Weird things of note:
- The pasted layer must be deleted in between pastes or it won't crash
- It crashes for most (all?) layer types

0e92a775c0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to