Jump to content

uTorrent Mac client using 100% CPU


Gimpy2001

Recommended Posts

  • Replies 70
  • Created
  • Last Reply

I have the same issue and don't have peerguardian or any of these other programs people are mentioning. Also, my torrents currently have no seeders (this is normal since they are not popular ones, but just in case it is a relevant point for troubleshooting). It seems to only happen when I have no active connections uploading or downloading. At least I didn't notice it when I had active torrents.

Thanks for the OS X version. Cheers.

Link to comment
Share on other sites

Full core usage when sitting "idle" http://pastebin.com/m1b2afc35

12/2/08 4:51:02 PM uTorrent[215] An instance 0x241cf0 of class PrefsController is being deallocated while key value observers are still registered with it. Observation info is being leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info:

<NSKeyValueObservationInfo 0x26b7f0> (

<NSKeyValueObservance 0x2a7000: Observer: 0x28aad0, Key path: uploadRateLimitAuto, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a6cb0>

<NSKeyValueObservance 0x2a7900: Observer: 0x28aad0, Key path: uploadRateLimitedManual, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a78e0>

<NSKeyValueObservance 0x2a7cd0: Observer: 0x28aad0, Key path: uploadRateLimitManual, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a7020>

<NSKeyValueObservance 0x2a8020: Observer: 0x28aad0, Key path: seedRatioLimited, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a7920>

<NSKeyValueObservance 0x2a82c0: Observer: 0x28aad0, Key path: seedRatio, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a7cf0>

<NSKeyValueObservance 0x2a85b0: Observer: 0x28aad0, Key path: downloadRateLimited, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x298e80>

<NSKeyValueObservance 0x2a8900: Observer: 0x28aad0, Key path: downloadRateLimit, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a8370>

<NSKeyValueObservance 0x2e1930: Observer: 0x226520, Key path: autoAddTorrentFiles, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2e5520>

<NSKeyValueObservance 0x2df9d0: Observer: 0x226520, Key path: autoAddFolder, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2eb0b0>

<NSKeyValueObservance 0x16919e40: Observer: 0x16962100, Key path: uploadRateLimitAuto, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a6cb0>

<NSKeyValueObservance 0x16919ea0: Observer: 0x16962100, Key path: uploadRateLimitedManual, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a78e0>

<NSKeyValueObservance 0x16919e60: Observer: 0x16962100, Key path: uploadRateLimitManual, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a7020>

<NSKeyValueObservance 0x16919e80: Observer: 0x16962100, Key path: seedRatioLimited, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a7920>

<NSKeyValueObservance 0x1663a700: Observer: 0x16962100, Key path: seedRatio, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a7cf0>

<NSKeyValueObservance 0x1663a720: Observer: 0x16962100, Key path: downloadRateLimited, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x298e80>

<NSKeyValueObservance 0x1696abd0: Observer: 0x16962100, Key path: downloadRateLimit, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x2a8370>

)

Link to comment
Share on other sites

If you *dont* have PeerGuardian installed and *still* have this problem, please take a Sample of uTorrent while this is going on. And then paste the output on a pastebin service (like pastebin.com or slexy.org) or something similar and link to it here. See 20081203-tyissbynf5p4aquemap92pkkt9.png if you don't know how to take a sample.

This should give some more relevant info as to what's going on in uTorrent then simply going "its happening again".

Link to comment
Share on other sites

Same problem here, never even installed PG.

Here's the sample: http://slexy.org/view/s2a3fbEFN7

I have been using it since the beta was out, and never had a problem with it (except minor bugs already mentioned), and only today the CPU goes to 100%. After quitting the app and relaunching it works well again, but then again after 10-15mn the problem reappears.

(MBP 2.5, 4GB, 10.5.5)

(Also minor UI bug: when in the "files" panel and righ-clicking directly on a line (to change the priority for instance), the menu is in gray and I can select anything. To make it work I have to select it first with a left-click and then do the right-click.)

Link to comment
Share on other sites

I was the same issue, as soon as i start downloading anything utorrent it made my macbook sound like an air-hockey table.

I tried removing µt and the preference folder and re-installing as well as disabling DHT as well as shutting down and restarting the laptop. I did all of this and was still having the same problem and it was only after i quit µt and opened it again when it started to work properly.

i'm running 10.5.5 and i don't have any fire wall installed

Link to comment
Share on other sites

Hmmm, this is weird.

uTorrent Mac has been working very well every day, runnning for as long as the mac would be turned on.

Today, for some reason it is running on 100% CPU. I deleted the .plist file rebooted the app several times to no use. It is still hogging 100% of my CPU.

http://slexy.org/view/s20smaV9Pn

I'm not running any peer-guardian or whatever. And I am only downloading 4 torrents. Memory foot print is still only 19.5mb.

Any comments from the developers on what could possibly be going on?

Link to comment
Share on other sites

Hi All,

Having the same 100% cpu usage problem here, tried deleting the properties and it helped for a while (though did not install any leaked release), but the problem reoccured (after adding a bit more, 5 torrents).

Never had any connection filter like PG installed, incomming connections allowed in firewall.

Process sample having cca. 10% cpu load by utorrent (after starting it): http://pastebin.com/m6ab2661a

and having 100% load (few minutes later, same torrents running): http://pastebin.com/m79a3d058

macbook 2.1GHz, 10.5.5

Link to comment
Share on other sites

TEMPORARY SOLUTION

*worked for me*

Disable DHT and Peer Exchange. uTorrent will go back to 5% CPU load. :D

EDIT:

It turns out that leaving Peer Exchange on will maintain high speeds and low memory footprint + low CPU.

THE PROBLEM seems to be DHT.

And of course, this is not a universal solution. DHT still needs to be fixed. Just give the Dev-team the time they need. This is Beta :)

Link to comment
Share on other sites

Hi!

I have installed µTorrent several days ago and it worked fine, didn't "eat" CPU's cycles. Last night, my iMac became really noisy, trying to cool down, when µTorrent takes up to ~102% (100% on one core, and some on another, so it seems). I have no PeerGuardian, or previous, leaked bits of µTorrent installed. However, I am residing inside of a small network with a router and NAT is on. I guess it is not the cause of the 100% CPU problem, as it worked fine with the same settings for a number of days now.

µTorrent load: uploading one torrent, downloading none.

Configuration: iMac with Intel Core Duo, and Leopard 10.5.5.

The process sampling:

Sampling process 9755 for 3 seconds with 1 millisecond of run time between samples
2008-12-03 10:25:45.834 sample[9781:1103] unable to read PC for current frame pointer; truncating stack
Sampling completed, processing symbols...
Analysis of sampling uTorrent (pid 9755) every 1 millisecond
Call graph:
2008 Thread_2503
2008 start
2008 NSApplicationMain
2008 -[NSApplication run]
2008 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
2008 _DPSNextEvent
2008 BlockUntilNextEventMatchingListInMode
2008 ReceiveNextEventCommon
2008 RunCurrentEventLoopInMode
2008 CFRunLoopRunInMode
2008 CFRunLoopRunSpecific
1967 mach_msg
1967 mach_msg_trap
1967 mach_msg_trap
24 __NSFireTimer
23 -[DetailsController updateUI]
12 -[NSView displayIfNeeded]
10 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
8 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
8 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
7 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
6 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
6 -[NSView _drawRect:clip:]
3 -[AvailabilityView drawRect:]
3 -[NSImage drawInRect:fromRect:operation:fraction:]
3 -[NSCachedImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]
3 -[NSImageRep drawInRect:]
3 -[NSCachedImageRep draw]
3 -[NSCGImageRep draw]
3 -[NSCGImageRep drawInRect:]
3 CGContextDrawImage
3 ripc_DrawImage
3 ripc_RenderImage
3 ripl_BltImage
2 ripd_Mark
2 argb32_image
2 argb32_image_mark
1 argb32_image_mark
1 argb32_sample_argb32
1 argb32_sample_argb32
1 ripd_Lock
1 CGSDeviceLock
1 _CGSLockWindow
1 CGSDisplaySynchronizeSeed
1 CGSDisplaySynchronizeSeed
3 -[DownloadedView drawRect:]
3 -[NSImage drawInRect:fromRect:operation:fraction:]
3 -[NSCachedImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]
3 -[NSImageRep drawInRect:]
3 -[NSCachedImageRep draw]
2 -[NSCGImageRep draw]
2 -[NSCGImageRep drawInRect:]
2 CGContextDrawImage
2 ripc_DrawImage
2 ripc_RenderImage
2 ripl_BltImage
2 ripd_Mark
2 argb32_image
2 argb32_image_mark
2 argb32_sample_argb32
2 argb32_sample_argb32
1 -[NSCachedImageRep _copyNSCGImageRep]
1 _NXFreeImageCache
1 -[NSWindow dealloc]
1 -[NSWindow _termWindowIfOwner]
1 _NXTermWindow
1 CGSReleaseWindow
1 _CGSReleaseWindowList
1 _CGSTerminateWindowList
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 -[NSView _drawRect:clip:]
1 -[NSBezierPath(Additions) linearGradientFillWithStartColor:endColor:]
1 -[NSBezierPath(Additions) customVerticalFillWithCallbacks:firstColor:secondColor:]
1 CGContextDrawShading
1 ripc_DrawShading
1 ripl_BltShade
1 argb32_shade
1 argb32_image_mark
1 argb32_shade_axial_RGB
1 argb32_shade_axial_RGB
1 -[NSView _drawRect:clip:]
1 -[NSTabView drawRect:]
1 NSRectFill
1 CGContextFillRect
1 CGContextFillRects
1 ripc_DrawRects
1 ripr_Rectangles
1 aa_clipping
1 aa_clipping
1 -[NSWindow _copyNeedsDisplayRegionInRect:validateSubtractedRegion:]
1 -[NSRegion intersectWithRect:]
1 CGSIntersectRegionWithRect
1 CGSNewRegion
1 CGTypeCreateInstanceWithAllocator
1 memset
1 memset
1 -[NSWindow flushWindow]
1 CGContextFlush
1 ripc_Operation
1 CGSDeviceSynchronize
1 _CGSFlushRegionInline
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 -[NSView _sendViewWillDrawInRect:]
1 -[NSView viewWillDraw]
1 -[NSView viewWillDraw]
1 objc_msgSend_stret
1 objc_msgSend_stret
1 objc_msgSend
1 objc_msgSend
5 -[DownloadedView updateData:]
5 -[DownloadedView createNewHaveImage]
4 imageFromCGImageRef(CGImage*)
4 -[NSImage lockFocus]
4 -[NSCachedImageRep initWithSize:depth:separate:alpha:]
4 -[NSCachedImageRep _initWithSize:depth:separate:alpha:allowDeep:]
4 _NXAllocateImageCache
4 NewCacheWindowInfo
2 CreateWindowNamed
2 _NXCreateWindow
2 CGSNewWindow
2 CGSNewWindowWithOpaqueShape
2 CGSUpdateDebugOptions
2 _CGSGetDebugOptions
2 mach_msg
2 mach_msg_trap
2 mach_msg_trap
1 -[NSWindow _initFromGlobalWindow:inRect:styleMask:]
1 CGSGetWindowType
1 CGSGetWindowType
1 PSgsave
1 objc_msgSend
1 objc_msgSend
1 RenderColoredGraph(int, int, unsigned int (*)(void const*, unsigned int), void const*)
1 RenderColoredGraph(int, int, unsigned int (*)(void const*, unsigned int), void const*)
4 -[AvailabilityView updateData:]
4 -[AvailabilityView createNewAvailImage]
3 RenderColoredGraph(int, int, unsigned int (*)(void const*, unsigned int), void const*)
2 GetPieceColorAvail(void const*, unsigned int)
2 InterpolateColorFast(unsigned int, unsigned int, unsigned int)
2 InterpolateColorFast(unsigned int, unsigned int, unsigned int)
1 RenderColoredGraph(int, int, unsigned int (*)(void const*, unsigned int), void const*)
1 imageFromCGImageRef(CGImage*)
1 -[NSImage lockFocus]
1 -[NSCachedImageRep initWithSize:depth:separate:alpha:]
1 -[NSCachedImageRep _initWithSize:depth:separate:alpha:allowDeep:]
1 _NXAllocateImageCache
1 NSRectFill
1 CGContextFillRect
1 CGContextFillRects
1 ripc_DrawRects
1 ripc_Render
1 ripl_BltShape
1 ripd_Lock
1 CGSDeviceLock
1 _CGSLockWindow
1 CGSMapShmem
1 _CGSMapShmem
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
2 -[DetailsController pingKVC]
2 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:]
1 CFEqual
1 __CFStringEqual
1 __CFStringEqual
1 NSKVONotify
1 -[NSTextValueBinder _observeValueForKeyPath:ofObject:context:]
1 -[NSValueBinder _observeValueForKeyPath:ofObject:context:]
1 -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:]
1 -[NSValueBinder _referenceBindingValue]
1 -[NSBinder valueForBinding:resolveMarkersToPlaceholders:]
1 -[NSBinder _valueForKeyPath:ofObject:mode:raisesForNotApplicableKeys:]
1 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
1 -[NSObject(NSKeyValueCoding) valueForKey:]
1 -[Torrent availability]
1 BtLock()
1 pthread_mutex_lock
1 semaphore_wait_trap
1 semaphore_wait_trap
1 -[MainWindowController updateUI:]
1 -[StatsController updateUI]
1 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:]
1 NSKVONotify
1 -[NSObjectParameterBinder _observeValueForKeyPath:ofObject:context:]
1 -[NSObjectParameterBinder _updateObject:observedController:observedKeyPath:context:]
1 -[NSBinder valueForBinding:resolveMarkersToPlaceholders:]
1 -[DownDataRateTransformer transformedValue:]
1 +[NSString stringWithFormat:]
1 -[NSPlaceholderString initWithFormat:locale:arguments:]
1 _CFStringCreateWithFormatAndArgumentsAux
1 _CFStringAppendFormatAndArgumentsAux
1 _NSDescriptionWithLocaleFunc
1 class_respondsToSelector
1 _cache_addForwardEntry
1 _malloc_internal
1 malloc_zone_malloc
1 malloc_zone_malloc
17 __CFRunLoopDoObservers
17 _handleWindowNeedsDisplay
17 -[NSWindow displayIfNeeded]
17 -[NSView displayIfNeeded]
17 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
17 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
17 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
15 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
13 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
7 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
3 -[NSView _drawRect:clip:]
3 -[NSTableView drawRect:]
3 -[NSOutlineView drawRowIndexes:clipRect:]
3 -[NSTableView drawRowIndexes:clipRect:]
3 -[NSTableView drawRow:clipRect:]
3 -[NSOutlineView _drawContentsAtRow:column:withCellFrame:]
3 -[NSTableView _drawContentsAtRow:column:withCellFrame:]
2 -[TransferNameCell drawWithFrame:inView:]
1 -[ImageAndTextCell drawWithFrame:inView:]
1 -[NSImage compositeToPoint:operation:]
1 -[NSImage compositeToPoint:fromRect:operation:]
1 -[NSImage _composite:delta:fromRect:toPoint:]
1 -[NSBitmapImageRep _loadData]
1 CGImagePlusCreateImage
1 CGDataProviderGetBytePtr
1 faultDataAcquireBytePointer
1 faultCacheData_cb
1 getBandProcPNG
1 _cg_png_read_row
1 inflate
1 updatewindow
1 png_zalloc
1 png_malloc
1 malloc
1 malloc_zone_malloc
1 szone_malloc
1 large_and_huge_malloc
1 mmap
1 mmap
1 -[NSString(NSStringDrawing) drawInRect:withAttributes:]
1 _NSStringDrawingCore
1 +[NSStringDrawingTextStorage _fastDrawString:attributes:length:inRect:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle:lineBreakMode:boundingRect:padding:scrollable:]
1 CGContextShowGlyphsWithAdvances
1 draw_glyphs
1 ripc_DrawGlyphs
1 ripc_GetColor
1 CGColorTransformConvertColorFloatComponents
1 CGCMSInterfaceTransformConvertColorComponents
1 CMSTransformConvertComponents
1 acquireColorWorld
1 CMSColorWorldRetain
1 OSAtomicCompareAndSwapIntBarrier
1 OSAtomicCompareAndSwapIntBarrier
1 -[NSTableView preparedCellAtColumn:row:]
1 -[NSOutlineView _delegateWillDisplayCell:forColumn:row:]
1 -[MainWindowController outlineView:willDisplayCell:forTableColumn:item:]
1 -[ImageAndTextCell setImage:]
1 -[NSImage dealloc]
1 -[NSImage _freeRepresentation:]
1 -[NSBitmapImageRep dealloc]
1 -[NSBitmapImageRep _freeImage]
1 -[NSBitmapImageRep _freeData]
1 _CFRelease
1 __CFDataDeallocate
1 __CFDataDeallocate
3 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
1 -[NSView _drawRect:clip:]
1 NSRectClipList
1 CGContextClipToRects
1 CGContextClipToRect
1 CGGStateClipToRect
1 CGClipStackAddRect
1 CGTypeGetNextIdentifier
1 CGTypeGetNextIdentifier
1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
1 -[NSView _drawRect:clip:]
1 -[NSControl drawRect:]
1 -[NSTextFieldCell drawWithFrame:inView:]
1 -[NSTextFieldCell drawInteriorWithFrame:inView:]
1 _NSDrawTextCell
1 _NSStringDrawingCore
1 +[NSStringDrawingTextStorage _fastDrawString:attributes:length:inRect:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle:lineBreakMode:boundingRect:padding:scrollable:]
1 CGContextShowGlyphsWithAdvances
1 draw_glyphs
1 ripc_DrawGlyphs
1 ripl_BltGlyph
1 argb32_mark
1 CGSColorDeepMaskCopyARGB8888
1 CGSColorDeepMaskCopyARGB8888
1 -[NSView lockFocus]
1 -[NSView lockFocusIfCanDraw]
1 -[NSWindow _threadContext]
1 _runningOnAppKitThread
1 CFRunLoopGetMain
1 CFRunLoopGetMain
1 _CFRelease
1 szone_free
1 szone_free
3 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
3 -[NSView _drawRect:clip:]
3 -[NSControl drawRect:]
3 -[NSButtonCell drawInteriorWithFrame:inView:]
3 -[NSButtonCell _configureAndDrawTitleWithRect:cellFrame:controlView:]
2 -[NSButtonCell drawTitle:withFrame:inView:]
2 -[NSAttributedString(NSStringDrawingExtension) _drawCenteredVerticallyInRect:scrollable:]
2 _NSStringDrawingCore
1 -[NSLineFragmentRenderingContext drawAtPoint:inContext:]
1 CGContextShowGlyphsWithAdvances
1 draw_glyphs
1 ripc_DrawGlyphs
1 ripl_BltGlyph
1 ripl_BltGlyph
1 __NSCreateRenderingContextForAttributedString
1 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixAttributesInRange:]
1 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixFontAttributeInRange:]
1 -[NSMutableAttributedString addAttribute:value:range:]
1 _CFRelease
1 __CFDictionaryDeallocate
1 objc_msgSend
1 objc_msgSend
1 -[NSButtonCell titleRectForBounds:]
1 -[NSButtonCell(NSButtonCellPrivate) _centerTitle:inRect:]
1 -[NSAttributedString(NSStringDrawingExtension) _sizeWithSize:]
1 -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:]
1 __NSCreateRenderingContextForAttributedString
1 -[NSSingleLineTypesetter createRenderingContextForCharacterRange:typesetterBehavior:usesScreenFonts:hasStrongRight:maximumWidth:]
1 -[NSATSTypesetter _layoutLineFragmentStartingWithGlyphAtIndex:characterIndex:atPoint:renderingContext:]
1 -[NSATSLineFragment _copyRenderingContextWithGlyphOrigin:]
1 -[NSLineFragmentRenderingContext initWithRuns:glyphOrigin:lineFragmentWidth:elasticWidth:usesScreenFonts:isRTL:]
1 -[NSAttributeDictionary objectForKey:]
1 __CFStringHash
1 __CFStringHash
2 -[NSView lockFocus]
2 -[NSView lockFocusIfCanDraw]
1 -[NSWindow _copyAcquiredViewHierarchyLock]
1 -[NSViewHierarchyLock lockForReadingWithExceptionHandler:]
1 __spin_lock
1 __spin_lock
1 -[NSWindow _threadContext]
1 _runningOnAppKitThread
1 _CFRunLoop0
1 CFDictionaryGetValue
1 CFDictionaryGetValue
1 -[NSView _drawRect:clip:]
1 -[NSControl drawRect:]
1 -[NSControl currentEditor]
1 -[NSControl currentEditor]
1 -[NSView _drawRect:clip:]
1 objc_msgSend
1 objc_msgSend
1 -[NSView _drawRect:clip:]
1 -[NSView _regionForOpaqueDescendants:forMove:]
1 -[NSSplitView _regionForOpaqueDescendants:forMove:]
1 -[NSView _regionForOpaqueDescendants:forMove:]
1 -[NSView _regionForOpaqueDescendants:forMove:]
1 -[NSView convertRect:toView:]
1 -[NSView _convertRect:toAncestor:]
1 objc_msgSend_stret
1 objc_msgSend_stret
2 -[NSView _drawRect:clip:]
2 -[NSGrayFrame drawRect:]
2 -[NSFrameView drawThemeContentFill:inView:]
2 -[NSGrayFrame drawWindowBackgroundRegion:]
2 _NSDrawThemeBackground
2 CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**)
1 CGContextRestoreGState
1 CGGStackRestore
1 CGGStateRelease
1 _CFRelease
1 szone_free
1 szone_free
1 CUIRenderer::DrawWindowFrameDark(CUIContext const*)
1 CGContextFillRect
1 CGContextFillRects
1 ripc_DrawRects
1 ripc_GetRenderingState
1 ripc_GetClipState
1 ripr_Coverage
1 aa_render_shape
1 aa_distribute_edges
1 aa_distribute_edges
2008 Thread_2603
2008 thread_start
2008 _pthread_start
2008 google_breakpad::ExceptionHandler::WaitForMessage(void*)
2008 mach_msg
2008 mach_msg_trap
2008 mach_msg_trap
2008 Thread_2703
2008 thread_start
2008 _pthread_start
2008 __NSThread__main__
2008 -[NSThread main]
2008 +[BitTorrent main:]
2008 Startup(unsigned long, int, wchar_t**)
2008 LApp::message_loop()
2008 MsgQ::GetNextMessage(int)
2008 EventObject::WaitForSingleObject(int)
2008 pthread_cond_timedwait$UNIX2003
2008 __semwait_signal
2008 __semwait_signal
2008 Thread_2803
2008 thread_start
2008 _pthread_start
2008 IOThread(void*)
2007 EventObject::WaitForSingleObject(int)
2007 pthread_cond_timedwait$UNIX2003
2007 __semwait_signal
2007 __semwait_signal
1 ProcessJobList(DiskIOJob*)
1 ProcessJob(DiskIOJob*)
1 DoOperationOnJob(FileStorage*, unsigned long long, unsigned char*, unsigned int, JOB_TYPE, DiskIO_DataFilter*, bool)
1 AlignedReadFromFileAt(long, unsigned char*, unsigned int, unsigned long long, unsigned int)
1 ReadFromFileAt(long, unsigned char*, unsigned int, unsigned long long)
1 read$UNIX2003
1 read$UNIX2003
2008 Thread_2903
2008 thread_start
2008 _pthread_start
2008 DnsThread(void*)
2007 EventObject::WaitForSingleObject(int)
2007 pthread_cond_timedwait$UNIX2003
2007 __semwait_signal
2007 __semwait_signal
1 gethostbyaddr
1 gethostbyaddrerrno
1 LI_DSLookupQuery
1 libinfoDSmig_Query
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
2008 Thread_2a03
2007 thread_start
2007 _pthread_start
2007 NetworkThread(void*)
2007 Socket::NetworkEventLoop()
1061 CSocket::process_events(int)
1051 SocketProcessEvent(int)
1036 UDPSocketManager::event(unsigned int)
1011 UDPSocketManager::Flush(unsigned int, unsigned int)
916 sendto$UNIX2003
916 sendto$UNIX2003
40 __memcpy
40 __memcpy
21 GetTickCount()
16 gettimeofday
15 __gettimeofday
11 __nanotime
11 __nanotime
4 __gettimeofday
1 gettimeofday
4 GetTickCount()
1 dyld_stub___commpage_gettimeofday
1 dyld_stub___commpage_gettimeofday
12 CSocket::sendto(char const*, int, int, sockaddr*, unsigned int, int*)
6 __error
6 __error
5 CSocket::sendto(char const*, int, int, sockaddr*, unsigned int, int*)
1 KEVHandler::add_or_del_filter(bool)
1 KEVHandler::add_or_del_filter(bool)
8 cerror
3 __error
3 __error
3 cthread_set_errno_self
2 __error
2 __error
1 cthread_set_errno_self
2 cerror
5 SockAddr::get_sockaddr_storage(unsigned int*) const
5 SockAddr::get_sockaddr_storage(unsigned int*) const
4 UDPSocketManager::Flush(unsigned int, unsigned int)
3 _sysenter_trap
3 _sysenter_trap
1 __error
1 __error
1 dyld_stub_gettimeofday
1 dyld_stub_gettimeofday
10 GetTickCount()
9 gettimeofday
8 __gettimeofday
4 __gettimeofday
4 __nanotime
4 __nanotime
1 gettimeofday
1 GetTickCount()
10 UDPSocketManager::event(unsigned int)
3 DHT_ProcessIncoming(unsigned char*, unsigned int, SockAddr const&)
2 DhtProcessQuery(SockAddr const&, Buffer const&, Buffer const&, char const*, unsigned char*, int, unsigned char*, unsigned char*, unsigned char*, int)
1 DhtSendTo(DhtPeerID const&, void const*, unsigned int)
1 UDPSocketManager::Send(SockAddr const&, unsigned char const*, unsigned int)
1 sendto$UNIX2003
1 sendto$UNIX2003
1 SHA1::Hash(void const*, unsigned int, unsigned char*)
1 SHA1::Finish(unsigned char*)
1 SHA1::Update(unsigned char const*, unsigned int)
1 SHA1::Process(unsigned char const*)
1 SHA1::Process(unsigned char const*)
1 BencodedDict::GetString(char const*, unsigned int)
1 BencodedDict::GetString(char const*, unsigned int)
2 memcpy
2 memcpy
10 SocketProcessEvent(int)
5 CSocket::get_revent_mask(unsigned int&, unsigned int&)
5 CSocket::get_revent_mask(unsigned int&, unsigned int&)
9 CSocket::process_events(int)
1 KEVHandler::add_or_del_filter(bool)
1 KEVHandler::add_or_del_filter(bool)
742 kevent
742 kevent
48 Socket::NetworkLoop(long)
46 Socket::NetworkLoop(long)
2 TcpSocket::loop()
1 PeerConnection::run_state()
1 PeerConnection::Disconnect(wchar_t const*)
1 TorrentFile::RegisterPeerPieces(unsigned char*, int)
1 TorrentFile::RegisterPeerPieces(unsigned char*, int)
1 TcpSocket::do_read()
1 TcpSocket::do_read()
42 Socket::NetworkPostTimers(long, int)
22 TorrentSession::BtTick(unsigned int, long)
10 TorrentFile::NetworkTick(unsigned int, long)
6 TorrentFile::NetworkTick(unsigned int, long)
4 TorrentSession::GetMaxNewConnections()
4 TorrentSession::GetMaxNewConnections()
9 TorrentSession::BtTick(unsigned int, long)
3 DiskIO_CheckCompleted(bool)
3 DiskIO_CheckCompleted(bool)
6 URLConnection::Tick()
6 URLConnection::Tick()
5 Dns_ProcessFinished()
5 Dns_ProcessFinished()
5 Socket::NetworkPostTimers(long, int)
4 URLConnectionTick()
4 URLConnectionTick()
31 GetTickCount()
23 gettimeofday
14 __gettimeofday
8 __nanotime
8 __nanotime
6 __gettimeofday
9 gettimeofday
6 GetTickCount()
2 __commpage_gettimeofday
2 __commpage_gettimeofday
23 BtUnlock()
9 pthread_mutex_unlock
6 pthread_mutex_unlock
2 semaphore_signal_trap
2 semaphore_signal_trap
1 spin_unlock
1 spin_unlock
5 RMutex::unlock() const
5 RMutex::unlock() const
4 BtUnlock()
4 __spin_lock
4 __spin_lock
1 spin_lock
1 spin_lock
15 Socket::NetworkEventLoop()
10 UTP_CheckTimeouts(UDPSocketManager*)
10 UTP_CheckTimeouts(UDPSocketManager*)
9 pthread_mutex_lock
9 pthread_mutex_lock
8 CSocket::select(int)
8 CSocket::select(int)
5 GetTLS()
5 GetTLS()
3 pthread_getspecific
3 pthread_getspecific
2 TcpSocket::drain_connq()
2 TcpSocket::drain_connq()
2 __spin_lock
2 __spin_lock
1 BtTick(unsigned int, long)
1 BtTick(unsigned int, long)
1 TcpSocket::try_flush_write()
1 TcpSocket::try_flush_write()
1 dyld_stub_gettimeofday
1 dyld_stub_gettimeofday
1 dyld_stub_pthread_mutex_unlock
1 dyld_stub_pthread_mutex_unlock
1 spin_lock
1 spin_lock
1 spin_unlock
1 spin_unlock
1 0x78b2278d
1 rc4_crypto(RC4Key*, unsigned int, unsigned char const*, unsigned char*)
1 rc4_crypto(RC4Key*, unsigned int, unsigned char const*, unsigned char*)
2008 Thread_2b03
2008 thread_start
2008 _pthread_start
2008 __NSThread__main__
2008 -[NSThread main]
2008 kevent
2008 kevent

Total number in stack (recursive counted multiple, when >=5):
11 -[NSView _drawRect:clip:]
10 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
7 mach_msg
7 mach_msg_trap
6 _pthread_start
6 thread_start
5 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]

Sort by top of stack, same collapsed (when >= 5):
__semwait_signal 6022
mach_msg_trap 3981
kevent 2750
sendto$UNIX2003 917
Socket::NetworkLoop(long) 46
__memcpy 40
__nanotime 23
Socket::NetworkEventLoop() 15
__gettimeofday 14
__error 12
GetTickCount() 11
gettimeofday 11
SocketProcessEvent(int) 10
UDPSocketManager::event(unsigned int) 10
UTP_CheckTimeouts(UDPSocketManager*) 10
CSocket::process_events(int) 9
TorrentSession::BtTick(unsigned int, long) 9
pthread_mutex_lock 9
CSocket::select(int) 8
__spin_lock 7
TorrentFile::NetworkTick(unsigned int, long) 6
URLConnection::Tick() 6
pthread_mutex_unlock 6
CSocket::get_revent_mask(unsigned int&, unsigned int&) 5
CSocket::sendto(char const*, int, int, sockaddr*, unsigned int, int*) 5
Dns_ProcessFinished() 5
GetTLS() 5
RMutex::unlock() const 5
SockAddr::get_sockaddr_storage(unsigned int*) const 5
Socket::NetworkPostTimers(long, int) 5
Sample analysis of process 9755 written to file /dev/stdout

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...