<html>
    <head>
      <base href="http://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 --- - async nature of lldb startup with a core file could be confusing to user"
   href="http://llvm.org/bugs/show_bug.cgi?id=18212">18212</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>async nature of lldb startup with a core file could be confusing to user
          </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>FreeBSD
          </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@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emaste@freebsd.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I opened a (large) clang core in lldb, and could enter commands at the (lldb)
prompt before the initial stop notification, resulting in an "invalid thread"
message that could be confusing to new users.

Core file '/tmp/clang-3.4.core' (x86_64) was loaded.
(lldb) bt
error: invalid thread
Process 0 stopped
* thread #1: tid = 0, 0x000000080ff4094c
libclangAST.so`llvm::PointerIntPair<void*, 1u, bool,
llvm::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*>
<span class="quote">>::getInt(this=0xa5a5a5a5a5a5a5b5) const + 12 at PointerIntPair.h:76, name =</span >
'clang-3.4', stop reason = signal SIGBUS
    frame #0: 0x000000080ff4094c libclangAST.so`llvm::PointerIntPair<void*, 1u,
bool, llvm::PointerUnionUIntTraits<clang::DeclContext*,
clang::Decl::MultipleDC*> >::getInt(this=0xa5a5a5a5a5a5a5b5) const + 12 at
PointerIntPair.h:76
   73     }
   74  
   75     IntType getInt() const {
-> 76       return (IntType)((Value >> IntShift) & IntMask);
   77     }
   78  
   79     void setPointer(PointerTy PtrVal) {
(lldb) bt
* thread #1: tid = 0, 0x000000080ff4094c
libclangAST.so`llvm::PointerIntPair<void*, 1u, bool,
llvm::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*>
<span class="quote">>::getInt(this=0xa5a5a5a5a5a5a5b5) const + 12 at PointerIntPair.h:76, name =</span >
'clang-3.4', stop reason = signal SIGBUS
  * frame #0: 0x000000080ff4094c libclangAST.so`llvm::PointerIntPair<void*, 1u,
bool, llvm::PointerUnionUIntTraits<clang::DeclContext*,
clang::Decl::MultipleDC*> >::getInt(this=0xa5a5a5a5a5a5a5b5) const + 12 at
PointerIntPair.h:76
...</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>