Opened 9 years ago
Closed 9 years ago
Last modified 8 years ago
#5729 closed defect (fixed)
PCIDSK: File handle is left open upon in case of exception in LLOpen()
|Reported by:||abarton||Owned by:||hobu|
A file handle will remain open after an error is thrown when opening a dataset. The file handle will remain open until process termination.
Call gdal.Open() on the attached file. Also occurs with gdal.OpenShared() and using the readonly flag.
Change History (3)
by , 9 years ago
comment:1 by , 9 years ago
|Component:||PythonBindings → GDAL_Raster|
|Keywords:||pcidsk added; python bindings removed|
|Status:||new → closed|
|Summary:||File handle is left open upon gdal error using python bindings → PCIDSK: File handle is left open upon in case of exception in LLOpen()|
comment:2 by , 8 years ago
|Milestone:||2.0 → 2.0.0|
Note: See TracTickets for help on using tickets.
trunk r27926 "PCIDSK: close dataset in case of exception in PCIDSK2Dataset::LLOpen() (#5729)"
Could be potentially backported although there's some risk in case the exception would leave the dataset in a unstable state.