Re: [gdal-dev] GDALClose causing segfault

2009-05-19 Thread Frank Warmerdam
Wendy Fay Stevenson wrote: Hi I'm using the GDAL api on LINUX to warp an image. I open a GIF image, warp it and save it as a Geotiff virtual file. Then I use CreateCopy to create a GIF file. Everything works fine except occasionally it gives a segfault when I attempt to call GDALClose on t

Re: [gdal-dev] GDALClose causing segfault

2009-05-19 Thread Even Rouault
Wendy, You could try to run Valgrind on your program to get an idea of what goes wrong. If you think that it is a GDAL bug and you have a way of reproducing it with a small program demonstrating the problem, you could post it as a Trac ticket. Otherwise there is no required order for closing t

[gdal-dev] GDALClose causing segfault

2009-05-19 Thread Wendy Fay Stevenson
Hi I'm using the GDAL api on LINUX to warp an image. I open a GIF image, warp it and save it as a Geotiff virtual file. Then I use CreateCopy to create a GIF file. Everything works fine except occasionally it gives a segfault when I attempt to call GDALClose on the original dataset (opened w