Closed
Bug 916773
Opened 11 years ago
Closed 11 years ago
Initialize mLatency in SharedBuffer's constructor
Categories
(Core :: Web Audio, defect)
Core
Web Audio
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: padenot, Assigned: padenot)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
ehsan.akhgari
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #805283 -
Attachment is obsolete: true
Attachment #805283 -
Attachment is patch: false
Attachment #805283 -
Flags: review?(ehsan)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #805285 -
Flags: review?(ehsan)
Comment 3•11 years ago
|
||
Comment on attachment 805285 [details] [diff] [review]
Initialize mLatency in SharedBuffer's constructor.
Review of attachment 805285 [details] [diff] [review]:
-----------------------------------------------------------------
Oops!
Attachment #805285 -
Flags: review?(ehsan) → review+
Updated•11 years ago
|
Attachment #805283 -
Flags: review?(ehsan)
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 805285 [details] [diff] [review]
Initialize mLatency in SharedBuffer's constructor.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 899135
User impact if declined: Unpredictable initial latency, when using WebAudio, suspected test timeout on b2g. This is important to have a solid WebAudio implementation.
Testing completed (on m-c, etc.): This is a trivial programming error (uninitialized variable).
Risk to taking this patch (and alternatives if risky): none.
String or IDL/UUID changes made by this patch: none.
Attachment #805285 -
Flags: approval-mozilla-beta?
Attachment #805285 -
Flags: approval-mozilla-aurora?
Comment 6•11 years ago
|
||
Do we have any evidence that this is responsible for the test timeouts in b2g?
Comment 7•11 years ago
|
||
The push this bug was in + followups have been backed out for crashes of form:
https://tbpl.mozilla.org/php/getParsedLog.php?id=27977619&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=27976043&tree=Mozilla-Inbound
https://hg.mozilla.org/integration/mozilla-inbound/rev/58dbd84ae828
https://hg.mozilla.org/integration/mozilla-inbound/rev/9524b1df278e
https://hg.mozilla.org/integration/mozilla-inbound/rev/fb89f2090779
https://hg.mozilla.org/integration/mozilla-inbound/rev/fe576415129e
https://hg.mozilla.org/integration/mozilla-inbound/rev/5e5d5e42f6c2
https://hg.mozilla.org/integration/mozilla-inbound/rev/b221626331b4
https://hg.mozilla.org/integration/mozilla-inbound/rev/2aa38a1a2b06
https://hg.mozilla.org/integration/mozilla-inbound/rev/3d2aac8dc618
https://hg.mozilla.org/integration/mozilla-inbound/rev/ade49a801461
https://hg.mozilla.org/integration/mozilla-inbound/rev/4323508b3412
Comment 8•11 years ago
|
||
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #6)
> Do we have any evidence that this is responsible for the test timeouts in
> b2g?
Nothing experimental. Just looking at the code, imagining what would happen with a large latency, and 908306 comment 11 observing that onaudioprocess is not called when a test times out.
There seem to have been some tests timing out even though they don't use ScriptProcessor, so this may not be the only issue on b2g.
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Comment 11•11 years ago
|
||
Comment on attachment 805285 [details] [diff] [review]
Initialize mLatency in SharedBuffer's constructor.
Doesn't meet the bar of needing uplift to Desktop/Mobile Firefox 25, good for Aurora and B2G 1.2 though
Attachment #805285 -
Flags: approval-mozilla-beta?
Attachment #805285 -
Flags: approval-mozilla-beta-
Attachment #805285 -
Flags: approval-mozilla-aurora?
Attachment #805285 -
Flags: approval-mozilla-aurora+
Comment 12•11 years ago
|
||
Comment on attachment 805285 [details] [diff] [review]
Initialize mLatency in SharedBuffer's constructor.
(In reply to comment #11)
> Comment on attachment 805285 [details] [diff] [review]
> --> https://bugzilla.mozilla.org/attachment.cgi?id=805285
> Initialize mLatency in SharedBuffer's constructor.
>
> Doesn't meet the bar of needing uplift to Desktop/Mobile Firefox 25, good for
> Aurora and B2G 1.2 though
This patch is almost as low-risk as a patch can possibly be, and it fixes a bug where we just read from garbage memory. Can you please reconsider? Thanks!
Attachment #805285 -
Flags: approval-mozilla-beta- → approval-mozilla-beta?
Comment 13•11 years ago
|
||
Comment on attachment 805285 [details] [diff] [review]
Initialize mLatency in SharedBuffer's constructor.
Low risk early in the beta, not hugely against it.
Attachment #805285 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 14•11 years ago
|
||
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•