<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 - llvm-symbolizer in interactive mode produces crash report message on Ctrl+C"
   href="https://bugs.llvm.org/show_bug.cgi?id=45754">45754</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-symbolizer in interactive mode produces crash report message on Ctrl+C
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>llvm-symbolizer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jh7370.2008@my.bristol.ac.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This appears to be a regression sometime between LLVM 9 and the current head of
master. When using llvm-symbolizer in interactive mode (i.e. without specifying
any addresses on the command-line and without feeding a file via stdin), it
produces the crash report message (but no backtrace) when the user presses
Ctrl+C to terminate the process.

Further investigation suggests that this only happens when the user provides
the input file on the command-line, and not until they have entered at least
one address. Additionally, on occasion I didn't see the message in my
experiments with this.

Example:

PS C:\Work\TempWork> C:\llvm\build\Debug\bin\llvm-symbolizer.exe -e test.elf
0x1234 <-- entered via stdin
??
??:0:0

<enter Ctrl+C>
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
PS C:\Work\TempWork></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>