Closed Bug 1792757 Opened 3 years ago Closed 3 years ago

Dump sanitizer heap_profile when soft_rss_limit_mb or hard_rss_limit_mb is exhausted

Categories

(Firefox Build System :: Toolchains, enhancement)

enhancement

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: truber, Assigned: truber)

References

Details

Attachments

(1 file)

*SAN_OPTIONS=heap_profile=1 is useful for seeing the cause for OOM, but it is extremely verbose and not directly timed to soft_rss_limit_mb exhaustion.

This adds a flag to our sanitizers (soft_rss_limit_heap_profile) which dumps a single heap profile immediately after soft_rss_limit_mb is exhausted. This will assist us in bucketing OOMs that occur while fuzzing.

Attachment #9296553 - Attachment description: Bug 1792757 - Dump sanitizer heap profile when soft rss limit is exhausted. r?#firefox-build-system-reviewers! → Bug 1792757 - Dump sanitizer heap profile when rss limit is exhausted. r?#firefox-build-system-reviewers!

Extending to hard_rss_limit_mb also.

Summary: Dump sanitizer heap_profile when soft_rss_limit_mb is exhausted → Dump sanitizer heap_profile when soft_rss_limit_mb or hard_rss_limit_mb is exhausted
Pushed by jdschwa@gmail.com: https://hg.mozilla.org/integration/autoland/rev/5299b22aa4d1 Dump sanitizer heap profile when rss limit is exhausted. r=firefox-build-system-reviewers,glandium
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Depends on: 1799013
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: