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
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 mails | Author | Date |
|---|---|---|
| Wesley Smith | Jan 15, 11:18 | |
| John Stiles | Jan 15, 18:23 | |
| Wesley Smith | Jan 15, 19:04 | |
| j o a r | Jan 15, 20:14 | |
| Wesley Smith | Jan 15, 20:36 | |
| John Stiles | Jan 15, 20:38 | |
| Wesley Smith | Jan 15, 21:17 | |
| Kyle Sluder | Jan 15, 22:40 |






Cocoa mail archive

