Bug 17281 - Hangups when loading web history
Summary: Hangups when loading web history
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (PowerPC) OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-02-10 07:29 PST by vap black
Modified: 2008-02-10 12:20 PST (History)
1 user (show)

See Also:


Attachments
Activity monitor output (57.00 KB, text/rtf)
2008-02-10 11:50 PST, vap black
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description vap black 2008-02-10 07:29:16 PST
if I go to history, and have a lot of pages(from a few days) I'll go into it and it will hang up and the ball will start rotating. It's pretty annoying, it's been going on since the implementation of safari 3.0

Powerbook g4
1ghz PPC
1.25 GB DDR SDRAM
10gb available HD Space
Comment 1 Mark Rowe (bdash) 2008-02-10 10:26:15 PST
When you get the spinning beachball, can you please take a sample of Safari so we can see what it is doing?  To do this, open Activity Monitor, and select Safari in the list.  As soon as the beachball appears, switch to Activity Monitor and click the "Sample Process" button.  Then attach the textual output ("Sample Text") to this bug report.  Be sure that you click "Sample Process" while the beachball is up or the information won't be useful.
Comment 2 vap black 2008-02-10 11:50:51 PST
Created attachment 19045 [details]
Activity monitor output

Analysis of sampling pid 800 every 10.000000 milliseconds
Call graph:
    69 Thread_0f0f
      69 0x22fc
        69 0x9bad4
          69 NSApplicationMain
            69 -[NSApplication run]
              69 0x95e0
                69 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                  69 _DPSNextEvent
                    69 _NSHandleCarbonMenuEvent
                      69 MenuSelect
                        69 MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*)
                          69 TrackMenuCommon(MenuSelectData&, unsigned char*)
                            69 CheckHItem(MenuSelectData*, unsigned char*)
                              69 CheckDragging(MenuSelectData*, unsigned char*)
                                69 IsUserStillTracking(MenuSelectData*, unsigned char*)
                                  69 AcquireNextEventInMode
                                    69 ReceiveNextEventCommon
                                      69 RunCurrentEventLoopInMode
                                        69 CFRunLoopRunSpecific
                                          69 __CFRunLoopRun
                                            69 __CFRunLoopDoSources0
                                              69 __CFRunLoopPerformPerform
                                                69 __NSFireMainThreadPerform
                                                  69 +[NSNotificationCenter(WebNSNotificationCenterExtras) _postNotificationName:]
                                                    69 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                      69 _CFXNotificationPostNotification
                                                        69 __CFXNotificationPost
                                                          69 _nsnote_callback
                                                            35 -[NSMenu itemChanged:]
                                                              35 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                                35 _CFXNotificationPostNotification
                                                                  35 __CFXNotificationPost
                                                                    35 _nsnote_callback
                                                                      35 AdjustCarbonMenuItem
                                                                        35 SetMenuItemIconHandle
                                                                          35 SetMenuItemIconHandle(MenuData*, unsigned short, unsigned char, char**)
                                                                            35 InvalidateMenuItems(MenuData*, unsigned short, unsigned long)
                                                                              35 HIMenuSetNeedsDisplay(MenuData*, unsigned short, unsigned long)
                                                                                35 CalcMenuSizeOnDevice(MenuData*, unsigned short, GDevice**, Rect const*, unsigned long)
                                                                                  35 SendEventToEventTargetWithOptions
                                                                                    35 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
                                                                                      35 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
                                                                                        35 MenuData::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
                                                                                          35 HandleCalculateMenuSize(OpaqueEventRef*)
                                                                                            35 _HIViewGetOptimalSize
                                                                                              35 HIView::GetOptimalSize(CGSize*, float*)
                                                                                                35 HIView::SendGetOptimalBounds(CGRect*, float*)
                                                                                                  35 HIStandardMenuView::GetOptimalSizeSelf(CGSize*, float*)
                                                                                                    26 HIStandardMenuView::GetItemWidth(float, TextLayout*)
                                                                                                      26 HIStandardMenuView::MeasureItemTextWidth(TextLayout*)
                                                                                                        26 HIThemeGetTextDimensions
                                                                                                          26 DataEngine::GetTextDimensions(__CFString const*, float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                            21 TCoreTextEngine::GetThemeTextDimensions(float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                              21 TCoreTextEngine::VerifyLayout(_HIThemeTextInfo*, float, float, LayoutIntent)
                                                                                                                21 TCoreTextEngine::Layout(_HIThemeTextInfo*, float, float, TextLayoutType)
                                                                                                                  21 TCoreTextEngine::LayoutSingleLine(_HIThemeTextInfo*, float)
                                                                                                                    18 CTLineCreateWithAttributedString
                                                                                                                      16 TTypesetterAttrString::TTypesetterAttrString[unified](__CFAttributedString const*)
                                                                                                                        9 TTypesetter::FinishEncoding(TLine&, unsigned char) const
                                                                                                                          9 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                            9 TAATMorphTable::ShapeGlyphs()
                                                                                                                              9 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                9 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                  8 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    4 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    2 TAATMorphSubtableMorx::DoLigatureAction(unsigned short, TAATMorphSubtableMorx::MorxLigatureState*, TAATMorphActionResult&)
                                                                                                                                      2 TAATMorphSubtable::SetGlyphID(long, unsigned short)
                                                                                                                                        2 TStorageRange::UpdateAdvance(long, __CTFont const*)
                                                                                                                                          2 CTFontGetAdvancesForGlyphs
                                                                                                                                            2 TFont::GetAdvancesForGlyphs(unsigned short const*, CGSize*, long) const
                                                                                                                                              2 GCGetGlyphIdealMetrics
                                                                                                                                                2 _eGCGetGlyphIdealMetrics
                                                                                                                                                  2 OldGlyphsCacheRun(TStrike*, int, unsigned long, unsigned short const*, void (*)(unsigned long, unsigned short const*, unsigned long, unsigned char* const*, void const*), void*)
                                                                                                                                                    1 ReleaseGlyphVectorLock
                                                                                                                                                      1 TSReaderToWriter
                                                                                                                                                        1 TSUnlockMutex
                                                                                                                                                          1 TSUnlockMutex
                                                                                                                                                    1 _eGetGlyphVectorIndex
                                                                                                                                                      1 TSReaderToWriter
                                                                                                                                                        1 TSLockMutex
                                                                                                                                                          1 pthread_mutex_lock
                                                                                                                                                            1 pthread_mutex_lock
                                                                                                                                    2 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                      2 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                  1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                    1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                        6 TGlyphEncoder::EncodeChars(CFRange, __CFDictionary const*)
                                                                                                                          4 TASCIIEncoder::Encode()
                                                                                                                            4 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                              2 TAATMorphTable::ShapeGlyphs()
                                                                                                                                2 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                  1 TAATMorphSubtable::ProcessTableDescending(TAATMorphActionResult&)
                                                                                                                                    1 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                  1 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                              2 TAATMorphTableMorx::TAATMorphTableMorx[unified](TRun&, TGlyphList<TAATDeletedGlyphIndex>&, bool)
                                                                                                                                2 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                                  1 CFDictionaryGetValue
                                                                                                                                    1 __CFDictionaryFindBuckets1b
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                                  1 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                          2 TRun::TRun[in-charge](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                            1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                              1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                            1 TRun::TRun[unified](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                              1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                                1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                        1 TNativeGlyphStorage::TNativeGlyphStorage[unified](long)
                                                                                                                          1 TNativeGlyphStorage::ExpandGlyphs(long)
                                                                                                                            1 calloc
                                                                                                                              1 szone_calloc
                                                                                                                                1 szone_calloc
                                                                                                                      1 TTypesetter::FillLine(TLine&) const
                                                                                                                        1 TLine::operator=(TLine const&)
                                                                                                                          1 TLine::operator=(TLine const&)
                                                                                                                      1 _CFRuntimeCreateInstance
                                                                                                                        1 _CFRuntimeCreateInstance
                                                                                                                    1 _CFRelease
                                                                                                                      1 _CFRelease
                                                                                                                    1 _CFRuntimeCreateInstance
                                                                                                                      1 _CFRuntimeCreateInstance
                                                                                                                    1 dyld_stub_CTLineGetTypographicBounds
                                                                                                                      1 dyld_stub_CTLineGetTypographicBounds
                                                                                                            5 TThemeTextCache::Create(__CFString const*, _HIThemeTextInfo const*)
                                                                                                              5 TCoreTextEngine::Init(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                2 TCoreTextEngine::CreateThemeTextAttributedString(__CFString const*)
                                                                                                                  2 CFAttributedStringCreate
                                                                                                                    1 CFDictionaryCreateMutableCopy
                                                                                                                      1 CFDictionaryCreateMutableCopy
                                                                                                                    1 CFRelease
                                                                                                                      1 CFRelease
                                                                                                                2 TCoreTextEngine::InvalidateLayout()
                                                                                                                  2 TLayoutInfo::Clear()
                                                                                                                    1 TCoreTextLineInfo::~TCoreTextLineInfo [unified]()
                                                                                                                      1 _CFRelease
                                                                                                                        1 TCFBase<TLine>::ClassDestruct(void const*)
                                                                                                                          1 TLine::~TLine [unified]()
                                                                                                                            1 _CFRelease
                                                                                                                              1 TCFBase<TRun>::ClassDestruct(void const*)
                                                                                                                                1 CTRun::Destruct(void*)
                                                                                                                                  1 szone_free
                                                                                                                                    1 szone_free
                                                                                                                    1 operator delete(void*)
                                                                                                                      1 szone_free
                                                                                                                        1 szone_free
                                                                                                                1 TCoreTextEngine::Invalidate()
                                                                                                                  1 TThemeText::Invalidate()
                                                                                                                    1 ThemeFontReleaseMetaFont(TThemeFont*)
                                                                                                                      1 ThemeFontReleaseMetaFont(TThemeFont*)
                                                                                                    3 HIStandardMenuView::FetchItemCache(unsigned short)
                                                                                                      3 CopyMenuItemData(MenuData*, unsigned short, unsigned char, MenuItemDataRec*)
                                                                                                        3 MenuElement::ResolveAndGetData(long, __CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                          3 RowStore::GetData(long, __CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                            2 MenuElementRow::GetData(__CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                              2 MenuElementData::Get(unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                                1 MenuElementData::Get(unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                                1 __memcpy
                                                                                                                  1 __memcpy
                                                                                                            1 RowStore::GetData(long, __CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                    2 HIStandardMenuView::FreeLayout(ItemLayout*&, unsigned long)
                                                                                                      1 CFRelease
                                                                                                        1 CFRelease
                                                                                                      1 dyld_stub_CFRelease
                                                                                                        1 dyld_stub_CFRelease
                                                                                                    2 HIStandardMenuView::ReleaseItemCache()
                                                                                                      2 _CFRelease
                                                                                                        2 _CFRelease
                                                                                                    1 HIStandardMenuView::GetItemHeight(float*, float*, unsigned char*)
                                                                                                      1 HIStandardMenuView::GetItemHeight(float*, float*, unsigned char*)
                                                                                                    1 _CheckForMenuCancelEvent2
                                                                                                      1 GetCurrentEventTime
                                                                                                        1 Microseconds
                                                                                                          1 UpTime
                                                                                                            1 __mach_absolute_time
                                                                                                              1 __mach_absolute_time
                                                            32 0xf51d8
                                                              32 -[NSMenu itemChanged:]
                                                                31 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                                  31 _CFXNotificationPostNotification
                                                                    31 __CFXNotificationPost
                                                                      31 _nsnote_callback
                                                                        31 AdjustCarbonMenuItem
                                                                          31 SetMenuItemIconHandle
                                                                            31 SetMenuItemIconHandle(MenuData*, unsigned short, unsigned char, char**)
                                                                              31 InvalidateMenuItems(MenuData*, unsigned short, unsigned long)
                                                                                31 HIMenuSetNeedsDisplay(MenuData*, unsigned short, unsigned long)
                                                                                  31 CalcMenuSizeOnDevice(MenuData*, unsigned short, GDevice**, Rect const*, unsigned long)
                                                                                    31 SendEventToEventTargetWithOptions
                                                                                      31 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
                                                                                        31 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
                                                                                          31 MenuData::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
                                                                                            31 HandleCalculateMenuSize(OpaqueEventRef*)
                                                                                              31 _HIViewGetOptimalSize
                                                                                                31 HIView::GetOptimalSize(CGSize*, float*)
                                                                                                  31 HIView::SendGetOptimalBounds(CGRect*, float*)
                                                                                                    31 HIStandardMenuView::GetOptimalSizeSelf(CGSize*, float*)
                                                                                                      31 HIStandardMenuView::GetItemWidth(float, TextLayout*)
                                                                                                        30 HIStandardMenuView::MeasureItemTextWidth(TextLayout*)
                                                                                                          30 HIThemeGetTextDimensions
                                                                                                            30 DataEngine::GetTextDimensions(__CFString const*, float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                              20 TCoreTextEngine::GetThemeTextDimensions(float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                                20 TCoreTextEngine::VerifyLayout(_HIThemeTextInfo*, float, float, LayoutIntent)
                                                                                                                  20 TCoreTextEngine::Layout(_HIThemeTextInfo*, float, float, TextLayoutType)
                                                                                                                    20 TCoreTextEngine::LayoutSingleLine(_HIThemeTextInfo*, float)
                                                                                                                      19 CTLineCreateWithAttributedString
                                                                                                                        18 TTypesetterAttrString::TTypesetterAttrString[unified](__CFAttributedString const*)
                                                                                                                          9 TGlyphEncoder::EncodeChars(CFRange, __CFDictionary const*)
                                                                                                                            6 TASCIIEncoder::Encode()
                                                                                                                              6 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                                3 TAATMorphTable::ShapeGlyphs()
                                                                                                                                  2 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                    2 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtable::SetShapingProperty(long)
                                                                                                                                          1 TAATMorphSubtable::SetShapingProperty(long)
                                                                                                                                      1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoLigatureAction(unsigned short, TAATMorphSubtableMorx::MorxLigatureState*, TAATMorphActionResult&)
                                                                                                                                          1 TAATMorphSubtable::DeleteGlyph(long)
                                                                                                                                            1 TGlyphList<TAATDeletedGlyphIndex>::FindEntry(long)
                                                                                                                                              1 TGlyphList<TAATDeletedGlyphIndex>::FindEntry(long)
                                                                                                                                  1 TAATMorphChain::ResolveFlags(__CFArray const*)
                                                                                                                                    1 TAATMorphChain::ResolveFlags(__CFArray const*)
                                                                                                                                3 TAATMorphTableMorx::TAATMorphTableMorx[unified](TRun&, TGlyphList<TAATDeletedGlyphIndex>&, bool)
                                                                                                                                  3 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                                    2 CFDictionaryGetValue
                                                                                                                                      1 CFDictionaryGetValue
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                                        1 __CFDictionaryFindBuckets1b
                                                                                                                                    1 _CFRetain
                                                                                                                                      1 dyld_stub_OSSpinLockUnlock
                                                                                                                                        1 dyld_stub_OSSpinLockUnlock
                                                                                                                            2 TGlyphEncoder::RunUnicodeEncoder(CTRun*, CFRange, TGlyphList<TAATDeletedGlyphIndex>&, TFontCascade const&)
                                                                                                                              2 TUnicodeEncoder::Encode(CFRange)
                                                                                                                                2 TUnicodeEncoder::EncodePortion(long, unsigned short const*, long, __CTFont const*)
                                                                                                                                  1 CTFontGetAdvancesForGlyphs
                                                                                                                                    1 TFont::GetAdvancesForGlyphs(unsigned short const*, CGSize*, long) const
                                                                                                                                      1 GCGetGlyphIdealMetrics
                                                                                                                                        1 _eGCGetGlyphIdealMetrics
                                                                                                                                          1 OldGlyphsCacheRun(TStrike*, int, unsigned long, unsigned short const*, void (*)(unsigned long, unsigned short const*, unsigned long, unsigned char* const*, void const*), void*)
                                                                                                                                            1 OldGlyphsCacheRun(TStrike*, int, unsigned long, unsigned short const*, void (*)(unsigned long, unsigned short const*, unsigned long, unsigned char* const*, void const*), void*)
                                                                                                                                  1 CTFontGetAnyGlyphsForCharacters(__CTFont const*, unsigned short const*, unsigned short*, long)
                                                                                                                                    1 TPhysicalDescriptor::GetGlyphsForCharacters(unsigned short const*, unsigned short*, long) const
                                                                                                                                      1 TcmapTable::TcmapTable[unified](TActiveFont const&)
                                                                                                                                        1 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                                          1 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                            1 TRun::TRun[in-charge](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                              1 TRun::TRun[unified](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                                1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                                  1 CFDictionaryGetValue
                                                                                                                                    1 __CFDictionaryFindBuckets1b
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                          6 TTypesetter::FinishEncoding(TLine&, unsigned char) const
                                                                                                                            6 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                              6 TAATMorphTable::ShapeGlyphs()
                                                                                                                                5 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                  3 TAATMorphSubtable::ProcessTableDescending(TAATMorphActionResult&)
                                                                                                                                    3 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      2 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                          1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                      1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                  2 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    2 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      2 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                1 TAATMorphChain::ResolveFlags(__CFArray const*)
                                                                                                                                  1 TAttributes::GetLigatureSetting() const
                                                                                                                                    1 CFDictionaryGetValue
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                                        1 __CFDictionaryFindBuckets1b
                                                                                                                          2 TNativeGlyphStorage::TNativeGlyphStorage[unified](long)
                                                                                                                            2 TNativeGlyphStorage::ExpandGlyphs(long)
                                                                                                                              2 calloc
                                                                                                                                2 szone_calloc
                                                                                                                                  1 __bzero
                                                                                                                                    1 __bzero
                                                                                                                                  1 szone_calloc
                                                                                                                          1 CFRunArrayGetValueAtIndex
                                                                                                                            1 blockForLocation
                                                                                                                              1 blockForLocation
                                                                                                                        1 TLine::TLine[unified]()
                                                                                                                          1 TLine::TLine[unified]()
                                                                                                                      1 TTypesetter::FillLine(TLine&) const
                                                                                                                        1 TTypesetter::FillLine(TLine&) const
                                                                                                              10 TThemeTextCache::Create(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                8 TCoreTextEngine::Init(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                  4 TCoreTextEngine::InvalidateLayout()
                                                                                                                    4 TLayoutInfo::Clear()
                                                                                                                      4 TCoreTextLineInfo::~TCoreTextLineInfo [unified]()
                                                                                                                        4 _CFRelease
                                                                                                                          4 TCFBase<TLine>::ClassDestruct(void const*)
                                                                                                                            4 TLine::~TLine [unified]()
                                                                                                                              4 _CFRelease
                                                                                                                                4 TCFBase<TRun>::ClassDestruct(void const*)
                                                                                                                                  4 CTRun::Destruct(void*)
                                                                                                                                    4 _CFRelease
                                                                                                                                      3 __CFDictionaryDeallocate
                                                                                                                                        2 CFRelease
                                                                                                                                          2 CFRelease
                                                                                                                                        1 __CFDictionaryDeallocate
                                                                                                                                      1 szone_free
                                                                                                                                        1 szone_free
                                                                                                                  2 TCoreTextEngine::CreateThemeTextAttributedString(__CFString const*)
                                                                                                                    2 CFAttributedStringCreate
                                                                                                                      1 CFDictionaryCreateMutableCopy
                                                                                                                        1 __CFDictionaryInit
                                                                                                                          1 __CFDictionaryInit
                                                                                                                      1 _CFRuntimeCreateInstance
                                                                                                                        1 _CFRuntimeCreateInstance
                                                                                                                  1 TCoreTextEngine::Invalidate()
                                                                                                                    1 _CFRelease
                                                                                                                      1 szone_free
                                                                                                                        1 szone_free
                                                                                                                  1 TThemeText::Init(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                    1 TThemeText::ConstructThemeFontWithFontID(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                      1 ThemeFontCreate(_HIThemeTextInfo const*)
                                                                                                                        1 ThemeFontCreateFromStandardMetaFontID(_HIThemeTextInfo const*)
                                                                                                                          1 TThemeFont::IsCompatible(_HIThemeTextInfo const*) const
                                                                                                                            1 TThemeFont::GetFontSizeFromTextInfo(_HIThemeTextInfo const*) const
                                                                                                                              1 CoreAppearanceGetFontSize
                                                                                                                                1 GetMatchingFontTableEntry(unsigned short, unsigned long)
                                                                                                                                  1 dyld_stub_GetTextEncodingBase
                                                                                                                                    1 dyld_stub_GetTextEncodingBase
                                                                                                                1 CFDictionaryGetValue
                                                                                                                  1 __CFDictionaryFindBuckets1b
                                                                                                                    1 __CFDictionaryFindBuckets1b
                                                                                                                1 TThemeText::IsCompatible(_HIThemeTextInfo const*)
                                                                                                                  1 TThemeFont::IsCompatible(_HIThemeTextInfo const*) const
                                                                                                                    1 CoreAppearanceGetFontSize
                                                                                                                      1 GetMatchingFontTableEntry(unsigned short, unsigned long)
                                                                                                                        1 GetMatchingFontTableEntry(unsigned short, unsigned long)
                                                                                                        1 HIStandardMenuView::GetItemWidth(float, TextLayout*)
                                                                1 objc_msgSend_rtp
                                                                  1 objc_msgSend_rtp
                                                            2 0xf51c0
                                                              2 -[WebIconDatabase iconForURL:withSize:cache:]
                                                                2 webGetNSImage(WebCore::Image*, _NSSize)
                                                                  2 WebCore::BitmapImage::getNSImage()
                                                                    1 -[NSImage initWithData:]
                                                                      1 +[NSBitmapImageRep imageRepsWithData:]
                                                                        1 +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:]
                                                                          1 CGImageSourceGetPropertiesAtIndex
                                                                            1 makeImagePlus
                                                                              1 initImageTIFF
                                                                                1 _cg_TIFFSetDirectory
                                                                                  1 TIFFReadDirectory
                                                                                    1 TIFFDefaultDirectory
                                                                                      1 dyld_stub_memset
                                                                                        1 dyld_stub_memset
                                                                    1 WebCore::BitmapImage::getTIFFRepresentation()
                                                                      1 CGImageDestinationAddImage
                                                                        1 CGImageCreateConforming
                                                                          1 CGImageGetAlphaInfo
                                                                            1 CGImageGetAlphaInfo
    69 Thread_1003
      69 _pthread_body
        69 WebCore::IconDatabase::iconDatabaseSyncThread()
          69 WebCore::IconDatabase::syncThreadMainLoop()
            69 pthread_cond_wait
              69 semaphore_wait_signal_trap
                69 semaphore_wait_signal_trap
    69 Thread_1103
      69 _pthread_body
        69 forkThreadForFunction
          69 +[NSURLCache _diskCacheSyncLoop:]
            69 CFRunLoopRunSpecific
              69 __CFRunLoopRun
                69 mach_msg
                  69 mach_msg_trap
                    69 mach_msg_trap
    69 Thread_1203
      69 _pthread_body
        69 forkThreadForFunction
          69 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            69 CFRunLoopRunSpecific
              69 __CFRunLoopRun
                69 mach_msg
                  69 mach_msg_trap
                    69 mach_msg_trap
    69 Thread_1303
      69 _pthread_body
        69 forkThreadForFunction
          69 -[AsyncDB _run:]
            69 -[NSConditionLock lockWhenCondition:]
              69 pthread_cond_wait
                69 semaphore_wait_signal_trap
                  69 semaphore_wait_signal_trap
    69 Thread_1403
      69 _pthread_body
        69 __CFSocketManager
          69 select
            69 select

Total number in stack (recursive counted multiple, when >=5):
        8       _CFRelease
        6       TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
        5       CFDictionaryGetValue
        5       TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
        5       __CFDictionaryFindBuckets1b
        5       _pthread_body

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        138
        semaphore_wait_signal_trap        138
        select        69
        TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)        8
        __CFDictionaryFindBuckets1b        5
Sample analysis of process 800 written to file /dev/stdout
Sampling process 800 each 10 msecs 100 times
Comment 3 vap black 2008-02-10 11:51:52 PST
Comment on attachment 19045 [details]
Activity monitor output

Analysis of sampling pid 800 every 10.000000 milliseconds
Call graph:
    69 Thread_0f0f
      69 0x22fc
        69 0x9bad4
          69 NSApplicationMain
            69 -[NSApplication run]
              69 0x95e0
                69 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                  69 _DPSNextEvent
                    69 _NSHandleCarbonMenuEvent
                      69 MenuSelect
                        69 MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*)
                          69 TrackMenuCommon(MenuSelectData&, unsigned char*)
                            69 CheckHItem(MenuSelectData*, unsigned char*)
                              69 CheckDragging(MenuSelectData*, unsigned char*)
                                69 IsUserStillTracking(MenuSelectData*, unsigned char*)
                                  69 AcquireNextEventInMode
                                    69 ReceiveNextEventCommon
                                      69 RunCurrentEventLoopInMode
                                        69 CFRunLoopRunSpecific
                                          69 __CFRunLoopRun
                                            69 __CFRunLoopDoSources0
                                              69 __CFRunLoopPerformPerform
                                                69 __NSFireMainThreadPerform
                                                  69 +[NSNotificationCenter(WebNSNotificationCenterExtras) _postNotificationName:]
                                                    69 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                      69 _CFXNotificationPostNotification
                                                        69 __CFXNotificationPost
                                                          69 _nsnote_callback
                                                            35 -[NSMenu itemChanged:]
                                                              35 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                                35 _CFXNotificationPostNotification
                                                                  35 __CFXNotificationPost
                                                                    35 _nsnote_callback
                                                                      35 AdjustCarbonMenuItem
                                                                        35 SetMenuItemIconHandle
                                                                          35 SetMenuItemIconHandle(MenuData*, unsigned short, unsigned char, char**)
                                                                            35 InvalidateMenuItems(MenuData*, unsigned short, unsigned long)
                                                                              35 HIMenuSetNeedsDisplay(MenuData*, unsigned short, unsigned long)
                                                                                35 CalcMenuSizeOnDevice(MenuData*, unsigned short, GDevice**, Rect const*, unsigned long)
                                                                                  35 SendEventToEventTargetWithOptions
                                                                                    35 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
                                                                                      35 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
                                                                                        35 MenuData::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
                                                                                          35 HandleCalculateMenuSize(OpaqueEventRef*)
                                                                                            35 _HIViewGetOptimalSize
                                                                                              35 HIView::GetOptimalSize(CGSize*, float*)
                                                                                                35 HIView::SendGetOptimalBounds(CGRect*, float*)
                                                                                                  35 HIStandardMenuView::GetOptimalSizeSelf(CGSize*, float*)
                                                                                                    26 HIStandardMenuView::GetItemWidth(float, TextLayout*)
                                                                                                      26 HIStandardMenuView::MeasureItemTextWidth(TextLayout*)
                                                                                                        26 HIThemeGetTextDimensions
                                                                                                          26 DataEngine::GetTextDimensions(__CFString const*, float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                            21 TCoreTextEngine::GetThemeTextDimensions(float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                              21 TCoreTextEngine::VerifyLayout(_HIThemeTextInfo*, float, float, LayoutIntent)
                                                                                                                21 TCoreTextEngine::Layout(_HIThemeTextInfo*, float, float, TextLayoutType)
                                                                                                                  21 TCoreTextEngine::LayoutSingleLine(_HIThemeTextInfo*, float)
                                                                                                                    18 CTLineCreateWithAttributedString
                                                                                                                      16 TTypesetterAttrString::TTypesetterAttrString[unified](__CFAttributedString const*)
                                                                                                                        9 TTypesetter::FinishEncoding(TLine&, unsigned char) const
                                                                                                                          9 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                            9 TAATMorphTable::ShapeGlyphs()
                                                                                                                              9 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                9 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                  8 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    4 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    2 TAATMorphSubtableMorx::DoLigatureAction(unsigned short, TAATMorphSubtableMorx::MorxLigatureState*, TAATMorphActionResult&)
                                                                                                                                      2 TAATMorphSubtable::SetGlyphID(long, unsigned short)
                                                                                                                                        2 TStorageRange::UpdateAdvance(long, __CTFont const*)
                                                                                                                                          2 CTFontGetAdvancesForGlyphs
                                                                                                                                            2 TFont::GetAdvancesForGlyphs(unsigned short const*, CGSize*, long) const
                                                                                                                                              2 GCGetGlyphIdealMetrics
                                                                                                                                                2 _eGCGetGlyphIdealMetrics
                                                                                                                                                  2 OldGlyphsCacheRun(TStrike*, int, unsigned long, unsigned short const*, void (*)(unsigned long, unsigned short const*, unsigned long, unsigned char* const*, void const*), void*)
                                                                                                                                                    1 ReleaseGlyphVectorLock
                                                                                                                                                      1 TSReaderToWriter
                                                                                                                                                        1 TSUnlockMutex
                                                                                                                                                          1 TSUnlockMutex
                                                                                                                                                    1 _eGetGlyphVectorIndex
                                                                                                                                                      1 TSReaderToWriter
                                                                                                                                                        1 TSLockMutex
                                                                                                                                                          1 pthread_mutex_lock
                                                                                                                                                            1 pthread_mutex_lock
                                                                                                                                    2 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                      2 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                  1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                    1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                        6 TGlyphEncoder::EncodeChars(CFRange, __CFDictionary const*)
                                                                                                                          4 TASCIIEncoder::Encode()
                                                                                                                            4 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                              2 TAATMorphTable::ShapeGlyphs()
                                                                                                                                2 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                  1 TAATMorphSubtable::ProcessTableDescending(TAATMorphActionResult&)
                                                                                                                                    1 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                  1 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                              2 TAATMorphTableMorx::TAATMorphTableMorx[unified](TRun&, TGlyphList<TAATDeletedGlyphIndex>&, bool)
                                                                                                                                2 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                                  1 CFDictionaryGetValue
                                                                                                                                    1 __CFDictionaryFindBuckets1b
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                                  1 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                          2 TRun::TRun[in-charge](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                            1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                              1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                            1 TRun::TRun[unified](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                              1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                                1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                        1 TNativeGlyphStorage::TNativeGlyphStorage[unified](long)
                                                                                                                          1 TNativeGlyphStorage::ExpandGlyphs(long)
                                                                                                                            1 calloc
                                                                                                                              1 szone_calloc
                                                                                                                                1 szone_calloc
                                                                                                                      1 TTypesetter::FillLine(TLine&) const
                                                                                                                        1 TLine::operator=(TLine const&)
                                                                                                                          1 TLine::operator=(TLine const&)
                                                                                                                      1 _CFRuntimeCreateInstance
                                                                                                                        1 _CFRuntimeCreateInstance
                                                                                                                    1 _CFRelease
                                                                                                                      1 _CFRelease
                                                                                                                    1 _CFRuntimeCreateInstance
                                                                                                                      1 _CFRuntimeCreateInstance
                                                                                                                    1 dyld_stub_CTLineGetTypographicBounds
                                                                                                                      1 dyld_stub_CTLineGetTypographicBounds
                                                                                                            5 TThemeTextCache::Create(__CFString const*, _HIThemeTextInfo const*)
                                                                                                              5 TCoreTextEngine::Init(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                2 TCoreTextEngine::CreateThemeTextAttributedString(__CFString const*)
                                                                                                                  2 CFAttributedStringCreate
                                                                                                                    1 CFDictionaryCreateMutableCopy
                                                                                                                      1 CFDictionaryCreateMutableCopy
                                                                                                                    1 CFRelease
                                                                                                                      1 CFRelease
                                                                                                                2 TCoreTextEngine::InvalidateLayout()
                                                                                                                  2 TLayoutInfo::Clear()
                                                                                                                    1 TCoreTextLineInfo::~TCoreTextLineInfo [unified]()
                                                                                                                      1 _CFRelease
                                                                                                                        1 TCFBase<TLine>::ClassDestruct(void const*)
                                                                                                                          1 TLine::~TLine [unified]()
                                                                                                                            1 _CFRelease
                                                                                                                              1 TCFBase<TRun>::ClassDestruct(void const*)
                                                                                                                                1 CTRun::Destruct(void*)
                                                                                                                                  1 szone_free
                                                                                                                                    1 szone_free
                                                                                                                    1 operator delete(void*)
                                                                                                                      1 szone_free
                                                                                                                        1 szone_free
                                                                                                                1 TCoreTextEngine::Invalidate()
                                                                                                                  1 TThemeText::Invalidate()
                                                                                                                    1 ThemeFontReleaseMetaFont(TThemeFont*)
                                                                                                                      1 ThemeFontReleaseMetaFont(TThemeFont*)
                                                                                                    3 HIStandardMenuView::FetchItemCache(unsigned short)
                                                                                                      3 CopyMenuItemData(MenuData*, unsigned short, unsigned char, MenuItemDataRec*)
                                                                                                        3 MenuElement::ResolveAndGetData(long, __CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                          3 RowStore::GetData(long, __CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                            2 MenuElementRow::GetData(__CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                              2 MenuElementData::Get(unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                                1 MenuElementData::Get(unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                                1 __memcpy
                                                                                                                  1 __memcpy
                                                                                                            1 RowStore::GetData(long, __CFString const*, unsigned long, unsigned long*, unsigned long, unsigned long*, void*)
                                                                                                    2 HIStandardMenuView::FreeLayout(ItemLayout*&, unsigned long)
                                                                                                      1 CFRelease
                                                                                                        1 CFRelease
                                                                                                      1 dyld_stub_CFRelease
                                                                                                        1 dyld_stub_CFRelease
                                                                                                    2 HIStandardMenuView::ReleaseItemCache()
                                                                                                      2 _CFRelease
                                                                                                        2 _CFRelease
                                                                                                    1 HIStandardMenuView::GetItemHeight(float*, float*, unsigned char*)
                                                                                                      1 HIStandardMenuView::GetItemHeight(float*, float*, unsigned char*)
                                                                                                    1 _CheckForMenuCancelEvent2
                                                                                                      1 GetCurrentEventTime
                                                                                                        1 Microseconds
                                                                                                          1 UpTime
                                                                                                            1 __mach_absolute_time
                                                                                                              1 __mach_absolute_time
                                                            32 0xf51d8
                                                              32 -[NSMenu itemChanged:]
                                                                31 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                                  31 _CFXNotificationPostNotification
                                                                    31 __CFXNotificationPost
                                                                      31 _nsnote_callback
                                                                        31 AdjustCarbonMenuItem
                                                                          31 SetMenuItemIconHandle
                                                                            31 SetMenuItemIconHandle(MenuData*, unsigned short, unsigned char, char**)
                                                                              31 InvalidateMenuItems(MenuData*, unsigned short, unsigned long)
                                                                                31 HIMenuSetNeedsDisplay(MenuData*, unsigned short, unsigned long)
                                                                                  31 CalcMenuSizeOnDevice(MenuData*, unsigned short, GDevice**, Rect const*, unsigned long)
                                                                                    31 SendEventToEventTargetWithOptions
                                                                                      31 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
                                                                                        31 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
                                                                                          31 MenuData::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
                                                                                            31 HandleCalculateMenuSize(OpaqueEventRef*)
                                                                                              31 _HIViewGetOptimalSize
                                                                                                31 HIView::GetOptimalSize(CGSize*, float*)
                                                                                                  31 HIView::SendGetOptimalBounds(CGRect*, float*)
                                                                                                    31 HIStandardMenuView::GetOptimalSizeSelf(CGSize*, float*)
                                                                                                      31 HIStandardMenuView::GetItemWidth(float, TextLayout*)
                                                                                                        30 HIStandardMenuView::MeasureItemTextWidth(TextLayout*)
                                                                                                          30 HIThemeGetTextDimensions
                                                                                                            30 DataEngine::GetTextDimensions(__CFString const*, float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                              20 TCoreTextEngine::GetThemeTextDimensions(float, _HIThemeTextInfo*, float*, float*, float*)
                                                                                                                20 TCoreTextEngine::VerifyLayout(_HIThemeTextInfo*, float, float, LayoutIntent)
                                                                                                                  20 TCoreTextEngine::Layout(_HIThemeTextInfo*, float, float, TextLayoutType)
                                                                                                                    20 TCoreTextEngine::LayoutSingleLine(_HIThemeTextInfo*, float)
                                                                                                                      19 CTLineCreateWithAttributedString
                                                                                                                        18 TTypesetterAttrString::TTypesetterAttrString[unified](__CFAttributedString const*)
                                                                                                                          9 TGlyphEncoder::EncodeChars(CFRange, __CFDictionary const*)
                                                                                                                            6 TASCIIEncoder::Encode()
                                                                                                                              6 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                                3 TAATMorphTable::ShapeGlyphs()
                                                                                                                                  2 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                    2 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtable::SetShapingProperty(long)
                                                                                                                                          1 TAATMorphSubtable::SetShapingProperty(long)
                                                                                                                                      1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoLigatureAction(unsigned short, TAATMorphSubtableMorx::MorxLigatureState*, TAATMorphActionResult&)
                                                                                                                                          1 TAATMorphSubtable::DeleteGlyph(long)
                                                                                                                                            1 TGlyphList<TAATDeletedGlyphIndex>::FindEntry(long)
                                                                                                                                              1 TGlyphList<TAATDeletedGlyphIndex>::FindEntry(long)
                                                                                                                                  1 TAATMorphChain::ResolveFlags(__CFArray const*)
                                                                                                                                    1 TAATMorphChain::ResolveFlags(__CFArray const*)
                                                                                                                                3 TAATMorphTableMorx::TAATMorphTableMorx[unified](TRun&, TGlyphList<TAATDeletedGlyphIndex>&, bool)
                                                                                                                                  3 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                                    2 CFDictionaryGetValue
                                                                                                                                      1 CFDictionaryGetValue
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                                        1 __CFDictionaryFindBuckets1b
                                                                                                                                    1 _CFRetain
                                                                                                                                      1 dyld_stub_OSSpinLockUnlock
                                                                                                                                        1 dyld_stub_OSSpinLockUnlock
                                                                                                                            2 TGlyphEncoder::RunUnicodeEncoder(CTRun*, CFRange, TGlyphList<TAATDeletedGlyphIndex>&, TFontCascade const&)
                                                                                                                              2 TUnicodeEncoder::Encode(CFRange)
                                                                                                                                2 TUnicodeEncoder::EncodePortion(long, unsigned short const*, long, __CTFont const*)
                                                                                                                                  1 CTFontGetAdvancesForGlyphs
                                                                                                                                    1 TFont::GetAdvancesForGlyphs(unsigned short const*, CGSize*, long) const
                                                                                                                                      1 GCGetGlyphIdealMetrics
                                                                                                                                        1 _eGCGetGlyphIdealMetrics
                                                                                                                                          1 OldGlyphsCacheRun(TStrike*, int, unsigned long, unsigned short const*, void (*)(unsigned long, unsigned short const*, unsigned long, unsigned char* const*, void const*), void*)
                                                                                                                                            1 OldGlyphsCacheRun(TStrike*, int, unsigned long, unsigned short const*, void (*)(unsigned long, unsigned short const*, unsigned long, unsigned char* const*, void const*), void*)
                                                                                                                                  1 CTFontGetAnyGlyphsForCharacters(__CTFont const*, unsigned short const*, unsigned short*, long)
                                                                                                                                    1 TPhysicalDescriptor::GetGlyphsForCharacters(unsigned short const*, unsigned short*, long) const
                                                                                                                                      1 TcmapTable::TcmapTable[unified](TActiveFont const&)
                                                                                                                                        1 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                                          1 TPhysicalDescriptor::CopyTable(__CFString const*) const
                                                                                                                            1 TRun::TRun[in-charge](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                              1 TRun::TRun[unified](TCFBase<TGlyphStorage>*, CFRange, __CFDictionary const*)
                                                                                                                                1 TAttributes::TAttributes[unified](__CFDictionary const*)
                                                                                                                                  1 CFDictionaryGetValue
                                                                                                                                    1 __CFDictionaryFindBuckets1b
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                          6 TTypesetter::FinishEncoding(TLine&, unsigned char) const
                                                                                                                            6 TShapingEngine::ShapeGlyphs(TRun&, bool)
                                                                                                                              6 TAATMorphTable::ShapeGlyphs()
                                                                                                                                5 TAATMorphSubtable::ProcessTable(bool, TAATMorphActionResult&)
                                                                                                                                  3 TAATMorphSubtable::ProcessTableDescending(TAATMorphActionResult&)
                                                                                                                                    3 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      2 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                          1 TAATMorphSubtableMorx::FetchClass(unsigned short)
                                                                                                                                      1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                        1 TAATMorphSubtableMorx::DoContextualSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                  2 TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                    2 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                      2 TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
                                                                                                                                1 TAATMorphChain::ResolveFlags(__CFArray const*)
                                                                                                                                  1 TAttributes::GetLigatureSetting() const
                                                                                                                                    1 CFDictionaryGetValue
                                                                                                                                      1 __CFDictionaryFindBuckets1b
                                                                                                                                        1 __CFDictionaryFindBuckets1b
                                                                                                                          2 TNativeGlyphStorage::TNativeGlyphStorage[unified](long)
                                                                                                                            2 TNativeGlyphStorage::ExpandGlyphs(long)
                                                                                                                              2 calloc
                                                                                                                                2 szone_calloc
                                                                                                                                  1 __bzero
                                                                                                                                    1 __bzero
                                                                                                                                  1 szone_calloc
                                                                                                                          1 CFRunArrayGetValueAtIndex
                                                                                                                            1 blockForLocation
                                                                                                                              1 blockForLocation
                                                                                                                        1 TLine::TLine[unified]()
                                                                                                                          1 TLine::TLine[unified]()
                                                                                                                      1 TTypesetter::FillLine(TLine&) const
                                                                                                                        1 TTypesetter::FillLine(TLine&) const
                                                                                                              10 TThemeTextCache::Create(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                8 TCoreTextEngine::Init(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                  4 TCoreTextEngine::InvalidateLayout()
                                                                                                                    4 TLayoutInfo::Clear()
                                                                                                                      4 TCoreTextLineInfo::~TCoreTextLineInfo [unified]()
                                                                                                                        4 _CFRelease
                                                                                                                          4 TCFBase<TLine>::ClassDestruct(void const*)
                                                                                                                            4 TLine::~TLine [unified]()
                                                                                                                              4 _CFRelease
                                                                                                                                4 TCFBase<TRun>::ClassDestruct(void const*)
                                                                                                                                  4 CTRun::Destruct(void*)
                                                                                                                                    4 _CFRelease
                                                                                                                                      3 __CFDictionaryDeallocate
                                                                                                                                        2 CFRelease
                                                                                                                                          2 CFRelease
                                                                                                                                        1 __CFDictionaryDeallocate
                                                                                                                                      1 szone_free
                                                                                                                                        1 szone_free
                                                                                                                  2 TCoreTextEngine::CreateThemeTextAttributedString(__CFString const*)
                                                                                                                    2 CFAttributedStringCreate
                                                                                                                      1 CFDictionaryCreateMutableCopy
                                                                                                                        1 __CFDictionaryInit
                                                                                                                          1 __CFDictionaryInit
                                                                                                                      1 _CFRuntimeCreateInstance
                                                                                                                        1 _CFRuntimeCreateInstance
                                                                                                                  1 TCoreTextEngine::Invalidate()
                                                                                                                    1 _CFRelease
                                                                                                                      1 szone_free
                                                                                                                        1 szone_free
                                                                                                                  1 TThemeText::Init(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                    1 TThemeText::ConstructThemeFontWithFontID(__CFString const*, _HIThemeTextInfo const*)
                                                                                                                      1 ThemeFontCreate(_HIThemeTextInfo const*)
                                                                                                                        1 ThemeFontCreateFromStandardMetaFontID(_HIThemeTextInfo const*)
                                                                                                                          1 TThemeFont::IsCompatible(_HIThemeTextInfo const*) const
                                                                                                                            1 TThemeFont::GetFontSizeFromTextInfo(_HIThemeTextInfo const*) const
                                                                                                                              1 CoreAppearanceGetFontSize
                                                                                                                                1 GetMatchingFontTableEntry(unsigned short, unsigned long)
                                                                                                                                  1 dyld_stub_GetTextEncodingBase
                                                                                                                                    1 dyld_stub_GetTextEncodingBase
                                                                                                                1 CFDictionaryGetValue
                                                                                                                  1 __CFDictionaryFindBuckets1b
                                                                                                                    1 __CFDictionaryFindBuckets1b
                                                                                                                1 TThemeText::IsCompatible(_HIThemeTextInfo const*)
                                                                                                                  1 TThemeFont::IsCompatible(_HIThemeTextInfo const*) const
                                                                                                                    1 CoreAppearanceGetFontSize
                                                                                                                      1 GetMatchingFontTableEntry(unsigned short, unsigned long)
                                                                                                                        1 GetMatchingFontTableEntry(unsigned short, unsigned long)
                                                                                                        1 HIStandardMenuView::GetItemWidth(float, TextLayout*)
                                                                1 objc_msgSend_rtp
                                                                  1 objc_msgSend_rtp
                                                            2 0xf51c0
                                                              2 -[WebIconDatabase iconForURL:withSize:cache:]
                                                                2 webGetNSImage(WebCore::Image*, _NSSize)
                                                                  2 WebCore::BitmapImage::getNSImage()
                                                                    1 -[NSImage initWithData:]
                                                                      1 +[NSBitmapImageRep imageRepsWithData:]
                                                                        1 +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:]
                                                                          1 CGImageSourceGetPropertiesAtIndex
                                                                            1 makeImagePlus
                                                                              1 initImageTIFF
                                                                                1 _cg_TIFFSetDirectory
                                                                                  1 TIFFReadDirectory
                                                                                    1 TIFFDefaultDirectory
                                                                                      1 dyld_stub_memset
                                                                                        1 dyld_stub_memset
                                                                    1 WebCore::BitmapImage::getTIFFRepresentation()
                                                                      1 CGImageDestinationAddImage
                                                                        1 CGImageCreateConforming
                                                                          1 CGImageGetAlphaInfo
                                                                            1 CGImageGetAlphaInfo
    69 Thread_1003
      69 _pthread_body
        69 WebCore::IconDatabase::iconDatabaseSyncThread()
          69 WebCore::IconDatabase::syncThreadMainLoop()
            69 pthread_cond_wait
              69 semaphore_wait_signal_trap
                69 semaphore_wait_signal_trap
    69 Thread_1103
      69 _pthread_body
        69 forkThreadForFunction
          69 +[NSURLCache _diskCacheSyncLoop:]
            69 CFRunLoopRunSpecific
              69 __CFRunLoopRun
                69 mach_msg
                  69 mach_msg_trap
                    69 mach_msg_trap
    69 Thread_1203
      69 _pthread_body
        69 forkThreadForFunction
          69 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            69 CFRunLoopRunSpecific
              69 __CFRunLoopRun
                69 mach_msg
                  69 mach_msg_trap
                    69 mach_msg_trap
    69 Thread_1303
      69 _pthread_body
        69 forkThreadForFunction
          69 -[AsyncDB _run:]
            69 -[NSConditionLock lockWhenCondition:]
              69 pthread_cond_wait
                69 semaphore_wait_signal_trap
                  69 semaphore_wait_signal_trap
    69 Thread_1403
      69 _pthread_body
        69 __CFSocketManager
          69 select
            69 select

Total number in stack (recursive counted multiple, when >=5):
        8       _CFRelease
        6       TAATMorphSubtableMorx::RunSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
        5       CFDictionaryGetValue
        5       TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)
        5       __CFDictionaryFindBuckets1b
        5       _pthread_body

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        138
        semaphore_wait_signal_trap        138
        select        69
        TAATMorphSubtableMorx::DoLigatureSubtable(CFRange, bool, unsigned short, TAATMorphActionResult&)        8
        __CFDictionaryFindBuckets1b        5
Sample analysis of process 800 written to file /dev/stdout
Sampling process 800 each 10 msecs 100 times
Comment 4 Mark Rowe (bdash) 2008-02-10 11:55:26 PST
To confirm, you're seeing this while clicking on the History menu in Safari and navigating through the submenus?
Comment 5 vap black 2008-02-10 12:02:05 PST
(In reply to comment #4)
> To confirm, you're seeing this while clicking on the History menu in Safari and
> navigating through the submenus?
> 

My bad pasting it twice, I didn't realize there was a comment system involved in this. 
So yea when I go load the history of a day when I may have looked at a lot of pages it hangs up.

Example: I go to history, drag the mouse down to Feb, 4 History, and when I open the submenu of Feb 4, the beach-ball starts spinning and I can't do anything for 3-7 seconds.
Comment 6 Mark Rowe (bdash) 2008-02-10 12:20:42 PST
Based on the "sample" output and the steps to reproduce the problem, this is a Safari issue rather than something in WebKit.  This is being tracked as <rdar://problem/5540416>.  Due to this being an issue outside WebKit, this bug report will be closed as INVALID as per our processes.