{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/mirage-net-solo5/issues/2","repository_url":"https://api.github.com/repos/mirage/mirage-net-solo5","labels_url":"https://api.github.com/repos/mirage/mirage-net-solo5/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mirage/mirage-net-solo5/issues/2/comments","events_url":"https://api.github.com/repos/mirage/mirage-net-solo5/issues/2/events","html_url":"https://github.com/mirage/mirage-net-solo5/issues/2","id":169937975,"number":2,"title":"Exception in Netif.writev() during ICMP echo request handling","user":{"login":"mato","id":190797,"avatar_url":"https://avatars.githubusercontent.com/u/190797?v=3","gravatar_id":"","url":"https://api.github.com/users/mato","html_url":"https://github.com/mato","followers_url":"https://api.github.com/users/mato/followers","following_url":"https://api.github.com/users/mato/following{/other_user}","gists_url":"https://api.github.com/users/mato/gists{/gist_id}","starred_url":"https://api.github.com/users/mato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mato/subscriptions","organizations_url":"https://api.github.com/users/mato/orgs","repos_url":"https://api.github.com/users/mato/repos","events_url":"https://api.github.com/users/mato/events{/privacy}","received_events_url":"https://api.github.com/users/mato/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-08T14:32:55Z","updated_at":"2016-08-26T15:29:17Z","closed_at":"2016-08-26T15:29:17Z","body":"Solo5 and UNIX unikernels (eg. `stackv4` from mirage-skeleton) built against current mirage master run into the following exception when `ping`ed:\r\n````\r\n$ ping 10.0.0.2\r\nPING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.\r\n^C\r\n--- 10.0.0.2 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 999ms\r\n\r\nNetif: [listen] error while handling (Invalid_argument\r\n  \"Cstruct.blit src=[42,56](4096) dst=[0,4096](4096) dst-off=4096 len=56\"), continuing. bt: Raised at file \"pervasives.ml\", line 33, characters 25-45\r\nCalled from file \"lib/netif.ml\", line 176, characters 8-38\r\nCalled from file \"list.ml\", line 77, characters 12-15\r\nCalled from file \"lib/netif.ml\", line 174, characters 4-139\r\nCalled from file \"src/core/lwt.ml\", line 653, characters 66-69\r\n\r\nNetif: [listen] error while handling (Invalid_argument\r\n  \"Cstruct.blit src=[42,56](4096) dst=[0,4096](4096) dst-off=4096 len=56\"), continuing. bt: Raised at file \"pervasives.ml\", line 33, characters 25-45\r\nCalled from file \"lib/netif.ml\", line 176, characters 8-38\r\nCalled from file \"list.ml\", line 77, characters 12-15\r\nCalled from file \"lib/netif.ml\", line 174, characters 4-139\r\nCalled from file \"src/core/lwt.ml\", line 686, characters 20-24\r\n````\r\n\r\nNote that this issue does not appear to be solo5-specific, as I can reproduce the exact same exception (bar differences in line numbers) with a `unix` target. However, it may be specific to the Solo5/UNIX Netif layer as `mirage-net-solo5` is derived from `mirage-net-unix`.\r\n\r\nWhat is interesting is that the unikernel handles TCP and ARP fine, only ICMP appears to be affected."},"comment":{"url":"https://api.github.com/repos/mirage/mirage-net-solo5/issues/comments/242767813","html_url":"https://github.com/mirage/mirage-net-solo5/issues/2#issuecomment-242767813","issue_url":"https://api.github.com/repos/mirage/mirage-net-solo5/issues/2","id":242767813,"user":{"login":"mato","id":190797,"avatar_url":"https://avatars.githubusercontent.com/u/190797?v=3","gravatar_id":"","url":"https://api.github.com/users/mato","html_url":"https://github.com/mato","followers_url":"https://api.github.com/users/mato/followers","following_url":"https://api.github.com/users/mato/following{/other_user}","gists_url":"https://api.github.com/users/mato/gists{/gist_id}","starred_url":"https://api.github.com/users/mato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mato/subscriptions","organizations_url":"https://api.github.com/users/mato/orgs","repos_url":"https://api.github.com/users/mato/repos","events_url":"https://api.github.com/users/mato/events{/privacy}","received_events_url":"https://api.github.com/users/mato/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T15:29:17Z","updated_at":"2016-08-26T15:29:17Z","body":"Fixed in #3."}}
{"actor":{"display_login":"mato"}}