• 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
Slow launch of Mail.app and Safari, [NSHost currentHost],
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slow launch of Mail.app and Safari, [NSHost currentHost],


  • Subject: Slow launch of Mail.app and Safari, [NSHost currentHost],
  • From: Stephane Sudre <email@hidden>
  • Date: Wed, 5 Apr 2006 12:08:17 +0200

Has there been a modification of some APIs in Mac OS X 10.3.9 that could explain why Mail.app and Safari.app hang (2 minutes to complete launch on a fast G5) in the [NSHost currentHost] call when you launch them for the first time?

As this Cocoa API potentially deals with network related stuff, I wonder if a bug would not have been introduced in a security update for 10.3.9 as I've not seen this problem previously.

Sampling process 409 each 10 msecs 1000 times
Sample analysis of process 409 written to file /tmp/Mail_409.sample.txt
[tartempion:~] stephane% more /tmp/Mail_409.sample.txt
Analysis of sampling pid 409 every 10.000000 milliseconds
Call graph:
983 Thread_110b
983 0x3dc34
983 0xed3c
983 NSApplicationMain
983 -[NSApplication run]
983 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
983 _DPSNextEvent
983 AEProcessAppleEvent
983 aeProcessAppleEvent
983 dispatchEventAndSendReply(AEDesc const*, AEDesc*)
983 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)
983 _NSAppleEventManagerGenericHandler
983 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
983 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
983 -[NSApplication _sendFinishLaunchingNotification]
983 -[NSApplication _postDidFinishNotification]
983 0x7f70
983 -[NSNotificationCenter postNotificationName:object:userInfo:]
983 _CFXNotificationPostNotification
983 __CFXNotificationPost
983 _nsnote_callback
983 0x106d8
983 0x111c0
983 objc_msgSend
983 _class_lookupMethodAndLoadCache
983 class_initialize
983 +[WorkerThread initialize]
983 -[NetworkController domainName]
983 +[NSHost currentHost]
983 getnameinfo
983 _lookup_all
983 _lookup_all_secure
983 mach_msg
983 mach_msg_trap
983 mach_msg_trap


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Slow launch of Mail.app and Safari, [NSHost currentHost],
      • From: Chris Parker <email@hidden>
  • Prev by Date: RE: Unable to retrieve ethernet address.
  • Next by Date: callback access to a Global
  • Previous by thread: RE: Unable to retrieve ethernet address.
  • Next by thread: Re: Slow launch of Mail.app and Safari, [NSHost currentHost],
  • Index(es):
    • Date
    • Thread