IKPictureTaker crash
IKPictureTaker crash
- Subject: IKPictureTaker crash
- From: Appa Rao Mulpuri <email@hidden>
- Date: Wed, 15 Feb 2012 09:06:19 +0000
- Thread-topic: IKPictureTaker crash
Hi List,
I am using IKPictureTaker class for getting the picture and crop an image. If I pass an image with one pixel width/ height its getting crashed and giving the following exception. Is there any way to prevent the crash.
#0 0x00007fff92d0c390 in objc_msgSend_vtable14 ()
#1 0x00007fff92fc5a96 in +[NSGraphicsContext setCurrentContext:] ()
#2 0x00007fff8bbcd1c8 in -[IKImageWrapper unlockFocus] ()
#3 0x00007fff8bc0840d in +[IKImageCropView(utils) croppedImageFromOriginalImage:cropInfo:cropSize:outputSize:bgColor:] ()
#4 0x00007fff8bc09bb4 in -[IKImageCropView croppedImageWithSize:] ()
#5 0x00007fff8bc09b03 in -[IKImageCropView croppedImage] ()
#6 0x00007fff8bc6f5e2 in -[IKPictureTaker outputImage] ()
#7 0x00007fff8bc6c875 in -[IKPictureTaker _saveRecents] ()
#8 0x00007fff8bc6d625 in -[IKPictureTaker doneButton:] ()
#9 0x00007fff9104e75d in -[NSObject performSelector:withObject:] ()
#10 0x00007fff93082cb2 in -[NSApplication sendAction:to:from:] ()
#11 0x00007fff93082be6 in -[NSControl sendAction:to:] ()
#12 0x00007fff93082b11 in -[NSCell _sendActionFrom:] ()
#13 0x00007fff93081fd4 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
#14 0x00007fff93101d04 in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
#15 0x00007fff93080bde in -[NSControl mouseDown:] ()
#16 0x00007fff9304b6e0 in -[NSWindow sendEvent:] ()
#17 0x00007fff92fe416d in -[NSApplication sendEvent:] ()
#18 0x000000010000745d in -[XXApplication sendEvent:] (self=0x1026707e0, _cmd=0x7fff93915eb0, anEvent=0x107bc7a10) at /Users/xxxx/xxxx/xxxxxx/xxxxx/XXApplication.m:89
#19 0x00007fff92f7a1f2 in -[NSApplication run] ()
#20 0x00007fff931f8b88 in NSApplicationMain ()
#21 0x0000000100001d03 in main (argc=1, argv=0x7fff5fbffa88) at /Users/xxxx/xxxx/xxxxxx/xxxxx/main.m:13
Apparao Mulpuri
This email and any attachments are confidential, and may be legally privileged and protected by copyright. If you are not the intended recipient dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system. Any views or opinions are solely those of the sender. This communication is not intended to form a binding contract unless expressly indicated to the contrary and properly authorised. Any actions taken on the basis of this email are at the recipient's own risk.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden