Bug report #9992

Datum transformation requesting a nonexistent NTv2-file crashes QGIS

Added by Robert Nuske over 10 years ago. Updated about 10 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Projection Support
Affected QGIS version:2.2.0 Regression?:No
Operating System:ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:18484

Description

If the NTv2-File (e.g. BETA2007.gsb) can not be found by QGIS during a datum transformation depending on it, QGIS crashes.

We tried to transform a Gauss-Krüger 3 (EPSG:31467) dataset () to UTM32 (EPSG:25832) using a datum transformation based on nadgrids=BETA2007.gsb. It works nicely if BETA2007.gsb is placed in /usr/share/proj but crashes reproducibly if the BETA2007.gsb is not available. The resulting shapefiles were created but did not contain any features.
This was tested in QGIS 2.2 and QGIS Master (2.3.0+git20140402+d398560~quantal-ubuntugis1) on ubuntu 13.10 and ubuntu 12.10 with the ubuntugis-unstable and ubuntugis-nightly repositories, respectively.

The output on the shell during the crash for a common user and root is attached as well as the input dataset (sta_orig_gk3.shp) and the outputs.

We would expect an informative error message telling the user to get the missing NTv2-File and where to put it for QGIS to discover it.

datsets_errormessages.zip (103 KB) Robert Nuske, 2014-04-03 08:03 AM

History

#1 Updated by Jürgen Fischer over 10 years ago

  • Target version changed from Version 2.2 to Future Release - Lower Priority

#2 Updated by Jürgen Fischer about 10 years ago

  • Status changed from Open to Closed

fixed in cc4fc5a

Also available in: Atom PDF