• 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
Re: Search field crashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Search field crashing (From: Josh Anon <email@hidden>)

  • Prev by Date: Question about Finder API and Preview
  • Next by Date: Re: cocoa-dev digest, Vol 2 #3496 - 2 msgs
  • Previous by thread: Search field crashing
  • Next by thread: Re: Search field crashing
  • Index(es):
    • Date
    • Thread