dMZX Forums: Web player doesn't work in Firefox nightly -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 811 Title Web player doesn't work in Firefox nightly
Product Archived MegaZeux Bugs Status Fixed (Severity 5 - Critical)
Version 2.92e Fixed in 2.92f
Introduced In Version 2.92dOperating System Firefox

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #811: Web player doesn't work in Firefox nightly

#1 User is offline  
Revvy 

  • Jeez guys, there's no need to be narky.
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 3,520
  • Joined: 05-March 01
  • Gender:Male
  • Location:Ontario, Canada

Posted 15 August 2020 - 03:27 PM

Playing https://www.digitalmzx.com/play/182/ in Chrome works; in Firefox it gives a JS exception:

Uncaught (in promise) DOMException: BaseAudioContext.createScriptProcessor: At least one of numberOfInputChannels and numberOfOutputChannels must be nonzero

exception thrown: IndexSizeError: BaseAudioContext.createScriptProcessor: At least one of numberOfInputChannels and numberOfOutputChannels must be nonzero,window.replaceSdlAudioContext@https://www.digitalmzx.com/play/mzxrun_loader.1595207754.js:48:21
89359@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:13209
_emscripten_asm_const_iii@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:20865
init_audio_platform@https://www.digitalmzx.com/play/mzxrun.1595207754.js line 9 > WebAssembly.instantiate:wasm-function[1779]:0xcad80
init_audio@https://www.digitalmzx.com/play/mzxrun.1595207754.js line 9 > WebAssembly.instantiate:wasm-function[1780]:0xcafb1
main@https://www.digitalmzx.com/play/mzxrun.1595207754.js line 9 > WebAssembly.instantiate:wasm-function[1629]:0xbc51f
instrumentWasmExports/</ret[x]@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:185312
Module/Module._main@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:198308
callMain@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:206029
doRun@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:206650
run@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:206814
runCaller@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:205675
removeRunDependency@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:10438
receiveInstance@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:11932
receiveInstantiatedSource@https://www.digitalmzx.com/play/mzxrun.1595207754.js:9:12048
<+AFK> Bringing whisky to my mother is like irrigating a lake.

<+AFK> dormando's apathy is palpable.
* AFK palpates
<dormando> stop that

<Malwyn> undressing with revvy a little over a metre away. new definition of awkward.


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 4)

#2 User is offline  
Revvy 

  • Jeez guys, there's no need to be narky.
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 3,520
  • Joined: 05-March 01
  • Gender:Male
  • Location:Ontario, Canada

Posted 15 August 2020 - 03:28 PM

This looks like it may be a regression from https://github.com/A...47c06e2827a50b.
<+AFK> Bringing whisky to my mother is like irrigating a lake.

<+AFK> dormando's apathy is palpable.
* AFK palpates
<dormando> stop that

<Malwyn> undressing with revvy a little over a metre away. new definition of awkward.

#3 User is online  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 15 August 2020 - 04:34 PM

I can't reproduce this in Firefox 79.0. Are you sure this isn't a Firefox bug?

edit: adding a check to make sure the data fetched from the SDL audio context is valid before continuing should prevent the crash but I'll have to check with Spectere to make sure it still fixes the Safari issue.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#4 User is online  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 15 August 2020 - 08:24 PM

Updating status to: Fixed
Updating severity to: 5 - Critical
Updating version to: 2.92e
Issue fixed in: 2.92f
Updating Introduced In Version to: 2.92d

Fixed in GIT aab52a6e. If the channel count on the SDL AudioContext's script processor is <1, the code for replacing the AudioContext aborts.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#5 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,961
  • Joined: 12-October 00
  • Gender:Male

Posted 16 January 2021 - 07:14 PM

Moving to: Archived MegaZeux Bugs


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2024  IPS, Inc.