[gdal-dev] GDALClose() crash with ECW file

2024-02-06 Thread Marián Hadri via gdal-dev
Hi, I've built new gdal.dll (3.8.3) with ECW support. After calling function GDALClose(dataset); there comes to crash. I changed nothing in GDAL, or ECW code, I only call it, from my console appication. What could be a problem with it ? I found in google, that similar problem ws there cca 15 years

Re: [gdal-dev] GDALClose()...

2019-10-30 Thread Even Rouault
On mercredi 30 octobre 2019 00:49:24 CET TUELLER, SHAYNE R CIV USAF AFMC 519 SMXS/MXDEC wrote: > All, > > We're currently using GDAL 2.3.1 on Windows to develop a shapefile editor > for our application. > > We're seeing a crash in our application when we call GDALClose() on a > dataset/layer tha

[gdal-dev] GDALClose()...

2019-10-29 Thread TUELLER, SHAYNE R CIV USAF AFMC 519 SMXS/MXDEC
All, We're currently using GDAL 2.3.1 on Windows to develop a shapefile editor for our application. We're seeing a crash in our application when we call GDALClose() on a dataset/layer that contains a large shapefile with a large number of polygons. We opened the shapefile and set the dataset b

Re: [gdal-dev] GDALClose MEM

2010-11-12 Thread Frank Warmerdam
Radim Blazek wrote: Hi, does the GDALClose function called for MEM driver call free() on the memory passed to the driver as DATAPOINTER param? If so, how to avoid it? Radim, Internally the driver tries to keep track of whether it owns the referenced memory or not. It looks like if you use a D

[gdal-dev] GDALClose MEM

2010-11-12 Thread Radim Blazek
Hi, does the GDALClose function called for MEM driver call free() on the memory passed to the driver as DATAPOINTER param? If so, how to avoid it? Radim ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDALClose

2009-07-13 Thread Frank Warmerdam
Adeel Raza wrote: Hi Frank, I recently called GDALClose() on a virtual dataset (created from GDALAutoCreateWarpedVRT()), and it was causing writing violation errors and privileged instruction errors on the line following the GDALClose() call. Can you shed any light on this matter? Thanks. A

Re: [gdal-dev] GDALClose

2009-07-13 Thread Adeel Raza
Hi Frank, I recently called GDALClose() on a virtual dataset (created from GDALAutoCreateWarpedVRT()), and it was causing writing violation errors and privileged instruction errors on the line following the GDALClose() call. Can you shed any light on this matter? Thanks. Best Regards, Adeel

Re: [gdal-dev] GDALClose

2009-07-13 Thread Frank Warmerdam
Adeel Raza wrote: Hi, Should GDALClose() be called on virtual or MEM datasets? Adeel, Yes, it will generally result in release of associated resources. Best regards, -- ---+-- I set the clouds in motion - turn up | Fr

[gdal-dev] GDALClose

2009-07-13 Thread Adeel Raza
Hi, Should GDALClose() be called on virtual or MEM datasets? Regards, Adeel Raza. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

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