Bug report #18966

WMS refresh crash

Added by Dion Duran over 2 years ago. Updated over 2 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Web Services clients/WMS
Affected QGIS version:3.0.2 Regression?:No
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:26797

Description

QGIS crashed when hitting the refresh button to refresh a WMS connection. It has happened at least twice. Does not happen every time refresh button is pressed.
Report is below.

Report Details

Crash ID: 06e2e504f13c6cae682bbfd5516f65ba173fc190

Stack Trace

QgsBrowserModel::data :
QSortFilterProxyModel::data :
QModelIndex::data :
QStyledItemDelegate::initStyleOption :
QStyledItemDelegate::sizeHint :
QTreeViewPrivate::widthHintForIndex :
QTreeView::sizeHintForColumn :
QHeaderView::resizeSections :
QHeaderView::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QEventDispatcherWin32::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
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: 307d082e3d
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.15063

History

#1 Updated by Dion Duran over 2 years ago

Update. The crash has happened twice again since I posted. I think I have tracked down the offending action. I am creating new layers into GeoServer. Then in QGIS I refresh the WMS connection to see the new layers. That is when it crashed. I have tried it twice and crashed both times, creating totally new layers each time. After the crash, I reopen QGIS and the new layers are accessible in the WMS connection.

#2 Updated by Ronan L over 2 years ago

Dion Duran wrote:

Update. The crash has happened twice again since I posted. I think I have tracked down the offending action. I am creating new layers into GeoServer. Then in QGIS I refresh the WMS connection to see the new layers. That is when it crashed. I have tried it twice and crashed both times, creating totally new layers each time. After the crash, I reopen QGIS and the new layers are accessible in the WMS connection.

Same on MacOS see /issues/18966

Also available in: Atom PDF