Re: app crash when click on window
Re: app crash when click on window
- Subject: Re: app crash when click on window
- From: Clark Cox <email@hidden>
- Date: Sun, 4 Apr 2004 10:43:37 -0400
On Apr 04, 2004, at 09:56, Nicolas Berloquin wrote:
>
Hello !
>
>
This will sound a bit vague, but after a couple hours of searching,
>
here is my problem:
>
>
I have a couple windows with most fields bound via data bindings to
>
some model values.
>
The app runs fine, and can go along without crashing (a long time)
>
until I click on any window (even
>
an activated window actually, for example to drag the window).
>
>
The stack crawl always shows :
>
>
Thread 0 Crashed:
>
0 libobjc.A.dylib 0x908311f4 objc_msgSend + 0x14
>
1 com.apple.Foundation 0x909f1d8c NSPopAutoreleasePool + 0x164
>
2 com.apple.AppKit 0x92dfd760 -[NSApplication run] + 0x264
>
3 com.apple.AppKit 0x92eb9b80 NSApplicationMain + 0x1d0
>
4 com.nico.coolap 0x0000adf0 main + 0x28 (main.m:13)
>
5 com.nico.coolap 0x00007c84 _start + 0x188 (crt.c:267)
>
6 com.nico.coolap 0x00007af8 start + 0x30
>
>
I checked and re-checked my model values to make sure I wasn't
>
releasing stuff I wasn't supposed to
>
etc etc and that doesn't seem to be the problem.
It may not seem like it is the problem, but odds are, it is.
*Something* has either been released too many times or not retained
enough. Set the environment variable "NSZombieEnabled" to "YES". This
will at least let you see which object it was that is causing the
problem.
See
http://www.cocoadev.com/index.pl?DebuggingAutorelease for more
information.
--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.