Closed
Bug 1269472
Opened 9 years ago
Closed 9 years ago
Hard crash in WebRTC when disconnecting headset
Categories
(Core :: Audio/Video: cubeb, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla48
People
(Reporter: ianbicking, Assigned: achronop)
References
Details
Crash Data
Attachments
(1 file)
6.27 KB,
patch
|
jesup
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Twice (reproducible?) I got a hard crash in Firefox when disconnecting my Logitech G930 wireless headset on Mac, using Dev Edition/48.
Crashes:
https://crash-stats.mozilla.com/report/index/c0dda81f-323a-4f91-9a01-d531a2160502
https://crash-stats.mozilla.com/report/index/9d1a70e6-3523-4bd6-9189-fa43b2160502
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(mreavy)
Comment 1•9 years ago
|
||
This is assert(r == noErr); in cubeb's callback
Probably we shouldn't assert that, but instead handle errors.
Rank: 10
Component: Client → Audio/Video: cubeb
Flags: needinfo?(mreavy)
Priority: -- → P1
Product: Hello (Loop) → Core
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → achronop
Assignee | ||
Updated•9 years ago
|
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Version: unspecified → 48 Branch
Assignee | ||
Comment 2•9 years ago
|
||
This is the pull request pushed to cubeb github repo that handles the error case above:
https://github.com/kinetiknz/cubeb/pull/107
Crash Signature: [@ libsystem_kernel.dylib@0x16f06]
Comment 5•9 years ago
|
||
We should cherry-pick the fix for this from upstream, or (if you prefer and it makes sense - quite possibly not) we could import all of upstream into 48, or (more possibly but still more work than a cherry-pick) make an upstream branch to include the cherry-pick release and import that.
Kinetik, your preference/suggestion?
Flags: needinfo?(kinetik)
Comment 6•9 years ago
|
||
(In reply to Randell Jesup [:jesup] from comment #5)
> We should cherry-pick the fix for this from upstream, or (if you prefer and
> it makes sense - quite possibly not) we could import all of upstream into
> 48, or (more possibly but still more work than a cherry-pick) make an
> upstream branch to include the cherry-pick release and import that.
>
> Kinetik, your preference/suggestion?
Uplifting just this fix is the safest, but looking at the aurora to central diff, if we take everything we also get several important WASAPI fixes and a few other minor changes (non-fatal WinMM input stream failure, PulseAudio minimum latency reduction). We certainly want the WASAPI fixes in 48, so the simplest option is to uplift the current central code to aurora. It has been baking there since May 6th, so it's probably pretty safe at this point.
Flags: needinfo?(kinetik)
Comment 7•9 years ago
|
||
I filed bug 1273349 to cover uplifting all of the changes to aurora.
Comment 8•9 years ago
|
||
(In reply to Matthew Gregan [:kinetik] from comment #7)
> I filed bug 1273349 to cover uplifting all of the changes to aurora.
After discussing this with jesup on IRC, we'll just cherry-pick the patch for this bug for now.
Comment 9•9 years ago
|
||
This has already been review and landed in central via bug 1270004. This patch is to uplift this specific fix to aurora.
Approval Request Comment
[Feature/regressing bug #]: this bug
[User impact if declined]: crash on OS X when disconnecting audio hardware while active
[Describe test coverage new/current, TreeHerder]: manual testing required
[Risks and why]: very low, converts an assertion into an error return; baked on central since May 6th
[String/UUID change made/needed]: none
Attachment #8753215 -
Flags: review?(rjesup)
Attachment #8753215 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Attachment #8753215 -
Flags: review?(rjesup) → review+
Updated•9 years ago
|
status-firefox48:
--- → affected
status-firefox49:
--- → affected
Comment 10•9 years ago
|
||
Attachment #8753215 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/049347855964
should this also be landed on m-c ?
Target Milestone: --- → mozilla48
Comment 12•9 years ago
|
||
(In reply to Carsten Book [:Tomcat] from comment #11)
> https://hg.mozilla.org/releases/mozilla-aurora/rev/049347855964
Thanks!
> should this also be landed on m-c ?
It landed on m-c as part of the larger update in bug 1270004.
Assignee | ||
Comment 13•9 years ago
|
||
The fix is landed on m-c.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 14•9 years ago
|
||
Crash volume for signature 'libsystem_kernel.dylib@0x16f06':
- nightly (version 50): 5 crashes from 2016-06-06.
- release (version 47): 15234 crashes from 2016-05-31.
- esr (version 45): 4298 crashes from 2016-04-07.
Crash volume on the last weeks:
Week N-1 Week N-2 Week N-3 Week N-4 Week N-5 Week N-6 Week N-7
- nightly 1 0 3 0 0 0 1
- release 2588 2485 2421 2328 2411 2159 630
- esr 499 463 412 427 413 377 241
Affected platform: Mac OS X
status-firefox47:
--- → affected
status-firefox50:
--- → affected
status-firefox-esr45:
--- → affected
You need to log in
before you can comment on or make changes to this bug.
Description
•