[lldb-dev] [Bug 18212] New: async nature of lldb startup with a core file could be confusing to user

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 11 06:01:19 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18212

            Bug ID: 18212
           Summary: async nature of lldb startup with a core file could be
                    confusing to user
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

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*>
>::getInt(this=0xa5a5a5a5a5a5a5b5) const + 12 at PointerIntPair.h:76, name =
'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*>
>::getInt(this=0xa5a5a5a5a5a5a5b5) const + 12 at PointerIntPair.h:76, name =
'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
...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131211/1e4f2acc/attachment.html>


More information about the lldb-dev mailing list