Skip to content
New issue

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

[SR-14336] equivalent && "TypeSystemSwiftTypeRef diverges from SwiftASTContext part 2 #4320

Open
hassila opened this issue Mar 11, 2021 · 1 comment
Assignees
Labels
bug Something isn't working LLDB for Swift

Comments

@hassila
Copy link

hassila commented Mar 11, 2021

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.

@weissi
Copy link
Member

weissi commented Mar 11, 2021

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

2 participants