Skip to content

Commit 8270d0b

Browse files
authored
Regognize Rust allocation errors as OOMs. (#4635)
Bug: https://crbug.com/391609839
1 parent 7e1ff72 commit 8270d0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/clusterfuzz/stacktraces/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@
191191
r'Failure description: out-of-memory', # Centipede old.
192192
r'========= RSS limit exceeded:', # Centipede new.
193193
r'A device memory allocation has failed\.', # To detect gpu OOM errors.
194+
r'__rust_alloc_error_handler', # Rust allocation failure on OOM.
194195
]))
195196
RUNTIME_ERROR_REGEX = re.compile(r'#\s*Runtime error in (.*)')
196197
RUNTIME_ERROR_LINE_REGEX = re.compile(r'#\s*Runtime error in (.*), line [0-9]+')

0 commit comments

Comments
 (0)