Opened 11 years ago

Closed 11 years ago

#2111 closed defect (fixed)

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 (2)

comment:1 Changed 11 years ago by warmerdam

Keywords: gdaltindex added
Milestone: 1.5.1
Status: newassigned

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.

comment:2 Changed 11 years ago by warmerdam

Resolution: fixed
Status: assignedclosed

Also applied to 1.5 branch as r13398.

Note: See TracTickets for help on using tickets.