[gdal-dev] GDAL autotest (nitf_37) causes a crash on Windows

Tamas Szekeres szekerest at gmail.com
Sat Feb 28 06:56:16 EST 2009


Folks,

I'm just trying to run the python tests as a part of my regular builds,
however the test mentioned above causes a crash either with Python25 or
Python26 all the time.
Could someone point me to a possible workaround to this issue? A fragment of
the test output attached below:



Running tests from gdrivers/gmt.py
  TEST: gmt_1 ... success
  TEST: gmt_2 ... success
Running tests from gdrivers/grass.py
  TEST: grass_1 ... success
  TEST: grass_2 ... skip
Running tests from gdrivers/grib.py
  TEST: grib_1 ... success
Running tests from gdrivers/gsc.py
  TEST: gsc_1 ... success
Running tests from gdrivers/gsg.py
  TEST: gsg_1 ... success
  TEST: gsg_2 ... success
  TEST: gsg_3 ... success
  TEST: gsg_4 ... success
  TEST: gsg_5 ... success
Running tests from gdrivers/gxf.py
  TEST: gxf_1 ... success
  TEST: : SAMPLE.GXF ... Downloading
http://download.osgeo.org/gdal/data/gxf/SAM
PLE.GXF (length = 437236 bytes)...
success
  TEST: : gxf_compressed.gxf ... Downloading
http://download.osgeo.org/gdal/data
/gxf/gxf_compressed.gxf (length = 316502 bytes)...
success
  TEST: : gxf_text.gxf ... Downloading
http://download.osgeo.org/gdal/data/gxf/g
xf_text.gxf (length = 692562 bytes)...
success
  TEST: : gxf_ul_r.gxf ... Downloading
http://download.osgeo.org/gdal/data/gxf/g
xf_ul_r.gxf (length = 316502 bytes)...
success
  TEST: : latlong.gxf ... Downloading
http://download.osgeo.org/gdal/data/gxf/la
tlong.gxf (length = 270333 bytes)...
success
  TEST: : spif83.gxf ... Downloading
http://download.osgeo.org/gdal/data/gxf/spi
f83.gxf (length = 1081848 bytes)...
success
Running tests from gdrivers/hdf5.py
  TEST: hdf5_1 ... success
  TEST: : HDF5:"C1979091.h5"://HDF4_PALGROUP/HDF4_PALETTE_2 ... Downloading
ftp:
//ftp.hdfgroup.uiuc.edu/hdf_files/hdf5/samples/convert/C1979091.h5...
success
  TEST: : HDF5:"C1979091.h5"://Raster_Image_#0 ... success
  TEST: :
HDF5:"half_moon_bay.grid"://HDFEOS/GRIDS/DEMGRID/Data_Fields/Elevation
 ... Downloading
ftp://ftp.hdfgroup.uiuc.edu/hdf_files/hdf5/geospatial/DEM/half_
moon_bay.grid...
success
Running tests from gdrivers/hfa.py
  TEST: hfa_histread ... success
  TEST: hfa_histwrite ... success
  TEST: hfa_int_stats_1 ... success
  TEST: hfa_int_stats_2 ... success
  TEST: hfa_float_stats_1 ... success
  TEST: hfa_float_stats_2 ... success
  TEST: hfa_int_read ... success
  TEST: hfa_float_read ... success
  TEST: hfa_pe_read ... success
  TEST: hfa_pe_write ... success
  TEST: hfa_metadata_1 ... success
  TEST: hfa_metadata_2 ... success
  TEST: hfa_grow_rrdlist ... success
  TEST: hfa_clean_ige ... success
  TEST: hfa_corrupt_aux ... success
  TEST: hfa_mapinformation_units ... success
  TEST: hfa_nodata_write ... success
  TEST: hfa_nodata_read ... success
  TEST: hfa_rotated_read ... success
  TEST: hfa_rotated_write ... Expected:
PROJCS["NAD83_Virginia_North",GEOGCS["GC
S_North_American_1983",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",637
8137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],
PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.2],
PARAMETER["standard_parallel_2",38.03333333333333],PARAMETER["latitude_of_origin
",37.66666666666666],PARAMETER["central_meridian",-78.5],PARAMETER["false_eastin
g",11482916.66666667],PARAMETER["false_northing",6561666.666666667],PARAMETER["s
cale_factor",1.0],UNIT["Foot_US",0.30480060960121924]]
Got:      PROJCS["Lambert Conformal
Conic",GEOGCS["NAD83",DATUM["North_American_
Datum_1983",SPHEROID["GRS
1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY[
"EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHO
RITY["EPSG","4269"]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standa
rd_parallel_1",39.2],PARAMETER["standard_parallel_2",38.03333333333333],PARAMETE
R["latitude_of_origin",37.66666666666666],PARAMETER["central_meridian",-78.5],PA
RAMETER["false_easting",11482916.66666667],PARAMETER["false_northing",6561666.66
6666668],UNIT["us_survey_feet",0.3048006096012192]]
fail
    SRS differs from expected.
  TEST: hfa_vsimem ... success
  TEST: hfa_proName ... success
  TEST: hfa_read_empty_compressed ... success
  TEST: hfa_unique_values_color_table ... success
  TEST: hfa_xforms_3rd ... success
  TEST: hfa_delete_colortable ... fail (blowup)
Traceback (most recent call last):
  File "pymod\gdaltest.py", line 99, in run_tests
    result = func()
  File ".\hfa.py", line 832, in hfa_delete_colortable
    ds.GetRasterBand(1).SetColorTable(None)
AttributeError: 'NoneType' object has no attribute 'GetRasterBand'
Running tests from gdrivers/ida.py
  TEST: ida_1 ... success
  TEST: ida_2 ... success
  TEST: ida_3 ... success
  TEST: ida_4 ... success
  TEST: ida_5 ... success
  TEST: ida_6 ... success
  TEST: ida_7 ... success
Running tests from gdrivers/idrisi.py
  TEST: idrisi_1 ... success
  TEST: idrisi_2 ... success
  TEST: idrisi_3 ... success
  TEST: idrisi_4 ... success
  TEST: idrisi_cleanup ... success
Running tests from gdrivers/ilwis.py
  TEST: ilwis_1 ... success
  TEST: ilwis_2 ... success
  TEST: ilwis_3 ... success
  TEST: ilwis_4 ... success
  TEST: ilwis_5 ... success
  TEST: ilwis_cleanup ... success
Running tests from gdrivers/ingr.py
  TEST: ingr_1 ... success
  TEST: ingr_2 ... success
  TEST: ingr_3 ... success
  TEST: ingr_4 ... success
  TEST: ingr_5 ... success
  TEST: ingr_6 ... success
  TEST: ingr_7 ... success
  TEST: ingr_8 ... success
  TEST: ingr_9 ... success
  TEST: ingr_10 ... success
  TEST: ingr_11 ... success
  TEST: ingr_12 ... success
  TEST: ingr_13 ... success
  TEST: ingr_14 ... success
  TEST: ingr_15 ... success
  TEST: ingr_16 ... success
Running tests from gdrivers/isis.py
  TEST: isis_1 ... success
  TEST: isis_2 ... success
Running tests from gdrivers/isis2.py
  TEST: isis2_1 ... success
Running tests from gdrivers/jdem.py
  TEST: jdem_1 ... success
Running tests from gdrivers/jp2kak.py
  TEST: jp2kak_1 ... skip
  TEST: jp2kak_2 ... skip
  TEST: jp2kak_3 ... skip
  TEST: jp2kak_4 ... skip
  TEST: jp2kak_5 ... skip
  TEST: jp2kak_6 ... skip
  TEST: jp2kak_7 ... skip
  TEST: jp2kak_8 ... skip
  TEST: jp2kak_9 ... skip
  TEST: jp2kak_10 ... skip
  TEST: jp2kak_cleanup ... success
Running tests from gdrivers/jpeg.py
  TEST: jpeg_1 ... success
  TEST: jpeg_2 ... success
  TEST: jpeg_3 ... success
  TEST: jpeg_4 ... success
  TEST: jpeg_5 ... success
  TEST: jpeg_6 ... success
  TEST: jpeg_7 ... success
  TEST: jpeg_8 ... success
  TEST: jpeg_9 ... success
Running tests from gdrivers/jpeg2000.py
  TEST: jpeg2000_1 ... Deregistering JP2ECW
success
  TEST: jpeg2000_2 ... skip
  TEST: jpeg2000_3 ... skip
  TEST: jpeg2000_4 ... skip
  TEST: jpeg2000_5 ... skip
  TEST: jpeg2000_6 ... skip
  TEST: jpeg2000_online_1 ... skip
  TEST: jpeg2000_online_2 ... skip
  TEST: jpeg2000_online_3 ... skip
  TEST: jpeg2000_online_4 ... skip
  TEST: jpeg2000_cleanup ... Registering JP2ECW
success
Running tests from gdrivers/l1b.py
  TEST: : n12gac8bit.l1b ... Downloading
http://download.osgeo.org/gdal/data/l1b
/n12gac8bit.l1b (length = 99962 bytes)...
success
  TEST: : n12gac10bit.l1b ... Downloading
http://download.osgeo.org/gdal/data/l1
b/n12gac10bit.l1b (length = 128922 bytes)...
success
  TEST: : n14gac16bit.l1b ... Downloading
http://download.osgeo.org/gdal/data/l1
b/n14gac16bit.l1b (length = 199882 bytes)...
success
  TEST: : n15gac8bit.l1b ... Downloading
http://download.osgeo.org/gdal/data/l1b
/n15gac8bit.l1b (length = 151040 bytes)...
success
  TEST: : n16gac10bit.l1b ... Downloading
http://download.osgeo.org/gdal/data/l1
b/n16gac10bit.l1b (length = 198656 bytes)...
success
  TEST: : n17gac16bit.l1b ... Downloading
http://download.osgeo.org/gdal/data/l1
b/n17gac16bit.l1b (length = 231424 bytes)...
success
  TEST: : frang.1b ... Downloading 30000 bytes from
http://www2.ncdc.noaa.gov/do
cs/podug/data/avhrr/frang.1b...
success
  TEST: : franh.1b ... Downloading 100000 bytes from
http://www2.ncdc.noaa.gov/d
ocs/podug/data/avhrr/franh.1b...
success
  TEST: : calfirel.1b ... Downloading 30000 bytes from
http://www2.ncdc.noaa.gov
/docs/podug/data/avhrr/calfirel.1b...
success
  TEST: : rapnzg.1b ... Downloading 30000 bytes from
http://www2.ncdc.noaa.gov/d
ocs/podug/data/avhrr/rapnzg.1b...
success
  TEST: : noaa18.n1b ... Downloading 50000 bytes from
ftp://ftp.sat.dundee.ac.uk
/misc/testdata/new_noaa/new_klm_format/noaa18.n1b...
success
  TEST: : noaa1b ... Downloading 150000 bytes from
ftp://ftp.sat.dundee.ac.uk/mi
sc/testdata/metop/noaa1b...
success
Running tests from gdrivers/lan.py
  TEST: lan_1 ... success
  TEST: lan_2 ... success
Running tests from gdrivers/lcp.py
  TEST: lcp_1 ... success
  TEST: lcp_2 ... success
Running tests from gdrivers/leveller.py
  TEST: leveller_1 ... success
Running tests from gdrivers/mem.py
  TEST: mem_1 ... success
  TEST: mem_2 ... skip
  TEST: mem_3 ... success
  TEST: mem_cleanup ... success
Running tests from gdrivers/mff.py
  TEST: mff_1 ... success
  TEST: mff_2 ... success
  TEST: mff_3 ... success
Running tests from gdrivers/mff2.py
  TEST: mff2_1 ... success
Running tests from gdrivers/mrsid.py
  TEST: mrsid_1 ... success
  TEST: mrsid_2 ... success
  TEST: mrsid_3 ... success
  TEST: mrsid_4 ... success
  TEST: mrsid_5 ... skip
  TEST: mrsid_6 ... skip
  TEST: mrsid_7 ... skip
  TEST: mrsid_online_1 ... skip
  TEST: mrsid_online_2 ... skip
  TEST: mrsid_online_3 ... skip
  TEST: mrsid_online_4 ... skip
  TEST: mrsid_cleanup ... success
Running tests from gdrivers/ndf.py
  TEST: ndf_1 ... success
Running tests from gdrivers/netcdf.py
  TEST: netcdf_1 ... success
  TEST: netcdf_2 ... success
  TEST: netcdf_3 ... success
  TEST: netcdf_4 ... success
Running tests from gdrivers/nitf.py
  TEST: nitf_1 ... success
  TEST: nitf_2 ... success
  TEST: nitf_3 ... success
  TEST: nitf_4 ... success
  TEST: nitf_5 ... success
  TEST: nitf_6 ... success
  TEST: nitf_7 ... success
  TEST: nitf_8 ... success
  TEST: nitf_9 ... success
  TEST: nitf_10 ... success
  TEST: nitf_11 ... success
  TEST: nitf_12 ... success
  TEST: nitf_13 ... success
  TEST: nitf_14 ... success
  TEST: nitf_15 ... success
  TEST: nitf_16 ... success
  TEST: nitf_17 ... success
  TEST: nitf_18 ... success
  TEST: nitf_19 ... success
  TEST: nitf_20 ... success
  TEST: nitf_21 ... success
  TEST: nitf_22 ... success
  TEST: nitf_23 ... success
  TEST: nitf_24 ... success
  TEST: nitf_25 ... success
  TEST: nitf_26 ... success
  TEST: nitf_27 ... success
  TEST: nitf_28_jp2ecw ... success
  TEST: nitf_28_jp2mrsid ... skip
  TEST: nitf_28_jp2kak ... skip
  TEST: nitf_29 ... success
  TEST: nitf_30 ... success
  TEST: nitf_31 ... success
  TEST: nitf_32 ... success
  TEST: nitf_33 ... success
  TEST: nitf_34 ... success
  TEST: nitf_35 ... success
  TEST: nitf_36 ... 4.96162341488e+24 3.06042744026e+25
fail
    did not get expected mean or standard dev.
  TEST: nitf_37 ... NMAKE : fatal error U1077:
'E:\builds\Python26\python.exe' :
 return code '0xc0000409'
Stop.



Thanks,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090228/67966a2d/attachment.html


More information about the gdal-dev mailing list