• 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: Fritz Anderson <email@hidden>
  • Date: Sat, 4 Jun 2005 23:05:42 -0500

On 4 Jun 2005, at 9:35 PM, Jason Staczek wrote:

I've been seeing this pop up randomly in an application that uses a timer to refresh an NSTextView very rapidly. Happens often, but seems quite random. Does this sound familiar to anyone?
...
Thread 4 Crashed:
...
10 com.apple.AppKit 0x92ed2474 -[NSTextView setString:] + 0xb0
11 AutoController.ob 0x006a91d4 -[AutoController updateTimeDisplay:] + 0x104 (AutoController.m:125)
12 com.apple.Foundation 0x90a39b74 forkThreadForFunction + 0x6c

I'm not aware that -[NSTextView setString:] is thread-safe. Can you cite a place in the documentation where it is said to be? If not, you are pretty much guaranteed quite random crashes.


    -- F

 --
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/


_______________________________________________ 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>)

  • Prev by Date: Re: binding window titles
  • Next by Date: Re: writeToFile:ofType:originalFile:saveOperation: on Tiger
  • Previous by thread: Crash in AppKit?
  • Next by thread: Re: Crash in AppKit?
  • Index(es):
    • Date
    • Thread