{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/3262","labels_url":"https://api.github.com/repos/minetest/minetest/issues/3262/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/3262/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/3262/events","html_url":"https://github.com/minetest/minetest/issues/3262","id":111946316,"number":3262,"title":"Logfile Option Crashes Minetest on Startup","user":{"login":"LazyJ","id":7246102,"avatar_url":"https://avatars.githubusercontent.com/u/7246102?v=3","gravatar_id":"","url":"https://api.github.com/users/LazyJ","html_url":"https://github.com/LazyJ","followers_url":"https://api.github.com/users/LazyJ/followers","following_url":"https://api.github.com/users/LazyJ/following{/other_user}","gists_url":"https://api.github.com/users/LazyJ/gists{/gist_id}","starred_url":"https://api.github.com/users/LazyJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LazyJ/subscriptions","organizations_url":"https://api.github.com/users/LazyJ/orgs","repos_url":"https://api.github.com/users/LazyJ/repos","events_url":"https://api.github.com/users/LazyJ/events{/privacy}","received_events_url":"https://api.github.com/users/LazyJ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kwolekr","id":630595,"avatar_url":"https://avatars.githubusercontent.com/u/630595?v=3","gravatar_id":"","url":"https://api.github.com/users/kwolekr","html_url":"https://github.com/kwolekr","followers_url":"https://api.github.com/users/kwolekr/followers","following_url":"https://api.github.com/users/kwolekr/following{/other_user}","gists_url":"https://api.github.com/users/kwolekr/gists{/gist_id}","starred_url":"https://api.github.com/users/kwolekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwolekr/subscriptions","organizations_url":"https://api.github.com/users/kwolekr/orgs","repos_url":"https://api.github.com/users/kwolekr/repos","events_url":"https://api.github.com/users/kwolekr/events{/privacy}","received_events_url":"https://api.github.com/users/kwolekr/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-17T06:01:20Z","updated_at":"2015-10-17T21:28:12Z","closed_at":null,"body":"Minetest Commit:  6be74d1\r\n\r\nWhen using the option to **not** produce a debug.txt file, Minetest will crash on start-up.\r\n\r\n```\r\n./minetest --logfile ''\r\n```\r\n\r\nProduces:\r\n\r\n```\r\nERROR[Main]: An unhandled exception occurred: Failed to open log file : No such file or directory\r\nERROR[Main]: In thread 7f6c192d07c0:\r\n<mypath>/minetest/src/main.cpp:e5: int main(int, char**): A fatal error occured: Failed to open log file : No such file or directory\r\nERROR[Main]: Debug stacks:\r\nERROR[Main]: DEBUG STACK FOR THREAD 7f6c192d07c0:\r\nERROR[Main]: #0  int main(int, char**)\r\n(core dumped)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/148953382","html_url":"https://github.com/minetest/minetest/issues/3262#issuecomment-148953382","issue_url":"https://api.github.com/repos/minetest/minetest/issues/3262","id":148953382,"user":{"login":"kilbith","id":7883281,"avatar_url":"https://avatars.githubusercontent.com/u/7883281?v=3","gravatar_id":"","url":"https://api.github.com/users/kilbith","html_url":"https://github.com/kilbith","followers_url":"https://api.github.com/users/kilbith/followers","following_url":"https://api.github.com/users/kilbith/following{/other_user}","gists_url":"https://api.github.com/users/kilbith/gists{/gist_id}","starred_url":"https://api.github.com/users/kilbith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilbith/subscriptions","organizations_url":"https://api.github.com/users/kilbith/orgs","repos_url":"https://api.github.com/users/kilbith/repos","events_url":"https://api.github.com/users/kilbith/events{/privacy}","received_events_url":"https://api.github.com/users/kilbith/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T21:28:12Z","updated_at":"2015-10-17T21:28:12Z","body":"I have a newly appeared `debug.txt` in my home directory..."}}