Closed Bug 1856145 Opened 2 years ago Closed 2 years ago

Error when trying to load any of betsoft.com games

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 118
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- verified
firefox119 --- verified
firefox120 --- verified

People

(Reporter: bugzilla, Assigned: padenot)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

go to
https://betsoft.com/
choose from top menu
our games
pick a category (eg table games)
choose a game (Baccarat)
Select to Play Demo

Actual results:

error of
A network error error has occured. Please try again and contact support if the error persists

Expected results:

Game should play

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

ni :padenot based on the regression range.

Flags: needinfo?(padenot)
Keywords: regression

Some files (two in the example I've tried) on this website are invalid, and have a granulepos of 4294966502 for the last packet. At 44100Hz that is about 1.2 days. The file is only a few hundreds milliseconds long. This breaks the trimming logic, that trims the entire file. Empty files are reported as errors by decodeAudioData.

Flags: needinfo?(padenot)
Assignee: nobody → padenot
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ee0e2354b16 Protect against incorrect granulepos in OGG bytestream. r=alwu

Based on comment #1, this bug contains a bisection range found by mozregression. However, the Regressed by field is still not filled.

:padenot, if possible, could you fill the Regressed by field and investigate this regression?

For more information, please visit BugBot documentation.

Flags: needinfo?(padenot)

This bug has been marked as a regression. Setting status flag for Nightly to affected.

Flags: needinfo?(padenot)
Regressed by: 1839391

Set release status flags based on info from the regressing bug 1839391

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

Comment on attachment 9356170 [details]
Bug 1856145 - Protect against incorrect granulepos in OGG bytestream. r?alwu

Beta/Release Uplift Approval Request

  • User impact if declined: Content breakage -- gaming website doesn't work anymore
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: STR in https://bugzilla.mozilla.org/show_bug.cgi?id=1856145#c0
  • List of other uplifts needed: None
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): This is special casing this case and reverts to previous behaviour.
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9356170 - Flags: approval-mozilla-release?
Attachment #9356170 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9356170 [details]
Bug 1856145 - Protect against incorrect granulepos in OGG bytestream. r?alwu

Approved for 119.0b6

Attachment #9356170 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: in-testsuite+
QA Whiteboard: [qa-triaged]

Reproduced the issue on Firefox 118, on Ubuntu 22.
Verified as fixed on the latest Nightly 120.0a1 (20231005212657) and Firefox 119.0b6 (treeherder build - 20231004190537) on Ubuntu 22.04 and Ubuntu 20.04.

Comment on attachment 9356170 [details]
Bug 1856145 - Protect against incorrect granulepos in OGG bytestream. r?alwu

Approved for our next 118 dot release, thanks.

Attachment #9356170 - Flags: approval-mozilla-release? → approval-mozilla-release+
Flags: qe-verify+

Verified as fixed on Firefox 118.0.2 (20231009140911) on Ubuntu 22.04 and Ubuntu 20.04.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: