With the no-readback webgpu enabled, crash if you close a webgpu demo in the background tab
Categories
(Core :: Graphics: WebGPU, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox119 | --- | unaffected |
firefox120 | --- | unaffected |
firefox121 | --- | verified |
People
(Reporter: mayankleoboy1, Assigned: sotaro)
References
(Regression, )
Details
(Keywords: regression)
Crash Data
Attachments
(3 files)
Use latest nightly which has the patches for bug 1856787
Set dom.webgpu.swap-chain.external-texture-dx12=True . Restart the browser
Go to bug https://bugzilla.mozilla.org/show_bug.cgi?id=1850206
Open the linked webgpu demo in a new tab
Switch to the new tab and keep that tab open for a few seconds . Let the demo run.
Go back to the previous tab and close the demo tab (middle click on the demo tab or right click->Close tab)
AR: Browser flashes
ER: not so?
I get crashes liek this : https://crash-stats.mozilla.org/report/index/26abcc9e-fcc9-43d9-9071-36d7e0231024
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
This is technically not a regression as the no-readback thingy is not fully developed yet. But marking as regression just for tracking. Feel free to track otherwise.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
Reporter | ||
Comment 3•1 year ago
|
||
Reporter | ||
Comment 4•1 year ago
•
|
||
Similarish crash also occurs if you tear the demo tab.
Assignee | ||
Comment 5•1 year ago
|
||
Thank you for the report. I take the bug.
Comment 6•1 year ago
|
||
Set release status flags based on info from the regressing bug 1856787
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 7•1 year ago
|
||
Another aspect of this is that playing GIFs in teh current tab will stop running if this crash occurs.
STR:
- Go to https://github.com/kishimisu/WebGPU-Fluid-Simulation
- Scroll down a bit to the readme. There is a beautiful GIF of the demo.
- Now open the actual demo (https://kishimisu.github.io/WebGPU-Fluid-Simulation/) in a new tab and switch to it for 5 seconds
- Switch back to the github tab with the GIF, and close the demo tab by middle-clicking it by mouse.
AR: The GIF stops playing, may turn white. But it wont recover and start playing normally. Other "moving" things like youtube videos or CSS animations recover almost immediately.
Let me know if you prefer a new bug for this.
Assignee | ||
Comment 8•1 year ago
|
||
Crash occurred when TextureRaw's d3d12::Resource was destroyed after gpu_server_delete().
Assignee | ||
Comment 9•1 year ago
|
||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
bugherder |
Reporter | ||
Comment 12•1 year ago
|
||
Fixed on the latest Nightly. Thanks!
Updated•1 year ago
|
Comment 13•1 year ago
|
||
I've reproduced this issue in Nightly 121.0a1 (2023-10-24) on Windows10 x64 following the STR from Comment 0.
Verified as fixed in the latest Firefox 121.0b7 version on Windows10 x64, Ubuntu 22.04 and macOS 13 where the issue no longer persists.
Description
•