Opened 18 years ago
Closed 17 years ago
#981 closed defect (worksforme)
GDALOpen and GDALOpenShared locks corrupted tiff file
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
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 (2)
comment:3 by , 17 years ago
Description: | modified (diff) |
---|---|
Priority: | high → normal |
Resolution: | → worksforme |
Status: | assigned → closed |
Closing for lack of feedback. I suspect reproducing this might depend on the particulars of how the file is corrupt, and therefore at one point things fail.