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)

All
Unspecified
defect

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)

[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.
Rank: 15
Priority: -- → P1
Maire, can you help us triage this?
Flags: needinfo?(mreavy)
Jim, Maire is on PTO, I will take it. Thanks
Assignee: nobody → achronop
Flags: needinfo?(mreavy)
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)
Seems intermittent, we don't have anything solid here to work with yet. Wontfix for 53.
Attached file log.txt.child-1.0
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)
Hi Alex! Unfortunately, the issue is still reproducible with the custom build that you provided in comment 7.
Flags: needinfo?(emil.ghitta)
Thanks! Can you please provide logs?
Flags: needinfo?(emil.ghitta)
Attached file log01.txt.0
My mistake (I forgot to attach the log).
Flags: needinfo?(emil.ghitta)
Hmm that's strange can you please provide verbose logs: cubeb:5
Attached file log12.txt (1).0
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
Can you check if the same error occurs for wasapi backend?
Flags: needinfo?(padenot)
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)
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)
I cannot reproduce it on my PC. I'll try it upon I get my Windows laptop.
Flags: needinfo?(cchang)
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)
[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 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-
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?
The patch is a combination of the following github commits on cubeb repo: dd746a33bd1dba207996337035b59ae0b29e9fc5 4bf03c2bb6ea0f8c8a0798b59f35edf62c02ffd0 e5e8e812cd369018318ac282006cc3182b549a08 (older)
Attachment #8868645 - Flags: review?(kinetik) → review+
Alex, can you clarify the status for this on beta?
Flags: needinfo?(achronop)
Flags: needinfo?(achronop)
Bug is reported only in esr52 and release.
See Also: → 1349126
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+
I fail at ni?. See comment 27.
Flags: needinfo?(emil.ghitta)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
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.
Status: RESOLVED → VERIFIED
Flags: needinfo?(emil.ghitta)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: