{"action":"created","issue":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/645","labels_url":"https://api.github.com/repos/urho3d/Urho3D/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/urho3d/Urho3D/issues/645/comments","events_url":"https://api.github.com/repos/urho3d/Urho3D/issues/645/events","html_url":"https://github.com/urho3d/Urho3D/issues/645","id":56081783,"number":645,"title":"Networking breaks on non-windows non-debug mode","user":{"login":"grumblygibson","id":1719481,"avatar_url":"https://avatars.githubusercontent.com/u/1719481?v=3","gravatar_id":"","url":"https://api.github.com/users/grumblygibson","html_url":"https://github.com/grumblygibson","followers_url":"https://api.github.com/users/grumblygibson/followers","following_url":"https://api.github.com/users/grumblygibson/following{/other_user}","gists_url":"https://api.github.com/users/grumblygibson/gists{/gist_id}","starred_url":"https://api.github.com/users/grumblygibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grumblygibson/subscriptions","organizations_url":"https://api.github.com/users/grumblygibson/orgs","repos_url":"https://api.github.com/users/grumblygibson/repos","events_url":"https://api.github.com/users/grumblygibson/events{/privacy}","received_events_url":"https://api.github.com/users/grumblygibson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-30T20:38:02Z","updated_at":"2015-01-31T14:31:37Z","closed_at":null,"body":"The network demo breaks within a few seconds for me. Always works on windows, and never works for me on other systems when not compiled in debug mode. Debug mode fixes the issue. I've tried both on localhost server/client configuration and actual two computers configuration.\r\n\r\nObserved on:\r\n\r\nLinux\r\nversion: Sabayon (gentoo-based, vanilla install)\r\ncompiler: g++ (Gentoo Hardened 4.8.3 p1.1, pie-0.5.9) 4.8.3\r\nkernel: 3.17.0-sabayon\r\nprocessor: x86_64 AMD Phenom(tm) II X4 920 Processor\r\n\r\nMac OSX\r\nversion: 10.9.5\r\ncompiler: Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)\r\nkernel: 13.4.0\r\nprocessor: Intel core i7 x86_64\r\n\r\nI would attach log outputs, but they're different every time where and how it breaks, which makes me think is a memory issue, or a variant of that such as a threading issue. I seem to be the only one in the forums who can replicate this issue so please ping me if you have any hints how I can debug this.\r\n\r\nForm post: http://urho3d.prophpbb.com/topic652.html"},"comment":{"url":"https://api.github.com/repos/urho3d/Urho3D/issues/comments/72319871","html_url":"https://github.com/urho3d/Urho3D/issues/645#issuecomment-72319871","issue_url":"https://api.github.com/repos/urho3d/Urho3D/issues/645","id":72319871,"user":{"login":"cadaver","id":51361,"avatar_url":"https://avatars.githubusercontent.com/u/51361?v=3","gravatar_id":"","url":"https://api.github.com/users/cadaver","html_url":"https://github.com/cadaver","followers_url":"https://api.github.com/users/cadaver/followers","following_url":"https://api.github.com/users/cadaver/following{/other_user}","gists_url":"https://api.github.com/users/cadaver/gists{/gist_id}","starred_url":"https://api.github.com/users/cadaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cadaver/subscriptions","organizations_url":"https://api.github.com/users/cadaver/orgs","repos_url":"https://api.github.com/users/cadaver/repos","events_url":"https://api.github.com/users/cadaver/events{/privacy}","received_events_url":"https://api.github.com/users/cadaver/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T14:31:37Z","updated_at":"2015-01-31T14:31:37Z","body":"Realistically it looks like you'll have to debug inside kNet to find where it goes wrong, as it'll be extremely hard to debug a bug we can't reproduce. I would suspect either threading, over-eager optimizations by compiler, or memory initialization values. However I recently updated Xcode on OSX so I'll test that next week.\r\n\r\nYou can also try cloning the kNet repo (https://github.com/juj/kNet), running the example programs in UDP mode and see if you run into similar issues."}}