View Issue Details

IDProjectCategoryView StatusLast Update
0012374ScribusUndo/Redopublic2016-12-29 23:43
ReporterFirasH Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
PlatformallOSallOS Versionall
Product Version1.5.0svn 
Target Version1.5.5 
Summary0012374: Undo/Redo crashes Scribus editing a Barcode
DescriptionUndo/Redo crashes Scribus editing a Barcode.
Steps To Reproduce0) Create a new document
1) Insert a Barcode: Insert > Barcode
2) Select the Barcode and Item > Grouping > Ungroup
3) Undo 2 times

Scribus crashes due to Signal 11
Additional InformationScribus 1.5.0 SVN (19399)


Program received signal SIGSEGV, Segmentation fault.
0x0000000000841f8d in QString::isEmpty (this=0x32601b8) at /home/.../Qt/5.3/gcc_64/include/QtCore/qstring.h:794
794 { return d->size == 0; }
(gdb) bt
 0 0x0000000000841f8d in QString::isEmpty (this=0x32601b8)
    at /home/.../Qt/5.3/gcc_64/include/QtCore/qstring.h:794
 1 0x0000000000c37e8c in ScPage::restorePageItemCreation (this=0x340c400, state=0x1fe53b0, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:324
 2 0x0000000000c36166 in ScPage::restore (this=0x340c400, state=0x1fe53b0, isUndo=true)
    at /home/.../Scribus/scribus/scpage.cpp:212
 3 0x0000000000ded2a0 in UndoState::undo (this=0x1fe53b0)
    at /home/.../Scribus/scribus/undostate.cpp:73
 4 0x0000000000dddb9c in TransactionState::undo (this=0x2f5e020)
    at /home/.../Scribus/scribus/undomanager.cpp:813
 5 0x0000000000dddb9c in TransactionState::undo (this=0x2fa8b10)
    at /home/.../Scribus/scribus/undomanager.cpp:813
 6 0x0000000000dddb9c in TransactionState::undo (this=0x3223410)
    at /home/.../Scribus/scribus/undomanager.cpp:813
 7 0x0000000000dec3db in UndoStack::undo (this=0x363b7b0, steps=1, objectId=-1)
    at /home/.../Scribus/scribus/undostack.cpp:80
 8 0x0000000000ddc5eb in UndoManager::undo (this=0x1b94680, steps=1)
    at /home/.../Scribus/scribus/undomanager.cpp:555
 9 0x0000000000799bb6 in UndoManager::qt_static_metacall (_o=0x1b94680, _c=QMetaObject::InvokeMetaMethod, _id=12,
    _a=0x7fffffffc1e0) at /home/.../Scribus/build/scribus/moc_undomanager.cpp:143
 10 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 11 0x000000000078e91a in ScrAction::triggeredData (this=0x1c3ca00, _t1=1)
    at /home/.../Scribus/build/scribus/moc_scraction.cpp:245
 12 0x0000000000c7300c in ScrAction::triggeredToTriggeredData (this=0x1c3ca00)
    at /home/.../Scribus/scribus/scraction.cpp:100
 13 0x000000000078e44b in ScrAction::qt_static_metacall (_o=0x1c3ca00, _c=QMetaObject::InvokeMetaMethod, _id=11,
    _a=0x7fffffffc520) at /home/.../Scribus/build/scribus/moc_scraction.cpp:117
 14 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 15 0x00007ffff6c82632 in QAction::triggered(bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 16 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 17 0x00007ffff6d8da65 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 18 0x00007ffff6d8dd24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 19 0x00007ffff6e5091a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 20 0x00007ffff6cc5c27 in QWidget::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 21 0x00007ffff6e517b0 in QToolButton::event(QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 22 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 23 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 24 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 25 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 26 0x00007ffff6ce5e87 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 27 0x00007ffff6ce89d8 in ?? ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 28 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 29 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5
 30 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 31 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 32 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 33 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5
 34 0x00007fffe548c460 in ?? ()
   from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so
 35 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740)
    at gmain.c:3066
 36 g_main_context_dispatch (context=context@entry=0x7fffe0001740)
    at gmain.c:3642
 37 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3713
 38 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1)
    at gmain.c:3774
 39 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 40 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 41 0x00007ffff765bfe5 in QCoreApplication::exec() ()
   from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5
 42 0x0000000001241374 in mainApp (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:86
 43 0x0000000001241304 in main (argc=1, argv=0x7fffffffdd18)
    at /home/.../Scribus/scribus/main_nix.cpp:54
TagsNo tags attached.
Patch

Relationships

related to 0012225 confirmed Undo is not able to restore a Barcode 
related to 0012194 confirmed Redo is not able to restore correctly an imported SVG/PDF/EPS removed with Undo 
related to 0012539 confirmed Undo/Redo crashes Scribus editing a group of Outlines 
related to 0013281 confirmed Undo/Redo of imported items (Barcode/PDF) casues Scribus crash on document closing 
child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

Kunda

2014-06-15 13:19

updater   ~0032175

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

FirasH

2014-06-15 15:13

reporter   ~0032184

Very likely related to 0012194.

FirasH

2014-06-17 13:40

reporter   ~0032219

This issue is not strictly related to barcodes, it is reproducible with every outline.

0) Create a new document
1) Insert a Text Frame
2) Insert a word inside of the Frame
3) Select the Text Frame and Item > Convert To > Outlines
4) Select the Outlines and Item > Grouping > Ungroup
5) Undo 2 times

Scribus crashes due to Signal 11

FirasH

2014-08-02 22:20

reporter   ~0033157

Updated report + backtrace

Issue History

Date Modified Username Field Change
2014-06-12 13:55 FirasH New Issue
2014-06-15 13:19 Kunda Note Added: 0032175
2014-06-15 15:13 FirasH Note Added: 0032184
2014-06-17 13:40 FirasH Note Added: 0032219
2014-07-01 17:50 FirasH Status new => confirmed
2014-07-03 15:09 Kunda Target Version => 1.5.0
2014-07-09 01:19 FirasH Relationship added child of 0012500
2014-07-17 14:01 Kunda Relationship added related to 0012194
2014-07-19 12:15 Kunda Issue cloned: 0012539
2014-07-19 12:15 Kunda Relationship added related to 0012539
2014-08-02 22:20 FirasH Note Added: 0033157
2014-08-02 22:20 FirasH OS openSUSE => all
2014-08-02 22:20 FirasH OS Version 13.1 => all
2014-08-02 22:20 FirasH Platform x86_64 => all
2014-08-02 22:20 FirasH Additional Information Updated
2014-09-11 02:34 Kunda Severity crash => block
2015-05-19 20:56 cbradney Target Version 1.5.0 => 1.5.1
2015-07-16 19:00 Kunda Relationship added related to 0012225
2015-08-08 23:43 FirasH Relationship added related to 0013281
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