View Issue Details

IDProjectCategoryView StatusLast Update
0012371ScribusUndo/Redopublic2015-02-26 20:01
ReporterFirasH Assigned Tocbradney  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version1.5.0svn 
Summary0012371: Undo/Redo crashes Scribus deleting items of a group (case 1)
DescriptionUndo/Redo crashes Scribus deleting items of a group (case 1).
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) Select the Group on Canvas and Item > Grouping > Ungroup
5) Undo 2 times

Scribus crashes, does not even show a crash warning.
Additional InformationScribus 1.5.0 SVN (19211)

Probably related to 0013272.


Program received signal SIGSEGV, Segmentation fault.
0x00007fffef881bf8 in main_arena () from /lib64/libc.so.6
(gdb) bt
#0 0x00007fffef881bf8 in main_arena ()
   from /lib64/libc.so.6
0000001 0x00007fffefe0328f in __dynamic_cast ()
   from /usr/lib64/libstdc++.so.6
0000002 0x0000000000987784 in PageItem::isGroupChild (this=0x3216d50)
    at /home/.../Scribus/scribus/pageitem.cpp:896
0000003 0x00000000009c9c5e in PageItem::getCombinedTransform (this=0x3216d50)
    at /home/.../Scribus/scribus/pageitem.cpp:8770
0000004 0x00000000009d339d in PageItem::getRedrawBounding (this=0x3216d50,
    viewScale=1.3333333333333333) at /home/.../Scribus/scribus/pageitem.cpp:9708
0000005 0x0000000000da194c in ScribusView::SelectItem (this=0x33d87a0, currItem=0x3216d50, draw=true,
    single=false) at /home/.../Scribus/scribus/scribusview.cpp:1640
0000006 0x0000000000c35e08 in ScPage::restorePageItemDeletion (this=0x33d9f20, state=0x1e32430,
    isUndo=true) at /home/.../Scribus/scribus/scpage.cpp:382
0000007 0x0000000000c33c1d in ScPage::restore (this=0x33d9f20, state=0x1e32430, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:214
0000008 0x0000000000dea324 in UndoState::undo (this=0x1e32430)
    at /home/.../Scribus/scribus/undostate.cpp:73
0000009 0x0000000000ddacb2 in TransactionState::undo (this=0x32307d0)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000010 0x0000000000de945f in UndoStack::undo (this=0x3494010, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
0000011 0x0000000000dd9681 in UndoManager::undo (this=0x1d2bee0, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:553
0000012 0x00000000007992e2 in UndoManager::qt_static_metacall (_o=0x1d2bee0,
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffc380)
    at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
0000013 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000014 0x0000000000798f0e in UndoPalette::undo (this=0x2b92910, _t1=1)
    at /home/.../Scribus/build/scribus/moc_undogui.cpp:521
0000015 0x0000000000dd5135 in UndoPalette::undoClicked (this=0x2b92910)
    at /home/.../Scribus/scribus/undogui.cpp:426
0000016 0x0000000000798ae2 in UndoPalette::qt_static_metacall (_o=0x2b92910,
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffffffc580)
    at /home/.../Scribus/build/scribus/moc_undogui.cpp:434
0000017 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000018 0x00007ffff701ee22 in QAbstractButton::clicked(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff6d8d053 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6d8d96a in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6d8db74 in QAbstractButton::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 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6c90bb6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000026 0x00007ffff6c8fcca in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000027 0x00007ffff6ce5cb7 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000028 0x00007ffff6ce8808 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000029 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff6c90de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000031 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000032 0x00007ffff650d457 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000033 0x00007ffff650de95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000034 0x00007ffff64f3148 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000035 0x00007fffe5490630 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
0000036 0x00007fffecde1316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
0000037 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
0000038 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
0000039 0x00007fffecde170c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
0000040 0x00007ffff76b3444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000041 0x00007ffff7656feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000042 0x00007ffff765beb5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000043 0x000000000123cb0c in mainApp (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:86
0000044 0x000000000123ca9c in main (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

has duplicate 0012372 closedcbradney Undo/Redo crashes Scribus deleting items of a group (case 2) 
child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

FirasH

2014-06-12 09:35

reporter   ~0032092

Probably related to 0012372.

Kunda

2014-07-03 14:57

updater   ~0032437

Crashes with signal 11
OSX 10.8.5 1.5svn r19309

FirasH

2015-02-26 20:01

reporter   ~0034618

Cannot reproduce in 1.5.0.svn (19885).

Issue History

Date Modified Username Field Change
2014-06-12 09:32 FirasH New Issue
2014-06-12 09:35 FirasH Note Added: 0032092
2014-07-03 14:57 Kunda Note Added: 0032437
2014-07-03 14:58 Kunda Target Version => 1.5.0
2014-07-03 14:58 Kunda Status new => confirmed
2014-07-09 01:19 FirasH Relationship added child of 0012500
2014-09-11 02:47 Kunda Severity crash => block
2015-02-25 21:54 cbradney Status confirmed => resolved
2015-02-25 21:54 cbradney Fixed in Version => 1.5.0svn
2015-02-25 21:54 cbradney Resolution open => fixed
2015-02-25 21:54 cbradney Assigned To => cbradney
2015-02-25 23:07 cbradney Relationship added has duplicate 0012372
2015-02-26 20:01 FirasH Note Added: 0034618
2015-02-26 20:01 FirasH Status resolved => closed