Summary: | Creating animated brush tip crashes Krita | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | basse <bastian.salmela> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | griffinvalley, halla |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/krita/0feb0490a039ac4132ab4d3e42c778064fe6052e | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
backtrace
file from which I tried to make the brush out of |
Description
basse
2016-05-19 20:42:45 UTC
Created attachment 99084 [details]
backtrace
Created attachment 99085 [details]
file from which I tried to make the brush out of
it's badly drawn popcorn ;)
Can't reproduce it with incremental, only random. GDB says the problem happens here: Thread 1 "krita" received signal SIGSEGV, Segmentation fault. KisCustomBrushWidget::slotAddPredefined (this=0x11f81280) at /home/krita/kde/src/krita/plugins/paintops/libpaintop/kis_custom_brush_widget.cpp:149 149 KisGbrBrush *resource = dynamic_cast<KisGbrBrush*>(m_brush->clone()) Regression caused by commit 03187c24558121a4ce5423cc8f3eb794a7e89dfc Author: Dmitry Kazakov <dimula73@gmail.com> Date: Mon May 16 14:12:29 2016 +0300 Follows: v2.99.90 Precedes: v2.99.91 Branches: <Expand> Fix brush size change while Lod0 recalculation We should really clone the brush before passing it to the stroke. The weird thing about the patch is that we don't use the cloning functionality for KisAutoBrush anywhere, but it still had to be implemented. At least it is thoroughly tested by the unittests now. Fixes T2492 BUG:362985 Oh, and do we even need to function? You can just save your .kra file as .gih. Git commit 0feb0490a039ac4132ab4d3e42c778064fe6052e by Boudewijn Rempt. Committed on 21/05/2016 at 14:19. Pushed by rempt into branch 'master'. M +2 -1 plugins/paintops/libpaintop/kis_custom_brush_widget.cpp http://commits.kde.org/krita/0feb0490a039ac4132ab4d3e42c778064fe6052e |