{"action":"created","issue":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2898","repository_url":"https://api.github.com/repos/akkadotnet/akka.net","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2898/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2898/comments","events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2898/events","html_url":"https://github.com/akkadotnet/akka.net/issues/2898","id":245033134,"number":2898,"title":"Crash on centos 7.3 & mono 5 when doing a parallel test","user":{"login":"wavebit","id":11334491,"avatar_url":"https://avatars0.githubusercontent.com/u/11334491?v=4","gravatar_id":"","url":"https://api.github.com/users/wavebit","html_url":"https://github.com/wavebit","followers_url":"https://api.github.com/users/wavebit/followers","following_url":"https://api.github.com/users/wavebit/following{/other_user}","gists_url":"https://api.github.com/users/wavebit/gists{/gist_id}","starred_url":"https://api.github.com/users/wavebit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavebit/subscriptions","organizations_url":"https://api.github.com/users/wavebit/orgs","repos_url":"https://api.github.com/users/wavebit/repos","events_url":"https://api.github.com/users/wavebit/events{/privacy}","received_events_url":"https://api.github.com/users/wavebit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-07-24T10:13:21Z","updated_at":"2017-08-21T16:01:20Z","closed_at":null,"body":"Hello,\r\nI modified the chat example to do a parallel testing.\r\nThis code is I added.\r\n\r\n```csharp\r\nParallel.For(0, 1000, i =>\r\n{\r\n    {\r\n        chatClient.Tell(new SayRequest()\r\n        {\r\n            Text = input + \" \" + i.ToString(),\r\n            Seq = i\r\n        });\r\n    }\r\n});\r\n```\r\n\r\nThe server-side works fine on windows, but carsh on Centos 7.3 and mono 5.\r\n\r\nThe exception I got:\r\n\r\n> Unhandled Exception:\r\nSystem.ArgumentException: Buffer is empty\r\nParameter name: buffers\r\n  at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult asyncResult, System.Net.Sockets.SocketError& errorCode) [0x00055] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult asyncResult) [0x00000] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.Socket+<>c.<.cctor>b__306_12 (System.IAsyncResult ares) [0x0002c] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.SocketAsyncResult+<>c__DisplayClass27_0.<Complete>b__0 (System.Object _) [0x00000] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <3753d1715b8842d8bb13a30db0388b60>:0 \r\n  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <3753d1715b8842d8bb13a30db0388b60>:0 \r\n  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <3753d1715b8842d8bb13a30db0388b60>:0 \r\n[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Buffer is empty\r\nParameter name: buffers\r\n  at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult asyncResult, System.Net.Sockets.SocketError& errorCode) [0x00055] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult asyncResult) [0x00000] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.Socket+<>c.<.cctor>b__306_12 (System.IAsyncResult ares) [0x0002c] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Net.Sockets.SocketAsyncResult+<>c__DisplayClass27_0.<Complete>b__0 (System.Object _) [0x00000] in <1d7393d853954016b607e8e348b00ad1>:0 \r\n  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <3753d1715b8842d8bb13a30db0388b60>:0 \r\n  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <3753d1715b8842d8bb13a30db0388b60>:0 \r\n  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <3753d1715b8842d8bb13a30db0388b60>:0 \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/comments/323784707","html_url":"https://github.com/akkadotnet/akka.net/issues/2898#issuecomment-323784707","issue_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2898","id":323784707,"user":{"login":"Aaronontheweb","id":326939,"avatar_url":"https://avatars1.githubusercontent.com/u/326939?v=4","gravatar_id":"","url":"https://api.github.com/users/Aaronontheweb","html_url":"https://github.com/Aaronontheweb","followers_url":"https://api.github.com/users/Aaronontheweb/followers","following_url":"https://api.github.com/users/Aaronontheweb/following{/other_user}","gists_url":"https://api.github.com/users/Aaronontheweb/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaronontheweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaronontheweb/subscriptions","organizations_url":"https://api.github.com/users/Aaronontheweb/orgs","repos_url":"https://api.github.com/users/Aaronontheweb/repos","events_url":"https://api.github.com/users/Aaronontheweb/events{/privacy}","received_events_url":"https://api.github.com/users/Aaronontheweb/received_events","type":"User","site_admin":false},"created_at":"2017-08-21T16:01:20Z","updated_at":"2017-08-21T16:01:20Z","body":"@aengesse it has to be an issue with DotNetty itself then and not Akka.NET's transport impl, since this is happening at a layer below us."}}
{"actor":{"display_login":"Aaronontheweb"}}