[llvm-bugs] [Bug 52264] New: Consider increasing the size of the static symbolization buffer in sanitizer_common
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 22 09:02:13 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=52264
Bug ID: 52264
Summary: Consider increasing the size of the static
symbolization buffer in sanitizer_common
Product: compiler-rt
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: andrew.c.morrow at gmail.com
CC: llvm-bugs at lists.llvm.org
It appears that there are some 16K static buffers for the symbolizer:
-
https://github.com/llvm/llvm-project/blob/12b44bf5ee3eee46062b5f8f208be20edd0b3e06/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h#L122
-
https://github.com/llvm/llvm-project/blob/12b44bf5ee3eee46062b5f8f208be20edd0b3e06/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h#L150
I have recently encountered some events where it appears that one or more of
these buffers is not sufficient when symbolizing sanitizer failures, leading to
messages like:
==4094==WARNING: Symbolizer buffer too small
Would it be possible to expand these to something larger, maybe 1M? While no
fixed-sized buffer can handle everything, 16K feels very conservative.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211022/1578664a/attachment.html>
More information about the llvm-bugs
mailing list