Page 1 of 1

help: slow?

Posted: Sun Jul 03, 2005 9:20 pm
by aliiien
Ever since I upgraded to 0.82, it's been the slowest-running program on my computer (1.5 ghz, 512 RAM, 80g PB - so it's not like I've got a slow Mac) :( I have no idea why; I didn't use Growl until recently (sounds would break like crazy, so I needed a no-audio notification option) and it's just insane how slow it is!

Helpppp :(

Posted: Sun Jul 03, 2005 9:29 pm
by Catfish_Man

Posted: Sun Jul 03, 2005 9:36 pm
by aliiien
2005-07-03 14:34:55.994 sample[28198] Couldn't start c++filt for C++ name demangling
Analysis of sampling pid 27815 every 10.000000 milliseconds
Call graph:
281 Thread_0e0b
281 start
281 _start
281 NSApplicationMain
281 -[NSApplication run]
281 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
281 _DPSNextEvent
281 BlockUntilNextEventMatchingListInMode
281 ReceiveNextEventCommon
281 RunCurrentEventLoopInMode
281 CFRunLoopRunSpecific
281 __CFRunLoopRun
181 mach_msg
181 mach_msg_trap
181 mach_msg_trap
93 __CFRunLoopDoSource1
93 __CFMachPortPerform
93 axServerMessageHandler
91 AccessibilityClientDefs_server
91 _XCopyAttributeValue
91 _AXXMIGCopyAttributeValue
91 CopyAttributeValue
91 NSAccessibilityAttributeValue
91 -[AIExceptionController raise]
91 NSExceptionHandlerExceptionRaiser
91 -[NSExceptionHandler _handleException:mask:]
91 -[AIExceptionController raise]
90 -[AIExceptionController decodedExceptionStackTrace]
90 fread
90 __srefill
90 _sread
90 read
90 read
1 NSLog
1 NSLog
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
7 __CFRunLoopDoObservers
7 _handleWindowNeedsDisplay
7 -[NSWindow displayIfNeeded]
7 -[NSView displayIfNeeded]
7 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
6 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSFrameView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
6 -[NSView _drawRect:clip:]
6 -[AIListOutlineView drawRect:]
6 -[AIAlternatingRowOutlineView drawRect:]
6 -[NSTableView drawRect:]
6 -[AIListOutlineView drawRow:clipRect:]
6 -[AIVariableHeightOutlineView drawRow:clipRect:]
6 -[AIListCell drawWithFrame:inView:]
6 -[AIListCell drawInteriorWithFrame:inView:]
6 -[AIListContactCell drawContentWithFrame:]
6 -[AIListCell drawDisplayNameWithFrame:]
4 -[NSAttributedString(NSStringDrawing) drawInRect:]
3 -[NSStringDrawingTextStorage drawTextContainer:inRect:onView:pinToTop:]
2 -[NSLayoutManager textContainerForGlyphAtIndex:effectiveRange:]
2 _NSFastFillAllLayoutHolesUpToEndOfContainerForGlyphIndex
2 -[NSLayoutManager(NSPrivate) _fillLayoutHoleAtIndex:desiredNumberOfLines:]
2 -[NSATSTypesetter layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:]
1 -[NSATSTypesetter layoutParagraphAtPoint:]
1 -[NSATSTypesetter _beginLayout:]
1 LLCLayoutText
1 _eLLCLayoutText
1 SetupGlyphArraysUsingRegularGlyphIDs
1 ApplyMorph
1 ProcessMorxecutorRun
1 ProcessMorphActionList
1 ProcessSingleMorphRun
1 MorphTableGetSubtableInfo
1 MorphTableGetSubtableInfo
1 -[NSLayoutManager characterIndexForGlyphAtIndex:]
1 _NSFastFillAllGlyphHolesUpToGlyphIndex
1 -[NSRecursiveLock lock]
1 -[NSRecursiveLock lock]
1 -[NSLayoutManager numberOfGlyphs]
1 _NSFastFillAllGlyphHolesUpToGlyphIndex
1 -[NSLayoutManager(NSPrivate) _fillGlyphHoleAtIndex:desiredNumberOfCharacters:]
1 -[NSGlyphGenerator generateGlyphsForLayoutManager:range:desiredNumberOfCharacters:startingAtGlyphIndex:completedRange:nextGlyphIndex:]
1 -[NSConcreteGlyphGenerator generateGlyphsForGlyphStorage:desiredNumberOfCharacters:glyphIndex:characterIndex:]
1 __NSInsertNominalGlyphs
1 -[NSLayoutManager insertGlyphs:length:forStartingGlyphAtIndex:characterIndex:]
1 -[NSLayoutManager insertGlyphs:length:forStartingGlyphAtIndex:characterIndex:]
1 -[NSStringDrawingTextStorage release]
1 objc_msgSend
1 objc_msgSend
2 -[NSAttributedString(NSStringDrawing) size]
2 -[NSAttributedString(NSStringDrawingExtension) _sizeWithSize:]
2 -[NSLayoutManager glyphRangeForTextContainer:]
2 -[NSLayoutManager textContainerForGlyphAtIndex:effectiveRange:]
2 _NSFastFillAllLayoutHolesUpToEndOfContainerForGlyphIndex
2 -[NSLayoutManager(NSPrivate) _fillLayoutHoleAtIndex:desiredNumberOfLines:]
2 -[NSATSTypesetter layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:nextGlyphIndex:]
2 -[NSATSTypesetter layoutParagraphAtPoint:]
1 -[NSATSTypesetter _beginLayout:]
1 -[NSATSTypesetter _setUpPlatformLineLayoutContext:forGlyphRange:isParagraph:]
1 __bzero
1 __bzero
1 -[NSATSTypesetter _layoutLineStartingWithGlyphAtIndex:withProposedRect:]
1 -[NSATSTypesetter lineFragmentRectForProposedRect:remainingRect:]
1 -[NSTextContainer lineFragmentRectForProposedRect:sweepDirection:movementDirection:remainingRect:]
1 NSTCIntersectionRect
1 NSTCIntersectionRect
1 -[NSWindow flushWindow]
1 ripc_Context
1 CGSDeviceSynchronize
1 _CGSFlushWindowRegion
1 _CGSFlushRegionInline
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
281 Thread_0f03
281 _pthread_body
281 __ape_agent
281 __ape_internal
281 mach_msg
281 mach_msg_trap
281 mach_msg_trap
281 Thread_1003
281 _pthread_body
281 forkThreadForFunction
281 +[SLGaimCocoaAdapter _createThreadedGaimCocoaAdapter]
281 -[SLGaimCocoaAdapter init]
281 CFRunLoopRun
281 CFRunLoopRunSpecific
281 __CFRunLoopRun
281 mach_msg
281 mach_msg_trap
281 mach_msg_trap
281 Thread_1103
281 _pthread_body
281 forkThreadForFunction
281 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
281 -[NSRunLoop run]
281 -[NSRunLoop runMode:beforeDate:]
281 CFRunLoopRunSpecific
281 __CFRunLoopRun
281 mach_msg
281 mach_msg_trap
281 mach_msg_trap
281 Thread_1203
281 _pthread_body
281 _loadRunLoop
281 select
281 select
281 Thread_1303
281 _pthread_body
281 forkThreadForFunction
281 +[NSURLCache _diskCacheSyncLoop:]
281 -[NSRunLoop run]
281 -[NSRunLoop runMode:beforeDate:]
281 CFRunLoopRunSpecific
281 __CFRunLoopRun
281 mach_msg
281 mach_msg_trap
281 mach_msg_trap
281 Thread_1403
281 _pthread_body
281 forkThreadForFunction
281 -[AIContentController thread_createFilterRunLoopMessenger]
281 CFRunLoopRun
281 CFRunLoopRunSpecific
281 __CFRunLoopRun
281 mach_msg
281 mach_msg_trap
281 mach_msg_trap
281 Thread_1503
281 _pthread_body
281 __CFSocketManager
281 select
281 select
281 Thread_1603
281 _pthread_body
281 TS_exception_listener_thread
281 mach_msg
281 mach_msg_trap
281 mach_msg_trap
281 Thread_1703
281 _pthread_body
281 forkThreadForFunction
281 +[WebFileDatabase _syncLoop:]
281 -[NSRunLoop run]
281 -[NSRunLoop runMode:beforeDate:]
281 CFRunLoopRunSpecific
281 __CFRunLoopRun
281 mach_msg
281 mach_msg_trap
281 mach_msg_trap

Total number in stack (recursive counted multiple, when >=5):
10 mach_msg
10 mach_msg_trap
9 _pthread_body
6 CFRunLoopRunSpecific
6 __CFRunLoopRun
5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
5 forkThreadForFunction

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

Posted: Mon Jul 04, 2005 8:13 am
by evands
That's a sample of Adium crashing, somehow due to your accessibility settings. What're you using? Text to speech / spoken interface? Universal access for something else?

Posted: Mon Jul 04, 2005 9:48 am
by aliiien
aah! THANK YOU! occasionally I play with access settings but can't remember the last time I did, so I went ahead and turned all those off; it works smoothly now :)

Posted: Fri Jul 08, 2005 10:32 am
by jstamos
aliiien wrote:aah! THANK YOU! occasionally I play with access settings but can't remember the last time I did, so I went ahead and turned all those off; it works smoothly now :)
Can you share which combination of accessibility settings you enabled to make Adium vomit uncontrollably, so that it can be fixed?