Mantis Issue Tracking for Scribus
· Hosting provided by / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012194ScribusImport / Exportpublic14-Apr-04 16:5214-Sep-11 04:47
Assigned To 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version 
Summary0012194: Redo is not able to restore correctly an imported SVG removed with Undo
DescriptionRedo is not able to restore correctly an imported SVG removed with Undo.
Steps To Reproduce0) Create a new document
1) Import an SVG (attached)
2) Undo
3) Redo

2 SVG files are now present on canvas.
Moving them behaves quite strange, they're like grouped partially.

4) Select all and ungroup (Ctrl+Shift+G)
5) Undo twice

Scribus crashes due to Signal 11
Additional InformationScribus 1.5.0 SVN (19000) - Qt 5.2.1
Not having this issue with Scribus 1.4.4 SVN (18973)

Related to 0012155

Program received signal SIGSEGV, Segmentation fault.
0x00007fffefaecd18 in main_arena () from /lib64/
(gdb) bt
#0 0x00007fffefaecd18 in main_arena () from /lib64/
0000001 0x0000000000d41527 in ScribusDoc::itemSelection_DeleteItem (this=0x33fdfe0, customSelection=0x7fffffffbd80, forceDeletion=false)
    at /home/.../Scribus/scribus/scribusdoc.cpp:11663
0000002 0x0000000000c2e535 in ScPage::restorePageItemCreation (this=0x34232b0, state=0x280cf40, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:340
0000003 0x0000000000c2c642 in ScPage::restore (this=0x34232b0, state=0x280cf40, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:209
0000004 0x0000000000de1578 in UndoState::undo (this=0x280cf40) at /home/.../Scribus/scribus/undostate.cpp:73
0000005 0x0000000000dd242a in TransactionState::undo (this=0x324d200)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000006 0x0000000000dd242a in TransactionState::undo (this=0x2d1abe0)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000007 0x0000000000dd242a in TransactionState::undo (this=0x2f6c960)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000008 0x0000000000de06b3 in UndoStack::undo (this=0x34f7390, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
0000009 0x0000000000dd0df9 in UndoManager::undo (this=0x1ef0cd0, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:553
0000010 0x00000000007963e2 in UndoManager::qt_static_metacall (_o=0x1ef0cd0, _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/
0000012 0x000000000078b31c in ScrAction::triggeredData (this=0x1d29cc0, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:229
0000013 0x0000000000c69328 in ScrAction::triggeredToTriggeredData (this=0x1d29cc0)
    at /home/.../Scribus/scribus/scraction.cpp:178
0000014 0x000000000078aef1 in ScrAction::qt_static_metacall (_o=0x1d29cc0, _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/
0000016 0x00007ffff6ce0e92 in QAction::triggered(bool) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000017 0x00007ffff6ce2cc7 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000018 0x00007ffff6dec125 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000019 0x00007ffff6dec3e4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000020 0x00007ffff6eae9fa in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000021 0x00007ffff6d24077 in QWidget::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000022 0x00007ffff6eaf890 in QToolButton::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000023 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000024 0x00007ffff6cef4d6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000025 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000026 0x00007ffff6cee54a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000027 0x00007ffff6d43b65 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000028 0x00007ffff6d45f98 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/
0000029 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000030 0x00007ffff6cef6ae in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/
0000031 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000032 0x00007ffff6608c21 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000033 0x00007ffff66094a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000034 0x00007ffff65f0ba8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000035 0x00007fffe58231b0 in ?? () from /home/.../Qt/5.2.1/gcc_64/plugins/platforms/
0000036 0x00007fffed058316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066
0000037 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
0000038 0x00007fffed058668 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 0x00007fffed05870c 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/
0000041 0x00007ffff76734ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/
0000042 0x00007ffff767753e in QCoreApplication::exec() () from /home/.../Qt/5.2.1/gcc_64/lib/
0000043 0x0000000001230778 in mainApp (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:86
0000044 0x0000000001230708 in main (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Attached Files? file icon drawing.svg [^] (4,187 bytes) 14-Apr-04 16:52
? file icon drawing2.svg [^] (11,358 bytes) 14-Apr-11 16:22

- Relationships
related to 0012155confirmed Undo is not able to manage a group of shapes imported from SVG 
related to 0012374confirmed Undo/Redo crashes Scribus editing a Barcode 
child of 0012500acknowledged Metabug: Undo/Redo (1.5.0.svn) 

-  Notes
FirasH (developer)
14-Apr-11 16:22

This issue is probably related to gradients present in SVG files.
I uploaded another file with the same issue.
FirasH (developer)
14-Apr-11 18:47
edited on: 14-Apr-11 18:47

The issue is always reproducible if the imported SVG has 2+ shapes. Gradient colors are not the problem...

Generic steps:
1) Create a SVG that contains 2+ shapes
2) Import the SVG in Scribus
3) Undo
4) Redo

(The SVG file is duplicated?)
Move the shapes: very strange behavior of Canvas.

FirasH (developer)
14-Jun-15 15:49

To crash the file drawing2.svg follow those steps:

0) Create a new document
1) Import the SVG (drawing2.svg)
2) Ungroup the SVG
3) Undo 2 times

Scribus crashes due Signal 11
FirasH (developer)
14-Jun-15 17:12

Very likely related to 0012374.
Kunda (developer)
14-Jul-03 17:11

Reproduced on 10.8.5 1.5svn r19309
FirasH (developer)
14-Jul-07 23:44

It should be the same with .eps and .pdf

- Issue History
Date Modified Username Field Change
14-Apr-04 16:52 FirasH New Issue
14-Apr-04 16:52 FirasH File Added: drawing.svg
14-Apr-11 16:22 FirasH Note Added: 0031675
14-Apr-11 16:22 FirasH File Added: drawing2.svg
14-Apr-11 18:47 FirasH Note Added: 0031676
14-Apr-11 18:47 FirasH Note Edited: 0031676 View Revisions
14-Jun-15 15:49 FirasH Note Added: 0032178
14-Jun-15 17:12 FirasH Note Added: 0032183
14-Jul-03 17:11 Kunda Note Added: 0032440
14-Jul-03 17:11 Kunda Status new => confirmed
14-Jul-03 17:11 Kunda Target Version => 1.5.0
14-Jul-07 23:44 FirasH Note Added: 0032563
14-Jul-07 23:46 FirasH Relationship added related to 0012155
14-Jul-09 03:24 FirasH Relationship added child of 0012500
14-Jul-17 16:01 Kunda Relationship added related to 0012374
14-Sep-11 04:47 Kunda Severity crash => block

Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker