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

Save QLR crashes QGIS 3 #26812

Closed
qgib opened this issue May 18, 2018 · 7 comments
Closed

Save QLR crashes QGIS 3 #26812

qgib opened this issue May 18, 2018 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority

Comments

@qgib
Copy link
Contributor

qgib commented May 18, 2018

Author Name: Jakob Lanstorp (Jakob Lanstorp)
Original Redmine Issue: 18981
Affected QGIS version: 3.0.2
Redmine category:unknown
Assignee: Alessandro Pasotti


When saving a QLR file having many grouped WMS in TOC 3.0.2-Girona crashes

Attached image of TOC where the parent group called qgis_plugin is saved as a QLR. QLR file also attached.

Crash report:

User Feedback

Report Details

Crash ID: e1167528848bf019c0d2ca12d580a5988469a23b

Stack Trace

QgsMapLayer::writeLayerXml :
QgsLayerDefinition::exportLayerDefinition :
QgsLayerDefinition::exportLayerDefinition :
QgisApp::saveAsLayerDefinition :
QgisApp::qt_static_metacall :
QMetaObject::activate :
QAction::activate :
QMenu::actionGeometry :
QMenu::actionGeometry :
QMenu::mouseReleaseEvent :
QWidget::event :
QMenu::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QMenu::exec :
QgsLayerTreeView::contextMenuEvent :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.0.2-Girona
QGIS code revision: 307d082
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.4
Running against GDAL: 2.2.4

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


@qgib
Copy link
Contributor Author

qgib commented Jun 4, 2018

Author Name: Alessandro Pasotti (@elpaso)


I'm not able to reproduce this issue, can you please attach a minimal project and step-by-step procedure to reproduce it?


  • status_id was changed from Open to Feedback
  • assigned_to_id was configured as Alessandro Pasotti

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2018

Author Name: Jakob Lanstorp (Jakob Lanstorp)


Download the attached qlr file called kortforsyning_data.qlr (content is only WMS layers). Open it in QGIS and try to save it as a new QLR file.

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2018

Author Name: Alessandro Pasotti (@elpaso)


Confirmed, working on it


  • priority_id was changed from Normal to High
  • status_id was changed from Feedback to In Progress

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2018

Author Name: Alessandro Pasotti (@elpaso)


PR #7195


  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2018

Author Name: Alessandro Pasotti (@elpaso)


for the record: the invalid layer was DTK/D850 but still QGIS does not need to crash.

@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2018

Author Name: Anónimo (Anónimo)


Applied in changeset ec909b0.


  • done_ratio was changed from 0 to 100
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Jun 7, 2018
@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2018

Author Name: Alessandro Pasotti (@elpaso)


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Crash/Data Corruption labels May 25, 2019
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
Projects
None yet
Development

No branches or pull requests

1 participant