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-14789] Linux - Getting value from property InputStream.streamError traps. #3956
Comments
@swift-ci create |
This is still present in 5.9. Using the following example script: import Foundation
let inputStream = InputStream(data: Data())
print("streamError = \(String(describing: inputStream.streamError))") I reproduced it in the Swift 5.9 nightly docker image
After some light digging, it appears that the root is that |
Can confirm this still happens using the I'm encountering the issue specifically with Alamofire. Alamofire is not officially supported on Linux, but everything that I use works fine except for Multipart requests (as they hit this same crash) The same tests work perfectly on macOS. The Linux use case is only even relevant as our CI runs on Linux. Just wanted to document in case any other Alamofire-on-Linux folk run into this. |
Environment
Additional Detail from JIRA
md5: 8041e548b25e485dcc7fa65e64e981dc
Issue Description:
Attempting to read the value of property streamError in InputStream class causes a trap with the error message "Illegal Instruction" on Linux. I've tried this on 4 different Linux machines. Works fine in macOS.
The text was updated successfully, but these errors were encountered: