Re: What does crash in setSelectedRanges:affinity:stillSelecting mean?
Re: What does crash in setSelectedRanges:affinity:stillSelecting mean?
- Subject: Re: What does crash in setSelectedRanges:affinity:stillSelecting mean?
- From: Dave Hayden <email@hidden>
- Date: Mon, 19 Dec 2005 18:02:55 -0800
On Dec 16, 2005, at 7:32 AM, Jesse Grosjean wrote:
I've had a number of crash reports with this same basic stack trace:
0 <<00000000>> 0xfffeff18 objc_msgSend_rtp 24
1 com.apple.AppKit 0x9374a01c -[NSTextView
(NSSharing) setSelectedRanges:affinity:stillSelecting:] 684
2 com.apple.AppKit 0x936ff3dc -[NSLayoutManager
(NSPrivate)
_fixSelectionAfterChangeInCharacterRange:changeInLength:] 820
3 com.apple.AppKit 0x936fb524 -[NSLayoutManager
textStorage:edited:range:changeInLength:invalidatedRange:] 904
4 com.apple.AppKit 0x936fb17c -[NSTextStorage
_notifyEdited:range:changeInLength:invalidatedRange:] 140
5 com.apple.AppKit 0x9375c62c -[NSTextStorage
processEditing] 188
6 ...baysoftware.mori.MIDocument 0x0027eaa8 -[MITextStorage
processEditing] 828
7 com.apple.AppKit 0x9375d214 -[NSTextStorage
endEditing] 80
Unfortunately it's not something that I've been able to duplicate
myself. I wonder if anyone here has any idea of what might cause
this sort of crash, and what I should try to fix it.
I ran into the same thing recently and found that my delegate was
released before the text view. In the delegate's dealloc method, make
sure you're calling [textview setDelegate:nil].
-D
_______________________________________________
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