Hi Mateusz, Looking at NCJP2FileView.cpp, I can see that most accesses to sm_Views are protected with CNCSJPCGlobalLock _Lock;
Perhaps it should also be added to CNCSJP2FileView::Shutdown() which seems the only place in that file not protected by the lock. Best regards, Even _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev