Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2837 closed defect (fixed)

GDALDatasetPool::~GDALDatasetPool() asserts when an underlying file cannot be opened

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.6.1
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:


This is due to the fact that in GDALProxyPoolDataset::RefUnderlyingDataset?() we should release the reference to the cache entry when the underlying dataset is NULL.

There are also a few methods in gdalproxypool.cpp that don't check the return value of RefUnderlyingDataset?() is not NULL

Change History (2)

comment:1 Changed 13 years ago by Even Rouault

Milestone: 1.6.1
Resolution: fixed
Status: newclosed

Fixed in trunk (r16294) and in branches/1.6 (r16295)

comment:2 Changed 13 years ago by Even Rouault

Test added in r16296

Note: See TracTickets for help on using tickets.