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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011871ScribusUndo/Redopublic2013-12-04 19:362015-05-19 22:56
Assigned To 
PlatformOSOS Version
Product Version1.5.0svn 
Target Version1.5.1Fixed in Version 
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
Attached Files

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

-  Notes
FirasH (developer)
2014-02-16 00:11

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/
(gdb) bt
#0 0x00007fffef78b849 in raise () from /lib64/
0000001 0x00007fffef78ccd8 in abort () from /lib64/
0000002 0x00007ffff747bfbe in QMessageLogger::fatal(char const*, ...) const ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000003 0x00007ffff7478cc4 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
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/
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/
0000021 0x00007ffff6ce2dc2 in QAction::triggered(bool) () from /home/user/Qt/5.2.0/gcc_64/lib/
0000022 0x00007ffff6ce4bf7 in QAction::activate(QAction::ActionEvent) () from /home/user/Qt/5.2.0/gcc_64/lib/
0000023 0x00007ffff6ce4eef in QAction::event(QEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/
0000024 0x00007ffff6cedf34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000025 0x00007ffff6cf150e in QApplication::notify(QObject*, QEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/
0000026 0x00007ffff7675554 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000027 0x00007ffff662de41 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/
0000028 0x00007ffff662f40b in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000029 0x00007ffff6cf14b3 in QApplication::notify(QObject*, QEvent*) () from /home/user/Qt/5.2.0/gcc_64/lib/
0000030 0x00007ffff7675554 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000031 0x00007ffff6603038 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000032 0x00007ffff660c1e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000033 0x00007ffff65f3ae8 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000034 0x00007fffe5836fd0 in ?? () from /home/user/Qt/5.2.0/gcc_64/plugins/platforms/
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/
0000040 0x00007ffff76742cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/user/Qt/5.2.0/gcc_64/lib/
0000041 0x00007ffff767833e in QCoreApplication::exec() () from /home/user/Qt/5.2.0/gcc_64/lib/
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 (developer)
2014-02-16 23:33

I reproduce the crash.
JLuc (developer)
2014-02-16 23:54

PS : i think the "black flashing bar" is called a "caret"
see [^]
Kunda (manager)
2015-04-02 22:42

Changed category to Undo/Redo

- Issue History
Date Modified Username Field Change
2013-12-04 19:36 FirasH New Issue
2013-12-08 23:47 jghali Target Version => 1.5.0
2014-01-10 18:24 JLuc Tag Attached: undo
2014-02-16 00:11 FirasH Note Added: 0031316
2014-02-16 23:33 JLuc Note Added: 0031319
2014-02-16 23:54 JLuc Note Added: 0031324
2014-07-03 19:48 FirasH Status new => confirmed
2014-07-09 03:26 FirasH Relationship added child of 0012500
2014-09-11 04:47 Kunda Severity crash => block
2015-04-02 22:42 Kunda Patch => No
2015-04-02 22:42 Kunda Note Added: 0034807
2015-04-02 22:42 Kunda Category Styles => Undo/Redo
2015-05-19 22:56 cbradney Target Version 1.5.0 => 1.5.1

Copyright © 2000 - 2015 MantisBT Team
Powered by Mantis Bugtracker