• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CGImageSourceCreateFromURL failed with error -11
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGImageSourceCreateFromURL failed with error -11


  • Subject: Re: CGImageSourceCreateFromURL failed with error -11
  • From: "Gary L. Wade" <email@hidden>
  • Date: Wed, 06 Aug 2008 17:36:17 -0400

Off the top of my head, with a number of files being opened so high and relatively close to the value you get from getrlimit with a parameter of RLIMIT_NOFILE, I'd suggest checking to see if that's the problem.

>Hi Nicolas, David,
>
>I'm having the exact same problem. Loading collections of small images
>(jpeg in my case).
>
>The only slight difference for me is that if I run my application
>under XCode (Debug build), I don't get any errors. All of the images
>load fine. However, when I run the (Debug) binary, I'm able to load
>around ~180 small jpegs, then just a whole bunch of the following
>error for each image I try to load past that ~180 image limit.
>
>CGImageSourceCreateWithURL failed with error code -11.
>
>I'd like to get this figured out if anyone has any insight. I'd also
>like to know if there are any *expected* differences between running
>the same (Debug) binary through XCode versus as a standalone... I
>wouldn't think so, but that's not what I'm seeing. In other parts of
>my app, the standalone will simply crash without explanation, whereas
>the XCode version will perform the expected behavior without
>complaint.
>
>-j
>
>On Tue, Aug 5, 2008 at 2:32 AM, Nicolas Zinovieff <email@hidden> wrote:
>> David,
>>
>> the images are GIFs, roughly 40KB each, 200x100 (or 100x200).
>> Nothing fancy.
>>
>> On 05 Aug 2008, at 01:05, David Duncan wrote:
>>
>>> What types of images are you trying to load?
>>
>> --
>> Zino
_______________________________________________

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

  • Follow-Ups:
    • Re: CGImageSourceCreateFromURL failed with error -11
      • From: Nicolas Zinovieff <email@hidden>
  • Prev by Date: Re: CGImageSourceCreateFromURL failed with error -11
  • Next by Date: Re: remove elements during the iteration on NSMutableDictionary
  • Previous by thread: Re: CGImageSourceCreateFromURL failed with error -11
  • Next by thread: Re: CGImageSourceCreateFromURL failed with error -11
  • Index(es):
    • Date
    • Thread