tracker issue : CF-4031026

select a category, or use search below
(searches all categories and all time range)
Title:

CFImage locks PNG files

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Kip Robinson / Kip Robinson (Kip Robinson)

Created: 08/04/2015

Components: CFIMAGE

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 0

Duplicate ID:	CF-3929327

Problem Description:
After using ImageRead() on a PNG file, the file is locked on the local drive. Subsequently calling FileDelete() on this file will fail with error "ColdFusion could not delete the file c:/temp/test36360.png for an unknown reason."

Attempting to delete the file via Windows Explorer gives error "This action can't be completed because the file is open in coldfusion.exe"

Additional note:  It seems that .jpg is the only format that works. I get same error with .png, .gif, .bmp, and .tif.



Steps to Reproduce:
Save attached PNG file as c:\temp\test.png
Run attached imageReadTest.cfm file



Actual Result:
Receive error message:  ColdFusion could not delete the file c:/temp/test36360.png for an unknown reason. 

Expected Result:
The line that deletes the temporary file should not fail.

Any Workarounds:
None that I have found

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4031026

External Customer Info:
External Company:  
External Customer Name: Kip
External Customer Email:  
External Test Config: My Hardware and Environment details:



Windows Server 2012 R2 64-bit

Also reproduced on Windows 7 64-bit

Attachments:

  1. August 04, 2015 00:00:00: 1_test.png
  2. August 04, 2015 00:00:00: 2_test.cfm

Comments:

Additional Note: This is reproducible on CF11 HF5. I tried on a CF9 server and the issue is NOT reproducible.
Comment by External U.
6385 | August 04, 2015 10:01:34 AM GMT
Duplicate of CF-3929327. Thanks!, -Aaron
Comment by External U.
6386 | August 06, 2015 02:08:14 PM GMT