Ticket #2111 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

gdaltindex crashing on win32

Reported by: warmerdam Assigned to: warmerdam
Priority: high Milestone: 1.5.1
Component: Utilities Version: 1.5.0 betas/RCs
Severity: normal Keywords: shape gdaltindex
Cc:

Description

FWTools 2.0.3 build of gdaltindex for win32 (approximately 1.5.0beta2) crashes on fairly straightforward operations. A traceback shows it is in VSI_SHP_Write() so there is reason to suspect the new hook functions.

Change History

12/19/07 11:55:41 changed by warmerdam

  • keywords changed from shape to shape gdaltindex.
  • status changed from new to assigned.
  • milestone set to 1.5.1.

The problem seems to be the direct compilation of dbfopen.c and shpopen.c into gdaltindex.exe in the gdal/apps/makefile.vc. I have removed this (r13397 in trunk) and things seem to be fixed.

I conclude that the GDAL 1.5.0RC1 source will always produce broken gdaltindex executables on win32 platforms. This problem does not exist in earlier GDALs (except perhaps beta1/beta2). The problem does not affect other use of the OGR shapefile driver. Likely gdaltindex ought to be rewritten to use OGR instead of direct shapelib calls.

12/19/07 13:33:29 changed by warmerdam

  • status changed from assigned to closed.
  • resolution set to fixed.

Also applied to 1.5 branch as r13398.