Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6611 closed defect (fixed)

Calling GDALSetCacheMax() prevents the raster block mutex from being initialized

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.0.4
Component: GDAL_Raster Version: 2.0.0
Severity: normal Keywords: raster block mutex
Cc:

Description

If GDALSetCacheMax() or GDALSetCacheMax64() is called before GDALGetCacheMax/GDALGetCacheMax64(), then the raster block mutex will not be initialized, causing corruption in multi-threaded applications.

Change History (4)

comment:1 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

In 34829:

Make sure that GDALSetCacheMax() initialize the raster block mutex (fixes #6611)

comment:2 by Even Rouault, 8 years ago

In 34830:

Make sure that GDALSetCacheMax() initialize the raster block mutex (fixes #6611)

comment:3 by Even Rouault, 8 years ago

In 34831:

Make sure that GDALSetCacheMax() initialize the raster block mutex (fixes #6611)

comment:4 by Even Rouault, 8 years ago

Milestone: 2.0.4
Note: See TracTickets for help on using tickets.