[gdal-dev] Exception in GDALAllRegister()

FA finn at arildsen.com
Fri Sep 14 07:56:24 PDT 2018


Hi Even,
Thanks for your kind response and information.

I'm sorry, I should have clarified that I'm using GDAL ver. 2.3.1.  I have
used /MTd both in the test app and in nmake.opt when compiling GDAL.
Changing both to /MDd doesn't seem to make a difference - the same fatal
exception occurs.

The call stack looks like this:

>	GDALTEST.exe!std::_Tree<std::_Tmap_traits<CPLStringT<void>,enum
CPLErr (__cdecl*)(void * *,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int),std::less<CPLStringT<void>
>,std::allocator<std::pair<CPLStringT<void> const ,enum CPLErr
(__cdecl*)(void * *,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int)> >,0> >::_Lbound<CPLStringT<void> >(const
CPLStringT<void> & _Keyval) Line 2046	C++
 	GDALTEST.exe!std::_Tree<std::_Tmap_traits<CPLStringT<void>,enum
CPLErr (__cdecl*)(void * *,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int),std::less<CPLStringT<void>
>,std::allocator<std::pair<CPLStringT<void> const ,enum CPLErr
(__cdecl*)(void * *,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int)> >,0> >::lower_bound(const CPLStringT<void> & _Keyval)
Line 1481	C++
 	GDALTEST.exe!std::map<CPLStringT<void>,enum CPLErr (__cdecl*)(void *
*,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int),std::less<CPLStringT<void>
>,std::allocator<std::pair<CPLStringT<void> const ,enum CPLErr
(__cdecl*)(void * *,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int)> > >::_Try_emplace<CPLStringT<void>
>(CPLStringT<void> && _Keyval) Line 228	C++
 	GDALTEST.exe!std::map<CPLStringT<void>,enum CPLErr (__cdecl*)(void *
*,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int),std::less<CPLStringT<void>
>,std::allocator<std::pair<CPLStringT<void> const ,enum CPLErr
(__cdecl*)(void * *,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int)> > >::try_emplace<>(CPLStringT<void> && _Keyval) Line
263	C++
 	GDALTEST.exe!std::map<CPLStringT<void>,enum CPLErr (__cdecl*)(void *
*,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int),std::less<CPLStringT<void>
>,std::allocator<std::pair<CPLStringT<void> const ,enum CPLErr
(__cdecl*)(void * *,int,void *,int,int,enum GDALDataType,enum
GDALDataType,int,int)> > >::operator[](CPLStringT<void> && _Keyval) Line 199
C++
 	GDALTEST.exe!GDALAddDerivedBandPixelFunc(const char * pszFuncName,
CPLErr(*)(void * *, int, void *, int, int, GDALDataType, GDALDataType, int,
int) pfnNewFunction) Line 1029	C++
 	GDALTEST.exe!GDALRegisterDefaultPixelFunc() Line 921	C++
 	GDALTEST.exe!GDALRegister_VRT() Line 379	C++
 	GDALTEST.exe!GDALAllRegister() Line 70	C++

I wonder if this rings a bell with you?

Thanks in advance.




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list