Log files requested to debug no audio from microphone/speaker on Chrome for Mac

244 views
Skip to first unread message

hu...@webrtc.org

unread,
Sep 4, 2017, 1:03:55 PM9/4/17
to discuss-webrtc

There is a long standing audio bug on Chrome for Mac where input (mic) or output (speaker) audio is missing, and nothing gets the audio back other than restarting Chrome or the coreaudio daemon (i.e. by killing it). In order to analyse this issue further we need debug data from users who encounter this issue.


If you run into this case, it would be great if you could do the following:


Make sure that nothing gets the audio back as long as Chrome is running

This is to verify that you’re likely running into this particular bug. Try the following as applicable and possible. If audio starts working, the problem you’re having is not this bug, no need to proceed and collect this data.

  1. Keep the browser open. Don’t close it!

  2. Check that the mic and speaker aren’t muted and properly connected. Test with another application (i.e. not Chrome) and verify that it works.

  3. Try switching audio devices (input, output) in the web application you’re using. If the web application doesn’t support switching devices, test with this WebRTC sample.

  4. Try restarting the web application. For a WebRTC call: hang up, reload the page, start a new call.

  5. Test with AppRTC in loopback.


Sample the CoreAudio process

  1. Open Activity Monitor (Command + Space, type “activity”).

  2. In View menu, select “All processes”.

  3. Search for “coreaudiod” (upper right).

  4. Mark it and select “Sample Process” using the "wheel icon" menu (upper left).

  5. Click “Save...” (upper right), provide file in the bug or share privately.


Sample Chrome’s browser process

  1. Find the Chrome process id:

    1. In the Chrome menu (three vertical dots in upper right corner), More tools > Task Manager.

    2. Note the Process ID of the “Browser” task.

  2. Open Activity Monitor (Command + Space, type “activity”).

  3. In View menu, select “All processes”.

  4. Search for “chrome” (upper right).

  5. Mark the process with id as noted in step 1 and select “Sample Process” using the "wheel icon" menu (upper left).

  6. Click “Save...” (upper right), provide file in the bug or share privately.


Make a system diagnose dump

The audio bug may need further investigation by Apple. If this is the case, a system diagnose dump from the moment when the bug happened is necessary. The generated file is large and may contain personal information, therefore do not attach it to a Chromium or WebRTC bug but keep it on your local machine. If the file is necessary for further analysis, we will ask you in the bug report. To generate the diagnose dump:

  1. Press Shift+Ctrl+Option+Command+. (period)

  2. Wait while data is collected. This can take up to a few minutes.

  3. When done, a tmp folder (/private/var/tmp/) will appear with the latest sysdiagnose file selected.

  4. Move the file to a folder where you can find it back, for instance in the Documents folder. Do not attach it to the bug report.


Crash Chrome

When Chrome crashes, valuable debug data is saved that may help to analyse the audio bug. Ensure you have no unsaved data in your open browser tabs, then force Chrome to crash by:

  1. Go to Settings, show advanced settings, enable “Automatically send usage statistics and crash reports to Google”.

  2. Copy and paste chrome://inducebrowsercrashforrealz in the address field and press return. Browser will crash.

  3. Start browser again.

  4. Go to chrome://crashes, verify that the crash is on top of the list (check timestamp), click “Send Now” to upload the crash dump.

  5. When uploaded, provide the Uploaded Crash Report ID in the bug report.


Additional information

Please also provide the following information in the bug report:

  1. Which direction of audio was missing? Input/mic (others can’t hear you), output/speaker (you can’t hear others), or both.

  2. The audio device(s) used when the problem appeared.

  3. Operating system and version.

  4. Chrome version (chrome://settings/help)

If you’re having this problem when using Hangouts, file a feedback report in Hangouts by clicking the ? or menu button.


Thanks,
Huib
Reply all
Reply to author
Forward
0 new messages