Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Layout] Crash when aborting items pasting during map rendering #28285

Open
qgib opened this issue Nov 12, 2018 · 1 comment
Open

[Layout] Crash when aborting items pasting during map rendering #28285

qgib opened this issue Nov 12, 2018 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Nov 12, 2018

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 20465
Affected QGIS version: 3.4.1
Redmine category:map_composer/printing


User Feedback

I copied a set of map items (map, labels, north arrow, scalebar) that I wanted to paste on another page of the same layout. I pasted the items on the wrong page, and while the rendering of the map was ongoing, i pressed ctrl-Z and got the crash.

Report Details

Crash ID: fc812b392da954599e7261f95b05253ef7de34cd

Stack Trace

QgsLayoutItem::writeXml :
QgsLayoutItemUndoCommand::saveState :
QgsLayoutUndoStack::beginCommand :
QgsLayoutItem::beginCommand :
QgsAttributeTypeDialog::setConstraintExpressionEnforced :
QMetaObject::activate :
QgsLayoutItemComboBox::itemChanged :
QMetaObject::activate :
QWidgetLineControl::`default constructor closure' :
QComboBox::setCurrentIndex :
QComboBox::setCurrentIndex :
QWidgetLineControl::`default constructor closure' :
QMetaObject::activate :
QAbstractItemModel::endRemoveRows :
QSortFilterProxyModel::removeRows :
QSortFilterProxyModel::sortRole :
QSortFilterProxyModel::`default constructor closure' :
QMetaObject::activate :
QAbstractItemModel::beginRemoveRows :
QgsLayoutModel::setItemRemoved :
QgsLayout::removeLayoutItemPrivate :
QgsLayoutItemAddItemCommand::undo :
QUndoCommand::undo :
QUndoStack::undo :
QMetaObject::activate :
QAction::activate :
QAction::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QShortcutMap::dispatchEvent :
QShortcutMap::tryShortcut :
QWindowSystemInterface::handleShortcutEvent :
QGuiApplicationPrivate::processKeyEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.4.1-Madeira
QGIS code revision: 383851c
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks Crash/Data Corruption labels May 25, 2019
@Pedro-Murteira
Copy link

Still valid on QGIS 3.22.2. While trying to replicate this issue, I got the following:

Crash ID: c91c6229785468abab41119af6cb696fef624fc3

Stack Trace

QgsLayoutItem::writeXml :
QgsLayoutItemUndoCommand::saveState :
QgsLayoutUndoStack::beginCommand :
QgsLayoutItem::beginCommand :
QgsLayoutPictureWidget::mapChanged :
QObject::qt_static_metacall :
QgsLayoutItemComboBox::itemChanged :
QObject::qt_static_metacall :
QWidgetLineControl::`default constructor closure' :
QComboBox::setCurrentIndex :
QComboBox::setCurrentIndex :
QComboBox::qt_static_metacall :
QObject::qt_static_metacall :
QAbstractItemModel::endRemoveRows :
QSortFilterProxyModel::removeRows :
QSortFilterProxyModel::sortRoleChanged :
QSortFilterProxyModel::qt_static_metacall :
QObject::qt_static_metacall :
QAbstractItemModel::beginRemoveRows :
QgsLayoutModel::setItemRemoved :
QgsLayout::removeLayoutItemPrivate :
QgsLayoutItemAddItemCommand::undo :
QUndoCommand::undo :
QUndoStack::undo :
QObject::qt_static_metacall :
QAction::activate :
QAction::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QShortcutMap::dispatchEvent :
QShortcutMap::tryShortcut :
QWindowSystemInterface::handleShortcutEvent :
QGuiApplicationPrivate::processKeyEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.22.2-Bia?owie?a
QGIS code revision: 1601ec4
Compiled against Qt: 5.15.2
Running against Qt: 5.15.2
Compiled against GDAL: 3.4.0
Running against GDAL: 3.4.0

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19042

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

2 participants