{"action":"created","issue":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/361","labels_url":"https://api.github.com/repos/Andersbakken/rtags/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/Andersbakken/rtags/issues/361/comments","events_url":"https://api.github.com/repos/Andersbakken/rtags/issues/361/events","html_url":"https://github.com/Andersbakken/rtags/issues/361","id":86097624,"number":361,"title":"rc sometimes never returns","user":{"login":"chep","id":3686096,"avatar_url":"https://avatars.githubusercontent.com/u/3686096?v=3","gravatar_id":"","url":"https://api.github.com/users/chep","html_url":"https://github.com/chep","followers_url":"https://api.github.com/users/chep/followers","following_url":"https://api.github.com/users/chep/following{/other_user}","gists_url":"https://api.github.com/users/chep/gists{/gist_id}","starred_url":"https://api.github.com/users/chep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chep/subscriptions","organizations_url":"https://api.github.com/users/chep/orgs","repos_url":"https://api.github.com/users/chep/repos","events_url":"https://api.github.com/users/chep/events{/privacy}","received_events_url":"https://api.github.com/users/chep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-08T09:19:47Z","updated_at":"2015-06-09T04:46:17Z","closed_at":null,"body":"Hi Anders,\r\n\r\nSometimes, rc never returns. This happens when I have an unsaved file. The rc\r\ncommand is:\r\n\r\n/home/chep/bin/rc --current-file=my-file.cpp --unsaved-file=my-file.cpp:13352 -V my-file.cpp\r\n\r\nEmacs calls rc like this very often and each time I need to press several times\r\nC-g or do a killall -9 rc.\r\n"},"comment":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/comments/110224502","html_url":"https://github.com/Andersbakken/rtags/issues/361#issuecomment-110224502","issue_url":"https://api.github.com/repos/Andersbakken/rtags/issues/361","id":110224502,"user":{"login":"Andersbakken","id":73034,"avatar_url":"https://avatars.githubusercontent.com/u/73034?v=3","gravatar_id":"","url":"https://api.github.com/users/Andersbakken","html_url":"https://github.com/Andersbakken","followers_url":"https://api.github.com/users/Andersbakken/followers","following_url":"https://api.github.com/users/Andersbakken/following{/other_user}","gists_url":"https://api.github.com/users/Andersbakken/gists{/gist_id}","starred_url":"https://api.github.com/users/Andersbakken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andersbakken/subscriptions","organizations_url":"https://api.github.com/users/Andersbakken/orgs","repos_url":"https://api.github.com/users/Andersbakken/repos","events_url":"https://api.github.com/users/Andersbakken/events{/privacy}","received_events_url":"https://api.github.com/users/Andersbakken/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T04:46:17Z","updated_at":"2015-06-09T04:46:17Z","body":"Hm.\n\nThis is using a feature I don't personally actually use. Any chance you\ncould build rc with debug symbols (make debug && make) and try to break rc\nwhile it's running?\n\nMy suspicion is that it's sitting on this line in RClient.cpp\n\n            const int r = fread(contents.data(), 1, bytes, stdin);\n\nCan you verify?\n\nAnders\n\n\nOn Mon, Jun 8, 2015 at 2:19 AM, Cédric Chépied <notifications@github.com>\nwrote:\n\n> Hi Anders,\n>\n> Sometimes, rc never returns. This happens when I have an unsaved file. The\n> rc\n> command is:\n>\n> /home/chep/bin/rc --current-file=my-file.cpp\n> --unsaved-file=my-file.cpp:13352 -V my-file.cpp\n>\n> Emacs calls rc like this very often and each time I need to press several\n> times\n> C-g ok do a killall -9 rc.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Andersbakken/rtags/issues/361>.\n>\n"}}