Quartz memory leak with CIUnsharpMark on Intel 3000 graphics card

Originator:kaspesla
Number:rdar://10607011 Date Originated:20-Dec-2011
Status:Open Resolved:
Product:Mac OS X Product Version:10.7
Classification:Performance Reproducible:Yes
 
Summary:

A large memory leak happens when using the Core Image Unsharp Mask filter in a Quartz Composer composition.  It only seems to happen if the filter's image input is another Core Image filter.  It only happens on the Intel 3000 graphics card (new Macbook Air (and others?).)  It only happens when the unsharp mask filter's Radius input is set to 0.  Obscure, yet. But when running a Quartz Composer, it leaks about a gigabyte of virtual memory every 10 seconds.  Once hard disk space is exhausted, the system will hard freeze and you'll have to reboot.

Steps to Reproduce:

Run the attached Quartz Composer composition on one of the new MacBook Airs.  Open Activity Monitor and look at the process's Virtual Memory in the memory tab. You'll see it going up very rapidly.

Expected Results:

It should not leak virtual memory.

Actual Results:

It leaks about a gigabyte of virtual memory every 10 seconds.  Once hard disk space is exhausted, the system will hard freeze and you'll have to reboot.

Regression:

- Doesn't happen on my MacBook Pro. Probably related to Intel 3000 graphics card.
- Doesn't happen if the unsharp mask filter's input is not another core image filter.
- It only happens when the unsharp mask filter's Radius input is set to 0.

Notes:

Yikes! You can also reproduce this simply using the Sharpen composition as well because that uses the Unsharp Mask filter internally.  

Simple qtz file showing the leak is attached.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!