{"action":"created","issue":{"url":"https://api.github.com/repos/osrg/gobgp/issues/1575","repository_url":"https://api.github.com/repos/osrg/gobgp","labels_url":"https://api.github.com/repos/osrg/gobgp/issues/1575/labels{/name}","comments_url":"https://api.github.com/repos/osrg/gobgp/issues/1575/comments","events_url":"https://api.github.com/repos/osrg/gobgp/issues/1575/events","html_url":"https://github.com/osrg/gobgp/issues/1575","id":292185700,"number":1575,"title":"GoBGP crashed on Raspberry Pi","user":{"login":"yupi","id":234885,"avatar_url":"https://avatars3.githubusercontent.com/u/234885?v=4","gravatar_id":"","url":"https://api.github.com/users/yupi","html_url":"https://github.com/yupi","followers_url":"https://api.github.com/users/yupi/followers","following_url":"https://api.github.com/users/yupi/following{/other_user}","gists_url":"https://api.github.com/users/yupi/gists{/gist_id}","starred_url":"https://api.github.com/users/yupi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yupi/subscriptions","organizations_url":"https://api.github.com/users/yupi/orgs","repos_url":"https://api.github.com/users/yupi/repos","events_url":"https://api.github.com/users/yupi/events{/privacy}","received_events_url":"https://api.github.com/users/yupi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-28T07:43:37Z","updated_at":"2018-02-02T08:34:53Z","closed_at":"2018-02-02T02:58:18Z","author_association":"NONE","body":"I set up my rpi as a route reflector using https://github.com/osrg/gobgp/releases/download/v1.27/gobgp_1.27_linux_armv6.tar.gz binary with a peer on my macbook. In the morning after i awaked my macbook i found GoBGP crashed after the peer goes down. Here is the log and the trace:\r\n\r\n```\r\npi@raspberrypi:~/projects/vxlan $ sudo ./gobgpd -t yaml -f rr-config.yaml                                            \r\n{\"level\":\"info\",\"msg\":\"gobgpd started\",\"time\":\"2018-01-27T23:06:42Z\"}                                         \r\n{\"Topic\":\"Config\",\"level\":\"info\",\"msg\":\"Finished reading the config file\",\"time\":\"2018-01-27T23:06:42Z\"}                \r\n{\"level\":\"info\",\"msg\":\"PeerGroup rr-client is added\",\"time\":\"2018-01-27T23:06:42Z\"}                                     \r\n{\"Name\":\"rr-client\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Add a peer group configuration\",\"time\":\"2018-01-27T23:06:42Z\"} \r\n{\"level\":\"info\",\"msg\":\"Dynamic Neighbor 192.168.88.0/24 is added to PeerGroup rr-client\",\"time\":\"2018-01-27T23:06:42Z\"} \r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_OPENCONFIRM\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Up\",\"time\":\"2018-01-27T23:07:14Z\"}                                                                                                              \r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"hold timer expired\",\"time\":\"2018-01-27T23:27:14Z\"}                                                                                                \r\n{\"Key\":\"192.168.88.175\",\"Reason\":\"hold-timer-expired\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Down\",\"time\":\"2018-01-27T23:27:14Z\"}                                                                              \r\n{\"Code\":4,\"Data\":null,\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Subcode\":0,\"Topic\":\"Peer\",\"level\":\"warning\":\r\n\"msg\":\"sent notification\",\"time\":\"2018-01-27T23:27:14Z\"}                                                                \r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_OPENCONFIRM\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Up\",\"time\":\"2018-01-27T2\r\n3:35:32Z\"}                                                                                                              \r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"hold timer expired\",\"time\"\r\n:\"2018-01-27T23:37:02Z\"}                                                                                                \r\n{\"Key\":\"192.168.88.175\",\"Reason\":\"hold-timer-expired\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\r\n\"Peer Down\",\"time\":\"2018-01-27T23:37:02Z\"}                                                                              \r\n{\"Code\":4,\"Data\":null,\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Subcode\":0,\"Topic\":\"Peer\",\"level\":\"warning\":\r\n\"msg\":\"sent notification\",\"time\":\"2018-01-27T23:37:02Z\"}                                                                \r\n{\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"Cant't find the neighbor 192.168.88.175\",\"time\":\"2018-01-27T23:37:02Z\"}        \r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_OPENCONFIRM\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Up\",\"time\":\"2018-01-27T23:44:41Z\"}\r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"hold timer expired\",\"time\"\r\n:\"2018-01-27T23:46:11Z\"}                                                                                                \r\n{\"Key\":\"192.168.88.175\",\"Reason\":\"hold-timer-expired\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Down\",\"time\":\"2018-01-27T23:46:11Z\"}\r\n{\"Code\":4,\"Data\":null,\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Subcode\":0,\"Topic\":\"Peer\",\"level\":\"warning\",\r\n\"msg\":\"sent notification\",\"time\":\"2018-01-27T23:46:11Z\"}\r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_OPENCONFIRM\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Up\",\"time\":\"2018-01-27T23:53:52Z\"}\r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"hold timer expired\",\"time\":\"2018-01-27T23:55:22Z\"}\r\n{\"Key\":\"192.168.88.175\",\"Reason\":\"hold-timer-expired\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Down\",\"time\":\"2018-01-27T23:55:22Z\"}\r\n{\"Code\":4,\"Data\":null,\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Subcode\":0,\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"sent notification\",\"time\":\"2018-01-27T23:55:22Z\"}\r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_OPENCONFIRM\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Up\",\"time\":\"2018-01-28T00:01:41Z\"}\r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"hold timer expired\",\"time\":\"2018-01-28T00:59:11Z\"}\r\n{\"Key\":\"192.168.88.175\",\"Reason\":\"hold-timer-expired\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Down\",\"time\":\"2018-01-28T00:59:11Z\"}\r\n{\"Code\":4,\"Data\":null,\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Subcode\":0,\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"sent notification\",\"time\":\"2018-01-28T00:59:11Z\"}\r\n{\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"Cant't find the neighbor 192.168.88.175\",\"time\":\"2018-01-28T00:59:11Z\"}\r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_OPENCONFIRM\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Up\",\"time\":\"2018-01-28T01:06:12Z\"}\r\n{\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"hold timer expired\",\"time\":\"2018-01-28T01:36:42Z\"}\r\n{\"Key\":\"192.168.88.175\",\"Reason\":\"hold-timer-expired\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Topic\":\"Peer\",\"level\":\"info\",\"msg\":\"Peer Down\",\"time\":\"2018-01-28T01:36:42Z\"}\r\n{\"Code\":4,\"Data\":null,\"Key\":\"192.168.88.175\",\"State\":\"BGP_FSM_ESTABLISHED\",\"Subcode\":0,\"Topic\":\"Peer\",\"level\":\"warning\",\"msg\":\"sent notification\",\"time\":\"2018-01-28T01:36:42Z\"}\r\npanic: close of closed channel\r\n\r\ngoroutine 172 [running]:\r\ngithub.com/osrg/gobgp/vendor/github.com/eapache/channels.(*InfiniteChannel).Close(...)\r\n        /Users/fujita/Devel/go/src/github.com/osrg/gobgp/vendor/github.com/eapache/channels/infinite_channel.go:40\r\ngithub.com/osrg/gobgp/server.cleanInfiniteChannel(0x128be800)\r\n        /Users/fujita/Devel/go/src/github.com/osrg/gobgp/server/util.go:30 +0x20\r\ngithub.com/osrg/gobgp/server.(*Peer).stopFSM(0x12a7aa80, 0x1, 0x1)\r\n        /Users/fujita/Devel/go/src/github.com/osrg/gobgp/server/peer.go:671 +0x53c\r\ncreated by github.com/osrg/gobgp/server.(*BgpServer).handleFSMMessage\r\n        /Users/fujita/Devel/go/src/github.com/osrg/gobgp/server/server.go:854 +0xea0\r\n```\r\n\r\nMy RR config is\r\n\r\n```\r\nglobal:\r\n  config:\r\n    as: 65000\r\n    router-id: 192.168.88.177\r\n    local-address-list:\r\n      - 192.168.88.177\r\npeer-groups:\r\n  - config:\r\n      peer-group-name: rr-client\r\n      peer-as: 65000\r\n    afi-safis:\r\n      - config:\r\n          afi-safi-name: l2vpn-evpn\r\n    route-reflector:\r\n      config:\r\n        route-reflector-client: true\r\n        route-reflector-cluster-id: 192.168.88.177\r\ndynamic-neighbors:\r\n  - config:\r\n      peer-group: rr-client\r\n      prefix: 192.168.88.0/24\r\n```"},"comment":{"url":"https://api.github.com/repos/osrg/gobgp/issues/comments/362520365","html_url":"https://github.com/osrg/gobgp/issues/1575#issuecomment-362520365","issue_url":"https://api.github.com/repos/osrg/gobgp/issues/1575","id":362520365,"user":{"login":"yupi","id":234885,"avatar_url":"https://avatars3.githubusercontent.com/u/234885?v=4","gravatar_id":"","url":"https://api.github.com/users/yupi","html_url":"https://github.com/yupi","followers_url":"https://api.github.com/users/yupi/followers","following_url":"https://api.github.com/users/yupi/following{/other_user}","gists_url":"https://api.github.com/users/yupi/gists{/gist_id}","starred_url":"https://api.github.com/users/yupi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yupi/subscriptions","organizations_url":"https://api.github.com/users/yupi/orgs","repos_url":"https://api.github.com/users/yupi/repos","events_url":"https://api.github.com/users/yupi/events{/privacy}","received_events_url":"https://api.github.com/users/yupi/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T08:34:53Z","updated_at":"2018-02-02T08:34:53Z","author_association":"NONE","body":"Thanks, will do tests today."}}
{"actor":{"display_login":"yupi"}}