Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2656

Linux Swift 3.0 crashes in DispatchIO.read()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: libdispatch
    • Labels:
    • Environment:

      Ubuntu, either 14 or 15, doesn't matter with the final Swift 3.0 drop.

      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.

        Attachments

          Activity

            People

            • Assignee:
              dgrove-oss David Grove
              Reporter:
              helge Helge Heß
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: