payload: {"action":"created","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/3020","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/3020/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/3020/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/3020/events","html_url":"https://github.com/xonsh/xonsh/issues/3020","id":410018932,"node_id":"MDU6SXNzdWU0MTAwMTg5MzI=","number":3020,"title":"cmake hangs under xonsh; runs fine under bash","user":{"login":"pletnes","id":708553,"node_id":"MDQ6VXNlcjcwODU1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/708553?v=4","gravatar_id":"","url":"https://api.github.com/users/pletnes","html_url":"https://github.com/pletnes","followers_url":"https://api.github.com/users/pletnes/followers","following_url":"https://api.github.com/users/pletnes/following{/other_user}","gists_url":"https://api.github.com/users/pletnes/gists{/gist_id}","starred_url":"https://api.github.com/users/pletnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pletnes/subscriptions","organizations_url":"https://api.github.com/users/pletnes/orgs","repos_url":"https://api.github.com/users/pletnes/repos","events_url":"https://api.github.com/users/pletnes/events{/privacy}","received_events_url":"https://api.github.com/users/pletnes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-02-13T21:48:39Z","updated_at":"2019-02-13T22:10:06Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n<!--- If you have a question along the lines of \"How do I do this Bash command in xonsh\"\r\nplease first look over the Bash to Xonsh translation guide: https://xon.sh/bash_to_xsh.html\r\nIf you don't find an answer there, please do open an issue! -->\r\n\r\n## xonfig\r\n\r\n<details>\r\n```\r\n$ xonfig\r\n```\r\n\r\n</details>\r\n\r\n+------------------+-----------------+\r\n| xonsh            | 0.8.10          |\r\n| Python           | 3.7.1           |\r\n| PLY              | 3.11            |\r\n| have readline    | True            |\r\n| prompt toolkit   | 2.0.8           |\r\n| shell type       | prompt_toolkit2 |\r\n| pygments         | 2.3.1           |\r\n| on posix         | True            |\r\n| on linux         | True            |\r\n| distro           | unknown         |\r\n| on darwin        | False           |\r\n| on windows       | False           |\r\n| on cygwin        | False           |\r\n| on msys2         | False           |\r\n| is superuser     | False           |\r\n| default encoding | utf-8           |\r\n| xonsh encoding   | utf-8           |\r\n| encoding errors  | surrogateescape |\r\n+------------------+-----------------+\r\n\r\n## Expected Behavior\r\n<!--- Tell us what should happen -->\r\n\r\nI typed `cmake` and expected `cmake` to configure my project. \r\n## Current Behavior\r\n<!--- Tell us what happens instead of the expected behavior -->\r\n<!--- If part of your bug report is a traceback, please first enter debug mode before triggering the error\r\nTo enter debug mode, set the environment variable `XONSH_DEBUG=1` _before_ starting `xonsh`.  \r\nOn Linux and OSX, an easy way to to do this is to run `env XONSH_DEBUG=1 xonsh` -->\r\n\r\nI expected `cmake` to run just like when under `bash`. But... nothing happened. Turns out `cmake` hangs very early on. Even with debug output, just a single line of output appears. After quite a bit of fiddling, I swapped over to `bash` (gasp) and hit `cmake` - works like a charm.\r\n\r\nRunning `strace`, it appears that `cmake` hangs on a `select(...)` system call. The machine is ubuntu 16.04 under VMWare Workstation Pro. I've tried inside and outside of tmux, via ssh connections, and via the VMWare desktop GUI. Really, really, really weird...\r\n\r\nThe VM is quite new (apt and conda installed packages and a few config files) so I don't think there's any super weird config involved. I've tried removing `~/.xonshrc` but no luck there either.\r\n\r\n### Traceback (if applicable)\r\n\r\n<details>\r\n```\r\ntraceback\r\n```\r\n</details>\r\n\r\n## Steps to Reproduce\r\n<!--- Please try to write out a minimal reproducible snippet to trigger the bug, it will help us fix it! -->\r\n```\r\ncmake ../path/to/CMakeLists.txt\r\n```\r\n\r\nI was trying to build pFUnit from here: https://github.com/Goddard-Fortran-Ecosystem/pFUnit"},"comment":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/comments/463395923","html_url":"https://github.com/xonsh/xonsh/issues/3020#issuecomment-463395923","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/3020","id":463395923,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MzM5NTkyMw==","user":{"login":"pletnes","id":708553,"node_id":"MDQ6VXNlcjcwODU1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/708553?v=4","gravatar_id":"","url":"https://api.github.com/users/pletnes","html_url":"https://github.com/pletnes","followers_url":"https://api.github.com/users/pletnes/followers","following_url":"https://api.github.com/users/pletnes/following{/other_user}","gists_url":"https://api.github.com/users/pletnes/gists{/gist_id}","starred_url":"https://api.github.com/users/pletnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pletnes/subscriptions","organizations_url":"https://api.github.com/users/pletnes/orgs","repos_url":"https://api.github.com/users/pletnes/repos","events_url":"https://api.github.com/users/pletnes/events{/privacy}","received_events_url":"https://api.github.com/users/pletnes/received_events","type":"User","site_admin":false},"created_at":"2019-02-13T22:10:06Z","updated_at":"2019-02-13T22:10:06Z","author_association":"NONE","body":"True, but doesn't help me build my Fortran code. Also I ran into https://github.com/conda/conda/issues/8274 on the way; unsure if this is conda's or xonsh' responsibility."}}
other: {"actor":{"display_login":"pletnes"}}