Open Bug 1462931 Opened 6 years ago Updated 1 month ago

No audio being played by firefox in version 60 windows 7

Categories

(Core :: Audio/Video: cubeb, defect, P2)

60 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bpb101.1, Unassigned)

Details

(Keywords: regression)

Attachments

(5 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180516032328

Steps to reproduce:

Today, my firefox upgraded to version 60 


Actual results:

No audio was being able to be played in Firefox. I was able to play audio in Chrome and on the pc locally

I downgraded to 59 and i could play audio. I upgraded again as was not able to play audio 
Audio mixer indicated that sound was coming from firefox


Expected results:

I should hear audio
WFM, please attached file with pasted info from about:support by using "Copy text to clipboard" button and some affected website pages
Component: Untriaged → Audio/Video: Playback
Flags: needinfo?(bpb101.1)
Product: Firefox → Core
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Attached file Firefox60.txt
Flags: needinfo?(bpb101.1)
Attached file Firefox59.txt
Under Firefox 59 Youtube.ie, Dailymotion.com and Vimeo.com all played audio
The corresponding sites on firefox version 60 did not

Ive attached the requested about:support info for both version 59 and version 60




Thanks for looking into the issue
Alex -- this sounds like it could be a regression in cubeb for specific hardware and/or driver. Can you have a look?
Component: Audio/Video: Playback → Audio/Video: cubeb
Flags: needinfo?(achronop)
Priority: -- → P2
Sure, I am looking now
Flags: needinfo?(achronop)
Actually the other version of about:support ("Copy raw data to clipboard") contains more information about the state of the devices. Sorry for asking the same thing but would be possible to provide that? 

From 59 to 60 the sandbox level increased from 4 to 5. Can you please revert back the sandbox level to 4 and check? In order to do that you need to go in about:config, find the pref: security.sandbox.content.level and change it to 4. Please do not forget to restart the browser after that.

Let's see if the above provide an indication of the issue, otherwise we need to get logs. I will give you details about it later. Thanks
Flags: needinfo?(bpb101.1)
Whiteboard: [need info reporter 2018-05-24]
Hey Alex,

Thats not bother,  Attached them now
Flags: needinfo?(bpb101.1)
Attached file Firefox60raw.txt
Attached file Firefox59raw.txt
Thank you barry! Your device (Speakers - Realtek High Definition Audio) is reported and enabled which the correct. Did you have a chance to check the sandbox level in 60 and try to change it?

In addition to the above would be possible to check with latest Nightly if the problem appears there?
Hi Alex

I just don't the sandbox test there
After changing it to 4, the audio started working :)
I upgraded to 61.0b9 (64-bit) where the sandbox level remained in a modified state of 4 and the audio was still playing
I reset this back to 5 and in 61.0b9 (64-bit), and after the audio no longer worked


Cheers
 I just done* the sandbox test there
I tried increasing the sandbox level from 4 to 5 in firefox 59 and audio still played
This issue has been created due to the change of the sandbox level from 4 to 5. Can you please advice me what log to request or what steps to take in order to debug it further.
Flags: needinfo?(gpascutto)
Bob is in charge of the Windows sandbox.
Flags: needinfo?(gpascutto) → needinfo?(bobowencode)
(In reply to barry from comment #12)
> Hi Alex
> 
> I just done the sandbox test there
> After changing it to 4, the audio started working :)

Thanks for taking the time to report this.

The only change in the Windows content process sandbox from 4 to 5 is to use an alternate Desktop:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682573(v=vs.85).aspx

Do you know if you already use something similar in your setup?
(We've had issues with that interfering with things before, although not for audio IIRC.)

(In reply to barry from comment #14)
> I tried increasing the sandbox level from 4 to 5 in firefox 59 and audio
> still played

This is really confusing, as this should give you the same sandbox policy and yet you don't get the audio problem.
Did you restart the browser after changing the level?

If you did, would you mind trying our mozregression tool to try and track down what broke this:
https://mozilla.github.io/mozregression/

I tend to use mozregression-gui on Windows, you'd just need to ...
* File->Run a new bisection
* Accept the defaults on the first two screens of the wizard.
* Select by release (right hand drop downs) 59 for the Last known good build and 60 for First known bad build.
* Test each version of Firefox that starts and then select good or bad in mozregression-gui after closing the browser.


It uses Nightly builds, so the sandbox level should always be 5 even if it starts a version of 59.
Flags: needinfo?(bobowencode) → needinfo?(bpb101.1)
No, I'm not using any alliterative desktop (that i'm aware of anyway). I would be happy to provide you with a list of other installed software/hardware if that would be of help to you


Yeah, I restarted my browser, And i tried it again(just to be sure) and in 59 i can still play audio with sandbox level 5

The results of the test are here
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a6f5fb18e6bcc9bffe4a0209a22d8a25510936be&tochange=718e04535230d53a590b7dbb1a3cd983c259a622

It ran through 7 different browser tests and on all of them, Audio played
Flags: needinfo?(bpb101.1)
(In reply to barry from comment #18)
> No, I'm not using any alliterative desktop (that i'm aware of anyway). I
> would be happy to provide you with a list of other installed
> software/hardware if that would be of help to you

It seems unlikely at this stage but if it were other software, I think it would only be something to do with audio or possibly security software like anti-virus.

> Yeah, I restarted my browser, And i tried it again(just to be sure) and in
> 59 i can still play audio with sandbox level 5
> 
> The results of the test are here
> https://hg.mozilla.org/mozilla-central/
> pushloghtml?fromchange=a6f5fb18e6bcc9bffe4a0209a22d8a25510936be&tochange=718e
> 04535230d53a590b7dbb1a3cd983c259a622
> 
> It ran through 7 different browser tests and on all of them, Audio played

Hmm, that looks like it's just gone all the way to the end of Nightly 60.
I don't see anything in those changesets that are likely to have caused the issue.

Could you try a couple of other things, please.

First, would you try with a clean profile. If you run Firefox from a command prompt like this, it will open the profile manager, so you can create a new profile (Firefox should be installed in C:\Program Files\Mozilla Firefox\):

firefox.exe --no-remote -P

If that doesn't work would you try the latest Nightly build from here:
https://download.mozilla.org/?product=firefox-nightly-stub&os=win&lang=en-US

By default it will be installed in C:\Program Files\Nightly\ from there you can run in the same way as above to use the test profile you created, to make sure you don't mess up your normal one.
Hi Sorry about the delay in getting back to you

The first test didnt work (however i like the idea of being able to switch profiles as a feature)

The link to the Nightly firefox did work and it was sandbox level 5 :)

Ive uploaded the raw data from about:support for you
Attached file nightlyworking.txt
This bug is still present in version 61
Happy to provide more information
(In reply to barry from comment #22)
> This bug is still present in version 61
> Happy to provide more information

I think you tested and got the same problem with 61 when it was in Beta, so I guess that's to be expected.

You could try testing current Beta (62), which I think was working for you when it was in Nightly.

If that works, it would be great to know what fixed this, but I think mozregression wasn't successful last time.
Question remains, though current beta is 65, so try that instead of 62.
Flags: needinfo?(bpb101.1)
Whiteboard: [need info reporter 2018-05-24]

Hi. Updated to latest stable. 64.0.2 and audio works okay
Thanks for the help on this folks
I can provide system stats

Flags: needinfo?(bpb101.1)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: