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

            Bug ID: 523070
           Summary: Combined shapes plus redo operations lead to a crash
    Classification: Applications
           Product: krita
      Version First git master (please specify the git hash!)
       Reported In:
          Platform: Other
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layers/Vector
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Redoing the deletion of a combined shape causes a crash. 

STEPS TO REPRODUCE
1. Create a new document
2. Create a vector layer
2. Make two lines on the created vector layer
3. Select both lines with the "Edit Shapes Tool"
4. Connect any ends together via the "Join with Segment" function
5. Delete combined shape
6. Undo the deletion, undo the combine operation
8. Redo everything
9. Crash

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
Krita shouldn't crash

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

commit 2b927d92183e4722ac1561b25bc83b65438dffd7

       
libkritaflake.dll!QScopedPointer<KoShapeContainer::Private,QScopedPointerDeleter<KoShapeContainer::Private>
>::operator->() Line 118    C++
        libkritaflake.dll!KoShapeContainer::shapeInterface() Line 172   C++
        libkritaflake.dll!KoShape::setParent(KoShapeContainer * parent) Line
467        C++
        libkritaflake.dll!KoShapeContainer::removeShape(KoShape * shape) Line
66        C++
        libkritaflake.dll!KoShapeDeleteCommand::redo() Line 74  C++
        libkritacommand.dll!KUndo2Command::redoMergedCommands() Line 424       
C++
        libkritacommand.dll!KUndo2QStack::redo() Line 989       C++
        libkritaui.dll!UndoStack::redoImpl() Line 242   C++
        libkritaui.dll!UndoStack::processPostponedJobs() Line 268       C++
        libkritaui.dll!UndoStack::redo() Line 205       C++
        libkritaui.dll!KisMainWindow::redo() Line 1547  C++
        libkritaui.dll!KisMainWindow::qt_static_metacall(QObject * _o,
QMetaObject::Call _c, int _id, void * * _a) Line 436     C++

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

Reply via email to