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-6856] Segmentation fault: 11 #49405

Closed
mdiep opened this issue Jan 27, 2018 · 4 comments
Closed

[SR-6856] Segmentation fault: 11 #49405

mdiep opened this issue Jan 27, 2018 · 4 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

Comments

@mdiep
Copy link
Contributor

mdiep commented Jan 27, 2018

Previous ID SR-6856
Radar rdar://problem/36989790
Original Reporter @mdiep
Type Bug
Status Closed
Resolution Done
Environment

Xcode 9.2.0
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9

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

md5: deceebf0c19347aeeb7478ee58a1ceef

Issue Description:

I'm getting a segfault when building this commit: PersistX/PersistDB@73c81ab

I'm able to reproduce 100% by checking out that commit and running ./script/cibuild PersistDB.xcworkspace "PersistDB (iOS)" "build-for-testing"

I was able to work around the issue here: PersistX/PersistDB@acda696

I'm unable to test with Swift 4.1 due to https://bugs.swift.org/browse/SR-6796.

@belkadan
Copy link
Contributor

@swift-ci create

@bob-wilson
Copy link

I spent some time trying to reproduce this, but didn't get very far. I don't often use Carthage but eventually figured out that I needed to run "carthage update" before ./script/cibuild. Then it failed because I didn't have "swiftformat" installed.

Even if I manage to reproduce the crash, it sounds like I'm not going to be able to check if it is already fixed in 4.1 because of SR-6796.

Can you provide a reduced testcase that shows this crash with 4.1 or master? Otherwise, I think it is not worth investigating this more right now.

@mdiep
Copy link
Contributor Author

mdiep commented Feb 1, 2018

I managed to reduce this to a smaller example and it's fixed in 4.1.

@bob-wilson
Copy link

Great! Thanks

@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
This issue was closed.
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
Projects
None yet
Development

No branches or pull requests

4 participants