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.68k stars 3.02k forks source link

QGIS LTR 3.16 crashes each time when pasting or loading layer styles #45565

Closed tclaassen closed 3 years ago

tclaassen commented 3 years ago

What is the bug or the crash?

User Feedback

Each time when pasting a copied layer style to a layer (no matter if the target is a temporary layer or a shape file layer) as well as when loading a layer style from a .qml file. Crashes occur since 2021-10-18 but only with a specific project file. QGIS LTR 3.16 installation was fully updated including all plugins.

Report Details

Crash ID: dd7daf46120b177aa3e75017b9a1d588248c1c0d

Stack Trace

GEOSEquals_r :
GEOSEquals_r :
QgsGeos::shortestLine qgsgeos.cpp:2274
QgsGeometry::shortestLine qgsgeometry.cpp:636
::operator() qgscallout.cpp:473
QgsSimpleLineCallout::draw qgscallout.cpp:539
QgsCallout::render qgscallout.cpp:143
QgsVectorLayerLabelProvider::drawCallout qgsvectorlayerlabelprovider.cpp:333
QgsVectorLayerLabelProvider::drawLabelBackground qgsvectorlayerlabelprovider.cpp:311
QgsLabelingEngine::drawLabels qgslabelingengine.cpp:427
QgsDefaultLabelingEngine::run qgslabelingengine.cpp:561
QgsMapRendererJob::drawLabeling qgsmaprendererjob.cpp:1006
QgsMapRendererParallelJob::renderLabelsStatic qgsmaprendererparalleljob.cpp:399
QtConcurrent::RunFunctionTask::run qtconcurrentrunbase.h:136
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info QGIS Version: 3.16.11-Hannover QGIS code revision: 26cc1c762f Compiled against Qt: 5.11.2 Running against Qt: 5.11.2 Compiled against GDAL: 3.1.4 Running against GDAL: 3.1.4

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

Steps to reproduce the issue

Error occurs only but repeatedly with this specific project file so far (tested with 2 other different projct files): Brest.zip

Versions

QGIS-Version | 3.16.11-Hannover | QGIS-Codeversion | 26cc1c762f -- | -- | -- | -- Kompiliert gegen Qt | 5.11.2 | Laufendes Qt | 5.11.2 Kompiliert mit GDAL/OGR | 3.1.4 | Läuft mit GDAL/OGR | 3.1.4 Kompiliert mit GEOS | 3.8.1-CAPI-1.13.3 | Läuft mit GEOS | 3.8.1-CAPI-1.13.3 Kompiliert mit SQLite | 3.29.0 | Läuft mit SQLite | 3.29.0 PostgreSQL-Client-Version | 11.5 | SpatiaLite-Version | 4.3.0 QWT-Version | 6.1.3 | QScintilla2-Version | 2.10.8 Kompiliert mit PROJ | 6.3.2 | Läuft mit PROJ | Rel. 6.3.2, May 1st, 2020 BS-Version | Windows 10 (10.0) Aktive Python-Erweiterungen | alkisplugin; AppendFeaturesToLayer; arrayplus; autocurve; autoSaver; cadastre; CalcOnField-main; contour; coordinate_capture; coord_attributable; coord_list; DataDrivenInputMask; db-style-manager; DB_Werkzeug; deg_2_dms; DigitizingTools; dms_2_deg; french_locator_filter; geograndest; geometric_attributes; GeometryShapes; ImportPhotos; joinmultiplelines; kml_style_importer; latlontools; layer2kmz; localcoordinates; LocatePoints; MemoryLayerSaver; Mergin; mmqgis; numericalDigitize; oneatlas-qgis-plugin-1_0_1; openlayers_plugin; OSMDataSync; OSMDownloader; path_sorting; perimetre_asa; polygonclickmap; PostNAS_Search; profiletool; qdraw; qgis-maptiler-plugin; qgis_versioning; QuickOSM; quicksaveqml; rectanglify; refFunctions; slyr_community; SpreadsheetLayers; SRTM-Downloader; xplanung; db_manager; processing

Supported QGIS version

New profile

Additional context

No response

gioman commented 3 years ago

@tclaassen you really have a long list of 3rd party plugins installed. You must try with a new QGIS profile, and no 3rd party plugins installed.

tclaassen commented 3 years ago

Hi, thanks for quick reply and help!

I have de-installed 8 recently installed plugins:

AppendFeaturesToLayer;autocurve;coord_attributable;deg_2_dms; dms_2_deg;perimetre_asa;polygonclickmap; quicksaveqml;slyr_community;

It works properly and stable so far. Unfortunately, I do not have the time to de-install the plugins step by step and check each time in order to identify the plugin which caused the error.

Thomas Claassen

Von: Giovanni Manghi @.> Gesendet: Dienstag, 19. Oktober 2021 11:07 An: qgis/QGIS @.> Cc: Thomas Claassen @.>; Mention @.> Betreff: Re: [qgis/QGIS] QGIS LTR 3.16 crashes each time when pasting or loading layer styles (Issue #45565)

@tclaassenhttps://github.com/tclaassen you really have a long list of 3rd party plugins installed. You must try with a new QGIS profile, and no 3rd party plugins installed.

- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/45565#issuecomment-946512467, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANV6UD3R3OQD323V5BEHZ43UHUYLVANCNFSM5GIS7RDA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gioman commented 3 years ago

It works properly and stable so far.

good

Unfortunately, I do not have the time to de-install the plugins step by step and check each time in order to identify the plugin which caused the error.

@tclaassen neither do we, but they are 3rd party plugins, so the problem is on their side, not qgis's.