beta3 OS X: taxing the CPU at min. 40% permantently

(This forum has been closed. Please use the General Moho Discussion forum.)

Moderators: Víctor Paredes, slowtiger

Locked
User avatar
arglborps
Posts: 154
Joined: Wed Aug 04, 2004 1:18 am
Location: Tokyo, Japan
Contact:

beta3 OS X: taxing the CPU at min. 40% permantently

Post by arglborps »

I have no idea what causes this, but Moho 5b3 even when supposedly sitting idly in the background doing nothing is taxing the CPU with 40-70% permanently.

Since I'm on working mainly on a PowerBook this is not ideal, it'll eat my batteries in no time and the machine gets rather hot after a while and the fans start running (which usually on this machine really only run when I play Unreal Tournament or render some 3D stuff).
User avatar
ktron
Posts: 18
Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW

Re: beta3 OS X: taxing the CPU at min. 40% permantently

Post by ktron »

Moho 5b3 even when supposedly sitting idly in the background doing nothing is taxing the CPU with 40-70% permanently.
I don't see this. Activity Monitor shows about 1-3% CPU usage constantly if i go in and out of the progam and eventually drops to none. OS 10.3.5 on a PB G4 667
User avatar
ktron
Posts: 18
Joined: Tue Aug 31, 2004 3:28 pm
Location: YOW

Post by ktron »

Spoke too soon. Left the mcahine doing nothing for an hour and when I came back the cooling fan was running full blast with Moho using about 45% of CPU. A sample of what it was apparently doing:

2004-09-16 15:37:25.122 sample[5444] Couldn't start c++filt for C++ name demangling
Analysis of sampling pid 2912 every 10.000000 milliseconds
Call graph:
167 Thread_0e0b
167 start
167 _start
167 main
167 _ZN6LM_App4MainEv
167 _Z7LM_Mainv
167 _ZN6LM_App3RunEv
167 RunApplicationEventLoop
167 AcquireNextEventInMode
167 ReceiveNextEventCommon
167 RunCurrentEventLoopInMode
167 CFRunLoopRunSpecific
166 __CFRunLoopRun
99 mach_msg
98 mach_msg_trap
98 mach_msg_trap
1 mach_msg
29 __CFRunLoopDoTimer
26 __CFRunLoopTimerRescheduleWithAllModes
25 mk_timer_arm
25 mk_timer_arm
1 __CFRunLoopTimerRescheduleWithAllModes
2 __CFRunLoopDoTimer
1 __mach_absolute_time
1 __mach_absolute_time
28 __CFRunLoopDoObservers
16 _Z15FlushAllBuffersP19__CFRunLoopObserver17CFRunLoopActivityPv
16 FlushAllWindows
13 _FlushWindow
4 GetWindowPort
4 _Z13GetWindowDataP15OpaqueWindowPtr
3 _ZN8HIObject10IsRefValidEPv
2 HLTBSearchRefTable
1 HLTBSearchRefTable
1 _Z19SearchRefTableCacheP15ToolboxRefTablePKvPi
1 _Z19SearchRefTableCacheP15ToolboxRefTablePKvPi
1 _Z23GetObjectFromDictionaryPK14__CFDictionaryPKv
1 _Z23GetObjectFromDictionaryPK14__CFDictionaryPKv
1 _ZN8HIObject9IsOfClassEP13HIObjectClass
1 _ZN8HIObject9IsOfClassEP13HIObjectClass
3 _Z13GetWindowDataP15OpaqueWindowPtr
1 _Z19GetHIObjectRefTablev
1 _Z19GetHIObjectRefTablev
1 _ZN8HIObject10IsRefValidEPv
1 HLTBSearchRefTable
1 HLTBSearchRefTable
1 _ZN8HIObject9IsOfClassEP13HIObjectClass
1 _ZN8HIObject9IsOfClassEP13HIObjectClass
2 _FlushWindow
1 0x915fcadc
1 0x915fcadc
1 HIViewGetNeedsDisplay
1 _ZN6HIView10FindHIViewEP16OpaqueControlRef
1 _ZN8HIObject10IsRefValidEPv
1 HLTBSearchRefTable
1 _Z19SearchRefTableCacheP15ToolboxRefTablePKvPi
1 _Z19SearchRefTableCacheP15ToolboxRefTablePKvPi
1 IsWindowVisible
1 _Z13GetWindowDataP15OpaqueWindowPtr
1 _ZN8HIObject10IsRefValidEPv
1 _Z19GetHIObjectRefTablev
1 _Z19GetHIObjectRefTablev
1 QDFlushPortBuffer
1 QDPlatformFlushWindow
1 CGSWindowAddRegionToDirtyShape
1 _CGSWindowByID
1 _CGSWindowByID
2 GetNextWindow
1 GetNextWindow
1 _Z13GetWindowDataP15OpaqueWindowPtr
1 _Z13GetWindowDataP15OpaqueWindowPtr
1 GetWindowList
1 GetWindowList
3 CFSetApplyFunction
2 CFArrayAppendValue
1 CFArrayAppendValue
1 _CFArrayReplaceValues
1 __CFTypeCollectionRetain
1 __CFTypeCollectionRetain
1 __CF_FAULT_CALLBACK
1 __CF_FAULT_CALLBACK
3 __CFArrayInit
2 _CFRuntimeCreateInstance
1 _CFRuntimeCreateInstance
1 szone_malloc
1 szone_malloc
1 __CFArrayInit
2 CFRelease
1 CFRelease
1 __CFArrayDeallocate
1 __CFArrayReleaseValues
1 __CFArrayReleaseValues
2 CFSetGetCount
2 CFSetGetCount
1 __CFRunLoopDoObservers
1 szone_free
1 szone_free
4 __CFRunLoopModeFindSourceForMachPort
4 CFSetApplyFunction
3 __CFRunLoopFindSource
2 CFMachPortGetPort
2 CFMachPortGetPort
1 __CFRunLoopFindSource
1 0x9022a918
1 0x9022a918
2 __CFRunLoopDoSources0
1 __CFRunLoopCollectSources0
1 __CFRunLoopCollectSources0
1 __CFRunLoopDoSources0
1 0x9022a910
1 0x9022a910
1 __CFArrayInit
1 __CFArrayInit
1 __CFRunLoopModeIsEmpty
1 __CFRunLoopModeIsEmpty
1 __CFRunLoopRun
1 0x9022a650
1 0x9022a650

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

Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 98
mk_timer_arm 25
Sample analysis of process 2912 written to file /dev/stdout
Sampling process 2912 each 10 msecs 300 times
Locked