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-6435] Compile command failed due to signal 4 #48985

Open
iby opened this issue Nov 18, 2017 · 2 comments
Open

[SR-6435] Compile command failed due to signal 4 #48985

iby opened this issue Nov 18, 2017 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software type checker Area → compiler: Semantic analysis

Comments

@iby
Copy link

iby commented Nov 18, 2017

Previous ID SR-6435
Radar None
Original Reporter @iby
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CompilerCrash, TypeChecker
Assignee None
Priority Medium

md5: 01a71d35abe018cfb1f57a2e6b72ff48

Issue Description:

After updating project dependencies complier started crashing, cannot trace it down inside a large projects. System records two similar crashlogs, both attached. Any suggestions on pinpointing this?

@belkadan
Copy link
Contributor

Infinite recursion in the type checker. @rudkx, any ideas?

@iby
Copy link
Author

iby commented Nov 27, 2017

Don't have any reproducibles for this now, but the issue was with generic method whose argument was passed to non-existing invocation, here's an example:

// KeyboardHotkey(value:) signature got changed to KeyboardHotkey(:) – here it doesn't exist, so perhaps type checker tries to find the declaration and goes in recursion.
return self.makeBindingTarget({ $0.hotkeyRecordArea = KeyboardHotkey(value: UInt64($1)) })

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software type checker Area → compiler: Semantic analysis
Projects
None yet
Development

No branches or pull requests

3 participants