• 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: Crash in NSControl's sizeToFit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in NSControl's sizeToFit


  • Subject: Re: Crash in NSControl's sizeToFit
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 31 Jan 2010 21:55:29 -0800

On Jan 31, 2010, at 7:39 AM, email@hidden wrote:

> This looks like a bug in AppKit but I'm not sure. Any ideas? (I cannot
> reproduce the problem.)

No, it's a bug in 'myProject' — it's calling AppKit from a background thread, which is generally not allowed:

	13  AppKit                              0x9507b052 -[NSControl sizeToFit] + 46
	14  myProject                            0x000540c4 0x0 + 344260
	15  myProject                            0x00042a96 0x0 + 273046
	16  Foundation                          0x906838d8 -[NSThread main] + 45
	17  Foundation                          0x90683888 __NSThread__main__ + 1499
	18  libSystem.B.dylib                   0x93494fbd _pthread_start + 345
	19  libSystem.B.dylib                   0x93494e42 thread_start + 34

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Crash in NSControl's sizeToFit (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: NSXML and invalid UTF8 characters
  • Next by Date: Re: sine wave
  • Previous by thread: Crash in NSControl's sizeToFit
  • Next by thread: Tabbing between cells in a complex control
  • Index(es):
    • Date
    • Thread