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

            Bug ID: 457080
           Summary: Crash when cloning documents and adding a view for
                    them.
           Product: krita
           Version: 5.0.8
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: griffinval...@gmail.com
  Target Milestone: ---

SUMMARY

The following script keeps crashing because of a safe assert:

```

from krita import *

doc = Krita.instance().activeDocument()
newDoc = doc.clone()
Krita.instance().activeWindow().addView(newDoc)

```

I am testing this in the 5.1 beta 2 appimage, but the person who found this was
in 5.0.8

The safe assert is:
SAFE ASSERT (krita): "!sanityCheckPointer.isValid()" in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/ui/KisDocument.cpp,
line 676

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

Reply via email to