{"action":"created","issue":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/407","labels_url":"https://api.github.com/repos/wandoulabs/codis/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/wandoulabs/codis/issues/407/comments","events_url":"https://api.github.com/repos/wandoulabs/codis/issues/407/events","html_url":"https://github.com/wandoulabs/codis/issues/407","id":104427623,"number":407,"title":"codis-server Segmentation fault (core dumped)","user":{"login":"litdd","id":13901953,"avatar_url":"https://avatars.githubusercontent.com/u/13901953?v=3","gravatar_id":"","url":"https://api.github.com/users/litdd","html_url":"https://github.com/litdd","followers_url":"https://api.github.com/users/litdd/followers","following_url":"https://api.github.com/users/litdd/following{/other_user}","gists_url":"https://api.github.com/users/litdd/gists{/gist_id}","starred_url":"https://api.github.com/users/litdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litdd/subscriptions","organizations_url":"https://api.github.com/users/litdd/orgs","repos_url":"https://api.github.com/users/litdd/repos","events_url":"https://api.github.com/users/litdd/events{/privacy}","received_events_url":"https://api.github.com/users/litdd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-09-02T08:36:21Z","updated_at":"2015-09-03T13:59:19Z","closed_at":"2015-09-03T13:53:08Z","body":"用kill杀死一个6380的codis实例，6379的实例正常运行着，再次启动就报错了，无法启动了，过程和信息如下\r\n[root@testenv-cs redis_conf]# /data/install/codis/bin/codis-server /data/install/codis/redis_conf/6380.conf\r\nSegmentation fault (core dumped)\r\ngoogle一下redis贡献者说这是linux系统的问题，与redis无关，你们遇到过这样的问题吗"},"comment":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/comments/137457846","html_url":"https://github.com/wandoulabs/codis/issues/407#issuecomment-137457846","issue_url":"https://api.github.com/repos/wandoulabs/codis/issues/407","id":137457846,"user":{"login":"litdd","id":13901953,"avatar_url":"https://avatars.githubusercontent.com/u/13901953?v=3","gravatar_id":"","url":"https://api.github.com/users/litdd","html_url":"https://github.com/litdd","followers_url":"https://api.github.com/users/litdd/followers","following_url":"https://api.github.com/users/litdd/following{/other_user}","gists_url":"https://api.github.com/users/litdd/gists{/gist_id}","starred_url":"https://api.github.com/users/litdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litdd/subscriptions","organizations_url":"https://api.github.com/users/litdd/orgs","repos_url":"https://api.github.com/users/litdd/repos","events_url":"https://api.github.com/users/litdd/events{/privacy}","received_events_url":"https://api.github.com/users/litdd/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T13:59:18Z","updated_at":"2015-09-03T13:59:18Z","body":"我觉得不是，昨天MD5校验下，3台codis就它的3个二进制文件不同，今天就把codis源码通通删除，重新go git -d，然后执行bootstarp.sh，然后make gotest，每一步echo $?的结果都是0。但是，得到的二进制文件还是和其他的codis不一样：\r\n[root@testenv-cs bin]# md5sum codis-*\r\n86dff366270675c49110fab5ba25a2b0 codis-config\r\nd1b1048031634fb4c9bcb5669fb9df02 codis-proxy\r\n5b4f54780e0e1df7a49cd71752ec3af3 codis-server\r\n[root@TestEnv-Master bin]# md5sum codis-*\r\n29a1db0113c2bb38aa7f192332a6366a codis-config\r\n87784c66c9872ce3e605d3c98ab3e83b codis-proxy\r\nec9073392becbc2b82a3cf7a3642fd9a codis-server\r\n[root@TestEnv-Master bin]# ll codis-*\r\n-rwxr-xr-x 1 root root 16176472 Aug 26 11:37 codis-config\r\n-rwxr-xr-x 1 root root 16002080 Aug 26 11:37 codis-proxy\r\n-rwxr-xr-x 1 root root 6311083 Aug 26 11:38 codis-server\r\n[root@testenv-cs bin]# ll codis-*\r\n-rwxr-xr-x 1 root root 16183616 Sep 3 18:15 codis-config\r\n-rwxr-xr-x 1 root root 16009080 Sep 3 18:15 codis-proxy\r\n-rwxr-xr-x 1 root root 6311171 Sep 3 18:15 codis-server\r\n而且，这台codis启动了两个实例一切正常！\r\n[root@testenv-cs codis]# /data/install/codis/bin/codis-server /data/install/codis/redis_conf/6379.conf\r\n[root@testenv-cs codis]# /data/install/codis/bin/codis-server /data/install/codis/redis_conf/6380.conf\r\n[root@testenv-cs codis]# ps uax | grep codis\r\nroot 11800 0.1 0.0 137388 3740 ? Ssl 21:45 0:00 /data/install/codis/bin/codis-server *:6379\r\nroot 11804 0.0 0.0 137388 3744 ? Ssl 21:45 0:00 /data/install/codis/bin/codis-server *:6380\r\nroot 11814 0.0 0.0 103252 824 pts/0 S+ 21:45 0:00 grep codis\r\n\r\n\r\n\r\nt_d998@163.com\r\n \r\nFrom: spinlock9\r\nDate: 2015-09-03 08:57\r\nTo: wandoulabs/codis\r\nCC: litdd\r\nSubject: Re: [codis] codis-server Segmentation fault (core dumped) (#407)\r\n确实是 二进制文件损坏了 对吗？\r\n—\r\nReply to this email directly or view it on GitHub.\r\n"}}