View Issue Details

IDProjectCategoryView StatusLast Update
0012270ScribusUndo/Redopublic2016-12-29 23:43
ReporterFirasH Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.5Fixed in Version 
Summary0012270: Undo/Redo crashes Scribus if more Paragraph Styles are used in the same Text Frame
DescriptionUploaded a .sla file that has this issue. If I find generic and always working steps I'll add them as a note.
Steps To Reproduce0) Open the attached document
1) Follow the screenshots: https://www.dropbox.com/sh/t4pdguv66nuitqf/RQ7ceKNAnN
Additional InformationScribus 1.5.0 SVN (19080)


ASSERT failure in QList<T>::at: "index out of range", file /home/.../Qt/5.2.1/gcc_64/include/QtCore/qlist.h, line 472

Program received signal SIGABRT, Aborted.
0x00007fffef778849 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007fffef778849 in raise () from /lib64/libc.so.6
0000001 0x00007fffef779cd8 in abort () from /lib64/libc.so.6
0000002 0x00007ffff747b10e in QMessageLogger::fatal(char const*, ...) const ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000003 0x00007ffff7477e14 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000004 0x00000000012656c1 in QList<ScText*>::at (this=0x34aa5d0, i=40) at /home/.../Qt/5.2.1/gcc_64/include/QtCore/qlist.h:472
0000005 0x0000000001260718 in StoryText::item (this=0x34a5f30, itm=40)
    at /home/.../Scribus/scribus/text/storytext.cpp:1739
0000006 0x000000000125c263 in StoryText::insertParSep (this=0x34a5f30, pos=40)
    at /home/.../Scribus/scribus/text/storytext.cpp:363
0000007 0x000000000125cae2 in StoryText::insertChars (this=0x34a5f30, pos=40, txt=..., applyNeighbourStyle=false)
    at /home/.../Scribus/scribus/text/storytext.cpp:500
0000008 0x00000000009b434a in PageItem::restoreInsertFrameText (this=0x34a5b80, ss=0x35c4630, isUndo=false)
    at /home/.../Scribus/scribus/pageitem.cpp:6561
0000009 0x00000000009a4fbc in PageItem::restore (this=0x34a5b80, state=0x35c4630, isUndo=false)
    at /home/.../Scribus/scribus/pageitem.cpp:4974
0000010 0x0000000000de41b4 in UndoState::redo (this=0x35c4630) at /home/.../Scribus/scribus/undostate.cpp:79
0000011 0x0000000000de350d in UndoStack::redo (this=0x26bacb0, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:121
0000012 0x0000000000dd3a9d in UndoManager::redo (this=0x1d3d9d0, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:567
0000013 0x000000000079748f in UndoManager::qt_static_metacall (_o=0x1d3d9d0, _c=QMetaObject::InvokeMetaMethod, _id=13,
    _a=0x7fffffffc330) at /home/.../Scribus/build/scribus/moc_undomanager.cpp:144
0000014 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000015 0x000000000078c1f4 in ScrAction::triggeredData (this=0x1d03100, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:229
0000016 0x0000000000c6bdb8 in ScrAction::triggeredToTriggeredData (this=0x1d03100)
    at /home/.../Scribus/scribus/scraction.cpp:178
0000017 0x000000000078bdc9 in ScrAction::qt_static_metacall (_o=0x1d03100, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffc5a0)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:114
0000018 0x00007ffff769d6b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000019 0x00007ffff6ce0e92 in QAction::triggered(bool) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000020 0x00007ffff6ce2cc7 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000021 0x00007ffff6dec125 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6dec3e4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6eae9fa in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6d24077 in QWidget::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff6eaf890 in QToolButton::event(QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000026 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000027 0x00007ffff6cef4d6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000028 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000029 0x00007ffff6cee54a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff6d43b65 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000031 0x00007ffff6d45f98 in ?? () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000032 0x00007ffff6cec0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000033 0x00007ffff6cef6ae in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Widgets.so.5
0000034 0x00007ffff7674734 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000035 0x00007ffff6608c21 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000036 0x00007ffff66094a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000037 0x00007ffff65f0ba8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Gui.so.5
0000038 0x00007fffe58221b0 in ?? () from /home/.../Qt/5.2.1/gcc_64/plugins/platforms/libqxcb.so
0000039 0x00007fffed058316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066
0000040 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
0000041 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
0000042 0x00007fffed05870c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774
0000043 0x00007ffff76c5374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000044 0x00007ffff76734ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000045 0x00007ffff767753e in QCoreApplication::exec() () from /home/.../Qt/5.2.1/gcc_64/lib/libQt5Core.so.5
0000046 0x0000000001233e50 in mainApp (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:86
0000047 0x0000000001233de0 in main (argc=1, argv=0x7fffffffdd78) at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
PatchNo

Relationships

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

Activities

FirasH

2014-04-23 16:18

developer  

ParagraphStyleCrash0.sla (17,245 bytes)

FirasH

2014-04-23 16:59

developer   ~0031778

Probably related to 0011871

Kunda

2014-06-15 13:27

updater   ~0032177

Reproduced on r19232 (OS X 10.8.5 with Homebrew packaged Qt5)

Kunda

2015-04-07 21:37

updater   ~0034843

re-categorized as Undo/Redo

Issue History

Date Modified Username Field Change
2014-04-23 16:18 FirasH New Issue
2014-04-23 16:18 FirasH File Added: ParagraphStyleCrash0.sla
2014-04-23 16:59 FirasH Note Added: 0031778
2014-06-15 13:27 Kunda Note Added: 0032177
2014-07-01 18:05 FirasH Status new => confirmed
2014-07-09 01:21 FirasH Relationship added child of 0012500
2014-08-08 04:25 Kunda Target Version => 1.5.0
2014-09-11 02:34 Kunda Severity crash => block
2015-04-07 21:37 Kunda Patch => No
2015-04-07 21:37 Kunda Note Added: 0034843
2015-04-07 21:37 Kunda Category Styles => Undo/Redo
2015-05-19 20:56 cbradney Target Version 1.5.0 => 1.5.1
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