{"action":"created","issue":{"url":"https://api.github.com/repos/i3/i3/issues/2414","repository_url":"https://api.github.com/repos/i3/i3","labels_url":"https://api.github.com/repos/i3/i3/issues/2414/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/2414/comments","events_url":"https://api.github.com/repos/i3/i3/issues/2414/events","html_url":"https://github.com/i3/i3/issues/2414","id":168539071,"number":2414,"title":"Restarting i3 in-place twice segfaults the i3 process.","user":{"login":"phijaro","id":12972922,"avatar_url":"https://avatars.githubusercontent.com/u/12972922?v=3","gravatar_id":"","url":"https://api.github.com/users/phijaro","html_url":"https://github.com/phijaro","followers_url":"https://api.github.com/users/phijaro/followers","following_url":"https://api.github.com/users/phijaro/following{/other_user}","gists_url":"https://api.github.com/users/phijaro/gists{/gist_id}","starred_url":"https://api.github.com/users/phijaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phijaro/subscriptions","organizations_url":"https://api.github.com/users/phijaro/orgs","repos_url":"https://api.github.com/users/phijaro/repos","events_url":"https://api.github.com/users/phijaro/events{/privacy}","received_events_url":"https://api.github.com/users/phijaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i3/i3/labels/4.12","name":"4.12","color":"009800"},{"url":"https://api.github.com/repos/i3/i3/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-31T21:23:49Z","updated_at":"2016-08-03T16:47:50Z","closed_at":null,"body":"Output of `i3 --moreversion 2>&- || i3 --version`:\r\n\r\nBinary i3 version:  4.12 (2016-03-06, branch \"4.12\") © 2009 Michael Stapelberg and contributors\r\nRunning i3 version: 4.12 (2016-03-06, branch \"4.12\") (pid 10360)\r\nLoaded i3 config: /home/pjr/.i3/config (Last modified: Sat 30 Jul 2016 12:57:41 BST, 119555 seconds ago)\r\n\r\nThe i3 binary you just called: /usr/bin/i3\r\nThe i3 binary you are running: i3\r\n\r\nURL to a logfile as per http://i3wm.org/docs/debugging.html:\r\n\r\nhttp://logs.i3wm.org/logs/5691420614590464.bz2\r\n\r\n(This log probably won't be very useful, as it's from the i3 session I started after the crash in order to file this report...)\r\n\r\n**What I did:**\r\n\r\nHit $mod+Shift-R twice.  It doesn't seem to matter how much time elapses in between.\r\n\r\n(**Edited to add**:  Since opening this issue I've discovered that it only seems to happen when I have a second monitor plugged in.)\r\n\r\n**What I saw:**\r\n\r\ni3 crashed and dumped me back to the login screen; I also found the following line in my syslog:\r\n\r\n`i3[9844]: segfault at 0 ip 000055be987cef96 sp 00007ffe74a3ed50 error 6 in i3[55be987ac000+68000]`\r\n\r\nNo dialog appeared offering the option to save a backtrace.\r\n\r\n**What I expected instead:**\r\n\r\ni3 to restart in-place."},"comment":{"url":"https://api.github.com/repos/i3/i3/issues/comments/237294946","html_url":"https://github.com/i3/i3/issues/2414#issuecomment-237294946","issue_url":"https://api.github.com/repos/i3/i3/issues/2414","id":237294946,"user":{"login":"stapelberg","id":55506,"avatar_url":"https://avatars.githubusercontent.com/u/55506?v=3","gravatar_id":"","url":"https://api.github.com/users/stapelberg","html_url":"https://github.com/stapelberg","followers_url":"https://api.github.com/users/stapelberg/followers","following_url":"https://api.github.com/users/stapelberg/following{/other_user}","gists_url":"https://api.github.com/users/stapelberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stapelberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapelberg/subscriptions","organizations_url":"https://api.github.com/users/stapelberg/orgs","repos_url":"https://api.github.com/users/stapelberg/repos","events_url":"https://api.github.com/users/stapelberg/events{/privacy}","received_events_url":"https://api.github.com/users/stapelberg/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T16:47:50Z","updated_at":"2016-08-03T16:47:50Z","body":"> Yes, not crashing but simply forgetting the layout to restore sounds like a good plan to me.\r\n\r\nAgreed. Handling invalid input gracefully is generally a good thing (not crash) and we should chose the most pragmatic way (forgetting the layout), aside — obviously — from fixing the underlying bug here :)."}}
{"actor":{"display_login":"stapelberg"}}