{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/602","repository_url":"https://api.github.com/repos/Azure/azure-iot-sdks","labels_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/602/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/602/comments","events_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/602/events","html_url":"https://github.com/Azure/azure-iot-sdks/issues/602","id":158146453,"number":602,"title":"Getting System.StackOverflowException on _deviceClient.SendEventAsync","user":{"login":"jsiegmund","id":1820644,"avatar_url":"https://avatars.githubusercontent.com/u/1820644?v=3","gravatar_id":"","url":"https://api.github.com/users/jsiegmund","html_url":"https://github.com/jsiegmund","followers_url":"https://api.github.com/users/jsiegmund/followers","following_url":"https://api.github.com/users/jsiegmund/following{/other_user}","gists_url":"https://api.github.com/users/jsiegmund/gists{/gist_id}","starred_url":"https://api.github.com/users/jsiegmund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsiegmund/subscriptions","organizations_url":"https://api.github.com/users/jsiegmund/orgs","repos_url":"https://api.github.com/users/jsiegmund/repos","events_url":"https://api.github.com/users/jsiegmund/events{/privacy}","received_events_url":"https://api.github.com/users/jsiegmund/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/labels/CSS","name":"CSS","color":"e99695"},{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-02T13:54:23Z","updated_at":"2016-07-14T20:47:57Z","closed_at":null,"body":"I'm using the Azure Device client SDK on Windows 10 IoT running on a Raspberry Pi 2. Once in a while, my application locks up and exits. I've done some extensive debugging sessions and found that, for reasons I do not understand, the call to\r\n\r\nawait _deviceClient.SendEventAsync(message);\r\n\r\nsometimes ends in a StackOverflowException in mscorlib without any further details:\r\n\r\nSystem.StackOverflowException was unhandled\r\n  HResult=-2147023895\r\n  InnerException: \r\n\r\nA similar thing sometimes happens on the receiving end. This happens at random it seems. Sometimes it's quick (couple of minutes), sometimes it runs for days without interruption. I'm lost in how I should debug this further. I previously thought it was my Chinese made WiFi dongle, but have replaced that with an original (supported) raspberry dongle which makes absolutely no difference at all. This project is C# and the SDK version is v1.0.11 (latest at time of writing). "},"comment":{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/comments/232787638","html_url":"https://github.com/Azure/azure-iot-sdks/issues/602#issuecomment-232787638","issue_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/602","id":232787638,"user":{"login":"chrit-msft","id":18598237,"avatar_url":"https://avatars.githubusercontent.com/u/18598237?v=3","gravatar_id":"","url":"https://api.github.com/users/chrit-msft","html_url":"https://github.com/chrit-msft","followers_url":"https://api.github.com/users/chrit-msft/followers","following_url":"https://api.github.com/users/chrit-msft/following{/other_user}","gists_url":"https://api.github.com/users/chrit-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/chrit-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrit-msft/subscriptions","organizations_url":"https://api.github.com/users/chrit-msft/orgs","repos_url":"https://api.github.com/users/chrit-msft/repos","events_url":"https://api.github.com/users/chrit-msft/events{/privacy}","received_events_url":"https://api.github.com/users/chrit-msft/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T20:47:57Z","updated_at":"2016-07-14T20:47:57Z","body":"@jsiegmund I am unable to hit this error, you don't have a callstack from one of your failures do you?"}}
{"actor":{"display_login":"chrit-msft"}}