GDL segmentation fault
Status: Beta
Brought to you by:
m_schellens
I have been converting a program from IDL to GDL that makes many calls to read and write data from some HDF 4 files. On processing the 3rd SDS of 5, GDL dies with a segmentation fault. The GDL version is 0.9.5, the code is about 850 lines, 2 IDL routines (EXPAND and SMOOTH) were also needed, and 3 data files are required. If you can help, I can tar up the needed files. Thanks for your help.
Hi,
could you put the tar file and some explanation of what you did on a ftp or http site? And have it stay there for some time, until somebody treats this bug report?
Best,
G.
I have placed a full set of files in the tar file gdl_exmpl.tar on the ftp site
samoa.gsfc.nasa.gov in the pub/wayne/gdl path. Look at run_example.txt - it has an idl and a gdl way to run the code. in idl, it completes and makes file N199727400_MET_NCEPR2_6h.hdf while in gdl, it gets a segmentation fault. This was run on a linux machine with Ubuntu OS.
GDL was incorrectly passing arguments to an HDF function. Solved in cvs.
However your program will eventually fail on the command HDF_SD_ATTRSET wich is not written. Obviously, HDF4 and 5 are not that well supported in GDL and would beneficiate from the help of the HDF community. Help Welcome from HDF users!