• 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
Superscript causing crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Superscript causing crash


  • Subject: Superscript causing crash
  • From: Philip Dow <email@hidden>
  • Date: Wed, 24 Aug 2005 11:42:20 +0200

Hi all,

I've been having a hell of a time tracking down a bug in my app but finally discovered the source. It seems that superscripted text will cause the application to crash.

The setup allows the user to select from a list of objects. Each object contains RTFD Data which is set into a custom NSTextView as the user selects it. When the user selects another object, the current text is saved into the RTFD Data property and the NSTextView's text is replaced with the data of the new object. Previously, I was accomplishing this manually, but now I am doing it with bindings. In both cases, superscripted text will cause the application to crash when switching from one object to another. And to make matters worse, the crash occurs randomly.

The app *is* threaded, and I *do* make programmatic additions to the custom text view, but in this situation, no thread is acting on the text view and the user is using only standard text technologies, ie the font and color panels, the format and text menus, etc. In other words, my app isn't acting on the custom text view, only the cocoa text system.

Has anyone encountered anything similar here? I've done a couple searches in google but haven't come up with anything. Any thoughts?

-Phil

http://phildow.net
_______________________________________________
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: Superscript causing crash
      • From: Cameron Hayne <email@hidden>
References: 
 >Re: refreshObject:mergeChanges: vs. stale transient (From: Frank Illenberger <email@hidden>)

  • Prev by Date: [ANN] Articles on Xgrid and Cocoa
  • Next by Date: Re: UTF8 question.
  • Previous by thread: Re: refreshObject:mergeChanges: vs. stale transient
  • Next by thread: Re: Superscript causing crash
  • Index(es):
    • Date
    • Thread