qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.09k stars 2.93k forks source link

Crash on Opening Attribute Table of WFS Layer #57029

Open mohammedyounes98 opened 3 months ago

mohammedyounes98 commented 3 months ago

What is the bug or the crash?

QGIS crashes every time I attempt to open the attribute table of a WFS layer. Specifically, the application becomes unresponsive upon opening the attribute table, displaying only the titles of the fields without the content (See the attached picture). Any interaction following this, such as clicking, results in the application crashing, prompting either to wait or close the app. Notably, this issue does not occur when using the identify tool on the same layer or when exporting the layer.

Capture

Steps to reproduce the issue

  1. Open QGIS and connect to a WFS service, such as (https://data.geopf.fr/wfs/ows?VERSION=2.0.0).
  2. Load a layer from the WFS service into the QGIS project.
  3. Right-click on the loaded WFS layer in the Layers panel and select "Open Attribute Table".
  4. Observe that the attribute table opens but only displays the titles of the fields without any content.
  5. Attempt to click anywhere within the attribute table or try to scroll.
  6. The application becomes unresponsive, eventually leading to a crash with an option to wait or close the application.

Versions

QGIS version 3.36.0-Maidenhead QGIS code revision 09951dc0 Qt version 5.15.3 Python version 3.9.18 GDAL/OGR version 3.8.4 PROJ version 9.3.1 EPSG Registry database version v10.098 (2023-11-24) GEOS version 3.12.1-CAPI-1.18.1 SQLite version 3.41.1 PDAL version 2.6.0 PostgreSQL client version 16.1 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.4 OS version Windows 10 Version 2009

Active Python plugins bd_topo_extractor 0.2.0 citygen 0.3 DataDrivenInputMask 2.4.3 db-style-manager 0.8 dist_cartogram 0.5 esstoolkit 0.3.10 OSMDownloader 1.0.3 postgisQueryBuilder 2.0.1 postgis_toolbox 1.1 processing_r 4.1.0 quick_map_services 0.19.34 SemiAutomaticClassificationPlugin 8.2.2 sense_detection 0.1.0 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99

Supported QGIS version

New profile

Additional context

No response

mohammedyounes98 commented 3 months ago

The same issue happens when clicking over the "Attributes" tab in the directory browser when a WFS layer is selected. image

elpaso commented 2 months ago

I cannot reproduce the issue on Linux/Master.