Re: Search field crashing
Re: Search field crashing
- Subject: Re: Search field crashing
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 19 Jan 2004 00:21:56 -0800
On Jan 18, 2004, at 7:18 PM, Josh Anon wrote:
I have an app that throws up a table view in a modal panel, and
there's a search field (connected to my array controller's subclass
search method). I can type things in the field and have everything
work properly, but randomly, when I start to delete text from it, it
crashes in various AppKit places. One time, it crashed in a memcpy.
Another time, it crashed in a retain:, the most recent time, it
crashed in class_initialize in
NSKeyValueObservationInfoCreateByAdding, etc.. Obviously some memory
is getting trashed, but has anyone seen this before? I have the
search field bound to a var in my NSController subclass, but when I
remove that binding (and do things the old-fashioned way), it still
crashes.
It turns out there was a subtle bug with the search string itself.
mmalc
_______________________________________________
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.