<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Consider increasing the size of the static symbolization buffer in sanitizer_common"
   href="https://bugs.llvm.org/show_bug.cgi?id=52264">52264</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Consider increasing the size of the static symbolization buffer in sanitizer_common
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>andrew.c.morrow@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>It appears that there are some 16K static buffers for the symbolizer:

-
<a href="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#L122</a>

-
<a href="https://github.com/llvm/llvm-project/blob/12b44bf5ee3eee46062b5f8f208be20edd0b3e06/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h#L150">https://github.com/llvm/llvm-project/blob/12b44bf5ee3eee46062b5f8f208be20edd0b3e06/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h#L150</a>

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>