Ticket #2111 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

gdaltindex crashing on win32

Reported by: warmerdam Owned by: 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

Changed 4 years ago by warmerdam

  • keywords gdaltindex added
  • 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.

Changed 4 years ago by warmerdam

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

Also applied to 1.5 branch as r13398.

Note: See TracTickets for help on using tickets.