• 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: Daniel Jalkut <email@hidden>
  • Date: Fri, 16 Dec 2005 11:20:22 -0500

And specifically, since you've got your application's call to "processEditing" in the stack trace, you can set the breakpoing on setSelectedRanges...+680 only after you've hit a breakpoint where you call processEditing. Use the po (print-object) command to examine $r3 to see what object *should* be getting messaged. This object is either not around or corrupted on your customer's machine.

Daniel

On Dec 16, 2005, at 10: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.

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com

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

  • Prev by Date: Re: send an Action without a button
  • Next by Date: Re: Crash in CFStringHash - can I do anything about this?
  • Previous by thread: Re: What does crash in setSelectedRanges:affinity:stillSelecting mean?
  • Next by thread: Re: What does crash in setSelectedRanges:affinity:stillSelecting mean?
  • Index(es):
    • Date
    • Thread