Crash with VRT use in multi-threaded context
|Reported by:||Even Rouault||Owned by:||Even Rouault|
There's a known issue related to VRT as documented in the VRT driver doc: "When using VRT datasets in a multi-threading environment, you should be careful to open the VRT dataset by the thread that will use it afterwards. The reason for that is that the VRT dataset uses GDALOpenShared when opening the underlying datasets. So, if you open twice the same VRT dataset by the same thread, both VRT datasets will share the same handles to the underlying datasets."
However such a restriction might be impractical and it would be desirable that the VRT driver might be instructed to open sources in non-shared mode.