{"action":"created","issue":{"url":"https://api.github.com/repos/jeaye/color_coded/issues/68","labels_url":"https://api.github.com/repos/jeaye/color_coded/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/jeaye/color_coded/issues/68/comments","events_url":"https://api.github.com/repos/jeaye/color_coded/issues/68/events","html_url":"https://github.com/jeaye/color_coded/issues/68","id":109960598,"number":68,"title":"Segfault when opening a new tmux pane directly after opening vim","user":{"login":"jpfender","id":685798,"avatar_url":"https://avatars.githubusercontent.com/u/685798?v=3","gravatar_id":"","url":"https://api.github.com/users/jpfender","html_url":"https://github.com/jpfender","followers_url":"https://api.github.com/users/jpfender/followers","following_url":"https://api.github.com/users/jpfender/following{/other_user}","gists_url":"https://api.github.com/users/jpfender/gists{/gist_id}","starred_url":"https://api.github.com/users/jpfender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpfender/subscriptions","organizations_url":"https://api.github.com/users/jpfender/orgs","repos_url":"https://api.github.com/users/jpfender/repos","events_url":"https://api.github.com/users/jpfender/events{/privacy}","received_events_url":"https://api.github.com/users/jpfender/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jeaye/color_coded/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jeaye/color_coded/labels/not-reproducible","name":"not-reproducible","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"jeaye","id":1057635,"avatar_url":"https://avatars.githubusercontent.com/u/1057635?v=3","gravatar_id":"","url":"https://api.github.com/users/jeaye","html_url":"https://github.com/jeaye","followers_url":"https://api.github.com/users/jeaye/followers","following_url":"https://api.github.com/users/jeaye/following{/other_user}","gists_url":"https://api.github.com/users/jeaye/gists{/gist_id}","starred_url":"https://api.github.com/users/jeaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeaye/subscriptions","organizations_url":"https://api.github.com/users/jeaye/orgs","repos_url":"https://api.github.com/users/jeaye/repos","events_url":"https://api.github.com/users/jeaye/events{/privacy}","received_events_url":"https://api.github.com/users/jeaye/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-10-06T08:37:52Z","updated_at":"2015-12-04T19:01:06Z","closed_at":null,"body":"I am experiencing what is probably a niche error, but it's a bit frustrating nonetheless.\r\n\r\nPrerequisites: Vim with color_coded, tmux\r\n\r\nSteps to reproduce:\r\n1. Open Vim on a file that causes color_coded to be loaded\r\n2. Immediately open a new tmux pane or window\r\n3. Vim segfaults.\r\n\r\nHere is my gdb output:\r\n\r\n```\r\n#0  0x0000000000463241 in set_ref_in_item ()                                                                                                                                                      \r\n#1  0x00000000005d4e09 in ?? ()\r\n#2  0x00007ffff5397950 in ?? () from /usr/lib/liblua.so.5.3\r\n#3  0x00007ffff5397d0b in ?? () from /usr/lib/liblua.so.5.3\r\n#4  0x00007ffff539386e in lua_callk () from /usr/lib/liblua.so.5.3\r\n#5  0x00000000005d64f8 in set_ref_in_lua ()\r\n#6  0x000000000046ccfd in garbage_collect ()\r\n#7  0x0000000000532b77 in mch_inchar ()\r\n#8  0x00000000005ae280 in ui_inchar ()\r\n#9  0x00000000004c257f in inchar ()\r\n#10 0x00000000004c457d in ?? ()\r\n#11 0x00000000004c4dce in vgetc ()\r\n#12 0x00000000004c5229 in safe_vgetc ()\r\n#13 0x000000000051205d in normal_cmd ()\r\n#14 0x00000000005ef005 in main_loop ()\r\n#15 0x000000000043a0b0 in main ()\r\n(gdb)  \r\n```\r\n\r\nThis error doesn't (usually) occur if color_coded is given a few seconds to initialize. I think I've encountered it once or twice even with a fully loaded file, but I haven't been able to reliably reproduce it.\r\n\r\nThis is not a huge hassle if I remember just to wait a short while after opening vim, but it can be annoying and is probably preventable."},"comment":{"url":"https://api.github.com/repos/jeaye/color_coded/issues/comments/162052948","html_url":"https://github.com/jeaye/color_coded/issues/68#issuecomment-162052948","issue_url":"https://api.github.com/repos/jeaye/color_coded/issues/68","id":162052948,"user":{"login":"wijagels","id":3231775,"avatar_url":"https://avatars.githubusercontent.com/u/3231775?v=3","gravatar_id":"","url":"https://api.github.com/users/wijagels","html_url":"https://github.com/wijagels","followers_url":"https://api.github.com/users/wijagels/followers","following_url":"https://api.github.com/users/wijagels/following{/other_user}","gists_url":"https://api.github.com/users/wijagels/gists{/gist_id}","starred_url":"https://api.github.com/users/wijagels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wijagels/subscriptions","organizations_url":"https://api.github.com/users/wijagels/orgs","repos_url":"https://api.github.com/users/wijagels/repos","events_url":"https://api.github.com/users/wijagels/events{/privacy}","received_events_url":"https://api.github.com/users/wijagels/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T19:01:05Z","updated_at":"2015-12-04T19:01:05Z","body":"I was experiencing the same stack trace on ubuntu 15.10.  If I opened anything color_coded highlights and didn't touch the keyboard, vim would crash about 3-5 seconds in.\r\n\r\nCompiling vim [from source](https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source) fixed this issue, so it appears that it's yet another broken package in Ubuntu's default repository."}}