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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev