Weird crashes if you open a webgpu demo in 30 background tabs in quick succession
Categories
(Core :: Graphics: WebGPU, defect, P1)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug, )
Details
Crash Data
Attachments
(1 obsolete file)
Create fresh profile
Enable webgpu
Open the following webgpu demo in 14-15 background tabs : https://tellusim.com/demos/webgpu-20230515/interface_layer/main.html (Note that the demo itself doesnt work which is a known issue).
ER: Weird crashes
Example:
https://crash-stats.mozilla.org/report/index/64e84e85-ea2a-4df0-96e4-a95790231024
https://crash-stats.mozilla.org/report/index/02ff91bb-3a51-413f-8205-7c5530231024
https://crash-stats.mozilla.org/report/index/c0e0682c-b31c-4037-9949-7042c0231024
https://crash-stats.mozilla.org/report/index/d2ff3037-6746-42ea-92f4-de0800231024
I monitor the task manager and the highest Nightly process memory use never went above 200-300 MB. But feel free to classify this as a OOM and close as RESOLVED INVALID.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
•
|
||
cant repro after i restarted my machine.
Edit: Can repro again if I open 30 demo tabs in the background. The highest memory use of any Nightly process never goes above 300-400mb (and I have plenty of spare RAM)
Reporter | ||
Comment 2•1 year ago
|
||
Reopening in case there is anything interesting here. If there is nothing, I will close in a while.
cc :jandem because one of the signatures is similar to bug 1808352
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 3•1 year ago
|
||
[@ mozilla::dom::binding_detail::DoGetOrCreateDOMReflector ] and [@ mozilla::dom::JSStreamConsumer::WriteSegment ] appear as consistent crash signatures when I repro this crash.
Comment 4•1 year ago
|
||
The signature looks like DoGetOrCreateDOMReflector, but it seems like a null deref, so not quite the same as bug 1808352.
Comment 5•1 year ago
|
||
Mayank, are you able to monitor GPU memory usage while you do this? It may be that you have plenty of CPU memory but we exhaust GPU memory.
Updated•1 year ago
|
Reporter | ||
Comment 6•1 year ago
|
||
(In reply to Jim Blandy :jimb from comment #5)
Mayank, are you able to monitor GPU memory usage while you do this? It may be that you have plenty of CPU memory but we exhaust GPU memory.
You were correct, the GPU memory is exhausted.
Whjen you open 15 webgpu tabs in the background, they take up some GPU RAM. Once you start going to each tab, then memory shoots up quickly. At the instant the browser crashes, the GPU memory was at its physical limit.
Updated•1 year ago
|
Updated•11 months ago
|
Comment 8•3 months ago
|
||
There have been quite a few changes since this was first opened. Mayank is this still an issue or is it now manifesting as one of the other open bugs (ex Bug 1914934/Bug 1911540)?
Reporter | ||
Comment 9•3 months ago
|
||
I dont repro the crash now.
Thanks for the reminder.
Description
•