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-10006] Segmentation fault in REPL #3524

Closed
swift-ci opened this issue Feb 27, 2019 · 5 comments
Closed

[SR-10006] Segmentation fault in REPL #3524

swift-ci opened this issue Feb 27, 2019 · 5 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-10006
Radar None
Original Reporter Lorenzo (JIRA User)
Type Bug
Status Resolved
Resolution Cannot Reproduce

Attachment: Download

Environment

Linux mx 4.15.0-1-amd64 #1 SMP Debian 4.15.4-1~mx17+1 (2018-02-23) x86_64 GNU/Linux

Swift version 4.2.2 (swift-4.2.2-RELEASE)
Target: x86_64-unknown-linux-gnu

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

md5: 0d0452cd5298453f37391cd6eb760447

Issue Description:

During the creation of Foundation.Process() in REPL i receive Segmentation Fault exception and the REPL crashes.

See attachement.

You can replicate the error with this command sequence (in REPL instance)

  • import Foundation

  • let process = Foundation.Process()

@belkadan
Copy link

cc @dcci

@dcci
Copy link
Mannequin

dcci mannequin commented Feb 28, 2019

Taking a look at this.

@dcci
Copy link
Mannequin

dcci mannequin commented Feb 28, 2019

This works on a recent snapshot:

./swift-DEVELOPMENT-SNAPSHOT-2019-02-26-a-ubuntu16.04/usr/bin/swift
Welcome to Swift version 5.0-dev (LLVM 6ddb64316c, Swift e76b5a847c).
Type :help for assistance.
  1> import Foundation
  2> let x = Foundation.Process()

@dcci
Copy link
Mannequin

dcci mannequin commented Feb 28, 2019

I think this was fixed at some point, as it doesn't reproduce on a new toolchain. Can I ask you to try updating and see if this still reproduces? Otherwise, we can call it a night.

@swift-ci
Copy link
Contributor Author

swift-ci commented Mar 5, 2019

Comment by Lorenzo (JIRA)

Confirmed fix in the last dev version of 5.0.0.

@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
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants