[gdal-dev] FATAL: CPLGetTLSList() failed to allocate TLS list!

Pierre Soille pierre.soille at jrc.ec.europa.eu
Thu Nov 5 07:27:40 PST 2015


Hello!

when reading 1000's of jp2 images with the JP2OpenJPEG/JPEG-2000 driver,
I get from time to time the following error:

FATAL: CPLGetTLSList() failed to allocate TLS list!

It seems that this error occurs in cpl_multiproc.cpp in case not a call
to VSICalloc() returns a NULL pointer,
see
https://github.com/mapbox/node-srs/blob/master/deps/osr/src/cpl_multiproc.cpp#L665

Any idea/hint, why this type of error could occur?

Thanks,

Pierre


More information about the gdal-dev mailing list