Closed
Bug 1305014
Opened 9 years ago
Closed 9 years ago
Crash in mozilla::OpenSLESProvider::RealizeEngine
Categories
(Firefox for Android Graveyard :: Audio/Video, defect)
Tracking
(firefox49 unaffected, firefox50 unaffected, firefox51 unaffected, firefox52 affected)
RESOLVED
WORKSFORME
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | unaffected |
| firefox50 | --- | unaffected |
| firefox51 | --- | unaffected |
| firefox52 | --- | affected |
People
(Reporter: TeoVermesan, Unassigned)
Details
(Keywords: crash, regression)
Crash Data
This bug was filed from the Socorro interface and is
report bp-a9d7afd7-d620-4d20-9cf3-145352160923.
=============================================================
Steps to reproduce:
1. Go to Go http://mozilla.github.io/webrtc-landing/gum_test.html
2. Choose Audio & Video
Expected results:
- A permission prompt should appear asking to access the built-in camera and built-in microphone
Actual results:
- Nightly crashes
Comment 1•9 years ago
|
||
Regression window:
good build:2016-09-21
bad build:2016-09-22
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e2d2897e4a7449759267bf168e6b37f7b8c3a94b&tochange=f0e6cc6360213ba21fd98c887b55fce5c680df68
Keywords: regressionwindow-wanted
Comment 2•9 years ago
|
||
What device is that? On my Sony Z5C, latest Nightly it works as intended.
Comment 3•9 years ago
|
||
From the linked crash report:
Android Manufacturer
OnePlus
Android Model
ONE A2001
| Reporter | ||
Comment 5•9 years ago
|
||
First time you choose "Audio & Video", Nightly crashes and after restarting the browser and choose once again "Audio & Video", accept permissions, the following error message is displayed: "NotReadableError: Failed to allocate videosource".
I could also reproduce the issue on: Samsung Galaxy Note 5 (Android 6.0.1) and Samsung S6Edge (Android 6.0)
Comment 6•9 years ago
|
||
Does the crash produce with audio only? Video is broken due to bug 1304975.
| Reporter | ||
Comment 7•9 years ago
|
||
I cannot reproduce the crash by choosing "Audio".
Comment 8•9 years ago
|
||
Yes, and I crash too but in a different way:
The 1st time I choose Audio & Video I get the prompt and when I choose to share I get an error message:" NotReadableError: Failed to allocate videosource"
I refresh the page to go back to the initial menu and then when I press again Audio & Video for 2nd time I crash.
Flags: needinfo?(achronop)
Comment 9•9 years ago
|
||
Okay, that explains the regression range:
c1e0b205c39b Florian Quèze — Bug 1299783 - change the name of the temporary permission from 'camera' to something not exposed in the UI, r=gcp.
This change broke video.
However, that's all a bit of a red herring. What we're seeing is that if video fails, we're doing something wrong with the audio setup that eventually causes OpenSLES to crash.
Comment 10•9 years ago
|
||
I am preparing a patch with Full Duplex in opensl es. That changes a little (the least possible) the audio playback. We can follow the error after full duplex is landed. It's a big patch so we may see more errors than that :)
Updated•9 years ago
|
status-firefox49:
--- → unaffected
status-firefox50:
--- → unaffected
Comment 11•9 years ago
|
||
Is that work happening in another bug we can follow along in? We're a couple weeks away from the next uplift and it would be nice if this didn't ride the trains with it.
Flags: needinfo?(achronop)
Comment 12•9 years ago
|
||
The work mentioned earlier was the full duplex back end for android and it is happening in Bug 1221574. I test with a custom fennec including the changes from that bug and seems to work just fine. But, it also works with latest nightly so it should bee something else which has been fixed in the meantime. If it works for Teodora too we can close the bug.
Flags: needinfo?(achronop) → needinfo?(teodora.vermesan)
Comment 13•9 years ago
|
||
Hi Alex,
I am providing information on behalf of Teo,i can confirm that the crash is no longer reproducible by following the steps in the description and comments. This issue seems to be fixed, tried on a Samsung Galaxy S6 EDGE (Android 6.0) and on a Samsung Galaxy Note 5 (Android 6.0.1). This issue was tested using the 52.0a1 (2016-10-21)build
Flags: needinfo?(teodora.vermesan)
Comment 14•9 years ago
|
||
I close it for now since it is not reproducible any more, feel free to reopen if the error returns.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•