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
Mar 2, 2019
· 1 comment
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareJITLinuxPlatform: Linux
james@james-Inspiron-580:~$ uname -a
Linux james-Inspiron-580 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
james@james-Inspiron-580:~$ swift --version
Swift version 4.2.2 (swift-4.2.2-RELEASE)
Target: x86_64-unknown-linux-gnu
//
import Foundation
let date = Date()
james@james-Inspiron-580:~$ swift xdate.sw
<unknown>:0: error: fatal error encountered during compilation; please file a bug report with your project and the crash log
<unknown>:0: note: Program used external function '$S10Foundation4DateVACycfC' which could not be resolved!
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3defe74]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3dedc8c]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3df0032]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f1746a01890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f1744e64e97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f1744e66801]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4b4f46]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3d9049c]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0xffba8f]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0xffa655]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0xfe832d]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4cd1e8]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4b408a]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4afdc0]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x46ae38]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f1744e47b97]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x46904a]
Stack dump:
0. Program arguments: /swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift -frontend -interpret xdate.sw -disable-objc-interop -color-diagnostics -module-name xdate
Aborted (core dumped)
james@james-Inspiron-580:~$ uname -r
Discovered Foundation uses libcurl. After installation of libcurl3, the problem got worse. Then replaced with libcurl4, problem was fixed. Note that while the Date class functions, the compiler shouldn't abort.
Leaving the bug for now.
The text was updated successfully, but these errors were encountered:
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareJITLinuxPlatform: Linux
Additional Detail from JIRA
md5: ce5d0031d8882b828f4421301cb0bff1
Issue Description:
james@james-Inspiron-580:~$ uname -a
Linux james-Inspiron-580 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
james@james-Inspiron-580:~$ swift --version
Swift version 4.2.2 (swift-4.2.2-RELEASE)
Target: x86_64-unknown-linux-gnu
//
import Foundation
let date = Date()
james@james-Inspiron-580:~$ swift xdate.sw
<unknown>:0: error: fatal error encountered during compilation; please file a bug report with your project and the crash log
<unknown>:0: note: Program used external function '$S10Foundation4DateVACycfC' which could not be resolved!
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3defe74]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3dedc8c]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3df0032]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f1746a01890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f1744e64e97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f1744e66801]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4b4f46]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x3d9049c]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0xffba8f]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0xffa655]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0xfe832d]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4cd1e8]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4b408a]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x4afdc0]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x46ae38]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f1744e47b97]
/swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift[0x46904a]
Stack dump:
0. Program arguments: /swift/swift-4.2.2-RELEASE-ubuntu18.04/usr/bin/swift -frontend -interpret xdate.sw -disable-objc-interop -color-diagnostics -module-name xdate
Aborted (core dumped)
james@james-Inspiron-580:~$ uname -r
Discovered Foundation uses libcurl. After installation of libcurl3, the problem got worse. Then replaced with libcurl4, problem was fixed. Note that while the Date class functions, the compiler shouldn't abort.
Leaving the bug for now.
The text was updated successfully, but these errors were encountered: