• 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: Crash in AppKit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in AppKit?


  • Subject: Re: Crash in AppKit?
  • From: John Stiles <email@hidden>
  • Date: Sun, 5 Jun 2005 07:01:27 -0700

I'd suggest that performSelectorOnMainThread is your friend here.

On Jun 4, 2005, at 11:25 PM, Jason Staczek wrote:

A good lead, the thread safety angle.


The interesting thing is that I was getting the same crash before I tried a background thread to update the display. I was originally just running a timer off the main thread. Same problem. And I'm making no other access to that NSTextView. The other interesting thing is that the crash is in the Layout Manager, not the TextView itself.


So should I try wrapping that update in a critical section?


Jason



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Crash in AppKit? (From: Jason Staczek <email@hidden>)
 >Re: Crash in AppKit? (From: Julian <email@hidden>)
 >Re: Crash in AppKit? (From: j o a r <email@hidden>)
 >Re: Crash in AppKit? (From: Julian <email@hidden>)
 >Re: Crash in AppKit? (From: Jason Staczek <email@hidden>)

  • Prev by Date: Re: NSSegmentedControl discrepancies between 10.3 and 10.4
  • Next by Date: Re: Fitting a string to a box?
  • Previous by thread: Re: Crash in AppKit?
  • Next by thread: Fitting a string to a box?
  • Index(es):
    • Date
    • Thread