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

            Bug ID: 441122
           Summary: Toggling a gamut mask after it's deleted causes a
                    segfault
           Product: krita
           Version: 4.4.7
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Dockers
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 140814
  --> https://bugs.kde.org/attachment.cgi?id=140814&action=edit
Bug reproduction video

SUMMARY

After deleting a gamut mask (or cancelling the creation of
a new gamut mask), using the gamut mask toggle button
in the gamut mask toolbar (available in circular artistic
color selectors) causes a segfault.

This is because the toolbar attempts to dereference a pointer to the
deleted gamut mask. This pointer should be nulled when the mask is
unset.

STEPS TO REPRODUCE
See the attached video.

OBSERVED RESULT
Segmentation fault.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
Irrelevant.

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

Reply via email to