We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
OS X 10.14.3
md5: 32e2411fd01b1201808a3971744462da
Issue Description:
Reproducing the issue:
1. Run Swift in the command line 2. Enter var test = [Double.self] (replacing Double by Int or String produces the same result).
var test = [Double.self]
Double
Int
String
This is the error log I get:
test: [Double.Type] = 1 value { [0] =Assertion failed: (byte_size > 0 && byte_size <= 8 && "GetMaxU64 invalid byte_size!"), function GetMaxU64, file /Library/Caches/com.apple.xbs/Sources/lldb_Fall2018/lldb_Fall2018-1000.11.38.2/source/Utility/DataExtractor.cpp, line 577 backtrace leading to the failure: 0 LLDB 0x000000010dd1ddb8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40 1 LLDB 0x000000010fb66465 lldb_private::lldb_assert(bool, char const*, char const*, char const*, unsigned int) + 127 2 LLDB 0x000000010fc0cfec lldb_private::DataExtractor::GetMaxU64(unsigned long long*, unsigned long) const + 66 3 LLDB 0x000000010fe96480 lldb_private::CompilerType::GetValueAsScalar(lldb_private::DataExtractor const&, unsigned long long, unsigned long, lldb_private::Scalar&) const + 240 4 LLDB 0x000000010fb20c14 lldb_private::Value::ResolveValue(lldb_private::ExecutionContext*) + 196 5 LLDB 0x000000010fb245db lldb_private::ValueObject::ResolveValue(lldb_private::Scalar&) + 105 6 LLDB 0x000000010fb2710d lldb_private::ValueObject::GetValueAsUnsigned(unsigned long long, bool*) + 75 7 LLDB 0x000000010fb1ebab lldb_private::formatters::swift::SwiftMetatype_SummaryProvider(lldb_private::ValueObject&, lldb_private::Stream&, lldb_private::TypeSummaryOptions const&) + 41 8 LLDB 0x000000010ff2975c lldb_private::CXXFunctionSummaryFormat::FormatObject(lldb_private::ValueObject*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb_private::TypeSummaryOptions const&) + 98 9 LLDB 0x000000010fb2530a lldb_private::ValueObject::GetSummaryAsCString(lldb_private::TypeSummaryImpl*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb_private::TypeSummaryOptions const&) + 202 10 LLDB 0x000000010fb25230 lldb_private::ValueObject::GetSummaryAsCString(lldb_private::TypeSummaryImpl*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, lldb::LanguageType) + 64 11 LLDB 0x000000010fee51a9 lldb_private::ValueObjectPrinter::GetValueSummaryError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 369 12 LLDB 0x000000010fee496c lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded(bool&, bool&) + 188 13 LLDB 0x000000010fee400b lldb_private::ValueObjectPrinter::PrintValueObject() + 129 14 LLDB 0x000000010fee57cf lldb_private::ValueObjectPrinter::PrintChild(lldb_private::SharingPtr<lldb_private::ValueObject>, lldb_private::DumpValueObjectOptions::PointerDepth const&) + 567 15 LLDB 0x000000010fee5c55 lldb_private::ValueObjectPrinter::PrintChildren(bool, bool, lldb_private::DumpValueObjectOptions::PointerDepth const&) + 171 16 LLDB 0x000000010fee4d49 lldb_private::ValueObjectPrinter::PrintChildrenIfNeeded(bool, bool) + 417 17 LLDB 0x000000010fee4025 lldb_private::ValueObjectPrinter::PrintValueObject() + 155 18 LLDB 0x000000010fb2b063 lldb_private::ValueObject::Dump(lldb_private::Stream&, lldb_private::DumpValueObjectOptions const&) + 67 19 LLDB 0x000000010fd67f03 lldb_private::SwiftREPL::PrintOneVariable(lldb_private::Debugger&, std::__1::shared_ptr<lldb_private::StreamFile>&, lldb_private::SharingPtr<lldb_private::ValueObject>&, lldb_private::ExpressionVariable*) + 937 20 LLDB 0x000000010fb60eb8 lldb_private::REPL::IOHandlerInputComplete(lldb_private::IOHandler&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 2686 21 LLDB 0x000000010fbf81b3 lldb_private::IOHandlerEditline::Run() + 319 22 LLDB 0x000000010fabbad2 lldb_private::Debugger::ExecuteIOHandlers() + 68 23 LLDB 0x000000010fabe7ba lldb_private::Debugger::IOHandlerThread(void*) + 14 24 LLDB 0x000000010fd053ef lldb_private::HostNativeThreadBase::ThreadCreateTrampoline(void*) + 105 25 libsystem_pthread.dylib 0x00007fff6cb9c305 _pthread_body + 126 26 libsystem_pthread.dylib 0x00007fff6cb9f26f _pthread_start + 70 27 libsystem_pthread.dylib 0x00007fff6cb9b415 thread_start + 13 please file a bug report against lldb reporting this failure log, and as many details as possible Double }
The text was updated successfully, but these errors were encountered:
Reproduces in Xcode 10.2b1 too. Thanks for reporting!
Sorry, something went wrong.
Patch coming. Thanks for the report!
apple/swift-lldb#1283
Poliorcetics (JIRA User), Could you verify if the problem is fixed and if so move the JIRA to "Closed"?
Thanks! Anna
Comment by Alexis Bourget (JIRA)
Fixed.
No branches or pull requests
Environment
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
OS X 10.14.3
Additional Detail from JIRA
md5: 32e2411fd01b1201808a3971744462da
Issue Description:
Reproducing the issue:
1. Run Swift in the command line
2. Enter
var test = [Double.self]
(replacingDouble
byInt
orString
produces the same result).This is the error log I get:
The text was updated successfully, but these errors were encountered: