[llvm-bugs] [Bug 24450] New: Assertion failed: (width > BitWidth && "Invalid APInt SignExtend request")
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 13 13:05:48 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24450
Bug ID: 24450
Summary: Assertion failed: (width > BitWidth && "Invalid APInt
SignExtend request")
Product: lldb
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: kfischer at college.harvard.edu
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Here is the relevant backtrace for the assertion. Will investigate later, but
filing now, in case the solution jumps out at anyone.
```
Assertion failed: (width > BitWidth && "Invalid APInt SignExtend request"),
function sext, file
/Users/kfischer/Projects/julia-testpatch/deps/llvm-svn/lib/Support/APInt.cpp,
line 956.
Process 76365 stopped
* thread #1: tid = 0x96297, 0x00007fff8c4ca286
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread',
stop reason = signal SIGABRT
frame #0: 0x00007fff8c4ca286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7fff8c4ca286 <+10>: jae 0x7fff8c4ca290 ; <+20>
0x7fff8c4ca288 <+12>: movq %rax, %rdi
0x7fff8c4ca28b <+15>: jmp 0x7fff8c4c5c53 ; cerror_nocancel
0x7fff8c4ca290 <+20>: retq
(lldb) bt
* thread #1: tid = 0x96297, 0x00007fff8c4ca286
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread',
stop reason = signal SIGABRT
* frame #0: 0x00007fff8c4ca286 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff8dec642f libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x0000000101c33096 libLLVM-3.8svn.dylib`abort + 22
frame #3: 0x0000000101c33071 libLLVM-3.8svn.dylib`__assert_rtn + 81
frame #4: 0x0000000101be8e96
libLLVM-3.8svn.dylib`llvm::APInt::sext(unsigned int) const + 582
frame #5: 0x00000001001ba009
liblldb.dylib`lldb_private::Scalar::Promote(lldb_private::Scalar::Type) + 1177
frame #6: 0x00000001001bf2a4
liblldb.dylib`PromoteToMaxType(lldb_private::Scalar const&,
lldb_private::Scalar const&, lldb_private::Scalar&, lldb_private::Scalar
const*&, lldb_private::Scalar const*&) + 180
frame #7: 0x00000001001bf0cd
liblldb.dylib`lldb_private::Scalar::operator+=(lldb_private::Scalar const&) +
93
frame #8: 0x0000000100242f1d
liblldb.dylib`lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext*,
lldb_private::ClangExpressionVariableList*,
lldb_private::ClangExpressionDeclMap*, lldb_private::RegisterContext*,
std::__1::shared_ptr<lldb_private::Module>, lldb_private::DataExtractor const&,
unsigned long long, unsigned long long, lldb::RegisterKind, lldb_private::Value
const*, lldb_private::Value&, lldb_private::Error*) + 11117
frame #9: 0x0000000100240281
liblldb.dylib`lldb_private::DWARFExpression::Evaluate(lldb_private::ExecutionContext*,
lldb_private::ClangExpressionVariableList*,
lldb_private::ClangExpressionDeclMap*, lldb_private::RegisterContext*, unsigned
long long, lldb_private::Value const*, lldb_private::Value&,
lldb_private::Error*) const + 465
frame #10: 0x00000001001eb5de
liblldb.dylib`lldb_private::ValueObjectVariable::UpdateValue() + 398
frame #11: 0x00000001001d6a00
liblldb.dylib`lldb_private::ValueObject::UpdateValueIfNeeded(bool) + 1040
frame #12: 0x00000001001da43b
liblldb.dylib`lldb_private::ValueObject::GetValueAsCString() + 27
frame #13: 0x000000010018447d
liblldb.dylib`lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry
const&, lldb_private::Stream&, lldb_private::SymbolContext const*,
lldb_private::ExecutionContext const*, lldb_private::Address const*,
lldb_private::ValueObject*, bool, bool) + 9005
frame #14: 0x0000000100182412
liblldb.dylib`lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry
const&, lldb_private::Stream&, lldb_private::SymbolContext const*,
lldb_private::ExecutionContext const*, lldb_private::Address const*,
lldb_private::ValueObject*, bool, bool) + 706
frame #15: 0x0000000100182412
liblldb.dylib`lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry
const&, lldb_private::Stream&, lldb_private::SymbolContext const*,
lldb_private::ExecutionContext const*, lldb_private::Address const*,
lldb_private::ValueObject*, bool, bool) + 706
frame #16: 0x0000000100182360
liblldb.dylib`lldb_private::FormatEntity::Format(lldb_private::FormatEntity::Entry
const&, lldb_private::Stream&, lldb_private::SymbolContext const*,
lldb_private::ExecutionContext const*, lldb_private::Address const*,
lldb_private::ValueObject*, bool, bool) + 528
frame #17: 0x000000010049078e
liblldb.dylib`lldb_private::StackFrame::DumpUsingSettingsFormat(lldb_private::Stream*,
char const*) + 222
frame #18: 0x0000000100490e8b
liblldb.dylib`lldb_private::StackFrame::GetStatus(lldb_private::Stream&, bool,
bool, char const*) + 59
frame #19: 0x00000001004932f7
liblldb.dylib`lldb_private::StackFrameList::GetStatus(lldb_private::Stream&,
unsigned int, unsigned int, bool, unsigned int, char const*) + 311
frame #20: 0x00000001004ae23f
liblldb.dylib`lldb_private::Thread::GetStatus(lldb_private::Stream&, unsigned
int, unsigned int, unsigned int) + 671
frame #21: 0x00000001000e8c46
liblldb.dylib`CommandObjectThreadBacktrace::HandleOneThread(lldb_private::Thread&,
lldb_private::CommandReturnObject&) + 54
frame #22: 0x00000001000e41cf
liblldb.dylib`CommandObjectIterateOverThreads::DoExecute(lldb_private::Args&,
lldb_private::CommandReturnObject&) + 687
frame #23: 0x00000001002ac696
liblldb.dylib`lldb_private::CommandObjectParsed::Execute(char const*,
lldb_private::CommandReturnObject&) + 422
frame #24: 0x00000001002a579f
liblldb.dylib`lldb_private::CommandInterpreter::HandleCommand(char const*,
lldb_private::LazyBool, lldb_private::CommandReturnObject&,
lldb_private::ExecutionContext*, bool, bool) + 2527
frame #25: 0x00000001002ad1dc
liblldb.dylib`lldb_private::CommandObjectRegexCommand::DoExecute(char const*,
lldb_private::CommandReturnObject&) + 780
frame #26: 0x00000001002ac7ff
liblldb.dylib`lldb_private::CommandObjectRaw::Execute(char const*,
lldb_private::CommandReturnObject&) + 287
frame #27: 0x00000001002a579f
liblldb.dylib`lldb_private::CommandInterpreter::HandleCommand(char const*,
lldb_private::LazyBool, lldb_private::CommandReturnObject&,
lldb_private::ExecutionContext*, bool, bool) + 2527
frame #28: 0x00000001002a8773
liblldb.dylib`lldb_private::CommandInterpreter::IOHandlerInputComplete(lldb_private::IOHandler&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >&) + 211
frame #29: 0x000000010018a0b6
liblldb.dylib`lldb_private::IOHandlerEditline::Run() + 294
frame #30: 0x0000000100169d42
liblldb.dylib`lldb_private::Debugger::ExecuteIOHandlers() + 162
frame #31: 0x00000001002a913e
liblldb.dylib`lldb_private::CommandInterpreter::RunCommandInterpreter(bool,
bool, lldb_private::CommandInterpreterRunOptions&) + 126
frame #32: 0x000000010004be74
liblldb.dylib`lldb::SBDebugger::RunCommandInterpreter(bool, bool) + 68
frame #33: 0x0000000100004327 lldb`___lldb_unnamed_function25$$lldb + 2519
frame #34: 0x000000010000482f lldb`___lldb_unnamed_function33$$lldb + 463
frame #35: 0x0000000100001304 lldb`___lldb_unnamed_function1$$lldb + 52
```
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150813/56b131e1/attachment.html>
More information about the llvm-bugs
mailing list