View Issue Details

IDProjectCategoryView StatusLast Update
0012372ScribusUndo/Redopublic2015-02-26 20:03
ReporterFirasH Assigned Tocbradney  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionduplicate 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012372: Undo/Redo crashes Scribus deleting items of a group (case 2)
DescriptionUndo/Redo crashes Scribus deleting items of a group (case 2).
Steps To Reproduce0) Create a new document and make sure Windows > Action History/Outline are opened
1) Insert 2 items (example: Text and Image frame)
2) Select the 2 items and Item > Grouping > Group
3) From "Outline" delete one of the items of the GroupX
4) Undo to "Initial State"
5) Redo 2 times

Scribus crashes due to Signal 11
Additional InformationScribus 1.5.0 SVN (19211)

Probably related to 0013271.


Program received signal SIGSEGV, Segmentation fault.
0x00007fffefe03273 in __dynamic_cast () from /usr/lib64/libstdc++.so.6
(gdb) bt
#0 0x00007fffefe03273 in __dynamic_cast ()
   from /usr/lib64/libstdc++.so.6
0000001 0x0000000000987784 in PageItem::isGroupChild (this=0x322d660)
    at /home/.../Scribus/scribus/pageitem.cpp:896
0000002 0x00000000009c9c5e in PageItem::getCombinedTransform (this=0x322d660)
    at /home/.../Scribus/scribus/pageitem.cpp:8770
0000003 0x0000000000d285ef in ScribusDoc::OnPage (this=0x33c9630, currItem=0x322d660)
    at /home/.../Scribus/scribus/scribusdoc.cpp:5987
0000004 0x0000000000c35b12 in ScPage::restorePageItemCreation (this=0x33f54a0, state=0x342f480,
    isUndo=false) at /home/.../Scribus/scribus/scpage.cpp:350
0000005 0x0000000000c33b9a in ScPage::restore (this=0x33f54a0, state=0x342f480, isUndo=false)
    at /home/.../Scribus/scribus/scpage.cpp:212
0000006 0x0000000000dea374 in UndoState::redo (this=0x342f480)
    at /home/.../Scribus/scribus/undostate.cpp:79
0000007 0x0000000000ddadbb in TransactionState::redo (this=0x2ee6350)
    at /home/.../Scribus/scribus/undomanager.cpp:829
0000008 0x0000000000ddadbb in TransactionState::redo (this=0x2ee63b0)
    at /home/.../Scribus/scribus/undomanager.cpp:829
0000009 0x0000000000de96cd in UndoStack::redo (this=0x3523c00, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:121
0000010 0x0000000000dd9739 in UndoManager::redo (this=0x1e73c00, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:567
0000011 0x00000000007992ff in UndoManager::qt_static_metacall (_o=0x1e73c00,
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffffffc380)
    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 0x0000000000798f60 in UndoPalette::redo (this=0x2b90820, _t1=1)
    at /home/.../Scribus/build/scribus/moc_undogui.cpp:528
0000014 0x0000000000dd5155 in UndoPalette::redoClicked (this=0x2b90820)
    at /home/.../Scribus/scribus/undogui.cpp:432
0000015 0x0000000000798af3 in UndoPalette::qt_static_metacall (_o=0x2b90820,
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffffffc580)
    at /home/.../Scribus/build/scribus/moc_undogui.cpp:435
0000016 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000017 0x00007ffff701ee22 in QAbstractButton::clicked(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff6d8d053 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff6d8d96a 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 0x00007ffff6cc5a87 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6c90bb6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000025 0x00007ffff6c8fcca in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000026 0x00007ffff6ce5cb7 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000027 0x00007ffff6ce8808 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000028 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000029 0x00007ffff6c90de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000031 0x00007ffff650d457 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000032 0x00007ffff650de95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000033 0x00007ffff64f3148 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000034 0x00007fffe5490630 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
0000035 0x00007fffecde1316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
0000036 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
0000037 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
0000038 0x00007fffecde170c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
0000039 0x00007ffff76b3444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000040 0x00007ffff7656feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000041 0x00007ffff765beb5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000042 0x000000000123cb0c in mainApp (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:86
0000043 0x000000000123ca9c in main (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

duplicate of 0012371 closedcbradney Undo/Redo crashes Scribus deleting items of a group (case 1) 
has duplicate 0012402 closedjghali Undo/Redo crashes Scribus if items of a Group are deleted 
child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

FirasH

2014-06-12 09:34

reporter   ~0032091

Probably related to 0012371.

Kunda

2014-07-03 14:44

updater   ~0032436

Last edited: 2014-07-03 14:47

reproduced OSX 10.8.5 1.5svn r19309
[Edited]

FirasH

2015-02-26 20:03

reporter   ~0034619

Cannot reproduce in 1.5.0.svn (19885).

Issue History

Date Modified Username Field Change
2014-06-12 09:34 FirasH New Issue
2014-06-12 09:34 FirasH Note Added: 0032091
2014-06-17 11:50 jghali Relationship added has duplicate 0012402
2014-07-03 14:44 Kunda Note Added: 0032436
2014-07-03 14:44 Kunda Status new => confirmed
2014-07-03 14:45 Kunda Target Version => 1.5.0
2014-07-03 14:47 Kunda Note Edited: 0032436
2014-07-09 01:19 FirasH Relationship added child of 0012500
2014-09-11 02:47 Kunda Severity crash => block
2015-02-25 23:07 cbradney Relationship added duplicate of 0012371
2015-02-25 23:07 cbradney Status confirmed => resolved
2015-02-25 23:07 cbradney Fixed in Version => 1.5.0svn
2015-02-25 23:07 cbradney Resolution open => duplicate
2015-02-25 23:07 cbradney Assigned To => cbradney
2015-02-26 20:03 FirasH Note Added: 0034619
2015-02-26 20:03 FirasH Status resolved => closed