Bug #5962

"Merge Shapefile to one" crashes QGIS if .prj files are missing

Added by Gerhard Spieles 11 months ago. Updated 5 months ago.

Status:Closed Start Date:07/06/2012
Priority:Blocker Due date:
Assigned to:- % Done:

0%

Category:fTools
Target version:Version 2.0.0
Platform: Patch supplied:No
Platform version: Affected version:1.8.0
Status info: Causes crash or corruption:Yes
Resolution:fixed

Description

Running the merge shapefile to one process, qgis 1.8.0.1 crash on windows

vektor_merge_to_one_crash_qgis.jpg (289.4 kB) Gerhard Spieles, 07/06/2012 05:54 am

vektor_merge_to_one_crash_qgis_settings.jpg (307.5 kB) Gerhard Spieles, 07/06/2012 03:46 pm

qgiscrashmerge.zip (427.5 kB) Gerhard Spieles, 07/06/2012 03:46 pm


Related issues

related to Quantum GIS Desktop - Bug #5251: if "Options -> CRS -> coordinate reference system for new... Closed 03/28/2012

History

Updated by Alexander Bruy 11 months ago

  • Priority changed from High to Normal

Please provide more info about issue(which options are used) and attach sample dataset to reproduce bug

Updated by Gerhard Spieles 11 months ago

jpg with settings and a sample dataset are attached

Updated by Giovanni Manghi 11 months ago

This seems a duplicate of #3077 that was already tagged as fixed.

Updated by Giovanni Manghi 11 months ago

  • Subject changed from Vector, Datamanagment, Merge Shapefile to one crash qgis 1.8.0 to "Merge Shapefile to one" crashes QGIS if .prj files are missing
  • Priority changed from Normal to High
  • Target version set to Version 2.0.0
  • Platform deleted (win)
  • Platform version deleted (XP 32, SP3)

So it is not solved... it seg fault on my Linux box. Adding the prj files and it works fine.

Updated by Gerhard Spieles 11 months ago

In QGis ver. 1.7.1, gdal 1,8, it works fine without prj file.
versions 1.7.4, 1,8.0 and master, all gdal 1.9, are infected with the crash, missing the prj file.

Updated by Alexander Bruy 11 months ago

Related to #5251 (or even duplicate)

This is because now QGIS asks for CRS when opened layer without projection information. Seems calling this dialog from thread causes crash.

Updated by Giovanni Manghi 8 months ago

Alexander Bruy wrote:

Related to #5251 (or even duplicate)

strange, this still causes crash while #5251 does not.

Updated by Giovanni Manghi 5 months ago

  • Priority changed from High to Blocker

gespiel - wrote:

In QGis ver. 1.7.1, gdal 1,8, it works fine without prj file. versions 1.7.4, 1,8.0 and master, all gdal 1.9, are infected with the crash, missing the prj file.

if it worked fine in a previous qgis version then this is regression.

Updated by Giovanni Manghi 5 months ago

probable duplicate of #5251

Updated by Giovanni Manghi 5 months ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF