• 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: Segfault when releasing autorelease pool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfault when releasing autorelease pool


  • Subject: Re: Segfault when releasing autorelease pool
  • From: Cameron Hayne <email@hidden>
  • Date: Sun, 30 Oct 2005 23:19:47 -0500


On 30-Oct-05, at 10:28 PM, Sean McGroty wrote:

meterDevice = [NSFileHandle fileHandleForUpdatingAtPath:deviceFile];

It seems that 'meterDevice' is an instance variable. Hence you must 'retain' the (auto-released) object you get from 'fileHandleForUpdatingAtPath'
That at least is one problem - there may be others.


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Segfault when releasing autorelease pool (From: Sean McGroty <email@hidden>)

  • Prev by Date: Segfault when releasing autorelease pool
  • Next by Date: Re: IB not updating header file
  • Previous by thread: Segfault when releasing autorelease pool
  • Next by thread: Re: Segfault when releasing autorelease pool
  • Index(es):
    • Date
    • Thread