Re: Crashes while reordering columns in a NSTableView
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