• 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: John Randolph <email@hidden>
  • Date: Mon, 19 Jan 2004 11:41:06 -0800

On Jan 18, 2004, at 7:18 PM, Josh Anon wrote:

Hi,
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.

Is this an issue with search fields in modal dialogs?

None that I'm aware of, and I'm using search fields rather heavily these days. If it's happening while you're editing text in the search field, then the first responder at that time will actually be the window's field editor.

Is it always the main thread that crashes?

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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: Search field crashing
      • From: Georg Tuparev <email@hidden>
References: 
 >Search field crashing (From: Josh Anon <email@hidden>)

  • Prev by Date: Re: Localization
  • Next by Date: RE: Chronological sort descriptor?
  • Previous by thread: Re: Search field crashing
  • Next by thread: Re: Search field crashing
  • Index(es):
    • Date
    • Thread