{"action":"closed","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/1782","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/1782/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/1782/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/1782/events","html_url":"https://github.com/syncthing/syncthing/issues/1782","id":74516362,"number":1782,"title":"panic: upnpSvc cannot stop","user":{"login":"HermanEldering","id":5002537,"avatar_url":"https://avatars.githubusercontent.com/u/5002537?v=3","gravatar_id":"","url":"https://api.github.com/users/HermanEldering","html_url":"https://github.com/HermanEldering","followers_url":"https://api.github.com/users/HermanEldering/followers","following_url":"https://api.github.com/users/HermanEldering/following{/other_user}","gists_url":"https://api.github.com/users/HermanEldering/gists{/gist_id}","starred_url":"https://api.github.com/users/HermanEldering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HermanEldering/subscriptions","organizations_url":"https://api.github.com/users/HermanEldering/orgs","repos_url":"https://api.github.com/users/HermanEldering/repos","events_url":"https://api.github.com/users/HermanEldering/events{/privacy}","received_events_url":"https://api.github.com/users/HermanEldering/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-08T22:27:45Z","updated_at":"2015-05-10T12:47:04Z","closed_at":"2015-05-10T12:47:04Z","body":"The actual trace is VERY long, so I only copy-pasted some from the top. In the log I saw that during the run time there were many lines \"unrecognized UPNP device of type ...\". Like the log suggests the laptop woke from standby, the lines about the unrecognized upnp device were from before the sleep. After a manual restart it works fine.\r\n\r\nVersion is v0.11.2, Windows (64 bit).\r\n\r\n```\r\n<before sleep>\r\n[...] 00:02:14 INFO: No UPnP device detected\r\n[...] 00:02:16 INFO: Paused state detected, possibly woke up from standby. Restarting in 1m0s.\r\n<snip>\r\n[...] 00:03:17 INFO: Restarting\r\n[...] 00:03:17 OK: Exiting\r\npanic: upnpSvc cannot stop\r\ngoroutine 35449 [running]:\r\nmain.(*upnpSvc).Stop(0xc08207a780)\r\n\t/go/src/github.com/syncthing/syncthing/cmd/syncthing/upnpsvc.go:57 +0x6b\r\ngithub.com/thejerf/suture.func·008()\r\n```"}}