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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012451ScribusUndo/Redopublic2014-06-29 03:382014-09-11 04:47
ReporterFirasH 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusconfirmedResolutionopen 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.0Fixed in Version 
Summary0012451: Undo/Redo may crash Scribus if Edit > Cut is used
DescriptionUndo/Redo may crash Scribus if Edit > Cut is used.
Steps To Reproduce0) Create a new document
1) Insert 2 items (example: Text and Image Frame)
2) Group the 2 items
3) Select the Group and Edit > Cut
4) Undo to Initial State (see Windows > Action History)
5) Edit > Paste
6) Ungroup the Group
7) Undo 2 times

Scribus crashes due to Signal 11
Additional InformationScribus 1.5.0.svn (19296)


Program received signal SIGSEGV, Segmentation fault.
0x0000000000d4a168 in ScribusDoc::itemSelection_DeleteItem (this=0x33fdb30, customSelection=0x7fffffffbc60, forceDeletion=false)
    at /home/.../Scribus/scribus/scribusdoc.cpp:11732
11732 if (((currItem->isSingleSel) && (!Items->contains(currItem))) || (currItem->locked()))
(gdb) bt
 0 0x0000000000d4a168 in ScribusDoc::itemSelection_DeleteItem (this=0x33fdb30, customSelection=0x7fffffffbc60, forceDeletion=false)
    at /home/.../Scribus/scribus/scribusdoc.cpp:11732
 1 0x0000000000c35fa9 in ScPage::restorePageItemCreation (this=0x3422da0, state=0x27bfec0, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:340
 2 0x0000000000c340c2 in ScPage::restore (this=0x3422da0, state=0x27bfec0, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:212
 3 0x0000000000deb180 in UndoState::undo (this=0x27bfec0)
    at /home/.../Scribus/scribus/undostate.cpp:73
 4 0x0000000000ddbb10 in TransactionState::undo (this=0x3285200)
    at /home/.../Scribus/scribus/undomanager.cpp:813
 5 0x0000000000ddbb10 in TransactionState::undo (this=0x26e4160)
    at /home/.../Scribus/scribus/undomanager.cpp:813
 6 0x0000000000dea2bb in UndoStack::undo (this=0x35782f0, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
 7 0x0000000000dda55f in UndoManager::undo (this=0x1d06960, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:555
 8 0x0000000000799612 in UndoManager::qt_static_metacall (_o=0x1d06960, _c=QMetaObject::InvokeMetaMethod, _id=12,
    _a=0x7fffffffc1e0) at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
 9 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 10 0x000000000078e39a in ScrAction::triggeredData (this=0x25d5610, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:245
 11 0x0000000000c70ee0 in ScrAction::triggeredToTriggeredData (this=0x25d5610)
    at /home/.../Scribus/scribus/scraction.cpp:100
 12 0x000000000078decb in ScrAction::qt_static_metacall (_o=0x25d5610, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc520)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:117
 13 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 14 0x00007ffff6c82632 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 15 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 16 0x00007ffff6d8da65 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 17 0x00007ffff6d8dd24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 18 0x00007ffff6e5091a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 19 0x00007ffff6cc5c27 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 20 0x00007ffff6e517b0 in QToolButton::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 21 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 22 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 23 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 24 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 25 0x00007ffff6ce5e87 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 26 0x00007ffff6ce89d8 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 27 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 28 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 29 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 30 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 31 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 32 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 33 0x00007fffe548c460 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
 34 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
 35 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
 36 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
 37 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
 38 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 39 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 40 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 41 0x000000000123e918 in mainApp (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:86
 42 0x000000000123e8a8 in main (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
(gdb) continue
Continuing.
Scribus Crash
-------------
Scribus crashes due to Signal 11
Calling Emergency Save

Program received signal SIGSEGV, Segmentation fault.
0x0000000000cd17be in ScribusMainWindow::emergencySave (this=0x0) at /home/.../Scribus/scribus/scribus.cpp:9067
9067 QList<QMdiSubWindow *> windows = mdiArea->subWindowList();
TagsNo tags attached.
Patch
Attached Files

- Relationships
child of 0012500acknowledged Metabug: Undo/Redo (1.5.0.svn) 

-  Notes
(0032432)
Kunda (manager)
2014-07-03 16:23

Confirmed OSX 10.8.5 1.5svn r19309
(0032457)
FirasH (developer)
2014-07-03 22:25

Screencast: https://www.dropbox.com/s/r756bzvuepapimj/12451.mp4 [^]

- Issue History
Date Modified Username Field Change
2014-06-29 03:38 FirasH New Issue
2014-07-03 16:23 Kunda Note Added: 0032432
2014-07-03 16:23 Kunda Status new => confirmed
2014-07-03 16:27 Kunda Target Version => 1.5.0
2014-07-03 22:25 FirasH Note Added: 0032457
2014-07-09 03:16 FirasH Relationship added child of 0012500
2014-09-11 04:47 Kunda Severity crash => block



Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker