[Webkit-unassigned] [Bug 15028] New: Safari hangs for a good 50 seconds on startup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 16:31:44 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15028

           Summary: Safari hangs for a good 50 seconds on startup
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at 0x58.com


This is a problem I have been having for a while now, and it has just started
to bother me. Whenever I would open Safari it would hang for a good 50 seconds
before it would load my homepage, something I am not used to, especially since
Safari is usually VERY snappy.

I decided that I should use activity monitor, and grab a sample while it was
hanging. It is getting stuck on pruning old icon entries. So I did the sane
thing, or insane, depending on what'd you'd call it, and removed
~/Library/Safari/Icons/ and let Safari re-create it on launch. No more slow
downs, and Safari is back to it's old self.

Analysis of sampling pid 948 every 10.000000 milliseconds
Call graph:
    300 Thread_0f07
      300 0x48ef5
        300 0x2302
          300 NSApplicationMain
            300 -[NSApplication run]
              300 0x5ff8
                300 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
                  300 _DPSNextEvent
                    300 BlockUntilNextEventMatchingListInMode
                      300 ReceiveNextEventCommon
                        300 RunCurrentEventLoopInMode
                          300 CFRunLoopRunInMode
                            300 CFRunLoopRunSpecific
                              300 WebCore::TimerBase::sharedTimerFired()
                                300 WebCore::TimerBase::fireTimers(double,
WTF::Vector<WebCore::TimerBase*, (unsigned long)0> const&)
                                  300
WebCore::Timer<WebCore::IconDatabase>::fired()
                                    300
WebCore::IconDatabase::pruneUnretainedIconsOnStartup(WebCore::Timer<WebCore::IconDatabase>*)
                                      300
WebCore::IconDatabase::checkForDanglingPageURLs(bool)
                                        300
WebCore::SQLStatement::returnsAtLeastOneResult()
                                          300 sqlite3_step
                                            300 sqlite3VdbeExec
                                              300 sqlite3BtreeLast
                                                300 sqlite3BtreeCopyFile
                                                  300 sqlite3BtreeCopyFile
                                                    300 sqlite3pager_get
                                                      298 read
                                                        298 read
                                                      2 sqlite3pager_get
    300 Thread_1003
      300 _pthread_body
        300 forkThreadForFunction
          300 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            300 CFRunLoopRunInMode
              300 CFRunLoopRunSpecific
                300 mach_msg_trap
                  300 mach_msg_trap
    300 Thread_1103
      300 _pthread_body
        300 forkThreadForFunction
          300 +[NSURLCache _diskCacheSyncLoop:]
            300 CFRunLoopRunInMode
              300 CFRunLoopRunSpecific
                300 mach_msg_trap
                  300 mach_msg_trap
    300 Thread_1203
      300 _pthread_body
        300 select
          300 select

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        600
        select        300
        read        298
Sample analysis of process 948 written to file /dev/stdout
Sampling process 948 each 10 msecs 300 times


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list