Skip to content

Missing kernel feature - debugging processes #688

Closed

Description

Hi,

  • The Apple Swift REPL cannot run on BashOnWindows because of a missing kernel feature - I believe the missing feature is the one associated with debugging processes.
  • Expected results:
$ swift
  >
  • Actual results:
$ swift
  error: failed to launch REPL process: process launch failed: 'A' packet returned an error: 8

Activity

  1. stehufntdev commented on Jul 25, 2016

    @stehufntdev

    Thanks for reporting the issue. Can you please collect an strace of the failing process so we can see why the application is failing?

  2. therealkenc commented on Jul 26, 2016

    @therealkenc

    #555 dup possibly.

  3. jhoareau commented on Jul 27, 2016

    @jhoareau
    Author

    therealkenc Indeed, I believe it is the same issue. You can mark it as duplicate.

  4. therealkenc commented on Aug 27, 2016

    @therealkenc

    The failing syscall appears to be:

    ptrace(PTRACE_TRACEME, 0, 0, 0) = -1 EPERM (Operation not permitted)

  5. sunitjoshi commented on Feb 14, 2017

    @sunitjoshi

    I've the same issue on Windows 10, with Ubuntu 14.04.5 LTS

  6. sunilmut commented on Mar 2, 2017

    @sunilmut
    Member

    Marking it duplicate as per the above comments.

  7. yanite commented on Apr 29, 2019

    @yanite

    I've the same issue on Windows 10, with Ubuntu 18.04 swift 5.0.1

  8. PseudonymPatel commented on Nov 22, 2019

    @PseudonymPatel

    Still having this issue, it would be nice to see if something could be done about it

  9. viegasfh commented on Jan 6, 2022

    @viegasfh

    Any update on this?

  10. jhoareau commented on Jan 6, 2022

    @jhoareau
    Author

    This was fixed with WSL2 using a virtual machine instead of rewriting system calls.

  11. viegasfh commented on Jan 6, 2022

    @viegasfh

    Hi, Julien Hoareau (@jhoareau) !

    Do you have a link I can follow to update this? O native Windows it does nothing. It runs and returns to the command prompt. On Ubuntu 20.04 on WSL2 it hangs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions