View Issue Details

IDProjectCategoryView StatusLast Update
0012495ScribusUndo/Redopublic2020-04-22 10:04
ReporterFirasH Assigned Tojghali  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.5.0svn 
Target Version1.5.5Fixed in Version1.5.6.svn 
Summary0012495: Undo/Redo crashes Scribus using Marks > Reference to Item
DescriptionUndo/Redo crashes Scribus using Marks > Reference to Item.
Steps To Reproduce0) Create a new document
1) Insert a Text Frame
2) Write a word
3) Go to: Insert > Marks > Reference to Item and add it
4) Write another word
5) Delete everything (use backspace)
6) Undo 5 times
Additional InformationScribus 1.5.0.svn (19331)


ASSERT: "mrk != NULL" in file /home/.../Scribus/scribus/scribusdoc.cpp, line 2059

Program received signal SIGABRT, Aborted.
0x00007fffedf7d849 in raise () from /lib64/libc.so.6
(gdb) bt
 0 0x00007fffedf7d849 in raise ()
   from /lib64/libc.so.6
 1 0x00007fffedf7ecd8 in abort ()
   from /lib64/libc.so.6
 2 0x00007ffff74168ae in QMessageLogger::fatal(char const*, ...) const ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 3 0x00007ffff7411d11 in qt_assert(char const*, char const*, int) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 4 0x0000000000d9173c in ScribusDoc::restore (this=0x306e480, state=0x1b1b950,
    isUndo=true) at /home/.../Scribus/scribus/scribusdoc.cpp:2059
 5 0x0000000000e760f4 in UndoState::undo (this=0x1b1b950)
    at /home/.../Scribus/scribus/undostate.cpp:73
 6 0x0000000000e7522f in UndoStack::undo (this=0x31d9cc0, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
 7 0x0000000000e654d3 in UndoManager::undo (this=0x1c844e0, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:555
 8 0x000000000081c082 in UndoManager::qt_static_metacall (_o=0x1c844e0,
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffc200)
    at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
 9 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 10 0x0000000000810e0a in ScrAction::triggeredData (this=0x2153b40, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:245
 11 0x0000000000cfa074 in ScrAction::triggeredToTriggeredData (this=0x2153b40)
    at /home/.../Scribus/scribus/scraction.cpp:100
 12 0x000000000081093b in ScrAction::qt_static_metacall (_o=0x2153b40,
    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc540)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:117
 13 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 14 0x00007ffff6c82632 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 15 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 16 0x00007ffff6d8da65 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 17 0x00007ffff6d8dd24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 18 0x00007ffff6e5091a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 19 0x00007ffff6cc5c27 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 20 0x00007ffff6e517b0 in QToolButton::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 21 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 22 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 23 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 24 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 25 0x00007ffff6ce5e87 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 26 0x00007ffff6ce89d8 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 27 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 28 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 29 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 30 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 31 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 32 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 33 0x00007fffe335c460 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
 34 0x00007fffeb7d4316 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
 35 0x00007fffeb7d4668 in ?? ()
   from /usr/lib64/libglib-2.0.so.0
 36 0x00007fffeb7d470c in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
 37 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 38 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 39 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 40 0x00000000012db670 in mainApp (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:86
 41 0x00000000012db600 in main (argc=1, argv=0x7fffffffdd38)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

related to 0014145 closedjghali Crash on deleting reference to mark when inserted in overflown part of text 
child of 0012496 acknowledged Metabug: Marks & Footnotes & Weld (1.5.0.svn) 
child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

Kunda

2014-07-24 03:51

updater   ~0032952

Reproduced on 10.8.5 1.5svn r19366

jghali

2020-04-21 21:41

administrator   ~0047547

Appears to be fixed in 1.5.6.svn.

Issue History

Date Modified Username Field Change
2014-07-08 18:05 FirasH New Issue
2014-07-08 18:13 FirasH Relationship added child of 0012496
2014-07-09 01:30 FirasH Relationship added child of 0012500
2014-07-24 03:51 Kunda Note Added: 0032952
2014-07-24 03:51 Kunda Status new => confirmed
2014-07-24 03:51 Kunda Target Version => 1.5.0
2014-09-11 02:34 Kunda Severity crash => block
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-06-10 08:08 JLuc Relationship added related to 0014145
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-21 21:41 jghali Assigned To => jghali
2020-04-21 21:41 jghali Status confirmed => resolved
2020-04-21 21:41 jghali Resolution open => fixed
2020-04-21 21:41 jghali Fixed in Version => 1.5.6.svn
2020-04-21 21:41 jghali Note Added: 0047547
2020-04-22 10:04 FirasH Status resolved => closed