{"action":"closed","issue":{"url":"https://api.github.com/repos/jumptrading/aminal/issues/17","repository_url":"https://api.github.com/repos/jumptrading/aminal","labels_url":"https://api.github.com/repos/jumptrading/aminal/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/jumptrading/aminal/issues/17/comments","events_url":"https://api.github.com/repos/jumptrading/aminal/issues/17/events","html_url":"https://github.com/jumptrading/aminal/issues/17","id":393829005,"node_id":"MDU6SXNzdWUzOTM4MjkwMDU=","number":17,"title":"Aminal fails to start in some configurations","user":{"login":"nikitar020","id":42252263,"node_id":"MDQ6VXNlcjQyMjUyMjYz","avatar_url":"https://avatars1.githubusercontent.com/u/42252263?v=4","gravatar_id":"","url":"https://api.github.com/users/nikitar020","html_url":"https://github.com/nikitar020","followers_url":"https://api.github.com/users/nikitar020/followers","following_url":"https://api.github.com/users/nikitar020/following{/other_user}","gists_url":"https://api.github.com/users/nikitar020/gists{/gist_id}","starred_url":"https://api.github.com/users/nikitar020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikitar020/subscriptions","organizations_url":"https://api.github.com/users/nikitar020/orgs","repos_url":"https://api.github.com/users/nikitar020/repos","events_url":"https://api.github.com/users/nikitar020/events{/privacy}","received_events_url":"https://api.github.com/users/nikitar020/received_events","type":"User","site_admin":false},"labels":[{"id":1163830019,"node_id":"MDU6TGFiZWwxMTYzODMwMDE5","url":"https://api.github.com/repos/jumptrading/aminal/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"nikitar020","id":42252263,"node_id":"MDQ6VXNlcjQyMjUyMjYz","avatar_url":"https://avatars1.githubusercontent.com/u/42252263?v=4","gravatar_id":"","url":"https://api.github.com/users/nikitar020","html_url":"https://github.com/nikitar020","followers_url":"https://api.github.com/users/nikitar020/followers","following_url":"https://api.github.com/users/nikitar020/following{/other_user}","gists_url":"https://api.github.com/users/nikitar020/gists{/gist_id}","starred_url":"https://api.github.com/users/nikitar020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikitar020/subscriptions","organizations_url":"https://api.github.com/users/nikitar020/orgs","repos_url":"https://api.github.com/users/nikitar020/repos","events_url":"https://api.github.com/users/nikitar020/events{/privacy}","received_events_url":"https://api.github.com/users/nikitar020/received_events","type":"User","site_admin":false},"assignees":[{"login":"nikitar020","id":42252263,"node_id":"MDQ6VXNlcjQyMjUyMjYz","avatar_url":"https://avatars1.githubusercontent.com/u/42252263?v=4","gravatar_id":"","url":"https://api.github.com/users/nikitar020","html_url":"https://github.com/nikitar020","followers_url":"https://api.github.com/users/nikitar020/followers","following_url":"https://api.github.com/users/nikitar020/following{/other_user}","gists_url":"https://api.github.com/users/nikitar020/gists{/gist_id}","starred_url":"https://api.github.com/users/nikitar020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikitar020/subscriptions","organizations_url":"https://api.github.com/users/nikitar020/orgs","repos_url":"https://api.github.com/users/nikitar020/repos","events_url":"https://api.github.com/users/nikitar020/events{/privacy}","received_events_url":"https://api.github.com/users/nikitar020/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-12-24T07:44:02Z","updated_at":"2018-12-27T06:04:27Z","closed_at":"2018-12-27T06:04:27Z","author_association":"COLLABORATOR","body":"**Describe the bug**\r\nWhen running in VM Player on Debian Stretch the program fails to run. \r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Run the program as usual: `./aminal`\r\n2. See the output in the console as above\r\n\r\n**Expected behavior**\r\nIt should open a window\r\n\r\n**Environment (please complete the following information):**\r\n - OS + Version: `Debian GNU/Linux 9 (stretch)`\r\n - Go Version: `go1.11.4 linux/amd64`\r\n - Shell: `/bin/bash`\r\n\r\n**Additional context**\r\nApparently the cause is depend on the OpenGL version and/or on the VMWare tools installed in the virtual machine, but I think this bug might appear also on a bare metal configurations.\r\n\r\n**Logs**\r\n```\r\n1.5456331379494398e+09  info    aminal/main.go:28       Allocating pty...\r\n1.5456331379518902e+09  info    aminal/main.go:53       Creating terminal...\r\n\r\npanic: InvalidValue: Invalid window size 0x0\r\n\r\ngoroutine 1 [running, locked to thread]:\r\ngithub.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw.acceptError(0xc0005419b8, 0x2, 0x2, 0x0, 0x0)\r\n        /home/dimbo/go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/error.go:173 +0x1d1\r\ngithub.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw.CreateWindow(0x8000000000000000, 0x8000000000000000, 0x839e65, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /home/dimbo/go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/window.go:288 +0x17b\r\ngithub.com/liamg/aminal/gui.(*GUI).createWindowWithOpenGLVersion(0xc0000b4000, 0x4, 0x6, 0x38, 0x0, 0x6b73b5)\r\n        /home/dimbo/go/src/github.com/liamg/aminal/gui/gui.go:454 +0xd6\r\ngithub.com/liamg/aminal/gui.(*GUI).createWindow(0xc0000b4000, 0x83ef28, 0x12, 0x0)\r\n        /home/dimbo/go/src/github.com/liamg/aminal/gui/gui.go:427 +0x109\r\ngithub.com/liamg/aminal/gui.(*GUI).Render(0xc0000b4000, 0x0, 0x0)\r\n        /home/dimbo/go/src/github.com/liamg/aminal/gui/gui.go:155 +0xc6\r\nmain.main()\r\n        /home/dimbo/go/src/github.com/liamg/aminal/main.go:60 +0x39e\r\n```\r\n"}}
{"actor":{"display_login":"nikitar020"}}