JavaScript error: resource://gre/actors/AudioPlaybackParent.jsm

REPRODUCIBILITY: 100%
OS VERSION: 4.4.0.58, 4.4.0.68
HARDWARE: Vollaphone/GS290, Xperia 10ii
UI LANGUAGE: en
REGRESSION: yes?

DESCRIPTION:

While updating a WebView app (moremahjong) I noted the following errors:

JavaScript error: resource://gre/actors/AudioPlaybackParent.jsm, line 19: TypeError: browser is null
----
JavaScript error: , line 0: uncaught exception: 2147500037
JavaScript error: resource://gre/modules/SearchService.jsm, line 2300: NS_ERROR_FAILURE: SearchService initialization failed

Audio in the WebApp is unreliable. But not 100% gone. All interaction sounds in the moremahjong app are gone, but the final melody does play. hmmm.

With every interaction (click on matching tiles), the line 19 error appears.

Search in the reqular browser is also broken, so I would guess it’s a library issue. Possibly fixed in .64?

It’s also broken if you open the web app from: Mah

PRECONDITIONS:

Running a WebView app in the SDK with debugging or on the client cli. Or running a javascript that plays audio files.

STEPS TO REPRODUCE:

  1. git clone https://github.com/poetaster/harbour-moremahjong
  2. open the .pro
  3. build for target aarch64
  4. watch the application output window
    OR
  5. go to Mah

EXPECTED RESULT:

Audio files played on interactions.

ACTUAL RESULT:

Interaction audio does not play (mp3/ogg)

MODIFICATIONS:

see the repo, above.

Thanks for creating a bug report about this (and for prodding me about it too). Unfortunately I didn’t get a chance to look into it, but I have created an internal bug report about it, so will tag it as “tracked”.

1 Like

Just checked on 4.4.0.72 (GS290) and on 4.5.0.19 (GS5/Volla22) there error is gone. Interesting on 4.5.0.19 is:

Can't find symbol 'eglCreateDeviceANGLE'.
Can't find symbol 'eglReleaseDeviceANGLE'.

Which may be port related. @piggz, this mean anything to you?