swiftlang / swift-docker

Docker Official Image packaging for Swift
https://swift.org
Apache License 2.0
1.36k stars 184 forks source link

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

Open crspybits opened 4 years ago

crspybits commented 4 years ago

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 commented 4 years ago

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

tomerd commented 4 years ago

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

drexin commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

@crspybits Is it ok to close this issue?