New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 893113 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug

Blocking:
issue 893136


Participants' hotlists:
AudioService-FixIt


Sign in to add a comment

media::CoreAudioUtil::IsSupported called from browser process when running audio service out of process

Project Member Reported by marinaciocea@chromium.org, Oct 8

Issue description

media::CoreAudioUtil::IsSupported is called by SystemMessageWindowWin::DeviceNotifications and  SpeechRecognizerImpl::StartRecording from browser process. When running out of process AudioManager is initialized in the audio process
So in the browser process media::CoreAudioUtil::IsSupported is not called on the AudioManager thread before being called in other places.

What are the consequences?

Are these crashes due to that:
http://crash/browse?q=STRPOS%28product_name%2C+%27Chrome%27%29+%3E+0+AND+expanded_custom_data.ChromeCrashProto.ptype%3D%27browser%27+AND+EXISTS+%28SELECT+1+FROM+UNNEST%28CrashedStackTrace.StackFrame%29+WHERE+STRPOS%28FunctionName%2C+%27media%3A%3ACoreAudioUtil%3A%3AIsSupported%27%29+%3E+0%29+AND+product_name%3D%27Chrome%27+AND+expanded_custom_data.ChromeCrashProto.channel%3D%27beta%27+AND+expanded_custom_data.ChromeCrashProto.magic_signature_1.name%3D%27media%3A%3ACoreAudioUtil%3A%3AIsSupported%27#samplereports
 
Labels: -Pri-3 Pri-1
Owner: guidou@chromium.org
Status: Assigned (was: Available)
Assigning to Guido for #1 question.
Description: Show this description
Owner: marinaciocea@chromium.org
All the work I did in this area was in M68.
Maybe we should remove all calls to Core Audio from the browser process when the audio process is active?

Assigning back to marinaciocea@
Could it be that it is being called from a task runner that does not have the right traits to make COM calls?
#7 then it would always be failing, isn't it?


If audio runs out of process, we'll call IsSupported here https://cs.chromium.org/chromium/src/content/browser/browser_main_loop.cc?type=cs&q=system_message_window_&g=0&l=1320
Blocking: 893136
Cc: henrika@chromium.org
Labels: M-72
Labels: OS-Windows
Owner: ossu@chromium.org

Sign in to add a comment