• 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: Crashes while reordering columns in a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashes while reordering columns in a NSTableView


  • Subject: Re: Crashes while reordering columns in a NSTableView
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 21 Jul 2009 10:42:50 -0600


On Jul 21, 2009, at 10:32 AM, Tim Schmidt wrote:

Obviously CG's bitblock transfers access unallocated memory in this case. If I accidently free said memory it completely eludes me where this might happen (I am pretty confident I don't release any of my model/controller objects unintentionally (I tried running with all the usual mallocdebug options as well as NSZombies). Furthermore all NIBs are managed by NSViewController subclasses. Can anybody point me to some advanced guides on NSTableView (beyond the class reference and tables guide).

One thought: Are you using the -CGImage method of NSBitmapImageRep anywhere? If so, then you absolutely must not deallocate the NSBitmapImageRep while the CGImageRef is live, because the CGImageRef acquired via -CGImage is still using the NSBitmapImageRep's data.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: Crashes while reordering columns in a NSTableView
      • From: Rob Keniger <email@hidden>
References: 
 >Crashes while reordering columns in a NSTableView (From: Tim Schmidt <email@hidden>)
 >Re: Crashes while reordering columns in a NSTableView (From: Alexander Spohr <email@hidden>)
 >Re: Crashes while reordering columns in a NSTableView (From: Tim Schmidt <email@hidden>)

  • Prev by Date: Re: what is this currency symbol?
  • Next by Date: Re: Crashes while reordering columns in a NSTableView
  • Previous by thread: Re: Crashes while reordering columns in a NSTableView
  • Next by thread: Re: Crashes while reordering columns in a NSTableView
  • Index(es):
    • Date
    • Thread