Ticket #2045 (closed defect: fixed)
Regression in HDF4 due to r12768
| Reported by: | rouault | Owned by: | dron |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5.0 |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | hdf4 |
| Cc: | warmerdam, rouault, nowakpl |
Description
This follows a chat with Nowak on IRC.
gdalinfo on HDF4_EOS:EOS_SWATH:"AST_L1B_00311202007185148_20071124043516_31691.hdf":VNIR_Swath:ImageData1 ( ftp://e4ftl01u.ecs.nasa.gov/ASTER/ASTT/AST_L1B.003/2007.11.20/AST_L1B_00311202007185148_20071124043516_31691.hdf)
crashes with :
(gdb) r HDF4_EOS:EOS_SWATH:"AST_L1B_00311202007185148_20071124043516_31691.hdf":VNIR_Swath:ImageData1 Starting program: /usr/opt/gdal-r13202-debug_x86-64_ubuntu7/bin/gdalinfo HDF4_EOS:EOS_SWATH:"AST_L1B_00311202007185148_20071124043516_31691.hdf":VNIR_Swath:ImageData1 [Thread debugging using libthread_db enabled] [New Thread 47322398220384 (LWP 8505)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47322398220384 (LWP 8505)] 0x000000000052ba42 in GDALDataset::GetRasterBand (this=0xa78810, nBandId=1) at gdaldataset.cpp:484 484 return( papoBands[nBandId-1] ); Current language: auto; currently c++ (gdb) bt #0 0x000000000052ba42 in GDALDataset::GetRasterBand (this=0xa78810, nBandId=1) at gdaldataset.cpp:484 #1 0x0000000000535e46 in GDALPamDataset::PamInitialize (this=0xa78810) at gdalpamdataset.cpp:330 #2 0x0000000000535f09 in GDALPamDataset::SetMetadata (this=0xa78810, papszMetadata=0xaef9d0, pszDomain=0x715780 "") at gdalpamdataset.cpp:1088 #3 0x00000000004355f1 in HDF4ImageDataset::GetSwatAttrs (this=0xa78810, hSW=1048576) at hdf4imagedataset.cpp:1357 #4 0x000000000043abe4 in HDF4ImageDataset::Open (poOpenInfo=0x7fff9368e040) at hdf4imagedataset.cpp:2280 #5 0x000000000052c276 in GDALOpen (pszFilename=0xa77c40 "HDF4_EOS:EOS_SWATH:AST_L1B_00311202007185148_20071124043516_31691.hdf:VNIR_Swath:ImageData1", eAccess=GA_ReadOnly) at gdaldataset.cpp:1774 #6 0x0000000000409515 in main (argc=2, argv=0xa78000) at gdalinfo.c:129
Change History
Note: See
TracTickets for help on using
tickets.
