View Issue Details

IDProjectCategoryView StatusLast Update
0011871ScribusUndo/Redopublic2021-03-04 12:38
ReporterFirasH Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version1.5.0svn 
Target Version1.5.5Fixed in Version1.5.6.svn 
Summary0011871: Using bullets in Paragraph Styles cause crash by pressing Ctrl+Z in determined condition
DescriptionAdding a Paragraph in the end of a Text field which is using a Paragrah Style with bullets and then deleting it, cause crash by pressing Ctrl+Z
Steps To Reproduce1) Create a new document with a text frame with sample text
2) Go to Edit > Styles... > New > Paragraph Style
3) Create a new Style with "Bullets" selected, then press "<< Done" (other changes are not useful to crash Scribus)
4) Select the text frame
5) Go to Properties > Text > Paragraph Style > select the one created in point 3
6) Double click on the text frame so you are able to edit the text
7) Go to the end of the text and press enter to add a new Paragraph
8) Write a pair of casual words
9) Now make sure the new Paragraph is using "Default Paragraph Style"
10) Now press backspace until you completely delete the same Paragraph and the "black flashing bar" is back in the previous Paragraph
You can notice that the last paragraph of the text is now using the Default Paragraph Style
11) Press Ctrl+Z
Additional InformationScribus SVN 18620

Crash report:
Scribus crashes due to Signal 6
Tagslists, undo
PatchNo

Relationships

has duplicate 0016202 closedjghali Undo does not work 
has duplicate 0016508 closedjghali Scribus Crashes on Undo 
child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

FirasH

2014-02-15 23:11

reporter   ~0031316

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

Program received signal SIGABRT, Aborted.
0x00007fffef78b849 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007fffef78b849 in raise () from /lib64/libc.so.6
0000001 0x00007fffef78ccd8 in abort () from /lib64/libc.so.6
0000002 0x00007ffff747bfbe in QMessageLogger::fatal(char const*, ...) const ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000003 0x00007ffff7478cc4 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000004 0x0000000001254a55 in QList<ScText*>::at (this=0x33db380, i=3135)
    at /home/user/Qt/5.2.0/gcc_64/include/QtCore/qlist.h:472
0000005 0x000000000124fcaa in StoryText::item (this=0x319c020, itm=3135)
    at /home/user/SVN Scribus/Scribus/scribus/text/storytext.cpp:1912
0000006 0x00000000009e32ca in StoryText::item_p (this=0x319c020, index=3135)
    at /home/user/SVN Scribus/Scribus/scribus/text/storytext.h:269
0000007 0x000000000124ab2f in StoryText::insertParSep (this=0x319c020, pos=3135)
    at /home/user/SVN Scribus/Scribus/scribus/text/storytext.cpp:363
0000008 0x000000000124b278 in StoryText::insertChars (this=0x319c020, pos=3135, txt=..., applyNeighbourStyle=false)
    at /home/user/SVN Scribus/Scribus/scribus/text/storytext.cpp:480
0000009 0x000000000099f55c in PageItem::restoreDeleteFrameText (this=0x319bc70, ss=0x3d4fa40, isUndo=true)
    at /home/user/SVN Scribus/Scribus/scribus/pageitem.cpp:6455
0000010 0x00000000009904ab in PageItem::restore (this=0x319bc70, state=0x3d4fa40, isUndo=true)
    at /home/user/SVN Scribus/Scribus/scribus/pageitem.cpp:4889
0000011 0x0000000000dd3b30 in UndoState::undo (this=0x3d4fa40) at /home/user/SVN Scribus/Scribus/scribus/undostate.cpp:73
0000012 0x0000000000dc49e2 in TransactionState::undo (this=0x3d36180)
    at /home/user/SVN Scribus/Scribus/scribus/undomanager.cpp:808
0000013 0x0000000000dd2c6b in UndoStack::undo (this=0x3424540, steps=1, objectId=-1)
    at /home/user/SVN Scribus/Scribus/scribus/undostack.cpp:80
0000014 0x0000000000dc33b1 in UndoManager::undo (this=0x1e2b8b0, steps=1)
    at /home/user/SVN Scribus/Scribus/scribus/undomanager.cpp:553
0000015 0x000000000078f0d2 in UndoManager::qt_static_metacall (_o=0x1e2b8b0, _c=QMetaObject::InvokeMetaMethod, _id=12,
    _a=0x7fffffffcad0) at /home/user/SVN Scribus/Scribus/build/scribus/moc_undomanager.cpp:143
0000016 0x00007ffff769e341 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000017 0x000000000078443c in ScrAction::triggeredData (this=0x1d08450, _t1=1)
    at /home/user/SVN Scribus/Scribus/build/scribus/moc_scraction.cpp:229
0000018 0x0000000000c4c714 in ScrAction::triggeredToTriggeredData (this=0x1d08450)
    at /home/user/SVN Scribus/Scribus/scribus/scraction.cpp:178
0000019 0x0000000000784011 in ScrAction::qt_static_metacall (_o=0x1d08450, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffcd40)
    at /home/user/SVN Scribus/Scribus/build/scribus/moc_scraction.cpp:114
0000020 0x00007ffff769e341 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000021 0x00007ffff6ce2dc2 in QAction::triggered(bool) () from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Widgets.so.5
0000022 0x00007ffff6ce4bf7 in QAction::activate(QAction::ActionEvent) () from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Widgets.so.5
0000023 0x00007ffff6ce4eef in QAction::event(QEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Widgets.so.5
0000024 0x00007ffff6cedf34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Widgets.so.5
0000025 0x00007ffff6cf150e in QApplication::notify(QObject*, QEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Widgets.so.5
0000026 0x00007ffff7675554 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000027 0x00007ffff662de41 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Gui.so.5
0000028 0x00007ffff662f40b in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Gui.so.5
0000029 0x00007ffff6cf14b3 in QApplication::notify(QObject*, QEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Widgets.so.5
0000030 0x00007ffff7675554 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000031 0x00007ffff6603038 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Gui.so.5
0000032 0x00007ffff660c1e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Gui.so.5
0000033 0x00007ffff65f3ae8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Gui.so.5
0000034 0x00007fffe5836fd0 in ?? () from /home/user/Qt/5.2.0/gcc_64/plugins/platforms/libqxcb.so
0000035 0x00007fffed06b316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066
0000036 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642
0000037 0x00007fffed06b668 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 0x00007fffed06b70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774
0000039 0x00007ffff76c5fc4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000040 0x00007ffff76742cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000041 0x00007ffff767833e in QCoreApplication::exec() () from /home/user/Qt/5.2.0/gcc_64/lib/libQt5Core.so.5
0000042 0x00000000012225d4 in mainApp (argc=1, argv=0x7fffffffdd58) at /home/user/SVN Scribus/Scribus/scribus/main_nix.cpp:86
0000043 0x0000000001222564 in main (argc=1, argv=0x7fffffffdd58) at /home/user/SVN Scribus/Scribus/scribus/main_nix.cpp:54

JLuc

2014-02-16 22:33

developer   ~0031319

I reproduce the crash.

JLuc

2014-02-16 22:54

developer   ~0031324

PS : i think the "black flashing bar" is called a "caret"
see http://en.wikipedia.org/wiki/Caret_browsing

Kunda

2015-04-02 20:42

updater   ~0034807

Changed category to Undo/Redo

FirasH

2020-04-30 09:44

reporter   ~0047586

Resolving.
Cannot reproduce crash with 1.5.6.svn

FirasH

2020-05-09 16:41

reporter   ~0047610

The crash is still present. My bad repeating the steps.

Issue History

Date Modified Username Field Change
2013-12-04 18:36 FirasH New Issue
2013-12-08 22:47 jghali Target Version => 1.5.0
2014-01-10 17:24 JLuc Tag Attached: undo
2014-02-15 23:11 FirasH Note Added: 0031316
2014-02-16 22:33 JLuc Note Added: 0031319
2014-02-16 22:54 JLuc Note Added: 0031324
2014-07-03 17:48 FirasH Status new => confirmed
2014-07-09 01:26 FirasH Relationship added child of 0012500
2014-09-11 02:47 Kunda Severity crash => block
2015-04-02 20:42 Kunda Patch => No
2015-04-02 20:42 Kunda Note Added: 0034807
2015-04-02 20:42 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-04-08 11:48 Kunda Tag Attached: lists
2016-12-08 21:30 Kunda Target Version 1.5.3 => 1.5.5
2016-12-29 23:43 plinnell Severity block => major
2020-04-30 09:44 FirasH Status confirmed => resolved
2020-04-30 09:44 FirasH Resolution open => fixed
2020-04-30 09:44 FirasH Fixed in Version => 1.5.6.svn
2020-04-30 09:44 FirasH Note Added: 0047586
2020-05-09 16:41 FirasH Severity major => crash
2020-05-09 16:41 FirasH Status resolved => new
2020-05-09 16:41 FirasH Resolution fixed => reopened
2020-05-09 16:41 FirasH Note Added: 0047610
2020-05-09 17:11 FirasH Resolution reopened => open
2020-08-14 02:47 jghali Relationship added has duplicate 0016202
2021-03-04 12:38 jghali Relationship added has duplicate 0016508