Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching process under lldb fails in WSL #2796

Closed
danmoseley opened this issue Jan 1, 2018 · 2 comments
Closed

Launching process under lldb fails in WSL #2796

danmoseley opened this issue Jan 1, 2018 · 2 comments

Comments

@danmoseley
Copy link
Member

Microsoft Windows [Version 10.0.16299.125]

I have lldb 3.8.0 installed

On regular Ubuntu, I can use it successfully to run a process, eg:

image

On WSL Ubuntu doing the same thing seems to hang ... Ctrl C and Ctrl Break do not do anything, hitting enter just moves the cursor down. I have to pkill lldb from another terminal:

image

strace suggests it's a process launch issue:

dan@danmose2:~/dotnetU$ strace -o lldb.strace -f lldb echo 1
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/lldb/__init__.py", line 123, in <module>
    import six
ImportError: No module named six
(lldb) target create "echo"
Current executable set to 'echo' (x86_64).
(lldb) settings set -- target.run-args  "1"
(lldb) run
error: process launch failed: 'A' packet returned an error: 8

Is this scenario supported on WSL?

@therealkenc
Copy link
Collaborator

#2028 PTRACE_TRACEME

@danmoseley
Copy link
Member Author

Thanks, don't know how I didn't see that one.

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

No branches or pull requests

2 participants