Bug 393353 - Krita Crashes When Deleting Palette
Summary: Krita Crashes When Deleting Palette
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: 4.0.1
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-20 19:15 UTC by MikeR
Modified: 2018-05-02 11:59 UTC (History)
2 users (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 MikeR 2018-04-20 19:15:38 UTC
In the Palette Docker, when using the "Choose Palette" menu, clicking the "Delete Resource" button causes Krita to crash.

Appears to be the same as Bug Report # 392178, but this is in Windows 10 64bit
Comment 1 Scott Petrovic 2018-04-20 19:49:58 UTC
Confirmed. This crash is happening the latest version of GIT for me on my linux box. It appears to be a different issue than what was previously done though. There is a child accessor that is getting accessed when the parent doesn't exist.

After looking at the crash through gdb it appears this is the culptrit

palettedocker_dock.cpp::184

colorSet->nColors()
Comment 2 Antti Savolainen 2018-04-20 20:03:54 UTC
Further confirming this with a video https://webmshare.com/Gm4Ba
Comment 3 Scott Petrovic 2018-04-21 02:12:29 UTC
Git commit 2f7426b865bb9629f28f7b24cbaac286f777f367 by Scott Petrovic.
Committed on 21/04/2018 at 02:11.
Pushed by scottpetrovic into branch 'master'.

M  +8    -1    plugins/dockers/palettedocker/palettedocker_dock.cpp

https://commits.kde.org/krita/2f7426b865bb9629f28f7b24cbaac286f777f367
Comment 4 Halla Rempt 2018-05-02 11:59:51 UTC
Git commit f8556aa89078a5e20840eaab0fdf91b350d37e53 by Boudewijn Rempt, on behalf of Scott Petrovic.
Committed on 02/05/2018 at 11:54.
Pushed by rempt into branch 'krita/4.0'.

(cherry picked from commit e06636540f9fdd79a80b5a9bc24e7752b29e19e4)

M  +8    -1    plugins/dockers/palettedocker/palettedocker_dock.cpp

https://commits.kde.org/krita/f8556aa89078a5e20840eaab0fdf91b350d37e53