On 15 December 2011 11:49, mrym <meryem...@gmail.com> wrote: > Hi, > This has started happening to me also. When i call any function from gdal > library i get this error: > "Unhandled exception at 0x7264082a (msvcr90d.dll) in test.exe: 0xC0000005: > Access violation reading location 0x6973762f." > Error happens at iosfwd file at this function > > static int __CLRCALL_OR_CDECL compare(_In_count_(_Count) const _Elem > *_First1, _In_count_(_Count) > const _Elem *_First2, size_t _Count){ > // compare [_First1, _First1 + _Count) with [_First2, ...) > // _DEBUG_POINTER(_First1); > // _DEBUG_POINTER(_First2); > return (::memcmp(_First1, _First2, _Count)); > <----------------i get error at this line > }
I'm suspicious it is crashing near std::map and the crash is due to mixed variants of C/C++ runt-ime indeed. It would be good if you can post a minimal complete test program crashing with this error and don't forget to add compilation flags you used to build it. #include <.<your headers here..> int main() { your code here } > I also built gdal with /MDd option but i still get this error. Any help will > be appreciated. Thanks in advance.. Did you just changed flags and build or was it clean and complete *rebuild*? Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev