{"action":"created","issue":{"url":"https://api.github.com/repos/cesanta/mos-tool/issues/2","repository_url":"https://api.github.com/repos/cesanta/mos-tool","labels_url":"https://api.github.com/repos/cesanta/mos-tool/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/cesanta/mos-tool/issues/2/comments","events_url":"https://api.github.com/repos/cesanta/mos-tool/issues/2/events","html_url":"https://github.com/cesanta/mos-tool/issues/2","id":295121183,"number":2,"title":"`mos` crashing on startup (Linux)","user":{"login":"r8d8","id":8018746,"avatar_url":"https://avatars0.githubusercontent.com/u/8018746?v=4","gravatar_id":"","url":"https://api.github.com/users/r8d8","html_url":"https://github.com/r8d8","followers_url":"https://api.github.com/users/r8d8/followers","following_url":"https://api.github.com/users/r8d8/following{/other_user}","gists_url":"https://api.github.com/users/r8d8/gists{/gist_id}","starred_url":"https://api.github.com/users/r8d8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r8d8/subscriptions","organizations_url":"https://api.github.com/users/r8d8/orgs","repos_url":"https://api.github.com/users/r8d8/repos","events_url":"https://api.github.com/users/r8d8/events{/privacy}","received_events_url":"https://api.github.com/users/r8d8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dimonomid","id":1329932,"avatar_url":"https://avatars0.githubusercontent.com/u/1329932?v=4","gravatar_id":"","url":"https://api.github.com/users/dimonomid","html_url":"https://github.com/dimonomid","followers_url":"https://api.github.com/users/dimonomid/followers","following_url":"https://api.github.com/users/dimonomid/following{/other_user}","gists_url":"https://api.github.com/users/dimonomid/gists{/gist_id}","starred_url":"https://api.github.com/users/dimonomid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimonomid/subscriptions","organizations_url":"https://api.github.com/users/dimonomid/orgs","repos_url":"https://api.github.com/users/dimonomid/repos","events_url":"https://api.github.com/users/dimonomid/events{/privacy}","received_events_url":"https://api.github.com/users/dimonomid/received_events","type":"User","site_admin":false},"assignees":[{"login":"dimonomid","id":1329932,"avatar_url":"https://avatars0.githubusercontent.com/u/1329932?v=4","gravatar_id":"","url":"https://api.github.com/users/dimonomid","html_url":"https://github.com/dimonomid","followers_url":"https://api.github.com/users/dimonomid/followers","following_url":"https://api.github.com/users/dimonomid/following{/other_user}","gists_url":"https://api.github.com/users/dimonomid/gists{/gist_id}","starred_url":"https://api.github.com/users/dimonomid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimonomid/subscriptions","organizations_url":"https://api.github.com/users/dimonomid/orgs","repos_url":"https://api.github.com/users/dimonomid/repos","events_url":"https://api.github.com/users/dimonomid/events{/privacy}","received_events_url":"https://api.github.com/users/dimonomid/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-02-07T12:34:12Z","updated_at":"2018-02-08T13:12:33Z","closed_at":null,"author_association":"NONE","body":"`mos` crashes periodicaly on startup ([trace.txt](https://github.com/cesanta/mos-tool/files/1703033/trace.txt)). \r\nPort 1992 is clean, and  no other instances launched. \r\nOS: ArchLinux\r\n```bash\r\n$ sudo nmap -sTU -O 127.0.0.1\r\n\r\nStarting Nmap 7.60 ( https://nmap.org ) at 2018-02-07 14:13 EET\r\nNmap scan report for localhost (127.0.0.1)\r\nHost is up (0.00016s latency).\r\nNot shown: 1997 closed ports\r\nPORT     STATE         SERVICE\r\n3306/tcp open          mysql\r\n5432/tcp open          postgresql\r\n68/udp   open|filtered dhcpc\r\nDevice type: general purpose\r\nRunning: Linux 3.X|4.X\r\nOS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4\r\nOS details: Linux 3.8 - 4.9\r\nNetwork Distance: 0 hops\r\n\r\nOS detection performed. Please report any incorrect results at https://nmap.org/submit/ .\r\nNmap done: 1 IP address (1 host up) scanned in 2.96 seconds\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cesanta/mos-tool/issues/comments/364107374","html_url":"https://github.com/cesanta/mos-tool/issues/2#issuecomment-364107374","issue_url":"https://api.github.com/repos/cesanta/mos-tool/issues/2","id":364107374,"user":{"login":"dimonomid","id":1329932,"avatar_url":"https://avatars0.githubusercontent.com/u/1329932?v=4","gravatar_id":"","url":"https://api.github.com/users/dimonomid","html_url":"https://github.com/dimonomid","followers_url":"https://api.github.com/users/dimonomid/followers","following_url":"https://api.github.com/users/dimonomid/following{/other_user}","gists_url":"https://api.github.com/users/dimonomid/gists{/gist_id}","starred_url":"https://api.github.com/users/dimonomid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimonomid/subscriptions","organizations_url":"https://api.github.com/users/dimonomid/orgs","repos_url":"https://api.github.com/users/dimonomid/repos","events_url":"https://api.github.com/users/dimonomid/events{/privacy}","received_events_url":"https://api.github.com/users/dimonomid/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T13:12:33Z","updated_at":"2018-02-08T13:12:33Z","author_association":"OWNER","body":"@r8d8 , trying to figure where the problem is; could you please run `mos` with `GODEBUG` env var set to `netdns=cgo` and see if it still fails? Like this:\r\n```\r\n$ GODEBUG=netdns=cgo+1 mos flash esp8266\r\n```\r\n(the `cgo` part is to force C resolver, and `+1` part is needed to print debug information)"}}
{"actor":{"display_login":"dimonomid"}}