{"action":"opened","issue":{"url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/296","labels_url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/296/comments","events_url":"https://api.github.com/repos/Exa-Networks/exabgp/issues/296/events","html_url":"https://github.com/Exa-Networks/exabgp/issues/296","id":90386841,"number":296,"title":"EXABGP CRASHED / HELP US FIX IT on master","user":{"login":"pavel-odintsov","id":2744166,"avatar_url":"https://avatars.githubusercontent.com/u/2744166?v=3","gravatar_id":"","url":"https://api.github.com/users/pavel-odintsov","html_url":"https://github.com/pavel-odintsov","followers_url":"https://api.github.com/users/pavel-odintsov/followers","following_url":"https://api.github.com/users/pavel-odintsov/following{/other_user}","gists_url":"https://api.github.com/users/pavel-odintsov/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-odintsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-odintsov/subscriptions","organizations_url":"https://api.github.com/users/pavel-odintsov/orgs","repos_url":"https://api.github.com/users/pavel-odintsov/repos","events_url":"https://api.github.com/users/pavel-odintsov/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-odintsov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-23T13:19:15Z","updated_at":"2015-06-23T13:19:15Z","closed_at":null,"body":"Hello, Thomas!\r\n\r\nSome tests with announce receiver resulted to ExaBGP break :(\r\n\r\n```bash\r\n env exabgp.log.level=DEBUG  exabgp.daemon.user=root exabgp.tcp.bind=\"0.0.0.0\" exabgp.tcp.port=179 exabgp.daemon.daemonize=false exabgp.daemon.pid=/var/run/exabgp.pid exabgp.log.destination=/var/log/exabgp.log   sbin/exabgp /etc/exabgp_listener.conf \r\n/usr/src/exabgp/lib/exabgp/bgp/message/message.py:61: DeprecationWarning: object.__init__() takes no parameters\r\n  int.__init__(self,value)\r\nexabgp 986070 configuration environment file missing\r\nexabgp 986070 configuration generate it using \"exabgp --fi > /usr/src/exabgp/etc/exabgp/exabgp.env\"\r\nexabgp 986070 reactor       Performing reload of exabgp 3.4.10\r\nexabgp 986070 configuration parsing | configuration | 'group' 'core_v4' '{'\r\nexabgp 986070 configuration parsing | group         | 'hold-time' '180' ';'\r\nexabgp 986070 configuration parsing | group         | 'local-as' '65000' ';'\r\nexabgp 986070 configuration parsing | group         | 'peer-as' '65000' ';'\r\nexabgp 986070 configuration parsing | group         | 'router-id' '10.0.129.2' ';'\r\nexabgp 986070 configuration parsing | group         | 'neighbor' '10.0.131.2' '{'\r\nexabgp 986070 configuration parsing | neighbor      | 'local-address' '10.0.129.2' ';'\r\nexabgp 986070 configuration parsing | neighbor      | 'description' '\"bird' 'route' 'server\"' ';'\r\nexabgp 986070 configuration parsing | neighbor      | 'process' 'stdout' '{'\r\nexabgp 986070 configuration parsing | process       | 'neighbor-changes' ';'\r\nexabgp 986070 configuration parsing | process       | 'receive' '{'\r\nexabgp 986070 configuration parsing | receive       | 'parsed' ';'\r\nexabgp 986070 configuration parsing | receive       | 'update' ';'\r\nexabgp 986070 configuration parsing | receive       | '}'\r\nexabgp 986070 configuration parsing | process       | 'encoder' 'json' ';'\r\nexabgp 986070 configuration parsing | process       | 'run' '/usr/src/exabgp_hook.py ' ';'\r\nexabgp 986070 configuration parsing | process       | '}'\r\nexabgp 986070 configuration parsing | neighbor      | '}'\r\nexabgp 986070 configuration neighbor 10.0.131.2 {\r\nexabgp 986070 configuration   description \"bird route server\";\r\nexabgp 986070 configuration   router-id 10.0.129.2;\r\nexabgp 986070 configuration   host-name ovz78;\r\nexabgp 986070 configuration   domain-name fvee;\r\nexabgp 986070 configuration   local-address 10.0.129.2;\r\nexabgp 986070 configuration   local-as 65000;\r\nexabgp 986070 configuration   peer-as 65000;\r\nexabgp 986070 configuration   hold-time 180;\r\nexabgp 986070 configuration   group-updates: True;\r\nexabgp 986070 configuration   auto-flush: true;\r\nexabgp 986070 configuration   adj-rib-out: true;\r\nexabgp 986070 configuration   ttl-security: ;\r\nexabgp 986070 configuration \r\nexabgp 986070 configuration   capability {\r\nexabgp 986070 configuration     asn4 enable;\r\nexabgp 986070 configuration     route-refresh disable;\r\nexabgp 986070 configuration     graceful-restart disable;\r\nexabgp 986070 configuration     add-path disable;\r\nexabgp 986070 configuration     multi-session disable;\r\nexabgp 986070 configuration     operational disable;\r\nexabgp 986070 configuration     aigp disable;\r\nexabgp 986070 configuration   }\r\nexabgp 986070 configuration   family {\r\nexabgp 986070 configuration     inet4 unicast;\r\nexabgp 986070 configuration     inet4 multicast;\r\nexabgp 986070 configuration     inet4 nlri-mpls;\r\nexabgp 986070 configuration     inet4 mpls-vpn;\r\nexabgp 986070 configuration     inet4 rtc;\r\nexabgp 986070 configuration     inet4 flow;\r\nexabgp 986070 configuration     inet4 flow-vpn;\r\nexabgp 986070 configuration     inet6 unicast;\r\nexabgp 986070 configuration     inet6 multicast;\r\nexabgp 986070 configuration     inet6 nlri-mpls;\r\nexabgp 986070 configuration     inet6 mpls-vpn;\r\nexabgp 986070 configuration     inet6 flow;\r\nexabgp 986070 configuration     inet6 flow-vpn;\r\nexabgp 986070 configuration     l2vpn vpls;\r\nexabgp 986070 configuration     l2vpn evpn;\r\nexabgp 986070 configuration   }\r\nexabgp 986070 configuration   process {\r\nexabgp 986070 configuration     receive {\r\nexabgp 986070 configuration       parsed;\r\nexabgp 986070 configuration       update;\r\nexabgp 986070 configuration     }\r\nexabgp 986070 configuration   }\r\nexabgp 986070 configuration }\r\nexabgp 986070 configuration \r\nexabgp 986070 configuration \r\nexabgp 986070 configuration parsing | group         | '}'\r\nexabgp 986070 reactor       New peer: neighbor 10.0.131.2 local-ip 10.0.129.2 local-as 65000 peer-as 65000 router-id 10.0.129.2 family-allowed in-open\r\nexabgp 986070 configuration Loaded new configuration successfully\r\nexabgp 986070 reactor       Listening for BGP session(s) on 0.0.0.0:179\r\nexabgp 986070 processes     Forked process stdout\r\n\r\n\r\n********************************************************************************\r\nEXABGP CRASHED / HELP US FIX IT\r\n********************************************************************************\r\n\r\nSorry, you encountered a problem with ExaBGP and we could not keep the program\r\nrunning.\r\n\r\nThere are a few things you can do to help us (and yourself):\r\n- make sure you are running the latest version of the code available at\r\n  https://github.com/Exa-Networks/exabgp/releases/latest\r\n- if so report the issue on https://github.com/Exa-Networks/exabgp/issues\r\n  so it can be fixed (github can be searched for similar reports)\r\n\r\nPLEASE, when reporting, do include as much information as you can:\r\n- do not obfuscate any data (feel free to send us a private  email with the\r\n  extra information if your business policy is strict on information sharing)\r\n  https://github.com/Exa-Networks/exabgp/wiki/FAQ\r\n- if you can reproduce the issue, run ExaBGP with the command line option -d\r\n  it provides us with much needed information to fix problems quickly\r\n- include the information presented below\r\n\r\nShould you not receive an acknowledgment of your issue on github (assignement,\r\ncomment, or similar) within a few hours, feel free to email us to make sure\r\nit was not overlooked. (please keep in mind the authors are based in GMT/Europe)\r\n\r\n********************************************************************************\r\n-- Please provide ALL the information below on :\r\n-- https://github.com/Exa-Networks/exabgp/issues\r\n********************************************************************************\r\n\r\nExaBGP version : 3.4.10\r\nPython version : 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)  [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]\r\nSystem Uname   : #1 SMP Mon Aug 11 18:47:39 MSK 2014\r\nSystem MaxInt  : 9223372036854775807\r\n\r\n\r\n-- Traceback\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/src/exabgp/lib/exabgp/application/bgp.py\", line 316, in <module>\r\n    main()\r\n  File \"/usr/src/exabgp/lib/exabgp/application/bgp.py\", line 234, in main\r\n    run(env,comment,configurations)\r\n  File \"/usr/src/exabgp/lib/exabgp/application/bgp.py\", line 268, in run\r\n    ok = Reactor(configurations).run()\r\n  File \"/usr/src/exabgp/lib/exabgp/reactor/loop.py\", line 243, in run\r\n    if peer.incoming(connection):\r\n  File \"/usr/src/exabgp/lib/exabgp/reactor/peer.py\", line 290, in incoming\r\n    self._incoming.fsm.change(FSM.ACTIVE)\r\n  File \"/usr/src/exabgp/lib/exabgp/bgp/fsm.py\", line 69, in change\r\n    raise RuntimeError ('invalid state machine transition (from %s to %s)' % (str(self.state),str(state)))\r\nRuntimeError: invalid state machine transition (from OPENCONFIRM to ACTIVE)\r\n\r\n\r\n-- Configuration\r\n\r\n\r\n\r\n\r\n\r\n-- Logging History\r\n\r\n\r\nexabgp 986070 debug         session 1 outgoing 10.0.129.2 / 10.0.131.2          SENDING  ( 392) FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 009D 0104 FDE8 00B4 0A00 8102 8002 0601 0400 0100 0102 0601 0400 0100 0202 0601 0400 0100 0402 0601 0400 0100 8002 0601 0400 0100 8402 0601 0400 0100 8502 0601 0400 0100 8602 0601 0400 0200 0102 0601 0400 0200 0202 0601 0400 0200 0402 0601 0400 0200 8002 0601 0400 0200 8502 0601 0400 0200 8602 0601 0400 1900 4102 0601 0400 1900 4602 0641 0400 00FD E8\r\nexabgp 986070 info          Peer      10.0.131.2 ASN 65000   >> KEEPALIVE (OPENCONFIRM)\r\nexabgp 986070 info          Peer      10.0.131.2 ASN 65000   >> OPEN version=4 asn=65000 hold_time=180 router_id=10.0.129.2 capabilities=[Multiprotocol(ipv4 unicast,ipv4 multicast,ipv4 nlri-mpls,ipv4 mpls-vpn,ipv4 rtc,ipv4 flow,ipv4 flow-vpn,ipv6 unicast,ipv6 multicast,ipv6 nlri-mpls,ipv6 mpls-vpn,ipv6 flow,ipv6 flow-vpn,l2vpn vpls,l2vpn evpn), ASN4(65000)]\r\nexabgp 986070 debug         session 1 outgoing 10.0.129.2 / 10.0.131.2          RECEIVED  (  47) FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0031 01\r\nexabgp 986070 debug         session 1 outgoing 10.0.129.2 / 10.0.131.2          RECEIVED  (  74) 04FD E800 F00A 000A 2614 0212 0104 0001 0001 0200 4002 0000 4104 0000 FDE8\r\nexabgp 986070 info          Peer      10.0.131.2 ASN 65000   << OPEN\r\nexabgp 986070 info          Peer      10.0.131.2 ASN 65000   << OPEN version=4 asn=65000 hold_time=240 router_id=10.0.10.38 capabilities=[Multiprotocol(ipv4 unicast), Route Refresh, Graceful Restart Flags 0x0 Time 0 , ASN4(65000)]\r\nexabgp 986070 debug         peer 10.0.131.2 ASN 65000   Receive Timer 59 second(s) left\r\nexabgp 986070 network       outgoing connection finds the incoming connection is in openconfirm\r\nexabgp 986070 network       closing the incoming connection\r\nexabgp 986070 network       Peer      10.0.131.2 ASN 65000   in loop, stop, message [collision local id < remote id]\r\nexabgp 986070 debug         session 1 incoming, closing connection from 10.0.131.2 to 10.0.129.2\r\nexabgp 986070 debug         session 1 outgoing 10.0.129.2 / 10.0.131.2          SENDING  (  47) FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0013 04\r\nexabgp 986070 info          Peer      10.0.131.2 ASN 65000   >> KEEPALIVE (OPENCONFIRM)\r\nexabgp 986070 debug         session 1 outgoing 10.0.129.2 / 10.0.131.2          RECEIVED  (  47) FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0015 03\r\nexabgp 986070 debug         session 1 outgoing 10.0.129.2 / 10.0.131.2          RECEIVED  (   4) 0607\r\nexabgp 986070 info          Peer      10.0.131.2 ASN 65000   << NOTIFICATION\r\nexabgp 986070 network       Peer      10.0.131.2 ASN 65000   out loop, peer reset, message [notification received (6,7)] error[Cease / Connection Collision Resolution]\r\nexabgp 986070 debug         session 1 outgoing, closing connection from 10.0.129.2 to 10.0.131.2\r\nexabgp 986070 network       out loop, stopping, other one is established\r\nexabgp 986070 debug         Connection from 10.0.129.2\r\n```\r\n\r\nAnd I could not reproduce this case. \r\n\r\nOn the another side I have bird with ~20 /32 announces. "}}