• 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
app crash when click on window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

app crash when click on window


  • Subject: app crash when click on window
  • From: Nicolas Berloquin <email@hidden>
  • Date: Sun, 4 Apr 2004 15:56:32 +0200

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.

I have a strong feeling that the crashes come from the data binding interactions with my model,
but I have no idea what could cause that.

I know that this is very vague, but would there be any special checks that I should do in my
NSArrayControllers or bound values inside my nib (special flags/cases etc... ?)

for the record, ALL bound fields have getters/setters and indexed accessors when relevant,
and are only accessed through them in the model.

Any hint would be greatefuly appreciated ^_^

thanks in advance !
_______________________________________________
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.


  • Follow-Ups:
    • Re: app crash when click on window
      • From: Clark Cox <email@hidden>
    • app crash when click on window (followup)
      • From: Nicolas Berloquin <email@hidden>
  • Prev by Date: Obtaining window resize handle dimensions
  • Next by Date: app crash when click on window (followup)
  • Previous by thread: Re: Obtaining window resize handle dimensions
  • Next by thread: app crash when click on window (followup)
  • Index(es):
    • Date
    • Thread