{"action":"created","issue":{"url":"https://api.github.com/repos/Componolit/componolit/issues/138","repository_url":"https://api.github.com/repos/Componolit/componolit","labels_url":"https://api.github.com/repos/Componolit/componolit/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/Componolit/componolit/issues/138/comments","events_url":"https://api.github.com/repos/Componolit/componolit/issues/138/events","html_url":"https://github.com/Componolit/componolit/issues/138","id":337398496,"node_id":"MDU6SXNzdWUzMzczOTg0OTY=","number":138,"title":"TCP/IP stack","user":{"login":"jklmnn","id":7999005,"node_id":"MDQ6VXNlcjc5OTkwMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/7999005?v=4","gravatar_id":"","url":"https://api.github.com/users/jklmnn","html_url":"https://github.com/jklmnn","followers_url":"https://api.github.com/users/jklmnn/followers","following_url":"https://api.github.com/users/jklmnn/following{/other_user}","gists_url":"https://api.github.com/users/jklmnn/gists{/gist_id}","starred_url":"https://api.github.com/users/jklmnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jklmnn/subscriptions","organizations_url":"https://api.github.com/users/jklmnn/orgs","repos_url":"https://api.github.com/users/jklmnn/repos","events_url":"https://api.github.com/users/jklmnn/events{/privacy}","received_events_url":"https://api.github.com/users/jklmnn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jklmnn","id":7999005,"node_id":"MDQ6VXNlcjc5OTkwMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/7999005?v=4","gravatar_id":"","url":"https://api.github.com/users/jklmnn","html_url":"https://github.com/jklmnn","followers_url":"https://api.github.com/users/jklmnn/followers","following_url":"https://api.github.com/users/jklmnn/following{/other_user}","gists_url":"https://api.github.com/users/jklmnn/gists{/gist_id}","starred_url":"https://api.github.com/users/jklmnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jklmnn/subscriptions","organizations_url":"https://api.github.com/users/jklmnn/orgs","repos_url":"https://api.github.com/users/jklmnn/repos","events_url":"https://api.github.com/users/jklmnn/events{/privacy}","received_events_url":"https://api.github.com/users/jklmnn/received_events","type":"User","site_admin":false},"assignees":[{"login":"jklmnn","id":7999005,"node_id":"MDQ6VXNlcjc5OTkwMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/7999005?v=4","gravatar_id":"","url":"https://api.github.com/users/jklmnn","html_url":"https://github.com/jklmnn","followers_url":"https://api.github.com/users/jklmnn/followers","following_url":"https://api.github.com/users/jklmnn/following{/other_user}","gists_url":"https://api.github.com/users/jklmnn/gists{/gist_id}","starred_url":"https://api.github.com/users/jklmnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jklmnn/subscriptions","organizations_url":"https://api.github.com/users/jklmnn/orgs","repos_url":"https://api.github.com/users/jklmnn/repos","events_url":"https://api.github.com/users/jklmnn/events{/privacy}","received_events_url":"https://api.github.com/users/jklmnn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2018-07-02T07:25:28Z","updated_at":"2018-07-09T13:49:45Z","closed_at":null,"author_association":"COLLABORATOR","body":"We need a working and reliable TCP/IP stack. LWIP is broken and since Genode 18.05 marked as legacy.\r\nThe only current alternative seems to be LXIP."},"comment":{"url":"https://api.github.com/repos/Componolit/componolit/issues/comments/403485777","html_url":"https://github.com/Componolit/componolit/issues/138#issuecomment-403485777","issue_url":"https://api.github.com/repos/Componolit/componolit/issues/138","id":403485777,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzQ4NTc3Nw==","user":{"login":"jklmnn","id":7999005,"node_id":"MDQ6VXNlcjc5OTkwMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/7999005?v=4","gravatar_id":"","url":"https://api.github.com/users/jklmnn","html_url":"https://github.com/jklmnn","followers_url":"https://api.github.com/users/jklmnn/followers","following_url":"https://api.github.com/users/jklmnn/following{/other_user}","gists_url":"https://api.github.com/users/jklmnn/gists{/gist_id}","starred_url":"https://api.github.com/users/jklmnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jklmnn/subscriptions","organizations_url":"https://api.github.com/users/jklmnn/orgs","repos_url":"https://api.github.com/users/jklmnn/repos","events_url":"https://api.github.com/users/jklmnn/events{/privacy}","received_events_url":"https://api.github.com/users/jklmnn/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T13:49:45Z","updated_at":"2018-07-09T13:49:45Z","author_association":"COLLABORATOR","body":"I tried adding `<libc socket=\"/socket\"/>` resolved the original issue. Yet I get page faults in my connection threads now. As a short explanation:\r\nSince I can't block in the Main function (and since I have return from it) I start a separate thread that runs the TCP server and stays in a loop calling `accept`. When a `accept` returns and a connection is opened the server thread starts a connection thread which handles the connection traffic (basically a read-write loop in this case) so the server can return to `accept` immediately and handle new connections. \r\nThis architecture worked fine with the old lwip implementation but with the new one the connection thread creates a page fault or sometimes the server thread stops with an invalid file handle.\r\nAre there any changes that could introduce this kind of behaviour?\r\n@ehmry have you tried to connect to the server (port 5555 on localhost with the runfile provided)?"}}
{"actor":{"display_login":"jklmnn"}}