View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012451 | Scribus | Undo/Redo | public | 2014-06-29 01:38 | 2020-04-30 10:08 |
Reporter | FirasH | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Platform | x86_64 | OS | openSUSE | OS Version | 13.1 |
Product Version | 1.5.0svn | ||||
Target Version | 1.5.5 | ||||
Summary | 0012451: Undo/Redo may crash Scribus if Edit > Cut is used | ||||
Description | Undo/Redo may crash Scribus if Edit > Cut is used. | ||||
Steps To Reproduce | 0) Create a new document 1) Insert 2 items (example: Text and Image Frame) 2) Group the 2 items 3) Select the Group and Edit > Cut 4) Undo to Initial State (see Windows > Action History) 5) Edit > Paste 6) Ungroup the Group 7) Undo 2 times Scribus crashes due to Signal 11 | ||||
Additional Information | Scribus 1.5.0.svn (19296) Program received signal SIGSEGV, Segmentation fault. 0x0000000000d4a168 in ScribusDoc::itemSelection_DeleteItem (this=0x33fdb30, customSelection=0x7fffffffbc60, forceDeletion=false) at /home/.../Scribus/scribus/scribusdoc.cpp:11732 11732 if (((currItem->isSingleSel) && (!Items->contains(currItem))) || (currItem->locked())) (gdb) bt 0 0x0000000000d4a168 in ScribusDoc::itemSelection_DeleteItem (this=0x33fdb30, customSelection=0x7fffffffbc60, forceDeletion=false) at /home/.../Scribus/scribus/scribusdoc.cpp:11732 1 0x0000000000c35fa9 in ScPage::restorePageItemCreation (this=0x3422da0, state=0x27bfec0, isUndo=true) at /home/.../Scribus/scribus/scpage.cpp:340 2 0x0000000000c340c2 in ScPage::restore (this=0x3422da0, state=0x27bfec0, isUndo=true) at /home/.../Scribus/scribus/scpage.cpp:212 3 0x0000000000deb180 in UndoState::undo (this=0x27bfec0) at /home/.../Scribus/scribus/undostate.cpp:73 4 0x0000000000ddbb10 in TransactionState::undo (this=0x3285200) at /home/.../Scribus/scribus/undomanager.cpp:813 5 0x0000000000ddbb10 in TransactionState::undo (this=0x26e4160) at /home/.../Scribus/scribus/undomanager.cpp:813 6 0x0000000000dea2bb in UndoStack::undo (this=0x35782f0, steps=1, objectId=-1) at /home/.../Scribus/scribus/undostack.cpp:80 7 0x0000000000dda55f in UndoManager::undo (this=0x1d06960, steps=1) at /home/.../Scribus/scribus/undomanager.cpp:555 8 0x0000000000799612 in UndoManager::qt_static_metacall (_o=0x1d06960, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffc1e0) 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 0x000000000078e39a in ScrAction::triggeredData (this=0x25d5610, _t1=1) at /home/.../Scribus/build/scribus/moc_scraction.cpp:245 11 0x0000000000c70ee0 in ScrAction::triggeredToTriggeredData (this=0x25d5610) at /home/.../Scribus/scribus/scraction.cpp:100 12 0x000000000078decb in ScrAction::qt_static_metacall (_o=0x25d5610, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc520) 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 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so 34 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 35 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 36 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 37 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 38 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 39 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 40 0x00007ffff765bfe5 in QCoreApplication::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 41 0x000000000123e918 in mainApp (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:86 42 0x000000000123e8a8 in main (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:54 (gdb) continue Continuing. Scribus Crash ------------- Scribus crashes due to Signal 11 Calling Emergency Save Program received signal SIGSEGV, Segmentation fault. 0x0000000000cd17be in ScribusMainWindow::emergencySave (this=0x0) at /home/.../Scribus/scribus/scribus.cpp:9067 9067 QList<QMdiSubWindow *> windows = mdiArea->subWindowList(); | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
child of | 0012500 | acknowledged | Metabug: Undo/Redo (1.5.x.svn) |
|
Confirmed OSX 10.8.5 1.5svn r19309 |
|
Screencast: https://www.dropbox.com/s/r756bzvuepapimj/12451.mp4 |
|
I now crash on Step 5 OSX 10.10.5 1.5.1svn r20603 Attached backtrace (bt.txt) |
|
bt.txt (3,303 bytes)
* thread #1: tid = 0xd1bdf, 0x000000010000bfd4 Scribus`QBasicAtomicInteger<int>::load() const + 4, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) * frame #0: 0x000000010000bfd4 Scribus`QBasicAtomicInteger<int>::load() const + 4 frame #1: 0x000000010000f83e Scribus`QtPrivate::RefCount::ref() + 14 frame #2: 0x000000010057927c Scribus`QList<VColorStop*>::QList(QList<VColorStop*> const&) + 28 frame #3: 0x00000001004cac1d Scribus`VGradient::VGradient(VGradient const&) + 153 frame #4: 0x00000001007b8292 Scribus`Tpalette::setCurrentItem(PageItem*) + 182 frame #5: 0x00000001007b8e69 Scribus`Tpalette::updateColorList() + 171 frame #6: 0x00000001037d679c QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2988 frame #7: 0x0000000100016bed Scribus`ScribusMainWindow::UpdateRequest(int) + 63 frame #8: 0x00000001003a967d Scribus`ScribusMainWindow::slotElemRead(QString, double, double, bool, bool, ScribusDoc*, ScribusView*) + 207 frame #9: 0x00000001003b2c7c Scribus`ScribusMainWindow::slotEditPaste() + 2684 frame #10: 0x00000001037d679c QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2988 frame #11: 0x0000000102340a60 QtWidgets`QAction::activate(QAction::ActionEvent) + 288 frame #12: 0x00000001037d679c QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2988 frame #13: 0x00000001037cf18c QtCore`QObject::event(QEvent*) + 156 frame #14: 0x000000010234997b QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251 frame #15: 0x000000010234c2de QtWidgets`QApplication::notify(QObject*, QEvent*) + 5630 frame #16: 0x00000001037a7212 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1058 frame #17: 0x0000000105ba4b0e libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 190 frame #18: 0x0000000105ba5391 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33 frame #19: 0x00007fff854f2a01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #20: 0x00007fff854e4b8d CoreFoundation`__CFRunLoopDoSources0 + 269 frame #21: 0x00007fff854e41bf CoreFoundation`__CFRunLoopRun + 927 frame #22: 0x00007fff854e3bd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #23: 0x00007fff8fe2e56f HIToolbox`RunCurrentEventLoopInMode + 235 frame #24: 0x00007fff8fe2e1ee HIToolbox`ReceiveNextEventCommon + 179 frame #25: 0x00007fff8fe2e12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71 frame #26: 0x00007fff8970f8ab AppKit`_DPSNextEvent + 978 frame #27: 0x00007fff8970ee58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 frame #28: 0x00007fff89704af3 AppKit`-[NSApplication run] + 594 frame #29: 0x0000000105ba42df libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191 frame #30: 0x00000001037a3c1c QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 412 frame #31: 0x00000001037a6a95 QtCore`QCoreApplication::exec() + 341 frame #32: 0x00000001007dbb0d Scribus`mainApp(int, char**) + 90 frame #33: 0x00007fff8c7b05c9 libdyld.dylib`start + 1 frame #34: 0x00007fff8c7b05c9 libdyld.dylib`start + 1 |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-29 01:38 | FirasH | New Issue | |
2014-07-03 14:23 | Kunda | Note Added: 0032432 | |
2014-07-03 14:23 | Kunda | Status | new => confirmed |
2014-07-03 14:27 | Kunda | Target Version | => 1.5.0 |
2014-07-03 20:25 | FirasH | Note Added: 0032457 | |
2014-07-09 01:16 | FirasH | Relationship added | child of 0012500 |
2014-09-11 02:47 | Kunda | Severity | crash => block |
2015-05-19 20:56 | cbradney | Target Version | 1.5.0 => 1.5.1 |
2015-12-04 02:46 | Kunda | Note Added: 0037812 | |
2015-12-04 02:47 | Kunda | File Added: bt.txt | |
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 |
|
Severity | block => major |
2020-04-30 10:08 | FirasH | Severity | major => crash |
2020-04-30 10:08 | FirasH | Patch | => No |