Closed Bug 1827050 Opened 2 years ago Closed 2 years ago

with webgl.out-of-process.async-present.force-sync= False and gpu-canvas enabled, codepen demo crashes if you reload the page

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox112 --- unaffected
firefox113 --- wontfix
firefox114 --- fixed

People

(Reporter: mayankleoboy1, Assigned: sotaro)

References

(Regression, )

Details

(Keywords: regression)

Crash Data

Attachments

(2 files)

Enable gpu-canvas
Set webgl.out-of-process.async-present.force-sync = False
Go to https://codepen.io/noeldelgado/pen/NPGmRO
Reload the page by Right Click on tab on tab-bar->"Reload Tab" (If the page doesnt crash, try force-reload)
AR: Screen flashes white
ER: Not so

https://crash-stats.mozilla.org/report/index/c76edca6-ed4c-4519-ac57-9577e0230408
https://crash-stats.mozilla.org/report/index/9c36d17d-9ad9-41e4-bc09-7d5a20230408

Crash Signature: [@ mozilla::CastableTypedEnumResult<T>::operator bool ]
Summary: with webgl.out-of-process.async-present.force-sync= False and gpu-canvas enabled, codepen demo crashes if you navigate away from it → with webgl.out-of-process.async-present.force-sync= False and gpu-canvas enabled, codepen demo crashes if you reload the page

Regression range:
Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D174685

Keywords: regression
Regressed by: 1826134

:jnicol, since you are the author of the regressor, bug 1826134, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jnicol)
Attached file about:support

Given the crash report, I think this was far more likely caused by something like bug 1826280, and not bug 1826134?

Thats probable. The STR is only 90% reproducible. Sometimes, the page doesnt crash if you only do a simple reload, and may require a force-reload
Edit: I did another regression, and the same regression range from comment #1 came up.
Edit2: Deleted the regression builds cache, and did a third regression. The same range came up.

Regressed by: 1826280
No longer regressed by: 1826134
Assignee: nobody → sotaro.ikeda.g

It seemed like a regression of bug 1826280.

Flags: needinfo?(jnicol)

TextureOwner check needs to be done before DUMMY_TEXTURE check.

Crash happened because remoteTexture was nullptr in RemoteTextureMap::GetExternalImageIdOfRemoteTexture(). The remoteTexture was nullptr , since TextureOwner was already unregistered.

Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d587730da14 Check if TextureOwner exists before DUMMY_TEXTURE check r=lsalzman
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

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

The patch landed in nightly and beta is affected.
:sotaro, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox113 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(sotaro.ikeda.g)
Flags: needinfo?(sotaro.ikeda.g)

Async RemoteTexture is not yet enabled by default.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: