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
4.2 CONVERGENCE branch for Ubuntu 18.04 (August 8, 2018)
Additional Detail from JIRA
Votes
0
Component/s
Foundation
Labels
Bug
Assignee
None
Priority
Medium
md5: 8962bfa51fb14e30587f7d3e202069cf
is duplicated by:
SR-9299 "\r\n".replacingOccurrences(of: "\n", with: "_") crashes the program
Issue Description:
I installed the 4.2 CONVERGENCE branch for Ubuntu 18.04 (August 8, 2018)
I have a 100% reproducible runtime crash in a compiled swift program when using carriage return characters (also linefeeds, I didn't test others) in this line:
Yes, I packaged a minimal project that causes the crash here and attached it.
This is my output:
> swift run
Compile Swift Module 'SR_8689_Sample' (1 sources)
Linking ./.build/x86_64-unknown-linux/debug/SR-8689_Sample
[1] 9690 illegal hardware instruction (core dumped) swift run
It works perfectly fine if e.g. I remove the backslash of the first parameter.
Attachment: Download
Environment
4.2 CONVERGENCE branch for Ubuntu 18.04 (August 8, 2018)
Additional Detail from JIRA
md5: 8962bfa51fb14e30587f7d3e202069cf
is duplicated by:
Issue Description:
I installed the 4.2 CONVERGENCE branch for Ubuntu 18.04 (August 8, 2018)
I have a 100% reproducible runtime crash in a compiled swift program when using carriage return characters (also linefeeds, I didn't test others) in this line:
Notice the first parameter is the problem. \r or \n crash at runtime. This does not happen in the REPL or on macOS.
The text was updated successfully, but these errors were encountered: