View Issue Details

IDProjectCategoryView StatusLast Update
0012155ScribusUndo/Redopublic2016-12-29 23:43
ReporterFirasH Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.5 
Summary0012155: Undo is not able to manage a group of shapes imported from SVG
DescriptionSVG files which contain 2+ shapes are imported in Scribus as a group, but ungrouping and undoing a few times crashes Scribus.
Steps To Reproduce0) Create a new document
1) File > Import > Get Vector File... > (Create an SVG file with 2+ shapes or download the sample)
2) Item > Grouping > Ungroup
3) Move one of the 2 (or more) shapes
4) Undo 3 times

Scribus crashes due to Signal 11

Before crashing, Scribus will not be able to restore the initial position of the 2 shapes.
Additional InformationScribus 1.5.0 SVN (18928)
Not having this issue on 1.4.4 SVN (18927)


Program received signal SIGSEGV, Segmentation fault.
0x00000000031f3410 in ?? ()
(gdb) bt
#0 0x00000000031f3410 in ?? ()
0000001 0x0000000000d34153 in ScribusDoc::itemSelection_DeleteItem (this=0x3340380, customSelection=0x7fffffffbd80, forceDeletion=false)
    at /home/.../Scribus/scribus/scribusdoc.cpp:11649
0000002 0x0000000000c253e5 in ScPage::restorePageItemCreation (this=0x33b2d60, state=0x2fabd50, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:340
0000003 0x0000000000c234f2 in ScPage::restore (this=0x33b2d60, state=0x2fabd50, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:209
0000004 0x0000000000dd7514 in UndoState::undo (this=0x2fabd50) at /home/.../Scribus/scribus/undostate.cpp:73
0000005 0x0000000000dc83c6 in TransactionState::undo (this=0x2ed0000)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000006 0x0000000000dc83c6 in TransactionState::undo (this=0x3210360)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000007 0x0000000000dc83c6 in TransactionState::undo (this=0x1dd2bb0)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000008 0x0000000000dd664f in UndoStack::undo (this=0x340d710, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
0000009 0x0000000000dc6d95 in UndoManager::undo (this=0x1eae220, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:553
0000010 0x00000000007948ce in UndoManager::qt_static_metacall (_o=0x1eae220, _c=QMetaObject::InvokeMetaMethod, _id=12,
    _a=0x7fffffffc330) at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
0000011 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000012 0x0000000000789adc in ScrAction::triggeredData (this=0x1c5fe10, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:229
0000013 0x0000000000c5f374 in ScrAction::triggeredToTriggeredData (this=0x1c5fe10)
    at /home/.../Scribus/scribus/scraction.cpp:178
0000014 0x00000000007896b1 in ScrAction::qt_static_metacall (_o=0x1c5fe10, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffc5a0)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:114
0000015 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000016 0x00007ffff6ce0e92 in QAction::triggered(bool) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000017 0x00007ffff6ce2cc7 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff6dec125 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff6dec3e4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6eae9fa in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6d24077 in QWidget::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6eaf890 in QToolButton::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6cef4d6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000026 0x00007ffff6cee54a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000027 0x00007ffff6d43b65 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000028 0x00007ffff6d45f98 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000029 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff6cef6ae in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000031 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000032 0x00007ffff6608c21 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000033 0x00007ffff66094a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000034 0x00007ffff65f0ba8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000035 0x00007fffe58281b0 in ?? () from /home/.../Qt/5.2.1/gcc_64/plugins/platforms/libqxcb.so
0000036 0x00007fffed05d316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066
0000037 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
0000038 0x00007fffed05d668 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 0x00007fffed05d70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774
0000040 0x00007ffff76c5374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000041 0x00007ffff76734ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000042 0x00007ffff767753e in QCoreApplication::exec() () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000043 0x0000000001224140 in mainApp (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:86
0000044 0x00000000012240d0 in main (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
PatchNo

Relationships

related to 0012194 confirmed Redo is not able to restore correctly an imported SVG/PDF/EPS removed with Undo 
child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

FirasH

2014-03-23 14:11

reporter  

drawing-1.svg (1,957 bytes)   
drawing-1.svg (1,957 bytes)   

Kunda

2015-04-02 20:43

updater   ~0034808

Changed category to Undo/Redo

Issue History

Date Modified Username Field Change
2014-03-22 18:17 FirasH New Issue
2014-03-22 20:27 christoph_s Status new => confirmed
2014-03-23 14:11 FirasH File Added: drawing-1.svg
2014-07-07 21:46 FirasH Relationship added related to 0012194
2014-07-09 01:24 FirasH Relationship added child of 0012500
2014-08-08 04:24 Kunda Target Version => 1.5.0
2014-09-11 02:34 Kunda Severity crash => block
2015-04-02 20:43 Kunda Patch => No
2015-04-02 20:43 Kunda Note Added: 0034808
2015-04-02 20:43 Kunda Category Import / Export => Undo/Redo
2015-05-19 20:56 cbradney Target Version 1.5.0 => 1.5.1
2016-01-23 17:16 cbradney Target Version 1.5.1 => 1.5.3
2016-12-08 21:30 Kunda Target Version 1.5.3 => 1.5.5
2016-12-29 23:43 plinnell Severity block => major