[gdal-dev] OGR DeleteFeature throws memory exception

Brad Grinstead bgrinstead at iavo-rs.com
Mon Nov 10 15:03:54 EST 2008


Frank,

I appreciate the response, but I finally found out that certain OGR-specific variables were not being handled correctly, which caused a latent memory leak leading to the problem I reported.  I think those have all been tracked down now.

Brad G.


-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com] 
Sent: Monday, November 10, 2008 11:48 AM
To: bgrinstead at iavo-rs.com
Cc: gdal-dev
Subject: Re: [gdal-dev] OGR DeleteFeature throws memory exception

Brad Grinstead wrote:
> I am wondering if someone has experienced a memory access violation 
> when attempting to delete OGRFeatures.  I am running the latest build 
> off the trunk and have been able to find no information regarding this error.

Brad,

Can you confirm that you are operating using the C# bindings for OGR?
Your code looks ok to me, but I'm not completely clear on the built-in disposal logic for features in C#.

Also, you don't seem to have mentioned the GDAL/OGR version which could be important to diagnosing the problem.

Best regards,
-- 
---------------------------------------+--------------------------------
---------------------------------------+------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the gdal-dev mailing list