View Issue Details

IDProjectCategoryView StatusLast Update
0012356ScribusUndo/Redopublic2014-12-21 14:23
ReporterFirasH Assigned Tocbradney  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.4.5.svn 
Fixed in Version1.4.5.svn 
Summary0012356: Undo/Redo crashes Scribus while editing master page
DescriptionUndo/Redo crashes Scribus while editing master page.
Steps To Reproduce0) Create a new document (1 Page) and make sure Windows > Outline is opened
1) Page > Insert... > 1 at End
2) Insert an item on one of the 2 pages
3) From Windows > Outline click on "Normal" to edit the master page
4) Undo 2 times

Scribus crashes due to Signal 6
Additional InformationIssue present on:
Scribus 1.4.4 SVN (19185)
Scribus 1.5.0 SVN (19187)

Program received signal SIGABRT, Aborted.
0x00007fffedf81849 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007fffedf81849 in raise ()
   from /lib64/libc.so.6
0000001 0x00007fffedf82cd8 in abort ()
   from /lib64/libc.so.6
0000002 0x00007ffff74168be in QMessageLogger::fatal(char const*, ...) const ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000003 0x00007ffff7411d84 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000004 0x00000000008c6413 in QList<ScPage*>::at (this=0x2e1bc20, i=-1)
    at /home/.../Qt/5.3/gcc_64/include/QtCore/qlist.h:479
0000005 0x0000000000e2db07 in ScribusView::GotoPage (this=0x2e41d80, Seite=-1)
    at /home/.../Scribus/scribus/scribusview.cpp:2380
0000006 0x0000000000d47a12 in ScribusMainWindow::deletePage (this=0x1905f80, from=1, to=1)
    at /home/.../Scribus/scribus/scribus.cpp:6920
0000007 0x0000000000d5599a in ScribusMainWindow::restoreAddPage (this=0x1905f80, state=
    0x2eca860, isUndo=true) at /home/.../Scribus/scribus/scribus.cpp:8626
0000008 0x0000000000d54bfb in ScribusMainWindow::restore (this=0x1905f80, state=0x2eca860,
    isUndo=true) at /home/.../Scribus/scribus/scribus.cpp:8516
0000009 0x0000000000e723c0 in UndoState::undo (this=0x2eca860)
    at /home/.../Scribus/scribus/undostate.cpp:73
0000010 0x0000000000e62de2 in TransactionState::undo (this=0x2e70410)
    at /home/.../Scribus/scribus/undomanager.cpp:808
0000011 0x0000000000e714fb in UndoStack::undo (this=0x2f6e860, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
0000012 0x0000000000e617b1 in UndoManager::undo (this=0x1a3ac30, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:553
0000013 0x000000000081b72a in UndoManager::qt_static_metacall (_o=0x1a3ac30,
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffc200)
    at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
0000014 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000015 0x00000000008104e6 in ScrAction::triggeredData (this=0x1f3da90, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:245
0000016 0x0000000000cf7584 in ScrAction::triggeredToTriggeredData (this=0x1f3da90)
    at /home/.../Scribus/scribus/scraction.cpp:100
0000017 0x0000000000810017 in ScrAction::qt_static_metacall (_o=0x1f3da90,
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc540)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:117
0000018 0x00007ffff768a681 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000019 0x00007ffff6c825d2 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6c84407 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6d8d8b5 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6d8db74 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6e504ba in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6cc5a87 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff6e51350 in QToolButton::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000026 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000027 0x00007ffff6c90bb6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000028 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000029 0x00007ffff6c8fcca in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff6ce5cb7 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000031 0x00007ffff6ce8808 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000032 0x00007ffff6c8d764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000033 0x00007ffff6c90de6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
0000034 0x00007ffff7658dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000035 0x00007ffff650d457 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000036 0x00007ffff650de95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000037 0x00007ffff64f3148 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
0000038 0x00007fffe3360630 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
0000039 0x00007fffeb7d8316 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
0000040 0x00007fffeb7d8668 in ?? ()
   from /usr/lib64/libglib-2.0.so.0
0000041 0x00007fffeb7d870c in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
0000042 0x00007ffff76b3444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000043 0x00007ffff7656feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000044 0x00007ffff765beb5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
0000045 0x00000000012d6908 in mainApp (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:86
0000046 0x00000000012d6898 in main (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

related to 0012857 closedjghali Closing document while editing master pages may cause crash 
related to 0012251 confirmed Editing Inline Items crashes Scribus if Undo has to delete a Page 

Activities

FirasH

2014-06-07 12:51

reporter   ~0032046

Reduced steps:

0) Create a new document and make sure Windows > Outline is opened
1) Page > Insert... > 1 at End
2) From Windows > Outline click on "Normal" to edit the master page
3) Undo

Scribus crashes due to Signal 6

plinnell

2014-06-07 18:14

viewer   ~0032047

Last edited: 2014-06-07 18:14

I can replicate on 12.3 with current 1.4.x svn

ASSERT failure in QList<T>::at: "index out of range", file /usr/include/QtCore/qlist.h, line 469

Program received signal SIGABRT, Aborted.
0x00007ffff394e3d5 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff394e3d5 in raise () from /lib64/libc.so.6
0000001 0x00007ffff394f858 in abort () from /lib64/libc.so.6
0000002 0x00007ffff6440c54 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
0000003 0x00007ffff6440e08 in ?? () from /usr/lib64/libQtCore.so.4
0000004 0x00007ffff6440f94 in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
0000005 0x00007ffff6440fbe in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib64/libQtCore.so.4
0000006 0x000000000075bddd in QList<Page*>::at (this=0x2d12c18, i=-1) at /usr/include/QtCore/qlist.h:469
0000007 0x0000000000d251c4 in ScribusView::GotoPage (this=0x255eda0, Seite=-1) at /home/plinnell/svn/144/Version14x/Scribus/scribus/scribusview.cpp:2901
0000008 0x0000000000c6e95d in ScribusMainWindow::deletePage (this=0x15a7280, from=1, to=1) at /home/plinnell/svn/144/Version14x/Scribus/scribus/scribus.cpp:6915
0000009 0x0000000000c7aebf in ScribusMainWindow::restoreAddPage (this=0x15a7280, state=0x2f76bf0, isUndo=true) at /home/plinnell/svn/144/Version14x/Scribus/scribus/scribus.cpp:8760
0000010 0x0000000000c7a13f in ScribusMainWindow::restore (this=0x15a7280, state=0x2f76bf0, isUndo=true) at /home/plinnell/svn/144/Version14x/Scribus/scribus/scribus.cpp:8650
0000011 0x0000000000e7b21c in UndoState::undo (this=0x2f76bf0) at /home/plinnell/svn/144/Version14x/Scribus/scribus/undostate.cpp:73
0000012 0x0000000000e6df6a in TransactionState::undo (this=0x247ac90) at /home/plinnell/svn/144/Version14x/Scribus/scribus/undomanager.cpp:782
0000013 0x0000000000e7a415 in UndoStack::undo (this=0x2f34098, steps=1, objectId=-1) at /home/plinnell/svn/144/Version14x/Scribus/scribus/undostack.cpp:70
0000014 0x0000000000e6ca91 in UndoManager::undo (this=0x17627b0, steps=1) at /home/plinnell/svn/144/Version14x/Scribus/scribus/undomanager.cpp:541
0000015 0x00000000006c7248 in UndoManager::qt_static_metacall (_o=0x17627b0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffc520) at /home/plinnell/svn/build144/scribus/moc_undomanager.cxx:91
0000016 0x00007ffff655c44f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
0000017 0x00000000006af7f6 in ScrAction::triggeredData (this=0x1e31570, _t1=1) at /home/plinnell/svn/build144/scribus/moc_scraction.cxx:129
0000018 0x0000000000c0599e in ScrAction::triggeredToTriggeredData (this=0x1e31570) at /home/plinnell/svn/144/Version14x/Scribus/scribus/scraction.cpp:169
0000019 0x00000000006af656 in ScrAction::qt_static_metacall (_o=0x1e31570, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffc750) at /home/plinnell/svn/build144/scribus/moc_scraction.cxx:79
0000020 0x00007ffff655c44f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
0000021 0x00007ffff6ffc722 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
0000022 0x00007ffff6ffc910 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
0000023 0x00007ffff73bd31f in ?? () from /usr/lib64/libQtGui.so.4
0000024 0x00007ffff73bd5cc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
0000025 0x00007ffff7477bea in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
0000026 0x00007ffff70523f9 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
0000027 0x00007ffff700292c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
0000028 0x00007ffff700760b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
0000029 0x00007ffff6546f3e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
0000030 0x00007ffff700376b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
0000031 0x00007ffff707e074 in ?? () from /usr/lib64/libQtGui.so.4
0000032 0x00007ffff707ce01 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
0000033 0x00007ffff70a3192 in ?? () from /usr/lib64/libQtGui.so.4
0000034 0x00007ffff1ff97d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
0000035 0x00007ffff1ff9b08 in ?? () from /usr/lib64/libglib-2.0.so.0
0000036 0x00007ffff1ff9bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
0000037 0x00007ffff65755b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
0000038 0x00007ffff70a2e0e in ?? () from /usr/lib64/libQtGui.so.4
0000039 0x00007ffff6545bef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
0000040 0x00007ffff6545e78 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
0000041 0x00007ffff654abb8 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
0000042 0x0000000000eb027f in mainApp (argc=1, argv=0x7fffffffdcb8) at /home/plinnell/svn/144/Version14x/Scribus/scribus/main_nix.cpp:84
0000043 0x0000000000eb020c in main (argc=1, argv=0x7fffffffdcb8) at /home/plinnell/svn/144/Version14x/Scribus/scribus/main_nix.cpp:52

FirasH

2014-06-07 19:07

reporter   ~0032050

Last edited: 2014-06-07 19:09

Probably related to 0012251.

cbradney

2014-06-08 20:58

administrator   ~0032052

Got this.. addPage fixed.. deletePage to check/fix.

cbradney

2014-06-09 07:03

administrator   ~0032053

Fixed in 1.5.0svn

FirasH

2014-06-09 13:10

reporter   ~0032054

Thanks cbradney.

I'm closing this issue as fixed:
Scribus 1.4.5 SVN (19194): could not reproduce this issue
Scribus 1.5.0 SVN (19191): could not reproduce this issue

Issue History

Date Modified Username Field Change
2014-06-07 12:00 FirasH New Issue
2014-06-07 12:51 FirasH Note Added: 0032046
2014-06-07 18:14 plinnell Note Added: 0032047
2014-06-07 18:14 plinnell Note Edited: 0032047
2014-06-07 19:07 FirasH Note Added: 0032050
2014-06-07 19:09 FirasH Note Edited: 0032050
2014-06-08 20:58 cbradney Assigned To => cbradney
2014-06-08 20:58 cbradney Status new => assigned
2014-06-08 20:58 cbradney Note Added: 0032052
2014-06-09 07:03 cbradney Note Added: 0032053
2014-06-09 09:49 cbradney Status assigned => resolved
2014-06-09 09:49 cbradney Fixed in Version => 1.4.5.svn
2014-06-09 09:49 cbradney Resolution open => fixed
2014-06-09 10:23 cbradney Relationship added has duplicate 0012251
2014-06-09 13:10 FirasH Note Added: 0032054
2014-06-09 13:10 FirasH Status resolved => closed
2014-12-19 15:01 FirasH Relationship added related to 0012857
2014-12-21 14:23 FirasH Relationship deleted has duplicate 0012251
2014-12-21 14:23 FirasH Relationship added related to 0012251