{"action":"closed","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/4685","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/4685/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/4685/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/4685/events","html_url":"https://github.com/neovim/neovim/issues/4685","id":152020984,"number":4685,"title":"tempfile_spec.lua fails","user":{"login":"KillTheMule","id":4117685,"avatar_url":"https://avatars.githubusercontent.com/u/4117685?v=3","gravatar_id":"","url":"https://api.github.com/users/KillTheMule","html_url":"https://github.com/KillTheMule","followers_url":"https://api.github.com/users/KillTheMule/followers","following_url":"https://api.github.com/users/KillTheMule/following{/other_user}","gists_url":"https://api.github.com/users/KillTheMule/gists{/gist_id}","starred_url":"https://api.github.com/users/KillTheMule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KillTheMule/subscriptions","organizations_url":"https://api.github.com/users/KillTheMule/orgs","repos_url":"https://api.github.com/users/KillTheMule/repos","events_url":"https://api.github.com/users/KillTheMule/events{/privacy}","received_events_url":"https://api.github.com/users/KillTheMule/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/tests","name":"tests","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/10","html_url":"https://github.com/neovim/neovim/milestones/0.2","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/10/labels","id":1183808,"number":10,"title":"0.2","description":"beta release, codename: \"keanu\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":134,"closed_issues":101,"state":"open","created_at":"2015-06-27T19:05:24Z","updated_at":"2016-05-10T06:00:07Z","due_on":"2016-09-30T04:00:00Z","closed_at":null},"comments":5,"created_at":"2016-04-30T09:54:42Z","updated_at":"2016-05-10T06:00:07Z","closed_at":"2016-05-10T06:00:07Z","body":"... on current master (https://github.com/neovim/neovim/commit/cd3461b0047a7327d08ffd30b8d30fd6b92da399). The reason is that upon [creation of a tempdir](https://github.com/neovim/neovim/blob/cd3461b0047a7327d08ffd30b8d30fd6b92da399/src/nvim/fileio.c#L5123) a socket named '0' is created in that directory, so that [this assertion](https://github.com/neovim/neovim/blob/cd3461b0047a7327d08ffd30b8d30fd6b92da399/test/unit/tempfile_spec.lua#L24) fails (actually it could of course also be the other lines of the test that create the socket as a side effect).\r\n\r\nI reverted the changes to `fileio.c` until 2dfc8de1cf59a2db2b873837946549f631d06d71, but the test still would fail. I haven't even been able to find out if the test is wrong or the behavior of nvim, so maybe someone else can look at this. Thanks!\r\n\r\nAlso, there is this weird issue where `make unittest` fails with a Segfault and outputs\r\n\r\n> \r\n> [55/55] cd /home/pips/Devel/neovim/neovim/build && /usr/bin/cmake -DBUSTE...d -DTEST_TYPE=unit -P /home/pips/Devel/neovim/neovim/cmake/RunTests.cmake\r\n> FAILED: cd /home/pips/Devel/neovim/neovim/build && /usr/bin/cmake -DBUSTED_PRG=/home/pips/Devel/neovim/neovim/.deps/usr/bin/busted -DLUA_PRG=/home/pips/Devel/neovim/neovim/.deps/usr/bin/luajit -DWORKING_DIR=/home/pips/Devel/neovim/neovim -DBUSTED_OUTPUT_TYPE=utfTerminal -DTEST_DIR=/home/pips/Devel/neovim/neovim/test -DBUILD_DIR=/home/pips/Devel/neovim/neovim/build -DTEST_TYPE=unit -P /home/pips/Devel/neovim/neovim/cmake/RunTests.cmake\r\n>●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●-- Output to stderr:\r\n> E474: No container to close: ]\r\n> E474: Closing list with curly bracket: }\r\n> E474: Closing dictionary with square bracket: ]\r\n> E474: Trailing comma: ]\r\n> E474: Expected value after colon: }\r\n> E474: Expected value: }\r\n> E474: Comma not inside container: ,\r\n> E474: Duplicate comma: ,1]\r\n> E474: Comma after colon: ,}\r\n> E474: Using comma in place of colon: ,}\r\n> E474: Leading comma: ,}\r\n> E474: Leading comma: ,]\r\n> E474: Colon not inside container: :\r\n> E474: Using colon not in dictionary: :]\r\n> E474: Unexpected colon: :}\r\n> E474: Duplicate colon: :1}\r\n> E474: Expected null: n\r\n> E474: Expected true: t\r\n> E474: Expected false: f\r\n> E474: Unfinished escape sequence: \"\\\r\n> E474: Unfinished unicode escape sequence: \"\\u\"\r\n> E474: Expected four hex digits after \\u: \\uXXXX\"\r\n> E474: Unknown escape sequence: \\?\"\r\n> E474: ASCII control characters cannot be present inside string: ^I\"\r\n> E474: Only UTF-8 strings allowed: <c2>\"\r\n> E474: Only UTF-8 code points up to U+10FFFF are allowed to appear unescaped: ?\"\r\n> E474: Expected string end: \"\r\n> E474: Failed to convert string \"?\" from UTF-8\r\n> E474: Missing number after minus sign: -\r\n> E474: Missing number after decimal dot: -1.\r\n> E474: Missing exponent: -1.0e\r\n> E474: Unidentified byte: ?\r\n> E474: Trailing characters: ?\r\n> E474: Unexpected end of input: [1\r\n> E474: Missing number after minus sign: -\r\n>\r\n>CMake Error at /home/pips/Devel/neovim/neovim/cmake/RunTests.cmake:39 (message):\r\n>  Running unit tests failed with error: Segmentation fault.\r\n\r\n(The dotted chars don'tshow up in my xterm, this is what c&p carries over). This is related to [decode_spec.lua](https://github.com/neovim/neovim/blob/master/test/unit/eval/decode_spec.lua#L87), but running `TEST_FILE=test/unit/eval/decode_spec.lua make unittest` passes successfully.\r\n\r\n"}}