<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - seg fault on opening the gui twice"
   href="https://llvm.org/bugs/show_bug.cgi?id=25125">25125</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>seg fault on opening the gui twice
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>danlrobertson89@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15044" name="attach_15044" title="Back trace and steps used to create seg fault">attachment 15044</a> <a href="attachment.cgi?id=15044&action=edit" title="Back trace and steps used to create seg fault">[details]</a></span>
Back trace and steps used to create seg fault

Steps to reproduce
    1: Run lldb
    2: Open the ncurses gui
    3: Close the ncurses gui
    4: Open the ncurses gui again

I recently built llvm and friends from the trunk and was reading the
code/playing around with the tools and I found that upon opening the gui
closing the gui and subsequently re-opening the gui, lldb seg faults. See the
attachment for the backtrace and how I generated the seg fault. I have tested
this multiple times and it is reproduceable on my machine. I haven't had the
chance to dig any deeper yet.

lldb --version
  lldb version 3.8.0 (<a href="http://llvm.org/git/lldb.git">http://llvm.org/git/lldb.git</a> revision
4d1c5cbe64ed2928f33c6e6b85a796c545b62a48 clang revision
c160cb00f33c2a708d0901fe55820023a8fb7e8c llvm revision
fce2219764f00e1b6de75bca08d9b10a212165b5)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>