| | | |------------------|-----------------| |Previous ID | SR-2656 | |Radar | None | |Original Reporter | helge (JIRA User) | |Type | Bug | |Status | Resolved | |Resolution | Done | <details> <summary>Environment</summary> Ubuntu, either 14 or 15, doesn't matter with the final Swift 3.0 drop. </details> <details> <summary>Additional Detail from JIRA</summary> | | | |------------------|-----------------| |Votes | 0 | |Component/s | libdispatch | |Labels | Bug, Linux | |Assignee | dgrove-oss (JIRA) | |Priority | Medium | md5: 11d534504ba248a72e773044ac6867ff </details> **Issue Description:** Swift 3.0: read()ing from a DispatchIO channel on Linux results in a SIGILL: - thread \#6: tid = 1146, 0x00007ffff7efb503 libdispatch.so\`\_os_object_release + 35, name = 'sockd', stop reason = signal SIGILL: illegal instruction operand - frame \#0: 0x00007ffff7efb503 libdispatch.so\`\_os_object_release + 35 frame \#1: 0x00007ffff7ef46b7 libdispatch.so\`\_dispatch_call_block_and_release + 7 I put up an tiny isolated example over here: <https://github.com/helje5/linux-gcd-issue> Works fine on macOS.
Environment
Ubuntu, either 14 or 15, doesn't matter with the final Swift 3.0 drop.
Additional Detail from JIRA
md5: 11d534504ba248a72e773044ac6867ff
Issue Description:
Swift 3.0: read()ing from a DispatchIO channel on Linux results in a SIGILL:
thread Add & use DISPATCH_NOESCAPE attribute macro #6: tid = 1146, 0x00007ffff7efb503 libdispatch.so`_os_object_release + 35, name = 'sockd', stop reason = signal SIGILL: illegal instruction operand
frame #0: 0x00007ffff7efb503 libdispatch.so`_os_object_release + 35
frame Typos #1: 0x00007ffff7ef46b7 libdispatch.so`_dispatch_call_block_and_release + 7
I put up an tiny isolated example over here: https://github.com/helje5/linux-gcd-issue
Works fine on macOS.