{"action":"created","issue":{"url":"https://api.github.com/repos/Pure-D/code-d/issues/232","repository_url":"https://api.github.com/repos/Pure-D/code-d","labels_url":"https://api.github.com/repos/Pure-D/code-d/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/Pure-D/code-d/issues/232/comments","events_url":"https://api.github.com/repos/Pure-D/code-d/issues/232/events","html_url":"https://github.com/Pure-D/code-d/issues/232","id":395109621,"node_id":"MDU6SXNzdWUzOTUxMDk2MjE=","number":232,"title":"language server crashes on startup on OS X","user":{"login":"ghost91-","id":236845,"node_id":"MDQ6VXNlcjIzNjg0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/236845?v=4","gravatar_id":"","url":"https://api.github.com/users/ghost91-","html_url":"https://github.com/ghost91-","followers_url":"https://api.github.com/users/ghost91-/followers","following_url":"https://api.github.com/users/ghost91-/following{/other_user}","gists_url":"https://api.github.com/users/ghost91-/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost91-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost91-/subscriptions","organizations_url":"https://api.github.com/users/ghost91-/orgs","repos_url":"https://api.github.com/users/ghost91-/repos","events_url":"https://api.github.com/users/ghost91-/events{/privacy}","received_events_url":"https://api.github.com/users/ghost91-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2019-01-01T20:24:06Z","updated_at":"2019-01-02T17:48:18Z","closed_at":null,"author_association":"NONE","body":"On OS X, the following simple program crashes the language server on startup. Everything works fine on Linux. I was not able to test it on Windows because I do not have a Windows machine.\r\n\r\n`app.d`:\r\n```d\r\nvoid main()\r\n{\r\n}\r\n```\r\n\r\n`dub.json`:\r\n```json\r\n{\r\n\t\"description\": \"A minimal D application.\",\r\n\t\"license\": \"MIT\",\r\n\t\"authors\": [\r\n\t\t\"Johannes Loher\"\r\n\t],\r\n\t\"copyright\": \"Copyright © 2019, Johannes Loher\",\r\n\t\"name\": \"test\"\r\n}\r\n```\r\n\r\nOutput of \"code-d & serve-d\": https://pastebin.com/3tk7ZXLW (on pastebin, because it is too long for GitHub...)"},"comment":{"url":"https://api.github.com/repos/Pure-D/code-d/issues/comments/450932017","html_url":"https://github.com/Pure-D/code-d/issues/232#issuecomment-450932017","issue_url":"https://api.github.com/repos/Pure-D/code-d/issues/232","id":450932017,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDkzMjAxNw==","user":{"login":"WebFreak001","id":2035977,"node_id":"MDQ6VXNlcjIwMzU5Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2035977?v=4","gravatar_id":"","url":"https://api.github.com/users/WebFreak001","html_url":"https://github.com/WebFreak001","followers_url":"https://api.github.com/users/WebFreak001/followers","following_url":"https://api.github.com/users/WebFreak001/following{/other_user}","gists_url":"https://api.github.com/users/WebFreak001/gists{/gist_id}","starred_url":"https://api.github.com/users/WebFreak001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebFreak001/subscriptions","organizations_url":"https://api.github.com/users/WebFreak001/orgs","repos_url":"https://api.github.com/users/WebFreak001/repos","events_url":"https://api.github.com/users/WebFreak001/events{/privacy}","received_events_url":"https://api.github.com/users/WebFreak001/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T17:48:18Z","updated_at":"2019-01-02T17:48:18Z","author_association":"MEMBER","body":"There is always a second thread running which is reading from stdin, it should never crash unless there is a pipe issue.\r\n\r\nIt doesn't make sense that the `execute` segfaults in libsystem_kernel.dylib but works fine in the tests... Have you tried LDC yet?"}}
{"actor":{"display_login":"WebFreak001"}}