Opened 11 years ago

Closed 11 years ago

#5023 closed defect (fixed)

"conflict" between the antirecursion mechanism of GDALOpen() and GDALDestroy()

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.9.3
Component: GDAL_Raster Version: 1.9.2
Severity: normal Keywords:
Cc:

Description

The antirecursion mechanism of GDALOpen() introduced in #4835 relies on a static std::map object. But when the GDAL lib is unloaded, it can be destroyed before GDALDestroy() is run. If a dataset is still opened, the destructor of the GDALDataset object will then try to access the std::map which has been just destroyed...

Change History (1)

comment:1 by Even Rouault, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk (r25716) and in branches/1.9 (r25717)

Note: See TracTickets for help on using tickets.