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-11776] Cyclic Metadata Dependency in Swift 5 #4556

Open
swift-ci opened this issue Nov 13, 2019 · 2 comments
Open

[SR-11776] Cyclic Metadata Dependency in Swift 5 #4556

swift-ci opened this issue Nov 13, 2019 · 2 comments
Labels
bug Something isn't working Crash LLDB for Swift

Comments

@swift-ci
Copy link

Previous ID SR-11776
Radar rdar://problem/57176799
Original Reporter ermik (JIRA User)
Type Bug

Attachment: Download

Environment

Catalina 10.15.1

Xcode Version 11.2.1 (11B500)

Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)

lldb-1100.0.30.6

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug, Crash
Assignee None
Priority Medium

md5: 85111c25b68a2b55c03852724d967470

Issue Description:

Attached project builds successfully but results in EXC_BAD_ACCESS crash at class initializer callsite (RootBuilder.swift#46, marked). Running po ClassName.self ahead of crash produces the following output:

(lldb) po RootRouter.self
error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x0).
The process has been returned to the state before expression evaluation.

(lldb) po RootRouter.self
SingletonMetadataCache(0x600003fdd5e0): cyclic metadata dependency detected, aborting
error: Execution was interrupted, reason: signal SIGABRT.
The process has been returned to the state before expression evaluation.
@beccadax
Copy link

@swift-ci create

@swift-ci
Copy link
Author

Comment by Ermolay Romanov (JIRA)

brentdax (JIRA User) I see that there is some triage here, but what would you say the status of this is?

Thanks!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 7, 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 Crash LLDB for Swift
Projects
None yet
Development

No branches or pull requests

2 participants