View Issue Details

IDProjectCategoryView StatusLast Update
0011134ScribusUndo/Redopublic2016-12-29 23:43
Reporterale Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.5.0svn 
Target Version1.5.5 
Summary0011134: crash after undoing vector import
Description- create a new text frame
- fill it (so that the document is not clean... no idea if it necessary to reproduce)
- import an svg (in my case with text and shapes)
- ungroup
- delete random shapes (groups of shapes) among the imported ones
- undo undo undo until it crashes

i can provide further information if needed
Additional Information#0 0x00007ffff445922e in QMetaObject::addGuard(QObject**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000001 0x0000000000808fe9 in QPointer<PageItem>::QPointer (this=0x7fffffffc320, p=0x36e7a70)
    at /usr/include/qt4/QtCore/qpointer.h:60
0000002 0x00000000009c3c36 in Selection::findItem (this=0x359b0b0, item=0x36e7a70)
    at /home/ale/docs/src/scribus/scribus/selection.h:120
0000003 0x0000000000ba88c9 in ScPage::restorePageItemCreation (this=0x3679b40, state=0x38332e0, isUndo=true)
    at /home/ale/docs/src/scribus/scribus/scpage.cpp:324
0000004 0x0000000000ba6ae6 in ScPage::restore (this=0x3679b40, state=0x38332e0, isUndo=true)
    at /home/ale/docs/src/scribus/scribus/scpage.cpp:203
0000005 0x0000000000d41010 in UndoState::undo (this=0x38332e0) at /home/ale/docs/src/scribus/scribus/undostate.cpp:73
0000006 0x0000000000d31e26 in TransactionState::undo (this=0x35428e0)
    at /home/ale/docs/src/scribus/scribus/undomanager.cpp:796
0000007 0x0000000000d31e26 in TransactionState::undo (this=0x28eeb20)
    at /home/ale/docs/src/scribus/scribus/undomanager.cpp:796
0000008 0x0000000000d31e26 in TransactionState::undo (this=0x32cd410)
    at /home/ale/docs/src/scribus/scribus/undomanager.cpp:796
0000009 0x0000000000d40139 in UndoStack::undo (this=0x3711f88, steps=1, objectId=-1)
    at /home/ale/docs/src/scribus/scribus/undostack.cpp:80
0000010 0x0000000000d307b5 in UndoManager::undo (this=0x18b4b70, steps=1)
    at /home/ale/docs/src/scribus/scribus/undomanager.cpp:541
0000011 0x0000000000755924 in UndoManager::qt_static_metacall (_o=0x18b4b70, _c=QMetaObject::InvokeMetaMethod, _id=12,
    _a=0x7fffffffc8d0) at /home/ale/docs/src/scribus/build/scribus/moc_undomanager.cxx:92
0000012 0x00007ffff445a54f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000013 0x000000000074c93a in ScrAction::triggeredData (this=0x21f4020, _t1=1)
    at /home/ale/docs/src/scribus/build/scribus/moc_scraction.cxx:130
0000014 0x0000000000be18d0 in ScrAction::triggeredToTriggeredData (this=0x21f4020)
    at /home/ale/docs/src/scribus/scribus/scraction.cpp:178
0000015 0x000000000074c79a in ScrAction::qt_static_metacall (_o=0x21f4020, _c=QMetaObject::InvokeMetaMethod, _id=10,
    _a=0x7fffffffcaf0) at /home/ale/docs/src/scribus/build/scribus/moc_scraction.cxx:80
0000016 0x00007ffff445a54f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000017 0x00007ffff4ef5502 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000018 0x00007ffff4ef56f0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000019 0x00007ffff4ef5857 in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000020 0x00007ffff4efb70c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000021 0x00007ffff4effb8a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000022 0x00007ffff4444b5e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000023 0x00007ffff4f2c474 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000024 0x00007ffff4f2d983 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000025 0x00007ffff4f01869 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000026 0x00007ffff4444b5e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000027 0x00007ffff4f98a9a in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000028 0x00007ffff4f98ed1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000029 0x00007ffff4f75b28 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000030 0x00007ffff4f9cbc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000031 0x00007ffff002c205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000032 0x00007ffff002c538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000033 0x00007ffff002c5f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000034 0x00007ffff4473276 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000035 0x00007ffff4f9c83e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
0000036 0x00007ffff44438af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000037 0x00007ffff4443b38 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000038 0x00007ffff4448cf8 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
0000039 0x000000000114696b in mainApp (argc=1, argv=0x7fffffffe4f8) at /home/ale/docs/src/scribus/scribus/main_nix.cpp:86
0000040 0x00000000011468f8 in main (argc=1, argv=0x7fffffffe4f8) at /home/ale/docs/src/scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

FirasH

2014-06-24 23:53

reporter   ~0032301

Last edited: 2014-06-24 23:54

Reproduced with 1.5.0.svn (19276)

Steps to reproduce:
0) Create a new document
1) File > Import > Get Vector File... (attached drawing.svg)
2) Ungroup the imported SVG
3) Undo 2 times

Scribus crashes due to Signal 11


Program received signal SIGSEGV, Segmentation fault.
0x0000000000840fa5 in QString::isEmpty (this=0x2f93e38) at /home/.../Qt/5.3/gcc_64/include/QtCore/qstring.h:794
794 { return d->size == 0; }
(gdb) bt
#0 0x0000000000840fa5 in QString::isEmpty (this=0x2f93e38)
    at /home/.../Qt/5.3/gcc_64/include/QtCore/qstring.h:794
0000001 0x0000000000c35b48 in ScPage::restorePageItemCreation (this=0x342b3d0, state=0x2efcbc0, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:324
0000002 0x0000000000c33e22 in ScPage::restore (this=0x342b3d0, state=0x2efcbc0, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:212
0000003 0x0000000000deb064 in UndoState::undo (this=0x2efcbc0)
    at /home/.../Scribus/scribus/undostate.cpp:73
0000004 0x0000000000ddb9f4 in TransactionState::undo (this=0x3514fb0)
    at /home/.../Scribus/scribus/undomanager.cpp:813
0000005 0x0000000000ddb9f4 in TransactionState::undo (this=0x365d870)
    at /home/.../Scribus/scribus/undomanager.cpp:813
0000006 0x0000000000ddb9f4 in TransactionState::undo (this=0x2f88bd0)
    at /home/.../Scribus/scribus/undomanager.cpp:813
0000007 0x0000000000dea19f in UndoStack::undo (this=0x3561aa0, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
0000008 0x0000000000dda443 in UndoManager::undo (this=0x1c29b70, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:555
0000009 0x00000000007994e2 in UndoManager::qt_static_metacall (_o=0x1c29b70, _c=QMetaObject::InvokeMetaMethod, _id=12,
    _a=0x7fffffffc1d0) at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
0000010 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000011 0x000000000078e262 in ScrAction::triggeredData (this=0x1cb5790, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:245
0000012 0x0000000000c70c40 in ScrAction::triggeredToTriggeredData (this=0x1cb5790)
    at /home/.../Scribus/scribus/scraction.cpp:100
0000013 0x000000000078dd93 in ScrAction::qt_static_metacall (_o=0x1cb5790, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc510)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:117
0000014 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000015 0x00007ffff6c825d2 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000016 0x00007ffff6c84407 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000017 0x00007ffff6d8d8b5 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000018 0x00007ffff6d8db74 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000019 0x00007ffff6e504ba in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6cc5a87 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6e51350 in QToolButton::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 0x000000000123e328 in mainApp (argc=1, argv=0x7fffffffdd08)
    at /home/.../Scribus/scribus/main_nix.cpp:86
0000043 0x000000000123e2b8 in main (argc=1, argv=0x7fffffffdd08)
    at /home/.../Scribus/scribus/main_nix.cpp:54

FirasH

2014-06-24 23:54

reporter  

drawing.svg (4,187 bytes)   
drawing.svg (4,187 bytes)   

Kunda

2014-07-17 13:58

updater   ~0032809

Confirmed on OSX 10.8.5 1.5svn r19352 (Qt 5.3.1)

Issue History

Date Modified Username Field Change
2012-10-28 10:14 ale New Issue
2012-10-28 10:14 ale Status new => assigned
2012-10-28 10:14 ale Assigned To => Chelen
2014-06-24 23:53 FirasH Note Added: 0032301
2014-06-24 23:54 FirasH File Added: drawing.svg
2014-06-24 23:54 FirasH Note Edited: 0032301
2014-06-25 01:17 FirasH Severity minor => crash
2014-07-02 12:36 FirasH Assigned To Chelen =>
2014-07-02 12:36 FirasH Status assigned => confirmed
2014-07-03 14:37 Kunda Target Version => 1.5.0
2014-07-09 01:46 FirasH Relationship added child of 0012500
2014-07-17 13:58 Kunda Note Added: 0032809
2014-09-11 02:47 Kunda Severity crash => block
2015-05-19 20:56 cbradney Target Version 1.5.0 => 1.5.1
2016-01-23 17:17 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