View Issue Details

IDProjectCategoryView StatusLast Update
0012538ScribusUndo/Redopublic2020-12-09 17:10
ReporterFirasH Assigned Tojghali  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSFreeBSDOS Version10.0.2
Product Version1.5.0svn 
Target Version1.5.5Fixed in Version1.5.7.svn 
Summary0012538: Undo/Redo cause crash if Group is used multiple times
DescriptionUndo/Redo cause crash if Group is used multiple times.
Steps To Reproduce0) Create a new document
1) Insert a Shape (S)
2) Insert another Shape (S)
3) Select both Shapes (Ctrl+A)
4) Go to: Item > Grouping > Group (Ctrl+G)
5) Go to: Item > Grouping > Ungroup (Ctrl+Shift+G)
6) Go to: Item > Grouping > Group (Ctrl+G)
7) Undo 5 times
8) Redo 5 times
Additional InformationScribus 1.5.0.svn (19354)

ASSERT failure in QList<T>::take: "index out of range", file /usr/local/include/qt5/QtCore/qlist.h, line 488

Program received signal SIGABRT, Aborted.
[Switching to Thread 813c06400 (LWP 100395/scribus)]
0x000000080965ae1a in kill () from /lib/libc.so.7
(gdb) bt
#0 0x000000080965ae1a in kill ()
   from /lib/libc.so.7
0000001 0x0000000809659ac9 in abort ()
   from /lib/libc.so.7
0000002 0x00000008022c0169 in QMessageLogger::debug ()
   from /usr/local/lib/libQt5Core.so.5
0000003 0x00000008022c0740 in QMessageLogger::fatal ()
   from /usr/local/lib/libQt5Core.so.5
0000004 0x00000008022bd488 in qt_assert_x ()
   from /usr/local/lib/libQt5Core.so.5
0000005 0x000000000086b050 in QList<PageItem*>::takeAt (this=0x82419a990, i=-1)
    at qlist.h:488
0000006 0x0000000000e43e94 in ScribusDoc::itemSelection_GroupObjects (
    this=0x82419a000, changeLock=false, lock=false,
    customSelection=0x7fffffff92d0)
    at /usr/home/.../Scribus/scribus/scribusdoc.cpp:15367
0000007 0x0000000000e367c2 in ScribusDoc::restoreGrouping (this=0x82419a000,
    state=0x8234be200, isUndo=false)
    at /usr/home/.../Scribus/scribus/scribusdoc.cpp:2377
0000008 0x0000000000e28fae in ScribusDoc::restore (this=0x82419a000,
    state=0x8234be200, isUndo=false)
    at /usr/home/.../Scribus/scribus/scribusdoc.cpp:1747
0000009 0x0000000000e3fe7e in non-virtual thunk to ScribusDoc::restore(UndoState*, bool) (this=0x82419a010, state=0x8234be200, isUndo=false)
    at /usr/home/.../Scribus/scribus/scribusdoc.cpp:2292
0000010 0x0000000000f53e7d in UndoState::redo (this=0x8234be200)
    at /usr/home/.../Scribus/scribus/undostate.cpp:79
0000011 0x0000000000f45118 in TransactionState::redo (this=0x8234f2f10)
    at /usr/home/.../Scribus/scribus/undomanager.cpp:834
0000012 0x0000000000f51b21 in UndoStack::redo (this=0x82319ffa0, steps=1,
    objectId=-1)
    at /usr/home/.../Scribus/scribus/undostack.cpp:121
0000013 0x0000000000f43b72 in UndoManager::redo (this=0x813dea140, steps=1)
    at /usr/home/.../Scribus/scribus/undomanager.cpp:569
0000014 0x0000000000741b6c in UndoManager::qt_static_metacall (_o=0x813dea140,
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffffffc430)
    at /usr/home/.../Scribus/build/scribus/moc_undomanager.cpp:144
0000015 0x000000080249d827 in QMetaObject::activate ()
   from /usr/local/lib/libQt5Core.so.5
0000016 0x00000000007353db in ScrAction::triggeredData (this=0x813eb1800, _t1=1)
    at /usr/home/.../Scribus/build/scribus/moc_scraction.cpp:245
0000017 0x0000000000d65e1c in ScrAction::triggeredToTriggeredData (
    this=0x813eb1800)
    at /usr/home/.../Scribus/scribus/scraction.cpp:100
0000018 0x0000000000734f1e in ScrAction::qt_static_metacall (_o=0x813eb1800,
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc7e0)
    at /usr/home/.../Scribus/build/scribus/moc_scraction.cpp:117
0000019 0x000000080249d827 in QMetaObject::activate ()
   from /usr/local/lib/libQt5Core.so.5
0000020 0x00000008029f49cf in QAction::activate ()
   from /usr/local/lib/libQt5Widgets.so.5
0000021 0x00000008029f48c9 in QAction::event ()
   from /usr/local/lib/libQt5Widgets.so.5
0000022 0x00000008029fc1a7 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQt5Widgets.so.5
0000023 0x00000008029fec0c in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
0000024 0x000000080246dac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
0000025 0x0000000803173f66 in QShortcutMap::dispatchEvent ()
   from /usr/local/lib/libQt5Gui.so.5
0000026 0x0000000803173bde in QShortcutMap::tryShortcutEvent ()
   from /usr/local/lib/libQt5Gui.so.5
0000027 0x00000008029fd802 in QApplication::notify ()
   from /usr/local/lib/libQt5Widgets.so.5
0000028 0x000000080246dac2 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQt5Core.so.5
0000029 0x000000080314e2d4 in QGuiApplicationPrivate::processKeyEvent ()
   from /usr/local/lib/libQt5Gui.so.5
0000030 0x000000080314cf29 in QGuiApplicationPrivate::processWindowSystemEvent ()
   from /usr/local/lib/libQt5Gui.so.5
0000031 0x000000080313db58 in QWindowSystemInterface::sendWindowSystemEvents ()
   from /usr/local/lib/libQt5Gui.so.5
0000032 0x00000008134b26f0 in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
0000033 0x000000080b991142 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
0000034 0x000000080b991497 in g_main_context_pending ()
   from /usr/local/lib/libglib-2.0.so.0
0000035 0x000000080b991524 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
0000036 0x00000008024bbe58 in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/libQt5Core.so.5
0000037 0x00000008134b269c in qt_plugin_instance ()
   from /usr/local/lib/qt5/plugins/platforms/libqxcb.so
0000038 0x000000080246b45e in QEventLoop::exec ()
   from /usr/local/lib/libQt5Core.so.5
0000039 0x000000080246e072 in QCoreApplication::exec ()
   from /usr/local/lib/libQt5Core.so.5
0000040 0x00000000014c027b in mainApp (argc=1, argv=0x7fffffffd3a8)
    at main_nix.cpp:86
0000041 0x00000000014c01c2 in main (argc=1, argv=0x7fffffffd3a8)
    at main_nix.cpp:54
TagsHOST-Oman
Patch

Relationships

related to 0016350 closedjghali Undo of ungrouped grouped object crashes Scribus 
child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

Kunda

2014-07-19 12:06

updater   ~0032831

Confirmed on 1.5svn r19352
Crashes with Signal 6; moving to 1.5.0 release
(Great instructions, FirasH)

jghali

2020-11-24 18:46

administrator   ~0048487

Fixed together with issue 0016350.

FirasH

2020-12-09 17:10

reporter   ~0048543

Fix confirmed in 1.5.7.svn

Issue History

Date Modified Username Field Change
2014-07-18 22:38 FirasH New Issue
2014-07-18 22:39 FirasH Relationship added child of 0012500
2014-07-19 12:06 Kunda Note Added: 0032831
2014-07-19 12:06 Kunda Status new => confirmed
2014-07-19 12:06 Kunda Target Version => 1.5.0
2014-09-11 02:44 Kunda Severity crash => block
2015-05-19 20:56 cbradney Target Version 1.5.0 => 1.5.1
2015-10-26 07:46 watfa albadi Tag Attached: HOST-Oman
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
2020-11-24 18:46 jghali Assigned To => jghali
2020-11-24 18:46 jghali Status confirmed => resolved
2020-11-24 18:46 jghali Resolution open => fixed
2020-11-24 18:46 jghali Fixed in Version => 1.5.7.svn
2020-11-24 18:46 jghali Note Added: 0048487
2020-11-24 18:48 jghali Relationship added related to 0016350
2020-12-09 17:10 FirasH Status resolved => closed
2020-12-09 17:10 FirasH Note Added: 0048543