Ticket #2229 (closed defect: fixed)
The OGR VRT driver causes access violations with multiple threads
| Reported by: | tamas | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.1 |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | GDALOpenShared |
| Cc: |
Description
Currently the OGR VRT layer actually uses OpenShared? (ogrvrtlayer.cpp, line 176) to open the src datasource therefore the multiple threads will get the same datasource and layer to operate on. This is definitely unsave and the threads will access the memners of these objects simultaneously, causing access violations at random places. When I change the OpenShared? to Open the problem disappears.
Similar issue may exist in other parts of GDAL/OGR as well.
Change History
Note: See
TracTickets for help on using
tickets.
