• 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: What does crash in setSelectedRanges:affinity:stillSelecting mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >What does crash in setSelectedRanges:affinity:stillSelecting mean? (From: Jesse Grosjean <email@hidden>)

  • Prev by Date: Re: create a view without IB
  • Next by Date: Simple Bindings Question
  • Previous by thread: Re: What does crash in setSelectedRanges:affinity:stillSelecting mean?
  • Next by thread: Bindings & NSMenu selections
  • Index(es):
    • Date
    • Thread