Closed Bug 1070457 Opened 5 years ago Closed 5 years ago
"Assertion failure: m
Driver->m Audio Stream || a Operation == INIT (No audio stream !)" when no audio output device is installed
38 bytes, text/html
195.18 KB, text/plain
1014 bytes, patch
|Details | Diff | Splinter Review|
On fuzzer-win1, simply creating an AudioContext hits a fatal assert: Assertion failure: mDriver->mAudioStream || aOperation == INIT (No audio stream !), at c:\builds\moz2_slave\m-cen-w32-d-000000000000000000\build\content\media\GraphDriver.cpp:460 The tooltip in the system tray says "No Audio Output Device is installed". Which makes sense, because fuzzer-win1 is more like a server than a workstation. Regression from bug 1062293?
Bughunter has seen this over 13000 times on 1290 urls for Aurora and Nightly on Windows VMs without audio on 32bit WinXP, Win7 and 64bit Win7. To confirm Jesse's diagnosis, the logs show: Could not get default audio endpoint. Could not get device.  WARNING: Could not create a cubeb stream for MediaStreamGraph, falling back to a SystemClockDriver: file c:\mozilla\builds\nightly\mozilla\content\media\GraphDriver.cpp, line 580 Assertion failure: mDriver->mAudioStream || aOperation == INIT (No audio stream !) I don't crash with an opt Nightly build on an example url http://grooveshark.com/#%21/tribaltech nor on Jesse's testcase. This is the top crasher for Bughunter right now. Can we remove this assertion if it isn't meaningful?
OS: Mac OS X → All
Hardware: x86_64 → All
Yes, we can downgrade this to a NS_WARNING or something. The code will do the right thing automatically.
Attachment #8504843 - Attachment is obsolete: true
Comment on attachment 8504844 [details] [diff] [review] downgrade assertion about cubeb audiostreams to a warning trivial patch to downgrade the MOZ_ASSERT per padenot
Attachment #8504844 - Flags: review?(roc)
Attachment #8504844 - Flags: review?(roc) → review+
Assignee: nobody → rjesup
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
This has totally annihilated the assertion on Nightly! May I please have it on Aurora and Beta as well?
Comment on attachment 8504844 [details] [diff] [review] downgrade assertion about cubeb audiostreams to a warning Approval Request Comment [Feature/regressing bug #]: bug 848954 [User impact if declined]: assertions/crashes in test [Describe test coverage new/current, TBPL]: current orange; gone in nightly now [Risks and why]: No risk; debug-only change [String/UUID change made/needed]: none
Comment on attachment 8504844 [details] [diff] [review] downgrade assertion about cubeb audiostreams to a warning Beta+ Aurora+
You need to log in before you can comment on or make changes to this bug.