#5729 closed defect (fixed)
PCIDSK: File handle is left open upon in case of exception in LLOpen()
Reported by: | abarton | Owned by: | hobu |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.0 |
Component: | GDAL_Raster | Version: | |
Severity: | normal | Keywords: | pcidsk |
Cc: |
Description
A file handle will remain open after an error is thrown when opening a dataset. The file handle will remain open until process termination.
To reproduce
Call gdal.Open() on the attached file. Also occurs with gdal.OpenShared() and using the readonly flag.
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | DM_68350_14450_50_50_1.pix added |
---|
comment:1 by , 9 years ago
Component: | PythonBindings → GDAL_Raster |
---|---|
Keywords: | pcidsk added; python bindings removed |
Milestone: | → 2.0 |
Resolution: | → fixed |
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() |
Version: | 1.11.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.