Open Bug 1942920 Opened 9 months ago Updated 8 months ago

[@ mozilla::FFTBlock::PerformFFT] | AddressSanitizer: hard rss limit exhausted

Categories

(Core :: Web Audio, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase, Whiteboard: [bugmon:confirm])

Attachments

(2 files)

Testcase found while fuzzing mozilla-central rev bd2ac8b50d75 (built with: --enable-address-sanitizer --enable-fuzzing).

Is it intended that setting the convolver buffer twice with the same buffer would lead to increased memory usage?

Testcase can be reproduced using the following commands:

$ pip install fuzzfetch grizzly-framework --upgrade
$ python -m fuzzfetch --build bd2ac8b50d75 --asan --fuzzing  -n firefox
$ python -m grizzly.replay.bugzilla ./firefox/firefox <bugid>
AddressSanitizer: hard rss limit exhausted
Attached file Testcase

Unable to reproduce bug 1942920 using build mozilla-central 20250119092932-bd2ac8b50d75. Without a baseline, bugmon is unable to analyze this bug.
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.

Keywords: bugmon

The attached testcase here was fairly unreliable during testing. I'm going to leave bugmon disabled.

Blocks: media-triage
Flags: needinfo?(karlt)

Paul suggested you might have some ideas.

More memory usage when setting buffer a second time is expected because allocations for the second buffer are performed before releasing the first buffer, so that the setter can throw without side effects and because another thread owns the first buffer.

No longer blocks: media-triage
Severity: -- → S4
Flags: needinfo?(karlt)

Perhaps we should limit the size of convolver buffers because for large enough buffers we won't be able to process fast enough. Not sure what we should do in that case. Throwing might be more helpful than truncating or passing through. We already throw for OOM.

Component: Audio/Video: Playback → Web Audio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: