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

            Bug ID: 392869
           Summary: Segfault when creating new spray preset
           Product: krita
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Brush engines
          Assignee: krita-bugs-n...@kde.org
          Reporter: nicholaslapoin...@gmail.com
  Target Milestone: ---

Attempting to create a new spray engine preset using the menu in the
bottom-left of the presets popup will cause a segmentation fault.

Tested in:
4.1.0-pre-alpha (git aa81a25)
4.0.0 (git c45c4c5)


Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
KoResource::image (this=0x0) at
src/krita/libs/pigment/resources/KoResource.cpp:71
71          return d->image;
(gdb) bt
#0  KoResource::image (this=0x0) at
src/krita/libs/pigment/resources/KoResource.cpp:71
#1  0x00007fb4ccf86415 in KisPresetLivePreviewView::setupAndPaintStroke
(this=this@entry=0x9bf0590) at
src/krita/libs/ui/widgets/kis_preset_live_preview_view.cpp:214
#2  0x00007fb4ccf873c1 in KisPresetLivePreviewView::updateStroke
(this=0x9bf0590) at
src/krita/libs/ui/widgets/kis_preset_live_preview_view.cpp:85
#3  0x00007fb4ccf46987 in KisPaintOpPresetsPopup::slotUpdatePresetSettings
(this=this@entry=0x9bce3e0) at
src/krita/libs/ui/widgets/kis_paintop_presets_popup.cpp:846
#4  0x00007fb4ccf48526 in KisPaintOpPresetsPopup::resourceSelected
(this=0x9bce3e0, resource=0xa78efc0) at
src/krita/libs/ui/widgets/kis_paintop_presets_popup.cpp:583
#5  0x00007fb4cce27afb in KisPaintopBox::slotCreatePresetFromScratch
(this=0x9b39f70, paintop=...) at src/krita/libs/ui/kis_paintop_box.cc:829
#6  0x00007fb4cd10b44f in KisPaintopBox::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
    at builds/krita_standard/libs/ui/moc_kis_paintop_box.cpp:237
#7  0x00007fb4cb3a2cc9 in QMetaObject::activate(QObject*, int, int, void**) ()
from /opt/Qt-5.9/lib/libQt5Core.so.5
#8  0x00007fb4cd1033b5 in KisPaintOpPresetsPopup::createPresetFromScratch
(this=this@entry=0x9bce3e0, _t1=...)
    at builds/krita_standard/libs/ui/moc_kis_paintop_presets_popup.cpp:432
#9  0x00007fb4ccf461c7 in
KisPaintOpPresetsPopup::slotCreateNewBrushPresetEngine (this=0x9bce3e0) at
src/krita/libs/ui/widgets/kis_paintop_presets_popup.cpp:762
#10 0x00007fb4cd10424d in KisPaintOpPresetsPopup::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>)
    at builds/krita_standard/libs/ui/moc_kis_paintop_presets_popup.cpp:218
#11 0x00007fb4cb3a2cc9 in QMetaObject::activate(QObject*, int, int, void**) ()
from /opt/Qt-5.9/lib/libQt5Core.so.5
#12 0x00007fb4cbce1f22 in QAction::triggered(bool) () from
/opt/Qt-5.9/lib/libQt5Widgets.so.5
#13 0x00007fb4cbce4630 in QAction::activate(QAction::ActionEvent) () from
/opt/Qt-5.9/lib/libQt5Widgets.so.5

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

Reply via email to