Re: Crash in NSControl's sizeToFit
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