Opened 15 years ago

Closed 15 years ago

Last modified 15 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:
Cc:

Description

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 by Even Rouault, 15 years ago

Milestone: 1.6.1
Resolution: fixed
Status: newclosed

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

comment:2 by Even Rouault, 15 years ago

Test added in r16296

Note: See TracTickets for help on using tickets.