Hanging a lot, not sure which site; Flash related? Shark fingers Mac OS X DSP code

RESOLVED INCOMPLETE

Status

()

Core
General
--
critical
RESOLVED INCOMPLETE
9 years ago
6 years ago

People

(Reporter: brendan, Unassigned)

Tracking

({hang, perf})

Trunk
x86
Mac OS X
hang, perf
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
Here's what Shark said:

	0.7%	59.3%	mach_kernel	lo_mach_scall	
	0.0%	57.8%	mach_kernel	 dtrace_get_cpu_int_stack_top	
	0.0%	50.4%	mach_kernel	  iokit_user_client_trap	
	0.0%	48.9%	IOAudioFamily	   IOAudioEngineUserClient::performClientIO(unsigned long, unsigned long, bool, unsigned long, unsigned long, unsigned long)	
	0.0%	48.1%	IOAudioFamily	    IOAudioEngineUserClient::performClientOutput(unsigned long, unsigned long, IOAudioClientBufferSet*, unsigned long, unsigned long)	
	0.0%	48.1%	IOAudioFamily	     IOAudioStream::processOutputSamples(IOAudioClientBuffer*, unsigned long, unsigned long, bool)	
	0.0%	48.1%	IOAudioFamily	      IOAudioStream::clipIfNecessary()	
	0.0%	48.1%	IOAudioFamily	       IOAudioStream::clipOutputSamples(unsigned long, unsigned long)	
	0.7%	45.9%	AppleHDA	        AppleHDAEngine::clipOutputSamples(void const*, void*, unsigned long, unsigned long, _IOAudioStreamFormat const*, IOAudioStream*)	
	0.0%	40.7%	DspFuncLib	         DspFuncManager::process(void const*, void const*, unsigned long, unsigned long)	
	0.0%	18.5%	DspFuncLib	          DspFuncEQ::process(unsigned long, unsigned long)	
	17.8%	17.8%	DspFuncLib	           DspFuncEQ::_equalizer(float*, float*, unsigned long)	
	0.0%	0.7%	DspFuncLib	           DspFuncEQ::getDSPParameter(unsigned long)	
	6.7%	11.1%	DspFuncLib	          DspFuncLoudness::process(unsigned long, unsigned long)	
	0.7%	8.1%	DspFuncLib	          DspFuncMultiBandDRC::process(unsigned long, unsigned long)	
	0.0%	2.2%	DspFuncLib	          DspFuncGain::process(unsigned long, unsigned long)	
	0.0%	0.7%	DspFuncLib	          DspFuncManager::getFunctionInstance(unsigned long)	
	0.0%	2.2%	IOAudioFamily	         IOAudioEngine::performErase()	
	0.0%	1.5%	mach_kernel	         OSObject::release() const	
	0.7%	0.7%	DspFuncLib	         DspFuncLoudness::process(unsigned long, unsigned long)	
	0.7%	0.7%	mach_kernel	        memcpy	
	0.7%	0.7%	IOAudioFamily	        IOAudioEngine::getState()	
	0.7%	0.7%	AppleHDA	        AppleHDAEngine::startProcessingTiming()	
	0.7%	0.7%	mach_kernel	    lck_mtx_unlock	
	0.0%	0.7%	mach_kernel	   IOUserClient::getTargetAndTrapForIndex(IOService**, unsigned long)	
	0.0%	0.7%	mach_kernel	   iokit_lookup_connect_ref_current_task	
	0.0%	2.2%	mach_kernel	  semaphore_wait_trap	
	0.0%	2.2%	mach_kernel	  mach_msg_overwrite_trap	
	0.0%	1.5%	mach_kernel	  semaphore_timedwait_signal_trap	
	0.7%	0.7%	mach_kernel	  inval_copy_windows	
	0.7%	0.7%	mach_kernel	  get_bsdthread_info	
	0.7%	0.7%	mach_kernel	 inval_copy_windows	
	0.0%	32.6%	libSystem.B.dylib	thread_start	
	0.0%	3.7%	mach_kernel	semaphore_wait_continue	
	1.5%	2.2%	mach_kernel	lo_alltraps	
	0.0%	1.5%	mach_kernel	thread_continue	
	0.7%	0.7%	OSvKernDSPLib	AIs8Modulo16	

Other times, I've found 99.7% or more time in Flash. Did we change something in NPRuntime lately? I ask because I'm having problems with certain (not all) Flash content in Safari too, with both Flash 10r22 and (shaver helped me go back) 10r12. Adobe peeps haven't been able to repro. I don't have a coherent theory but I wonder if this would happen running 3.0.x. I'm running nightly trunks and I just updated.

/be

Comment 1

8 years ago
still reproducible?
Severity: normal → critical
Keywords: hang, perf
(Reporter)

Comment 2

6 years ago
No, this is too old to be useful. Fair warning: I turned Flash off in Firefox a while ago, keep it on in Safari and Chrome where it routinely hangs or CPU-hogs. *Routinely*.

/be
(Reporter)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.