Re: Crash in AppKit?
Re: Crash in AppKit?
- Subject: Re: Crash in AppKit?
- From: Julian <email@hidden>
- Date: Sun, 5 Jun 2005 00:39:38 -0400
Since timers are threaded and you are accessing a GUI component from
a different thread(aka thread 4 crashed) you may wish to make a
function that calls setString and call this function from the timer
thread with performSelectorOnMainThread.....
~Julian
On Jun 4, 2005, at 10: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?
Thanks,
Jason
www.chromasound.net
Thread 4 Crashed:
0 com.apple.Foundation 0x90a5c740 _NSRaiseError + 0xf8
1 com.apple.Foundation 0x90a5c624 +[NSException
raise:format:] + 0x2c
2 com.apple.Foundation 0x909f0d2c -[NSCFArray
objectAtIndex:] + 0x4c
3 com.apple.AppKit 0x92deaafc -[NSLayoutManager
(NSPrivate) _mergeLayoutHoles] + 0x98
4 com.apple.AppKit 0x92ddd4d8 -[NSLayoutManager
(NSPrivate) _invalidateLayoutForExtendedCharacterRange:isSoft:] +
0x118
5 com.apple.AppKit 0x92deb720 -[NSLayoutManager
textStorage:edited:range:changeInLength:invalidatedRange:] + 0xe0
6 com.apple.AppKit 0x92e1a474 -[NSTextStorage
_notifyEdited:range:changeInLength:invalidatedRange:] + 0x8c
7 com.apple.AppKit 0x92e31304 -[NSTextStorage
processEditing] + 0xbc
8 com.apple.AppKit 0x92e84a9c -[NSTextStorage
endEditing] + 0x50
9 com.apple.AppKit 0x92e81ee8 -[NSTextView
replaceCharactersInRange:withString:] + 0x23c
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
13 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28
_______________________________________________
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
_______________________________________________
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