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

Getting a Segmentation fault running with swiftlang/swift:nightly-master-xenial-slim #199

Open
crspybits opened this issue Aug 29, 2020 · 5 comments

Comments

@crspybits
Copy link

Because I need a new feature in the 5.3 SPM, I'm trying to switch over my server development to Swift 5.3. I realize it's not a proper release yet, but wondering where a problem lies.

I'm building using:
The Docker image: swiftlang/swift:nightly-5.3-xenial

And then running using:
swiftlang/swift:nightly-master-xenial-slim

The run gives me Segmentation fault only. I've used ldd to attempt to see if I'm missing libraries, but that doesn't seem to be the issue. If I run instead using swiftlang/swift:nightly-5.3-xenial, it works fine. (My server starts fine). I realize I'm not giving you many details. I can provide if that helps.

@shahmishal
Copy link
Member

@drexin @tomerd Do you know what's going on here?

@tomerd
Copy link
Contributor

tomerd commented Sep 1, 2020

hard to say without details about the crash. is there some additional information that can be shared?

@drexin
Copy link
Contributor

drexin commented Sep 1, 2020

@crspybits could you try running your binary in lldb on the slim image? Like @tomerd said, it would be good to have a little more information.

@crspybits
Copy link
Author

Thanks. Just tried building my image again from slim, and running my server. And it's working. Well. Next time, if I get this, I'll try lldb.

@shahmishal
Copy link
Member

@crspybits Is it ok to close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants