• 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
Beach balling on mach_msg_trap
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Beach balling on mach_msg_trap


  • Subject: Beach balling on mach_msg_trap
  • From: Nathan Day <email@hidden>
  • Date: Wed, 21 Oct 2009 18:17:33 +1100

I am getting a beach balling in an application I am working on, I would of investigated more but I have noticed that some other apps on my computer seem to be doing the same thing.

If I move my applications window it free up the block allowing an event to be processed), but the instantly freezes on the next event, this is why I think other applications have the same problem because they exhibit the same behaviour, this includes the Applications Safari when playing a movie, Quick Time Player but the sound keeps playing and a Third party app called Opacity. s this a known issues.

It doesn't affect my MacBook Pro only my iMac and the issue occurred in 10.5 and 10.6, I am using an NSOperationQue which may have something to do with it.

One thing that is different between my MacBook Pro and iMac is that my iMac is nearly always doing something in the background, without may app running there is about 15% to 20% cpu usage and about 500 thread, another difference between my iMac and my MacBook Pro is that my iMac has only 37% of 1TB hard disk space, I have heard there can be some issues with disk fragmentation at 30% or less hard disk space.

(gdb) where
#0 0x000000010011ad7a in mach_msg_trap ()
#1 0x000000010011b3ed in mach_msg ()
#2 0x000000010047fce2 in __CFRunLoopRun ()
#3 0x000000010047f03f in CFRunLoopRunSpecific ()
#4 0x000000010242ac4e in RunCurrentEventLoopInMode ()
#5 0x000000010242aa53 in ReceiveNextEventCommon ()
#6 0x000000010242a90c in BlockUntilNextEventMatchingListInMode ()
#7 0x0000000100fc1520 in _DPSNextEvent ()
#8 0x0000000100fc0e89 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#9 0x0000000100f86a7d in -[NSApplication run] ()
#10 0x0000000100f7f798 in NSApplicationMain ()
#11 0x00000001000034ba in main (argc=1, argv=0x7fff5fbff3c8) at XXXXXXXXXX


Nathan Day
Software Engineer
mobile:		+61 (0)4 3863 2407
home page:	http://homepage.mac.com/nathan_day/







_______________________________________________

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


  • Follow-Ups:
    • Re: Beach balling on mach_msg_trap
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Hiding tab view items
  • Next by Date: NSInputStream / Eventqueue / run in Background
  • Previous by thread: Re: How to run a panel that customizes a new NSDocument
  • Next by thread: Re: Beach balling on mach_msg_trap
  • Index(es):
    • Date
    • Thread