MozillaSecurity / MozillaSecurity/FuzzManager

[FTB]Traceback parsing 'AddressSanitizer CHECK failed' report

Open
#670 0 comments 0 reactions 1 assignee View on GitHub

@jschwartzentruber is already working on this.

Since May 13, 2021.

bug FTB
Dominant language
Python
Stars
208
Forks
48
Avg merge
23h 5m
Merged PRs (30d)
2

Description

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/__main__.py", line 12, in <module>
    raise SystemExit(main(GrizzlyArgs().parse_args()))
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/main.py", line 132, in main
    session.run(
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/session.py", line 254, in run
    short_sig = report.crash_info.createShortSignature()
  File "/home/worker/grizzly-auto-run/grizzly/grizzly/common/reporter.py", line 186, in crash_info
    self._crash_info = CrashInfo.fromRawCrashData(
  File "/home/worker/grizzly-auto-run/FuzzManager/FTB/Signatures/CrashInfo.py", line 291, in fromRawCrashData
    result = ASanCrashInfo(stdout, stderr, configuration, auxCrashData)
  File "/home/worker/grizzly-auto-run/FuzzManager/FTB/Signatures/CrashInfo.py", line 669, in __init__
    raise RuntimeError("Fatal error parsing ASan trace (Index mismatch, got index %s but expected %s)" %
RuntimeError: Fatal error parsing ASan trace (Index mismatch, got index 1 but expected 2)

The report that triggered the failure looks like (looks like to merged reports?)

==21001==AddressSanitizer: soft rss limit exhausted (5000Mb vs 5036Mb)
=================================================================
==21001==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x5569cea17a18 bp 0x7f1818503e10 sp 0x7f1818503e00 T48)
==21001==The signal is caused by a WRITE memory access.
==21001==Hint: address points to the zero page.
==21001==AddressSanitizer CHECK failed: /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:143 "((pthread_getattr_np(pthread_self(), &attr))) == ((0))" (0xc, 0x0)
    #0 0x5569ce9e5bae in __asan::AsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_rtl.cpp:74:5
    #0 0x5569cea17a18 in mozalloc_abort /gecko/memory/mozalloc/mozalloc_abort.cpp:33:3
    #1 0x5569ce9fa4bf in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:78:5
    #1 0x5569cea17baa in mozalloc_handle_oom(unsigned long) /gecko/memory/mozalloc/mozalloc_oom.cpp:51:3
    #2 0x5569ce9fafb1 in __sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*) /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:143:3
    #2 0x5569cea17acb in moz_xmalloc /gecko/memory/mozalloc/mozalloc.cpp:54:5
    #3 0x5569ce9fb2c9 in __sanitizer::GetThreadStackAndTls(bool, unsigned long*, unsigned long*, unsigned long*, unsigned long*) /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:548:3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.