• 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: NSLayoutManager Background Layout Crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLayoutManager Background Layout Crash


  • Subject: Re: NSLayoutManager Background Layout Crash
  • From: "phil" <email@hidden>
  • Date: Fri, 29 Jul 2005 17:57:46 +0000

>  __objc_error indicates an internal error detected by the Objective-C  
>  runtime.  There are a variety of things that can cause it, but none  
>  of them are particularly common.  It's possible there's a memory  
>  smasher that has overwritten something in the runtime.  I believe  
>  it's also possible for this to occur in some cases from use of a  
>  dangling reference to a released object.  Try running (a) with  
>  zombies enabled, and (b) with libgmalloc.

Will do and see what I come up with. A problem though, is that an __objc_error is not always responsble for bringing
the program down. Two other reports (from _NSPostBackgroundLayout on), look like this:

0   com.apple.CoreFoundation  	0x9028def0 __CFArrayRepositionDequeRegions + 56
1   com.apple.CoreFoundation  	0x90285e6c _CFArrayReplaceValues + 1472
2   com.apple.Foundation      	0x90afc4f4 -[NSCFArray removeLastObject] + 192
3   com.apple.AppKit          	0x9254a3bc -[NSSortedArray removeLastObject] + 48
4   com.apple.Foundation      	0x90b11240 -[NSMutableArray removeAllObjects] + 68
5   com.apple.AppKit          	0x9253db98 -[NSLayoutManager(NSPrivate)
_fillLayoutHoleAtIndex:desiredNumberOfLines:] + 2720
6   com.apple.AppKit          	0x9258fa50 +[NSLayoutManager(NSPrivate) _doSomeBackgroundLayout] + 556
7   com.apple.AppKit          	0x9258f6a0 _NSPostBackgroundLayout + 364
...

0   com.apple.AppKit               	0x92e782ac -[NSLayoutManager setTextContainer:forGlyphRange:] + 0x17c
1   com.apple.AppKit               	0x92eea9cc -[NSLayoutManager(NSPrivate)
_doLayoutWithFullContainerStartingAtGlyphIndex:nextGlyphIndex:] + 0xe0
2   com.apple.AppKit               	0x92e88a84 -[NSLayoutManager(NSPrivate)
_fillLayoutHoleAtIndex:desiredNumberOfLines:] + 0x4e8
3   com.apple.AppKit               	0x92f11af0 +[NSLayoutManager(NSPrivate) _doSomeBackgroundLayout] +
0x224
4   com.apple.AppKit               	0x92edd7e0 _NSPostBackgroundLayout + 0xa0
...

-Phil
 _______________________________________________
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: NSLayoutManager Background Layout Crash
      • From: John Brownlow <email@hidden>
  • Prev by Date: Re: Doubly linked tree data structure
  • Next by Date: Re: NSLayoutManager Background Layout Crash
  • Previous by thread: Re: NSLayoutManager Background Layout Crash
  • Next by thread: Re: NSLayoutManager Background Layout Crash
  • Index(es):
    • Date
    • Thread