{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/WSL/issues/3588","repository_url":"https://api.github.com/repos/Microsoft/WSL","labels_url":"https://api.github.com/repos/Microsoft/WSL/issues/3588/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WSL/issues/3588/comments","events_url":"https://api.github.com/repos/Microsoft/WSL/issues/3588/events","html_url":"https://github.com/Microsoft/WSL/issues/3588","id":366214151,"node_id":"MDU6SXNzdWUzNjYyMTQxNTE=","number":3588,"title":"could not execute .exe file beyond windows root","user":{"login":"LightMelodies","id":20811066,"node_id":"MDQ6VXNlcjIwODExMDY2","avatar_url":"https://avatars3.githubusercontent.com/u/20811066?v=4","gravatar_id":"","url":"https://api.github.com/users/LightMelodies","html_url":"https://github.com/LightMelodies","followers_url":"https://api.github.com/users/LightMelodies/followers","following_url":"https://api.github.com/users/LightMelodies/following{/other_user}","gists_url":"https://api.github.com/users/LightMelodies/gists{/gist_id}","starred_url":"https://api.github.com/users/LightMelodies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightMelodies/subscriptions","organizations_url":"https://api.github.com/users/LightMelodies/orgs","repos_url":"https://api.github.com/users/LightMelodies/repos","events_url":"https://api.github.com/users/LightMelodies/events{/privacy}","received_events_url":"https://api.github.com/users/LightMelodies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-03T07:49:37Z","updated_at":"2018-10-03T12:44:10Z","closed_at":null,"author_association":"NONE","body":"* Your Windows build number: (Type ver at a Windows Command Prompt)\r\n10.0.17763.1\r\n* What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)\r\nWhen I change current direcyory to a drive expect C: and try to run some exe file like this\r\n`--- /mnt/r » notepad.exe`\r\n\r\n* What's wrong / what should be happening instead:\r\nAs I expected, notepad.exe should be running, but it failed with this:\r\n`/mnt/c/Windows/System32/notepad.exe: Invalid argument`\r\nHowever, the same command works well when running in /mnt/c or in linux home dir\r\n\r\n* Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).\r\n\r\n```\r\nexecve(\"/mnt/c/Windows/System32/notepad.exe\", [\"notepad.exe\"], 0x7fffc8d3c578 /* 30 vars */) = 0\r\narch_prctl(ARCH_SET_FS, 0x61c0b8) = 0\r\nset_tid_address(0x61c0f0)         = 174\r\ngetpid()                          = 174\r\nbrk(NULL)                         = 0x1b4c000\r\nbrk(0x1b4d000)                    = 0x1b4d000\r\ngetcwd(\"/mnt/r\", 4096)            = 7\r\nuname({sysname=\"Linux\", nodename=\"Canoe\", ...}) = 0\r\nopen(\"/dev/lxssclient\", O_RDWR)   = 3\r\nioctl(3, _IOC(0, 0, 0x2f, 0x22), 0x7fffc360b870) = 0\r\nopen(\"/mnt/c/Windows/System32/notepad.exe\", O_RDONLY|O_NOFOLLOW|O_PATH) = 5\r\nioctl(3, _IOC(0, 0, 0x3f, 0x22), 0x7fffc360b6e0) = 0\r\nclose(5)                          = 0\r\nopen(\"/mnt/r\", O_RDONLY|O_DIRECTORY) = 5\r\nioctl(3, _IOC(0, 0, 0x3f, 0x22), 0x7fffc360b6e0) = 0\r\nclose(5)                          = 0\r\nioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0\r\nioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0\r\nioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0\r\nioctl(0, TIOCGPGRP, [172])        = 0\r\ngetpgid(0)                        = 172\r\nfstat(0, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 1), ...}) = 0\r\nfstat(1, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 1), ...}) = 0\r\nfstat(2, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 1), ...}) = 0\r\nioctl(0, TIOCGWINSZ, {ws_row=50, ws_col=211, ws_xpixel=0, ws_ypixel=0}) = 0\r\nioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 -opost -isig -icanon -echo ...}) = 0\r\ndup(0)                            = 5\r\nioctl(4, _IOC(0, 0, 0xb7, 0x22), 0x7fffc360b840) = 0\r\nioctl(4, _IOC(0, 0, 0xb7, 0x22), 0x7fffc360b840) = 0\r\nioctl(4, _IOC(0, 0, 0xb7, 0x22), 0x7fffc360b840) = 0\r\nwrite(4, \"\\0\\0\\0\\0\\263\\0\\0\\0'\\0\\0\\0\\0\\0\\0\\0(\\0\\0\\0\\0\\0\\0\\0)\\0\\0\\0\\0\\0\\0\\0\"..., 179) = 179\r\nread(4, \"\\10\\0\\0\\0000\\0\\0\\0\\26\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\"..., 48) = 48\r\nwritev(2, [{iov_base=\"/mnt/c/Windows/System32/notepad.\"..., iov_len=54}, {iov_base=NULL, iov_len=0}], 2) = 54\r\nclose(3)                          = 0\r\nSubtitleclose(4)                          = 0\r\nioctl(5, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0\r\nclose(5)                          = 0\r\nexit_group(1)                     = ?\r\n+++ exited with 1 +++\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/WSL/issues/comments/426623700","html_url":"https://github.com/Microsoft/WSL/issues/3588#issuecomment-426623700","issue_url":"https://api.github.com/repos/Microsoft/WSL/issues/3588","id":426623700,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjYyMzcwMA==","user":{"login":"therealkenc","id":7049700,"node_id":"MDQ6VXNlcjcwNDk3MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/7049700?v=4","gravatar_id":"","url":"https://api.github.com/users/therealkenc","html_url":"https://github.com/therealkenc","followers_url":"https://api.github.com/users/therealkenc/followers","following_url":"https://api.github.com/users/therealkenc/following{/other_user}","gists_url":"https://api.github.com/users/therealkenc/gists{/gist_id}","starred_url":"https://api.github.com/users/therealkenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealkenc/subscriptions","organizations_url":"https://api.github.com/users/therealkenc/orgs","repos_url":"https://api.github.com/users/therealkenc/repos","events_url":"https://api.github.com/users/therealkenc/events{/privacy}","received_events_url":"https://api.github.com/users/therealkenc/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T12:44:10Z","updated_at":"2018-10-03T12:44:10Z","author_association":"COLLABORATOR","body":"I almost duped you to #3397 out of the gate when you posted, but saw your build number (17763 > 17728). The fail is too coincidental though. If you get further up `/mnt/r` to say `/mnt/r/this/that/other` does it make a difference?"}}
{"actor":{"display_login":"therealkenc"}}