Description
Previous ID | SR-14336 |
Radar | rdar://problem/75323647 |
Original Reporter | @hassila |
Type | Bug |
Environment
Swift version 5.4-dev (LLVM d28e4b9, Swift d378e707988c0ef)
swiftdev 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Additional Detail from JIRA
Votes | 1 |
Component/s | LLDB for Swift |
Labels | Bug |
Assignee | @adrian-prantl |
Priority | Medium |
md5: 4715b34b3df978480574db1332de9c74
relates to:
- SR-14303 Assertion failed in TypeSystemSwiftTypeRef.cpp when running 'thread list'/'fr v' crashing lldb on Linux
- SR-14335 Assertion `equivalent && "TypeSystemSwiftTypeRef diverges from SwiftASTContext"' failed
Issue Description:
This is a different reproducer and stack from SR-14335, although same assert title
See attached reproducer.
TypeSystemSwiftTypeRef diverges from SwiftASTContext:
l = 75497473 | eTypeHasChildren | eTypeIsSwift | eTypeIsTuple
r = 8390658 | eTypeHasValue | eTypeIsPointer | eTypeIsSwift
failing type was $syyXED
lldb: /home/build-user/llvm-project/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp:1969: virtual uint32_t lldb_private::TypeSystemSwiftTypeRef::GetTypeInfo(lldb::opaque_compiler_type_t, lldb_private::CompilerType *): Assertion `equivalent && "TypeSystemSwiftTypeRef diverges from SwiftASTContext"' failed.