Opened 19 years ago

Last modified 17 years ago

#981 closed defect

GDALOpen and GDALOpenShared locks corrupted tiff file — at Initial Version

Reported by: tlikkhoo@… Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Hi,

First, thank you for creating such a great library.

I tried loading a tiff file which was unfortunately corrupted. The function 
rightfully returns a NULL GDALDatasetH. However, when I try to rename or remove 
the corrupted file in my program, it is locked. I tried removing it using 
Windows Explorer while the program is still running but that doesn't work too. 
However it works when the program exits.

I can't provide you with the file because it is very huge (~700MB). 

It might be a problem with the function failing to close the handle properly. I 
would appreciate it if you could look into the problem. Thanks.

Warmest Regards.


Toh Lik Khoong

Change History (0)

Note: See TracTickets for help on using tickets.