View Issue Details

IDProjectCategoryView StatusLast Update
0012402ScribusUndo/Redopublic2014-06-17 11:50
ReporterFirasH Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Summary0012402: Undo/Redo crashes Scribus if items of a Group are deleted
DescriptionUndo/Redo crashes Scribus if items of a Group are deleted Undo/Redo crashes Scribus if items of a Group are deleted.
Steps To Reproduce0) Create a new document and make sure Windows > Outline is opened
1) Insert 2 items (example: Text/Image Frame)
2) Select the 2 items and Item > Grouping > Grouping
3) From Windows > Outline delete the 2 items inside of the Group (one at a time due to 0012403)
     (1. Select the item - 2. Edit > Delete)
4) Undo to Initial State
5) Redo once

Scribus crashes due to Signal 11
Additional InformationScribus 1.5.0.svn (19244)


Program received signal SIGSEGV, Segmentation fault.
0x00007fffefe0328c in __dynamic_cast () from /usr/lib64/libstdc++.so.6
(gdb) bt
#0 0x00007fffefe0328c in __dynamic_cast ()
   from /usr/lib64/libstdc++.so.6
0000001 0x0000000000987708 in PageItem::isGroupChild (this=0x2fe8390)
    at /home/.../Scribus/scribus/pageitem.cpp:896
0000002 0x00000000009c9d96 in PageItem::getCombinedTransform (this=0x2fe8390)
    at /home/.../Scribus/scribus/pageitem.cpp:8786
0000003 0x0000000000d28229 in ScribusDoc::OnPage (this=0x33ce940, currItem=0x2fe8390)
    at /home/.../Scribus/scribus/scribusdoc.cpp:5990
0000004 0x0000000000c3573e in ScPage::restorePageItemCreation (this=0x33f3780, state=0x19c8250, isUndo=false)
    at /home/.../Scribus/scribus/scpage.cpp:347
0000005 0x0000000000c337d2 in ScPage::restore (this=0x33f3780, state=0x19c8250, isUndo=false)
    at /home/.../Scribus/scribus/scpage.cpp:212
0000006 0x0000000000dea83c in UndoState::redo (this=0x19c8250)
    at /home/.../Scribus/scribus/undostate.cpp:79
0000007 0x0000000000ddb283 in TransactionState::redo (this=0x1966a90)
    at /home/.../Scribus/scribus/undomanager.cpp:829
0000008 0x0000000000ddb283 in TransactionState::redo (this=0x2edc1d0)
    at /home/.../Scribus/scribus/undomanager.cpp:829
0000009 0x0000000000de9b95 in UndoStack::redo (this=0x3621630, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:121
0000010 0x0000000000dd9c01 in UndoManager::redo (this=0x1d2d180, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:567
0000011 0x00000000007992ef in UndoManager::qt_static_metacall (_o=0x1d2d180, _c=QMetaObject::InvokeMetaMethod, _id=13,
    _a=0x7fffffffc210) at /home/.../Scribus/build/scribus/moc_undomanager.cpp:144
0000012 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000013 0x000000000078e052 in ScrAction::triggeredData (this=0x1e8d500, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:245
0000014 0x0000000000c705f0 in ScrAction::triggeredToTriggeredData (this=0x1e8d500)
    at /home/.../Scribus/scribus/scraction.cpp:100
0000015 0x000000000078db83 in ScrAction::qt_static_metacall (_o=0x1e8d500, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc550)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:117
0000016 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000017 0x00007ffff6c825d2 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff6c84407 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff6d8d8b5 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6d8db74 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6e504ba in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6cc5a87 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6e51350 in QToolButton::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff6c90bb6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000026 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000027 0x00007ffff6c8fcca in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000028 0x00007ffff6ce5cb7 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000029 0x00007ffff6ce8808 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000031 0x00007ffff6c90de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000032 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000033 0x00007ffff650d457 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000034 0x00007ffff650de95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000035 0x00007ffff64f3148 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000036 0x00007fffe5490630 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
0000037 0x00007fffecde1316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
0000038 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
0000039 0x00007fffecde1668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
0000040 0x00007fffecde170c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
0000041 0x00007ffff76b3444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000042 0x00007ffff7656feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000043 0x00007ffff765beb5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000044 0x000000000123d030 in mainApp (argc=1, argv=0x7fffffffdd48)
    at /home/.../Scribus/scribus/main_nix.cpp:86
0000045 0x000000000123cfc0 in main (argc=1, argv=0x7fffffffdd48)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

duplicate of 0012372 closedcbradney Undo/Redo crashes Scribus deleting items of a group (case 2) 

Activities

FirasH

2014-06-17 00:55

reporter   ~0032201

https://www.dropbox.com/s/07qrbbahpu17i91/12402.mp4

owencook

2014-06-17 01:18

reporter   ~0032203

Confirmed, with a slightly earlier version (couple of days) of 1.5.0

FirasH

2014-06-17 01:45

reporter   ~0032207

0012372.

jghali

2014-06-17 11:50

administrator   ~0032216

Duplicate of 0012372.

Issue History

Date Modified Username Field Change
2014-06-17 00:36 FirasH New Issue
2014-06-17 00:55 FirasH Note Added: 0032201
2014-06-17 01:18 owencook Note Added: 0032203
2014-06-17 01:45 FirasH Note Added: 0032207
2014-06-17 11:50 jghali Note Added: 0032216
2014-06-17 11:50 jghali Relationship added duplicate of 0012372
2014-06-17 11:50 jghali Status new => resolved
2014-06-17 11:50 jghali Resolution open => duplicate
2014-06-17 11:50 jghali Assigned To => jghali
2014-06-17 11:50 jghali Status resolved => closed