[osgeo4w-dev] proj refactoring, gdal17-ecw
Frank Warmerdam
warmerdam at pobox.com
Mon Oct 25 09:57:53 EDT 2010
Matt Wilkie wrote:
> Many thanks for this work Frank!
>
> > http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal17-ecw
>
> After following these instructions gdalinfo works, in that it reports
> info I expect, but throws up a crash dialog (attached). I'm using 64bit
> Win7 and put the ecw dll's in %osgeo4w_root%\bin.
>
Matt,
Hmm. Unfortunately it crashing at the point the dataset is destroy is
consistent with the behavior I would expect in a "cross runtime heap
corruption" problem which seems likely in this situation. I'm going to
test on a few more systems here. But I suspect it just isn't safe to
build GDAL plugins with VC9 when GDAL itself is built with VC7.1.
Based on my success with the gdal-dev package, it might be reasonable for
me to also try and upgrade the gdal-17 package to use VC9 and then I could
have a consistent compiler for GDAL and the plugin. Alternatively I
could remove the gdal17-ecw plugin and deploy one with gdal 1.8 when it is
released and packaged.
For now, I'll wait to see how many others run into similar problems. It may
be that Windows 7 is more sensitive to heap corruption at the end of process
life than XP.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the osgeo4w-dev
mailing list