Trying to copy custom non executable CIFilter causes app to crash

3 views
Skip to first unread message

Илья Кулаков

unread,
Sep 25, 2011, 4:54:51 PM9/25/11
to quart...@lists.apple.com
I have nonexecutable CIFilter packed within Image Unit. It works well in QuartzComposer. I instantiate it by calling -[CIFilter filterWithName:]. As soon as [CIFilter copy] is called (by myself or by QuartzCore framework) app is crashed.

 

Crash is caused by stack overflow:

frame #0: 0x00007fff8b6a5d36 CoreImage`-[CIFilter copyWithZone:] + 12
frame #1: 0x00007fff8b7d1c7e CoreImage`-[CIPlugInStandardFilter _provideFilterCopyWithZone:] + 18
frame #2: 0x00007fff8b6a5d59 CoreImage`-[CIFilter copyWithZone:] + 47
frame #3: 0x00007fff8b7d1c7e CoreImage`-[CIPlugInStandardFilter _provideFilterCopyWithZone:] + 18
frame #4: 0x00007fff8b6a5d59 CoreImage`-[CIFilter copyWithZone:] + 47
frame #5: 0x00007fff8b7d1c7e CoreImage`-[CIPlugInStandardFilter _provideFilterCopyWithZone:] + 18
frame #6: 0x00007fff8b6a5d59 CoreImage`-[CIFilter copyWithZone:] + 47

Tested on SL and Lion.

Should I file a bug?

Best regards, 

Ilya Kulakov

Reply all
Reply to author
Forward
0 new messages