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.03k stars 2.92k forks source link

Crash while importing DWG layers (no reproducer) #56258

Open mxb710 opened 4 months ago

mxb710 commented 4 months ago

What is the bug or the crash?

Every time a layer is to be imported and the data source management is to be opened, QGIS closes automatically. It is not even possible to select anything. Same problem when trying to import a DWG file. In this case, the window for entering the file path still opens. However, if you click on import, QGIS also closes automatically. I have already tried it with another version (long term release 3.28) and the same problem exists here.

Steps to reproduce the issue

  1. trying to open data source manager
  2. QGIS closes

Versions

QGIS-Version 3.34.3-Prizren QGIS-Codeversion 47373234ac Qt-Version 5.15.3 Python-Version 3.9.18 GDAL-Version 3.8.3 PROJ-Version 9.3.1 EPSG-Registraturdatenbankversion 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 15.2 SpatiaLite-Version 5.1.0 QWT-Version 6.1.6 QScintilla2-Version 2.13.4 BS-Version Windows 10 Version 2009

Aktive Python-Erweiterungen alkisplugin 2.0.54 AnotherDXF2Shape 1.3.1 coordinate_capture 0.2 DigitizingTools 1.5.2 dimensioning 0.2 inspireatomclient 0.8.1 latlontools 3.6.17 mmqgis 2021.9.10 nominatim 1.4.5 nominatim_locator_filter 0.3.2 quick_map_services 0.19.34 searchlayers 3.0.14 splitmultipart 1.0.0 wfsclient 0.9.11 db_manager 0.1.20 MetaSearch 0.3.6 processing 2.12.99

Supported QGIS version

New profile

Additional context

No response

agiudiceandrea commented 4 months ago

@mxb710 thanks for reporting. Please actually try if the issue occurs also using a new QGIS user profile.

mxb710 commented 4 months ago

@agiudiceandrea thanks for your answer. With a new QGIS user profile I can now open the data source managment. However, I have the same problem as before with trying to open a DWG file.

agiudiceandrea commented 4 months ago

@mxb710, please provide the DWG layer file (in a ZIP archive) and exact steps followed and parameters used importing such DWG layer file.

mxb710 commented 4 months ago

@agiudiceandrea I am sorry, but can't provide the DWG layer files (I can't import neither of them), it's work stuff. I can tell you exactly what I did:

  1. Project --> Import/Export --> DWG/DXF Import
  2. windows opens: select the file, creating a new geopackage to store the DWG content to
  3. after clicking on 'import'; QGIS closes
rouault commented 4 months ago

Note: there's no way a developer can do anything to fix the issue if we don't have access to a reproducer test case.

mxb710 commented 4 months ago

Hi @rouault, I know that's not ideal, but I cannot upload a file from work. I was hoping someone has had the same problem as me. Thank you both anyways for your help!

spencer802 commented 1 week ago

I have the same issue. Feel free to use this file to test. NewPlanningFile.zip

spencer802 commented 1 week ago

P.S. I did NOT have this problem in the previous version (3.28,x LTR). I am now using 3.34.7 LTR.