Skip navigation.
 
mlRe: NSWindow and autorelease with dynamic binary
FROM : Wesley Smith
DATE : Tue Jan 15 21:17:26 2008

So I've been trying setting breakpoints everywhere and doing all of
the debugging env variable stuff I can to ge an info as to what's
going on with no luck.  It seems there is a weird interaction between
the dynamic binary and the app in Cocoa and I can't get a bead on it.
I get crashes in dyld close and NSUnlinkModule depending on which I
use and sometimes from an app terminate-induced NSAutoreleasePool
call.  What really puzzles me is the difference between manually
closing the window and procedurally closing the window.  The former
works, the latter crashes.  If all the manual method does is trigger
[win close], then I am doing the exact same thing procedurally and
there should be no difference, but this is not the case.  I can't find
any docs on what might be different between the two.  Any pointers?

thanks,
wes

Related mailsAuthorDate
mlNSWindow and autorelease with dynamic binary Wesley Smith Jan 15, 11:18
mlRe: NSWindow and autorelease with dynamic binary John Stiles Jan 15, 18:23
mlRe: NSWindow and autorelease with dynamic binary Wesley Smith Jan 15, 19:04
mlRe: NSWindow and autorelease with dynamic binary j o a r Jan 15, 20:14
mlRe: NSWindow and autorelease with dynamic binary Wesley Smith Jan 15, 20:36
mlRe: NSWindow and autorelease with dynamic binary John Stiles Jan 15, 20:38
mlRe: NSWindow and autorelease with dynamic binary Wesley Smith Jan 15, 21:17
mlRe: NSWindow and autorelease with dynamic binary Kyle Sluder Jan 15, 22:40