[gdal-dev] Release version of program crashes
Clay, Bruce
bclay at ball.com
Fri Oct 10 10:28:10 EDT 2008
I have a GDAL / OGR based program that runs fine in debug mode on
Windows XP compiles with Visual Studio 2005 but when I try to run in
Release mode the program crashes.
Information is hard to get in release modes as you know so the details I
can provide are sketchy but I am hoping someone has seen a similar
problem and knows what is happening.
I put a break point in my GDAL error handler and indeed the code is
entering the handler. It seems to crash every time after it hits the
error handler. It does not appear to be triggering an exception because
it never hits the break point in my catch block.
The things that are getting triggered as errors are minor things like a
shapefile does not exist when I try to delete it just to make sure it
does not exist. Another one is CreateField throws a message because
DateTime fields are invalid in shapefiles so a Date Field is created
instead.
I though I saw something on the net once that we have to do to get OGR
to throw and exception but I can not find it now.
Any thoughts would be greatly appreciated
Bruce
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
More information about the gdal-dev
mailing list