Closed Bug 1499255 Opened 6 years ago Closed 6 years ago

Android: Crash when android SurfaceTexture is used(Video, WebGL)

Categories

(Core :: Graphics: WebRender, defect, P2)

64 Branch
Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: jan, Assigned: sotaro)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Keywords: nightly-community)

Attachments

(1 file, 4 obsolete files)

(Markus Stange [:mstange] from bug 1498735 comment 0)
> [1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=73edcb2dabe7c97460516ecaf7fb843c35235bab&selectedJob=205166206

Device: Moto G5

Nightly crashes if you play a video on any website.
Priority: -- → P2
Assignee: nobody → sotaro.ikeda.g
I could reproduce the problem.
Before Bug 1502454 fix, I saw a crash at ClipManager::PushOverrideForASR(). Since Bug 1502454 fix, I saw the crash at TextureHost::CreateRenderTexture().
SurfaceTextureHost does not support CreateRenderTexture() yet. It caused a crash.
During debugging, I saw that rust Log does not work as expected. Setting of the log seems not set as expected on android.

log::STATIC_MAX_LEVEL was set to WARN, but we expect it to INFO from https://dxr.mozilla.org/mozilla-central/source/toolkit/library/rust/shared/Cargo.toml#28

log::max_level() was always set to ERROR. GeckoLogger setting was overridden by someone.
Depends on: 1505554
Depends on: 1505559
No longer depends on: 1505554
No longer depends on: 1505559
attachment 9024945 [details] [diff] [review] has the following problem. They are going to be addressed another new bugs.
- [1] mIgnoreTransform is not handled yet.
- [2] mContinuousUpdate is not handled yet.
- [3] Shader compilation failed when GL_OES_EGL_image_external_essl3 is not supported.
Attachment #9023184 - Attachment is obsolete: true
Depends on: 1507074
Depends on: 1507076
Depends on: 1507078
Attachment #9024962 - Flags: review?(nical.bugzilla)
Summary: Android: Videos are crashing Nightly → Android: Crash when android SurfaceTexture is used(Video, WebGL)
Comment on attachment 9024962 [details] [diff] [review]
patch - Make SurfaceTextureHost to support WebRender

Review of attachment 9024962 [details] [diff] [review]:
-----------------------------------------------------------------

Please make sure to have bugs on file for the missing pieces, in particular the implementation of RenderAndroidSurfaceTextureHostOGL::DeleteTextureHandle.
Attachment #9024962 - Flags: review?(nical.bugzilla) → review+
Depends on: 1507667
Depends on: 1507669
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b5ebe325c20d
Make SurfaceTextureHost to support WebRender r=nical
https://hg.mozilla.org/mozilla-central/rev/b5ebe325c20d
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Depends on: 1510174
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: