{"action":"created","issue":{"url":"https://api.github.com/repos/SirCmpwn/sway/issues/1356","repository_url":"https://api.github.com/repos/SirCmpwn/sway","labels_url":"https://api.github.com/repos/SirCmpwn/sway/issues/1356/labels{/name}","comments_url":"https://api.github.com/repos/SirCmpwn/sway/issues/1356/comments","events_url":"https://api.github.com/repos/SirCmpwn/sway/issues/1356/events","html_url":"https://github.com/SirCmpwn/sway/issues/1356","id":257553005,"number":1356,"title":"Segfault when running without systemd (voidlinux)","user":{"login":"Guppster","id":1796750,"avatar_url":"https://avatars3.githubusercontent.com/u/1796750?v=4","gravatar_id":"","url":"https://api.github.com/users/Guppster","html_url":"https://github.com/Guppster","followers_url":"https://api.github.com/users/Guppster/followers","following_url":"https://api.github.com/users/Guppster/following{/other_user}","gists_url":"https://api.github.com/users/Guppster/gists{/gist_id}","starred_url":"https://api.github.com/users/Guppster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guppster/subscriptions","organizations_url":"https://api.github.com/users/Guppster/orgs","repos_url":"https://api.github.com/users/Guppster/repos","events_url":"https://api.github.com/users/Guppster/events{/privacy}","received_events_url":"https://api.github.com/users/Guppster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-13T23:41:45Z","updated_at":"2017-09-14T00:00:43Z","closed_at":null,"author_association":"NONE","body":"`sway --version` : sway version  (2017-07-28, branch \"\")\r\nwlc : 0.0.10\r\n\r\nI'm trying to install sway on voidlinux and run from tty. I run into a segmentation fault with the following errors:\r\n\r\n```\r\nSegmentation Fault\r\n09/13/17 09:23:53 - [main.c:65] swaybg requires the compositor to support the desktop-shell extension.\r\n09/13/17 09:23:53 - [registry.c:256] Error opening display\r\n09/13/17 09:23:53 - [ipc-client.c:37] Unable to connect to /run/user/1000/sway-ipc.1000.1474.sock\r\n\r\n```\r\n\r\n`sway -V` : https://gist.github.com/Guppster/3861e6ce580105c1c5ba502466a50797\r\n`strace` : https://gist.github.com/Guppster/c5d5f90d737c362e3ee47ce4c91dcb60\r\n\r\nTwo lines that stood out to me at the end of the strace were: \r\n\r\n```\r\n\"[wlc] Could not open /dev/tty0 t\"..., 46[wlc] Could not open /dev/tty0 to find free vt) \r\nopenat(AT_FDCWD, \"/dev/tty0\", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied)\r\n```\r\n\r\nhttps://github.com/SirCmpwn/sway/issues/1292\r\n\r\nThis is a duplicate but unlike the previous issue iv tried both setuid and setcap with errors on both. The above output was the result of running with just setuid. When i run with just setcap i receive the same output as the previous issue: `[main.c:48] [wlc] Could not open /dev/tty0 to find free vt`"},"comment":{"url":"https://api.github.com/repos/SirCmpwn/sway/issues/comments/329330575","html_url":"https://github.com/SirCmpwn/sway/issues/1356#issuecomment-329330575","issue_url":"https://api.github.com/repos/SirCmpwn/sway/issues/1356","id":329330575,"user":{"login":"SirCmpwn","id":1310872,"avatar_url":"https://avatars0.githubusercontent.com/u/1310872?v=4","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"created_at":"2017-09-14T00:00:43Z","updated_at":"2017-09-14T00:00:43Z","author_association":"OWNER","body":"Can you compile in debug mode (with symbols and no optimizations) and attach to that coredump to gdb, then provide a stacktrace?"}}
{"actor":{"display_login":"SirCmpwn"}}