• 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: help with closing file handle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with closing file handle


  • Subject: Re: help with closing file handle
  • From: Daniel Luis dos Santos <email@hidden>
  • Date: Sun, 10 Feb 2008 11:18:00 +0000

That was all the code. The only thing that is not showing is the string literal that gets passed through the argument list.

Thanks anyway



On Feb 9, 2008, at 3:23 PM, Shawn Erickson wrote:

On Feb 9, 2008 5:22 AM, Nir Soffer <email@hidden> wrote:

I guess that you pass an autoreleased string to the file handle, and
the exceptions you get are raised when the file handle try to send a
message to the object you passed, which does not exists any more

It would be the responsibility of NSFileHandle to retain or copy the string. Likely it is an over-released string because of a bug in memory management.

However as you said we need to see more code to help.

-Shawn

_______________________________________________

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


References: 
 >help with closing file handle (From: Daniel Luis dos Santos <email@hidden>)
 >Re: help with closing file handle (From: "Kyle Sluder" <email@hidden>)
 >Re: help with closing file handle (From: Daniel Luis dos Santos <email@hidden>)
 >Re: help with closing file handle (From: Nir Soffer <email@hidden>)
 >Re: help with closing file handle (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: CoreData: Save password securly
  • Next by Date: [JOB] Looking for Cocoa developers, in Paris, France
  • Previous by thread: Re: help with closing file handle
  • Next by thread: Re: help with closing file handle
  • Index(es):
    • Date
    • Thread