Closed
Bug 1355520
Opened 8 years ago
Closed 8 years ago
Headset plugging/unplugging blocks the media from playback
Categories
(Core :: Audio/Video: cubeb, defect, P1)
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | verified |
firefox53 | --- | wontfix |
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
People
(Reporter: emilghitta, Assigned: achronop)
References
Details
(Keywords: regression)
Attachments
(4 files, 1 obsolete file)
5.69 KB,
text/plain
|
Details | |
2.36 KB,
text/plain
|
Details | |
95.02 KB,
text/plain
|
Details | |
27.60 KB,
patch
|
kinetik
:
review+
jcristau
:
approval-mozilla-esr52+
|
Details | Diff | Splinter Review |
[Affected versions]:
Firefox 52.1.0esr (Build Id:20170410145022)
Firefox 53.0b10(Build Id:20170407033734)
[Unaffected versions]:
Firefox 54.0a2 (Build Id:20170410004019)
Firefox 55.0a1 (Build Id:20170410030221)
[Affected platforms]:
Mac 10.11.6
[Steps to reproduce]:
1.Launch Firefox.
2.Access the https://www.youtube.com/watch?v=ymNFyxvIdaM weblink.
3.Press the Pause button.
4.Unplug headphones.
5.Plug headphones.
6.Click the Play button.
7.Observe that media gets stuck and no longer plays.
[Expected result]:
The video continues to play.
[Actual result]:
The media gets stuck and no longer plays even if switching to another video.
[Regression range]:
I will come back with a regression range asap, if any.
[Additional information]:
Please access the following link: https://drive.google.com/open?id=0B94iuIVMr-TEcktkZjdpc1dpSE0 in order to observe the issue.
Please note that you may need to repeat steps 3, 4 and 5 a couple of times in order to reproduce this issue.
Updated•8 years ago
|
Rank: 15
Priority: -- → P1
Assignee | ||
Comment 2•8 years ago
|
||
Jim, Maire is on PTO, I will take it. Thanks
Assignee: nobody → achronop
Flags: needinfo?(mreavy)
Assignee | ||
Comment 3•8 years ago
|
||
I try to repro in 53.0b10 (Mac 10.11.6) but not possible. Can you please capture logs. Please use flags "MediaStreamGraph:4,cubeb:4"
Flags: needinfo?(emil.ghitta)
Comment 4•8 years ago
|
||
Seems intermittent, we don't have anything solid here to work with yet. Wontfix for 53.
Reporter | ||
Comment 5•8 years ago
|
||
Hi Alex,
I have reproduced the issue with Firefox 53.0 (Build Id:20170413192749).
I have also attached the requested log file.
I have observed that you have to be pretty quick (to unplug/plug the headphones as soon as the video starts loading) in order to reproduce this issue with ease.
Please needinfo me if you have further questions.
Flags: needinfo?(emil.ghitta)
Assignee | ||
Comment 6•8 years ago
|
||
Assignee | ||
Comment 7•8 years ago
|
||
Can you please verify if the following custom build solve the issue: https://archive.mozilla.org/pub/firefox/try-builds/achronop@gmail.com-299e9aa5b90cd629342bd671f8bb8aa9ab599dee/try-macosx64/firefox-52.1.1.en-US.mac.dmg
Flags: needinfo?(emil.ghitta)
Reporter | ||
Comment 8•8 years ago
|
||
Hi Alex!
Unfortunately, the issue is still reproducible with the custom build that you provided in comment 7.
Flags: needinfo?(emil.ghitta)
Reporter | ||
Comment 10•8 years ago
|
||
My mistake (I forgot to attach the log).
Flags: needinfo?(emil.ghitta)
Assignee | ||
Comment 11•8 years ago
|
||
Hmm that's strange can you please provide verbose logs: cubeb:5
Reporter | ||
Comment 12•8 years ago
|
||
Assignee | ||
Comment 13•8 years ago
|
||
Assignee | ||
Comment 14•8 years ago
|
||
Can you please verify if the following build solves the issue:
https://archive.mozilla.org/pub/firefox/try-builds/achronop@gmail.com-f302db5ebd8fa8073f2c9abd793850209e718336/try-macosx64/firefox-52.1.1.en-US.mac.dmg
Flags: needinfo?(emil.ghitta)
Comment 15•8 years ago
|
||
FWIW, I can reproduce this bug easily on my Windows 10 Laptop (Dell XPS15) with Logitech USB Headset H340 on the latest nightly, 550a1 (2017-05-02) (32-bit).
OS: Mac OS X → Unspecified
Assignee | ||
Comment 16•8 years ago
|
||
Can you check if the same error occurs for wasapi backend?
Flags: needinfo?(padenot)
Comment 17•8 years ago
|
||
Blake, I works fine here on nightly, can you get me logs ?
What I've tried:
- Get a Lenovo thinkpad w530, with a USB headset (plantronics 648) plugged in
- Open Nightly
- Open a youtube video
- it plays, sound is coming of the plantronics headset
- unplug the plantronics headset
- it now plays on the laptop's speaker
- re-plug the plantronics headset
- it now plays on the headset
I also tried plugging and unplugging quite fast, but I have the same results.
Flags: needinfo?(padenot) → needinfo?(bwu)
Comment 18•8 years ago
|
||
I still can see this problem on the latest nightly, 55.0a1 (2017-05-04) (32 bit), on my Dell XPS15 with Logitech USB Headset H340.
IIRC, Chunmin and I saw this problem when we checking bug 1361336 yesterday.
Chunmin,
Can you help on comment 16?
Flags: needinfo?(bwu) → needinfo?(cchang)
Comment 19•8 years ago
|
||
I cannot reproduce it on my PC. I'll try it upon I get my Windows laptop.
Flags: needinfo?(cchang)
Reporter | ||
Comment 20•8 years ago
|
||
Hi Alex!
It seems that this issue is fixed in the build that you provided on comment 14.
Sorry for the delay!
Flags: needinfo?(emil.ghitta)
Assignee | ||
Comment 21•8 years ago
|
||
[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: No
User impact if declined: Media playback stop permanenten after plug-unplug external headset.
Fix Landed on Version:Error appears only in esr 52 and release
Risk to taking this patch (and alternatives if risky): No risk easy patch, part of the patch is landed in Nightly
String or UUID changes made by this patch:
See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8867720 -
Flags: review?(kinetik)
Attachment #8867720 -
Flags: approval-mozilla-esr52?
Comment 22•8 years ago
|
||
Comment on attachment 8867720 [details]
Bug 1355520 - Unregister system listener on destroy to avoid collisions. r?kinetik
OK for the actual changes given they're reviewed/tested upstream and in nightly, but:
To make review easier, can you be specific which commit (hashes) are being uplifted here? It looks like e5e8e812cd369018318ac282006cc3182b549a08 and 4bf03c2bb6ea0f8c8a0798b59f35edf62c02ffd0 merged together?
Please create a .patch file and add it to update.sh before this is committed. I'll r- for now due to this, otherwise a+ will cause this to be landed by a sheriff.
Attachment #8867720 -
Flags: review?(kinetik) → review-
Assignee | ||
Comment 23•8 years ago
|
||
For approve request please see comment 21.
Attachment #8867720 -
Attachment is obsolete: true
Attachment #8867720 -
Flags: approval-mozilla-esr52?
Attachment #8868645 -
Flags: review?(kinetik)
Attachment #8868645 -
Flags: approval-mozilla-esr52?
Assignee | ||
Comment 24•8 years ago
|
||
The patch is a combination of the following github commits on cubeb repo:
dd746a33bd1dba207996337035b59ae0b29e9fc5
4bf03c2bb6ea0f8c8a0798b59f35edf62c02ffd0
e5e8e812cd369018318ac282006cc3182b549a08 (older)
Updated•8 years ago
|
Attachment #8868645 -
Flags: review?(kinetik) → review+
Comment 25•8 years ago
|
||
Alex, can you clarify the status for this on beta?
Flags: needinfo?(achronop)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(achronop)
Assignee | ||
Comment 26•8 years ago
|
||
Bug is reported only in esr52 and release.
Updated•8 years ago
|
Comment 27•8 years ago
|
||
Comment on attachment 8868645 [details] [diff] [review]
Bug 1355520 - Unregister system listener on destroy to avoid collisions. r?kinetik
cubeb fixes for esr52.
Emil, can you verify the fix after it lands? Having verification some time in the next week or two would be great.
Attachment #8868645 -
Flags: approval-mozilla-esr52? → approval-mozilla-esr52+
Comment 29•8 years ago
|
||
bugherder uplift |
Updated•8 years ago
|
Reporter | ||
Comment 30•8 years ago
|
||
I have verified that this issue is not reproducible anymore using Firefox 52.2.0 esr (Build Id:20170607123825) on macOS 10.11.6 and macOS 10.12.1.
You need to log in
before you can comment on or make changes to this bug.
Description
•