Re: Crash in AppKit?
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