View Issue Details

IDProjectCategoryView StatusLast Update
0012657ScribusUndo/Redopublic2016-12-29 23:43
Reporterchristoph_s Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
Platformx86_64OSOpenSUSE 64 BitOS Version13.1
Product Version1.5.0svn 
Target Version1.5.5 
Summary0012657: Crash after undoing AI import
DescriptionUndoing the import of the PDF part of a hybrid AI file results in a sig 11 crash.
Steps To Reproduce1) Create a new doc.

2) Use "Paste File" from the context menu.

3) Select the file http://bugs.scribus.net/file_download.php?file_id=6928&type=bug and choose the PDF version.

4) What you see now is an empty frame and disappeared page margins.

5) Now try to undo the import and click undo 2 times.

--> splat
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
0x00000000008c839d in QString::isEmpty (this=0x42bb1a8) at /usr/include/qt5/QtCore/qstring.h:743
743 { return d->size == 0; }
(gdb) bt
#0 0x00000000008c839d in QString::isEmpty (this=0x42bb1a8) at /usr/include/qt5/QtCore/qstring.h:743
0000001 0x0000000000cc1608 in ScPage::restorePageItemCreation (this=0x3563450, state=0x4e44190, isUndo=true) at /home/christoph/scribus15/Scribus/scribus/scpage.cpp:324
0000002 0x0000000000cbf8e2 in ScPage::restore (this=0x3563450, state=0x4e44190, isUndo=true) at /home/christoph/scribus15/Scribus/scribus/scpage.cpp:212
0000003 0x0000000000e7688c in UndoState::undo (this=0x4e44190) at /home/christoph/scribus15/Scribus/scribus/undostate.cpp:73
0000004 0x0000000000e7794a in TransactionState::undo (this=0x4f3ed40) at /home/christoph/scribus15/Scribus/scribus/undostate.cpp:293
0000005 0x0000000000e7794a in TransactionState::undo (this=0x1ee2170) at /home/christoph/scribus15/Scribus/scribus/undostate.cpp:293
0000006 0x0000000000e7794a in TransactionState::undo (this=0x337a400) at /home/christoph/scribus15/Scribus/scribus/undostate.cpp:293
0000007 0x0000000000e752ef in UndoStack::undo (this=0x339c8f0, steps=1, objectId=-1) at /home/christoph/scribus15/Scribus/scribus/undostack.cpp:80
0000008 0x0000000000e666ff in UndoManager::undo (this=0x1eed520, steps=1) at /home/christoph/scribus15/Scribus/scribus/undomanager.cpp:397
0000009 0x000000000081ed5e in UndoManager::qt_static_metacall (_o=0x1eed520, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffcbb0)
    at /home/christoph/scribus15/Scribus/scribus/moc_undomanager.cpp:143
0000010 0x00007ffff76d5596 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
0000011 0x0000000000813b9a in ScrAction::triggeredData (this=0x24f8b20, _t1=1) at /home/christoph/scribus15/Scribus/scribus/moc_scraction.cpp:245
0000012 0x0000000000cfc788 in ScrAction::triggeredToTriggeredData (this=0x24f8b20) at /home/christoph/scribus15/Scribus/scribus/scraction.cpp:100
0000013 0x00000000008136cb in ScrAction::qt_static_metacall (_o=0x24f8b20, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffceb0)
    at /home/christoph/scribus15/Scribus/scribus/moc_scraction.cpp:117
0000014 0x00007ffff76d5596 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
0000015 0x00007ffff6dc9242 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
0000016 0x00007ffff6dcb558 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
0000017 0x00007ffff6ec458d in ?? () from /usr/lib64/libQt5Widgets.so.5
0000018 0x00007ffff6ec46c4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000019 0x00007ffff6f7ca5a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000020 0x00007ffff6e09e59 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000021 0x00007ffff6f7cb39 in QToolButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000022 0x00007ffff6dd01ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000023 0x00007ffff6dd5b49 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000024 0x00007ffff76af9cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
0000025 0x00007ffff6dd3e71 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib64/libQt5Widgets.so.5
0000026 0x00007ffff6e25aef in ?? () from /usr/lib64/libQt5Widgets.so.5
0000027 0x00007ffff6e27803 in ?? () from /usr/lib64/libQt5Widgets.so.5
0000028 0x00007ffff6dd01ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000029 0x00007ffff6dd52d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000030 0x00007ffff76af9cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
0000031 0x00007ffff67433c7 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
0000032 0x00007ffff6744ec5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
0000033 0x00007ffff672f608 in QWindowSystemInterface::sendWindowSystemEventsImplementation(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
0000034 0x00007fffe3719130 in ?? () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
0000035 0x00007fffec38e316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
0000036 0x00007fffec38e668 in ?? () from /usr/lib64/libglib-2.0.so.0
0000037 0x00007fffec38e70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
0000038 0x00007ffff76f69cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
0000039 0x00007ffff76ae71b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
0000040 0x00007ffff76b4ca1 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
0000041 0x00000000012dd770 in mainApp (argc=1, argv=0x7fffffffdd68) at /home/christoph/scribus15/Scribus/scribus/main_nix.cpp:86
0000042 0x00000000012dd700 in main (argc=1, argv=0x7fffffffdd68) at /home/christoph/scribus15/Scribus/scribus/main_nix.cpp:54
(gdb)
TagsNo tags attached.
PatchNo

Relationships

child of 0012500 acknowledged Metabug: Undo/Redo (1.5.x.svn) 

Activities

Kunda

2014-09-05 12:22

updater   ~0033520

This also considered an undo/redo bug ?

christoph_s

2014-09-05 20:17

developer   ~0033532

Yes, but who cares if it's going be fixed?

Kunda

2014-09-08 01:46

updater   ~0033573

clarification: it may indirectly fix some open undo/redo bugs.

Kunda

2014-09-11 13:36

updater   ~0033622

Confirmed on 1.5svn r19492

Also the 3dvase image does not import correctly. Made a notation in #12651

Kunda

2015-04-07 21:36

updater   ~0034842

re-categorized as Undo/Redo

Issue History

Date Modified Username Field Change
2014-09-05 00:21 christoph_s New Issue
2014-09-05 12:22 Kunda Note Added: 0033520
2014-09-05 20:17 christoph_s Note Added: 0033532
2014-09-08 01:46 Kunda Note Added: 0033573
2014-09-11 02:25 Kunda Severity crash => block
2014-09-11 13:36 Kunda Note Added: 0033622
2014-09-11 13:36 Kunda Status new => confirmed
2015-04-07 21:36 Kunda Patch => No
2015-04-07 21:36 Kunda Note Added: 0034842
2015-04-07 21:36 Kunda Category Import / Export => 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-12-08 21:30 Kunda Target Version 1.5.3 => 1.5.5
2016-12-08 22:09 Kunda Relationship added child of 0012500
2016-12-29 23:43 plinnell Severity block => major