Repeatedly adding/removing iframe containing Wasm causes out of memory
Categories
(Core :: JavaScript: WebAssembly, defect, P3)
Tracking
()
People
(Reporter: georgian.besleaga, Assigned: bvisness)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Steps to reproduce:
-
Open the attached index.html in Firefox 91.10.0esr (32-bit) and notice:
Status: Compiled
The answer to life itself: 42 -
Click on the button labeled "Reload" next to "Remove the iframe and add it again" and notice the same output as in "1".
-
Repeat "2" until the following output is observed (for me it happens after around ~10 times):
Status: Compiling...
The answer to life itself: -
Open the Developer Tools and notice in Console: "Uncaught out of memory"
Actual results:
An "out of memory" error occurred.
Expected results:
It should be possible to repeatedly add/remove an iframe containing Wasm without an out of memory occurring.
The issue seems to be specific to 32-bit versions. I could reproduce it with Firefox 101.0 (32-bit) too, but not with 91.10.0esr (64-bit) or 101.0 (64-bit).
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Managed to reproduce on Windows 10 x32, the issue is not reproducible on Windows 10 x64.
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:bvisness, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Backed out changeset fd3606f15938 (bug 1773225) for causing spidermonkey bustages in ArrayBufferObject.cpp
Backout: https://hg.mozilla.org/integration/autoland/rev/61a5e77067ce509969ee4ea18bb849ce775ef615
Failure log: https://treeherder.mozilla.org/logviewer?job_id=404894267&repo=autoland&lineNumber=3164
Comment 7•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Reproduce the issue with Windows 10x64 Firefox 91.10.0esr (32-bit).
Verified as fixed with Windows 10x64, Firefox Nightly 112.0a1(32-bit) and 111.0b7 (32-bit).
Updated•2 years ago
|
Description
•