You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Apr 26, 2019
· 1 comment
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of softwareLinuxPlatform: Linux
Although this is likely a coding mistake on my part, this code compiles and runs fine on macOS, but crashes when compiling on Linux, so I thought it might still be worth reporting.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of softwareLinuxPlatform: Linux
Attachment: Download
Environment
Crashes when running Swift 5 on Linux via Docker.
Compiles without warning on Xcode 10.2.
Runs fine and passes tests on MacOS 10.14.3.
Additional Detail from JIRA
md5: 64b68a277d9e792baeba13f82f4c9145
Issue Description:
Although this is likely a coding mistake on my part, this code compiles and runs fine on macOS, but crashes when compiling on Linux, so I thought it might still be worth reporting.
To reproduce:
Clone the repo here
Run ./run_tests.sh which will use docker to test on Linux
The code that causes the error at runtime is line 73 in KVC.swift.
Tests pass when applying this fix which can be found in the master branch of the same repo:
The text was updated successfully, but these errors were encountered: