[Webkit-unassigned] [Bug 259441] WASM module memory errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 24 13:39:15 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259441

--- Comment #1 from Justin Michaud <justin_michaud at apple.com> ---
This issue can be caused by a wide variety of problems.

Does your example work correctly in Chrome or Firefox? Does it reproduce on the latest version of epiphany?

If you increase the amount of memory that rust asks for up front, does the issue go away? If you lower it, does the issue reproduce in the other browsers? What about stack size?

This could be a:
1) random bug in rust or any linked frameworks
2) we run out of memory, but don't signal this to memory.grow successfully
3) we run out of memory, produce the correct status code in memory.grow, but rust doesn't give you a good error
4) the rust sdk goes down a completely different code path for some reason

Cutting down the example further, and perhaps placing some logging around allocations would be super helpful here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230724/08b03803/attachment.htm>


More information about the webkit-unassigned mailing list