Exception occurs after taking several photos

My application crashes after taking several photos ( always about 5-8 times), the output information in console listed here:
2008-10-07 20:04:09.999 Schmapper[1325:20b] * -[NSConcreteMutableData count]: unrecognized selector sent to instance 0x167cb0
2008-10-07 20:04:10.031 Schmapper[1325:20b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSConcreteMutableData count]: unrecognized selector sent to instance 0x167cb0'
2008-10-07 20:04:10.060 Schmapper[1325:20b] Stack: (
808163835,
806099672,
808167517,
807899933,
807794784,
33587,
817892368,
817893624,
816439824,
816461524,
816482588,
24311,
44341,
816680684,
43269,
816688420,
816674244,
816675100,
33253,
817958924,
821010112,
821004660,
820904572,
820999608,
807795273,
812083835,
807779567,
807777675,
829004012,
816177936,
816214500,
10589,
8244
terminate called after throwing an instance of 'NSException'
I use @try block in the 'didFinishPickingImage' delegate method, but it won't goes into the exception handler, instead crashing directly. does anybody meet the same problem? how should I do to fix it?

thanks Rogalon,
yes it did receive memory warning , and only call the method of super class like
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
// Release anything that's not essential, such as cached data
after picking the photo, I save the image data to a temporary file and release the UIImagePickerController object. and I did check memory allocation with instruments, there is no memory leaks.
today I found that because of the UIWebView, the problem won't appear so frequently if I disable the UIWebView in the application. If I enable the UIWebView in the application, it will cause the problem above and sometimes exit with status 101. And, there are some memory leaks after enable UIWebView

Similar Messages

  • Camera problem: after taking a photo the camera turns itself off ...

    After taking the photo the camera turns itself off and the screen goes blank. I guessed the camera roll was full so moved photos and deleted from the phone. Same problem continues ... can you offer any help? Thanks.

    it seems to happen more when idle also if thats any help

  • AFTER TAKING 60 PHOTOS ON MY T3I I SHUT IT OF AND PUT IT ASIDE. WHEN I TURNED IT BACK ONI GOT A ERRO

    AFTER TAKING 60 PHOTOS ON MY T31,I SHUT IT OF AND PUT IT ASIDE.WHEN I TURNED IT BACK ON I GOT AN ERROR MESSAGE THAT SAID IT COULD NOT READ THE CARD AND TO TRY  TAKING THE CARD OUT AND PUTTING IT BACK IN .THAT DIDNT WORK  AND DID NOT HAVE ANOTHER CARD YET SO I REFOMATTED IT CARD AND OF COURCE LOST ALL MY PHOTOS.I HAVE A 8 G CARD SO IT WASNT FULL.WHAT MIGHT HAVE HAPPENED?

    LLATTARULO,
    There was likely corrupted data or incomplete data on the card.  There are a couple possible causes, but since it has been resolved, it is hard to speculate what caused it.  It may have been that the card had not been formatted in a long time or the camera had not finished writing the data from earlier to the card. 
    This error does not always mean that the images on the card are lost.  Formatting can fix this, but you may want to try downloading the images from the card directly using a card reader before you format the card if this happens again.  This will ensure you do not lose your images again.
    It is also good practice to regularly format the card after you have downloaded all of the images from it.  This keeps the card fresh and the file system as free from corruption as possible, greatly reducing the chances of seeing this error again.
    If this is a time sensitive-matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • IOS 5.0.1 on 3GS Crashing-Restarting sometimes after taking a photo and verry slow

    Hello,
    My Iphone 3Gs is crashing and restarting sometimes after taking a picture. This is not always but verry often.
    The Iphone is also verry slow since IOS 5 , a big fault from Apple is that they have not put a warning when update a 3GS to IOS 5 that is will be almost unusable.
    When pressing on the small button on top of the iphone , it takes sometimes more than 10 seconds until the phone is locked. I hear the click when it is already in my pocket.
    also the same when ending or stating a call it is so slow that sometime i am calling to somebody else in my list.
    Is there a solution to put it back to the latest 4.3 version ?
    Thanks
    Best regards
    Didier

    I had the same problem with my 3Gs - rebooting every two minutes or so, but only when plugged into the charger.  Eventually, I remembered that I had taken a couple of photos with the phone.
    So, I deleted the photos from the phone and the problem vanished.
    Must be something to do with incompatability with the older camera systems.

  • PUZZLED: Iphone 4s ran out of space after taking one photo from lock screen and deleted whole photo album. Can I recover?

    My phone is running 6.0.1. I took one photo from the lock screen by sliding up the camera button.  It was a little blurry so I tried again and the iphone 4ssaid it couldn't because the phone was out of space. 
    After shutting the phone off and turning it back, put in the passcode and checked my photos and they were all gone.  my usage says I only have 150kb left on the 16gb phone it says zero photos and zero videos. I only have 10 applications and 606 songs.  It seems the photos are still on the device as the space is being used but i cant access them.  Any idea or suggestions will help. Thanks

    I i backup from current state would it not backup without the photos. Maybe I should just restore from the last backup posible and this should have all photos until then. But before i restore from backup I wish i could just access the photos. I don't understand in the first place how they all deleted, and secondly why iphone still recognizes the space being used.  This is such a glitch, which is very frustrating.  i wish someone at apple can give me more insight....

  • Iphone 4s ran out of space after taking one photo from lock screen and deleted whole photo album. Can I recover?

    My phone is running 6.0.1. I took one photo from the lock screen by sliding up the camera button.  It was a little blurry so I tried again and the iphone 4s said it couldn't because the phone was out of space. 
    After shutting the phone off and turning it back, put in the passcode and checked my photos and they were all gone.  Usage says I only have 150mb left on the 16gb phone it says zero photos and zero videos. I only have 10 applications and 606 songs.  It seems the photos are still on the device as the space is being used but i cant access them. Is very puzzleing...Where did they go and can I recover them? Any idea or suggestions will help. Thanks

    I i backup from current state would it not backup without the photos. Maybe I should just restore from the last backup posible and this should have all photos until then. But before i restore from backup I wish i could just access the photos. I don't understand in the first place how they all deleted, and secondly why iphone still recognizes the space being used.  This is such a glitch, which is very frustrating.  i wish someone at apple can give me more insight....

  • Our Ipad type line for text disappears after taking a photo to send and only after a restart

    Hello.  We have two Ipads and two Iphones. Our newest Ipad has an issue with I message. If we take a photo to send by text the type screen and line disappears. The only way to get it back is to shut the device and then the type line returns. We have turned the message off on on with the same result. Our Ipad 2 and both our 4s and 5 phones don't seem to have the issue. Any thoughts? We are also did the icloud update and no change happened. Is this a bug or are we missing something? Messaging works fine until we take a picture then the type bar and keyboard disappear. The taken photo goes to photos.. The only way to get messages to work is to shut off the device and then it works until we try to add another new picture. It seems to work if we use an existing photo from the library.

    This sounds like you may have the camera's "Image Review" option set to "hold".
    When you take a photo, two things normally happen.
    1)  The camera should write the image to your memory card.  You'll know when it's writing to your memeory card because there is a red LED ligth which is active when the camera is using the card.  When the light goes out, the camera is finished.
    2)  The camera can be set to do "Image Review".  By default, when you take an exposure, the camera will display the image on the rear screen for just a few seconds.  But this behavior can be customized.
    Your choices for image review are "Off", 2 seconds, 4 seconds, 8 seconds, or "Hold".  If Off is selected you wont get any image review.  If "Hold" is selected, the image you just took will appear on the rear LCD and will never go away until you manually clear it.  You can just do a half-press of the shutter button to clear it (it wont get in the way of you taking more shots... just ignore it.)
    You can find instructions on this on page 166 of your T3i Instruction Manual which describes how to change this setting.
    Tim Campbell
    5D II, 5D III, 60Da

  • New iPad 3 locks up after taking a photo

    1 week old new 3 is locking up after trying to take a photo with standard camera icon that comes with iPad? Any tips? Have turned it off a couple of times no difference. Have about ten photos in gallery but each time we take a photo now iPad locks up and doesn't retain last picture taken. Other photo apps same thing happens.
    m

    Thank you both for your swift replies. Had just turned back on again and backed up.  I couldn't find restore only reset. Thought I would then try camera before resetting and seemed to be operating again.
    Thanks again
    m

  • IOS7 - After taking a photo the lock screen zooms in and I can not enter my password. Does anyone know why?

    Everytime I take a photo on my phone either when it is locked or not, when I come back to my phone to use it next the lock screen has zoomed in and I can not enter my password. I have to either switch the phone off or keep playing with the side button. Its only happened since iOS7 has been installed. Can anyone help?

    On the Home screen, double-tap with three fingers to exit zoom.
    Then go to Settings > General > Accessibility and make sure Zoom is turned Off.
    http://support.apple.com/kb/ts3129

  • After taking a photo for a contact can I access the photonlater?

    I was adding a contact and I took a picture while in the app. I was wondering if I can access the photo. It's not in my photo app

    You might be able to copy it out of the picture field of that Address Book entry if you sync it to your Mac, but it's not saved anywhere else and I'm not aware of any way to do anything othe than "edit" the image once it's a component of a Contacts entry.

  • After taking a photo in RAW format, which format is best to save in for editing in photoshop

    I want the highest quality pictures possible, so I take photos in RAW format, but what format should I be saving in during photoshop editing?   Is TIFF or PSD or EPS, or some other format the best for retaining the highest quality photos?

    To me saving as PSD seems more natural.  Since it's Photoshop's native format, you can rest assured that all aspects of your document will be saved.
    -Noel

  • After importing several photos to IPhoto they disappeared and I can't find them, where could they have gone?

    I imprted a fair few photos this afternoon but on about to be editing them, they disappeared and i cant find them. How can i find them and where could they be ??
    Thanks
    Cameron

    It could be due to the fact that my hardrive is basicly full ?

  • HDR camera mode shows "Saving" for a long time after taking a picture

    I noticed that after taking a photo in the HDR mode with the camera on 4.1 (4th Gen phone), the "Saving Photo" and spinning icon persist on the screen. The only way to stop it is to tape the top button on the phone, which shuts off the screen. When I go back the photo appears to be saved with no harm. Anyone else have this lag?
    It makes taking another photo very slow.

    You must have an older iPhone. My iPhone 4 takes about several seconds to save them, which was kinda annoying first. I'm not taking pictures in a rapid succession so I guess it is not that bad, taking into account a better quality of the HDR pics. I hope Apple fixes this delay in the future update of the iOS.
    I was wondering though if we disable keeping of a non-HDR picture, would that speed it up? (Settings -> Photos -> Keep Normal Photo -> Off)
    In your case, Fred, it would probably be better to shoot in a normal (non-HDR) format due to older hardware.

  • When using office for mac or i studio after inserting several pictures, my computer locks up and the only way I can fix it is to do a force quit.  Why does it do this and how I I get it fixed without a force quit?

    I have a mac book, with office for mac and iStudio installed.  When I try to create a document using either one of these; after inserting several photos, the computer locks up and the only way I can get it to unlock is to do a force quit.  Why does it do this, and how can I get it to unlock without having to do a force quit?

    Are you using versions of the software that are compatible with the version of OS X you have installed? Very often such lockups are caused by application incompatibility.
    The problem may also come from trying to use both sets of applications at the same time while not having enough RAM installed. Adding more RAM may fix the problem.
    The problem can arise from corrupted support files such as preference files or Application Support files or corrupted cache files.
    The image files you are using may also be corrupt thus causing the problem.
    You might start with:
    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation.  TechTool Pro 4.5.1 or higher are Intel Mac compatible;  Drive Genius is similar to TechTool Pro in terms of the various repair services provided.  Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.  Other utilities are also available such as Onyx, Lion Cache Cleaner, CockTail, for example.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.

  • I have an iphone 4s, after taking a picture I am un able to turn it

    After taking a photo I am unable to turn

    If the pictures are no longer on the device, this has nothing to do with the device or iTunes.
    Use the photo management software on the computer to rotate them.

Maybe you are looking for

  • Zen V Plus won't cha

    My Zen V Plus battery won't charge. When I connect it with the USB cable to the computer to charge I get a message in Windows saying "USB Device Not Recongnize". Then when I look at my player the battery symbol cycles between showing the charging sym

  • Asset being scaped

    Dear All:                 I am trying to delete some assets whihc were opened in iterim class. They have values. Now they have been capitalized as well in final classes. Invoicing has been fully done with reference to PO they were purchased by. The p

  • How do I open the Database Tables in the Object Explorer window.

    I tried clicking on them and right clicking but they dont open.

  • Is my apple TV busted

    For no reason what so ever my Apple TV seems to have gone tits up. If I restart it, it loads up with the funky graphics and music, then a I briefly see the Apple logo again, then the appleTV menu, then back to the apple logo then back to the menu, it

  • [SOLVED] EVE Online and Wine 1.7

    I'm running EVE Online with wine-1.7.28. My issue is that WIndows within the game have rendering issues as well as part of the station UI. The rendering issues mean that I can't change tabs in a window (I can collapse and reload the window and the ta