{"action":"created","issue":{"url":"https://api.github.com/repos/WuBingzheng/memleax/issues/6","repository_url":"https://api.github.com/repos/WuBingzheng/memleax","labels_url":"https://api.github.com/repos/WuBingzheng/memleax/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/WuBingzheng/memleax/issues/6/comments","events_url":"https://api.github.com/repos/WuBingzheng/memleax/issues/6/events","html_url":"https://github.com/WuBingzheng/memleax/issues/6","id":160167611,"number":6,"title":"Read map","user":{"login":"realuptime","id":18627043,"avatar_url":"https://avatars.githubusercontent.com/u/18627043?v=3","gravatar_id":"","url":"https://api.github.com/users/realuptime","html_url":"https://github.com/realuptime","followers_url":"https://api.github.com/users/realuptime/followers","following_url":"https://api.github.com/users/realuptime/following{/other_user}","gists_url":"https://api.github.com/users/realuptime/gists{/gist_id}","starred_url":"https://api.github.com/users/realuptime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realuptime/subscriptions","organizations_url":"https://api.github.com/users/realuptime/orgs","repos_url":"https://api.github.com/users/realuptime/repos","events_url":"https://api.github.com/users/realuptime/events{/privacy}","received_events_url":"https://api.github.com/users/realuptime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-14T12:22:27Z","updated_at":"2016-06-15T15:04:14Z","closed_at":null,"body":"Hi,\r\n\r\nmemleax failed by exiting wiith read map error:\r\n\r\n\tif (read(fd, ms->data, end - start) != end - start) {\r\n\t\tprintf(\"Error: read map of %s\\n\", path);\r\n\t\texit(6);\r\n\t}\r\n\r\nCange it to:\r\n\r\nif ( (readRet = read(fd, ms->data, end - start)) != end - start) {\r\n                printf(\"Error: read map of %s. read:%d should:%d errno:%d\\n\", path, readRet, end-start, errno);\r\n//              exit(6);\r\n        }\r\n\r\n=> Error: read map of /lib/x86_64-linux-gnu/libgcc_s.so.1. read:90096 should:90112 errno:0\r\n\r\nit seems that read() is returning less bytes than requested.\r\nSo I commented the exit points and it works.\r\nMaybe you have time to investigate why this is happening.\r\n\r\nRegards,\r\nCatalin,."},"comment":{"url":"https://api.github.com/repos/WuBingzheng/memleax/issues/comments/226216081","html_url":"https://github.com/WuBingzheng/memleax/issues/6#issuecomment-226216081","issue_url":"https://api.github.com/repos/WuBingzheng/memleax/issues/6","id":226216081,"user":{"login":"WuBingzheng","id":12245980,"avatar_url":"https://avatars.githubusercontent.com/u/12245980?v=3","gravatar_id":"","url":"https://api.github.com/users/WuBingzheng","html_url":"https://github.com/WuBingzheng","followers_url":"https://api.github.com/users/WuBingzheng/followers","following_url":"https://api.github.com/users/WuBingzheng/following{/other_user}","gists_url":"https://api.github.com/users/WuBingzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/WuBingzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WuBingzheng/subscriptions","organizations_url":"https://api.github.com/users/WuBingzheng/orgs","repos_url":"https://api.github.com/users/WuBingzheng/repos","events_url":"https://api.github.com/users/WuBingzheng/events{/privacy}","received_events_url":"https://api.github.com/users/WuBingzheng/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T15:04:14Z","updated_at":"2016-06-15T15:04:14Z","body":"I am downloading Debian. It's slow.\r\n\r\nCould you reproduce the crash, not in production of course?\r\nDo you have the coredump for crash?"}}
{"actor":{"display_login":"WuBingzheng"}}