{"action":"opened","issue":{"url":"https://api.github.com/repos/FRRouting/frr/issues/2063","repository_url":"https://api.github.com/repos/FRRouting/frr","labels_url":"https://api.github.com/repos/FRRouting/frr/issues/2063/labels{/name}","comments_url":"https://api.github.com/repos/FRRouting/frr/issues/2063/comments","events_url":"https://api.github.com/repos/FRRouting/frr/issues/2063/events","html_url":"https://github.com/FRRouting/frr/issues/2063","id":314084037,"number":2063,"title":"crash zebra when creating ipv6 tunnel ipv6 over ipv6","user":{"login":"pguibert6WIND","id":16295538,"avatar_url":"https://avatars2.githubusercontent.com/u/16295538?v=4","gravatar_id":"","url":"https://api.github.com/users/pguibert6WIND","html_url":"https://github.com/pguibert6WIND","followers_url":"https://api.github.com/users/pguibert6WIND/followers","following_url":"https://api.github.com/users/pguibert6WIND/following{/other_user}","gists_url":"https://api.github.com/users/pguibert6WIND/gists{/gist_id}","starred_url":"https://api.github.com/users/pguibert6WIND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pguibert6WIND/subscriptions","organizations_url":"https://api.github.com/users/pguibert6WIND/orgs","repos_url":"https://api.github.com/users/pguibert6WIND/repos","events_url":"https://api.github.com/users/pguibert6WIND/events{/privacy}","received_events_url":"https://api.github.com/users/pguibert6WIND/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-13T12:14:53Z","updated_at":"2018-04-13T12:14:53Z","closed_at":null,"author_association":"MEMBER","body":"following commands executed with zebra running show that there is a crash at command number 3 ( add ipv6 addresses)\r\n```\r\nip -f inet6 tunnel add tun1 mode ip6ip6 encaplimit none ttl 64 local fd00:125::1 remote fd00:125::2 dev veth3\r\nip link set dev tun1 up\r\nip addr add fd00:cafe:cafe::1/128 peer fd00:cafe:cafe::2/128 dev tun1\r\n```\r\n\r\n```\r\n018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface lo speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface ovs-system speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface s4 speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface s6 speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface s1 speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface s3 speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface s2 speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface s5 speed: 95 Operation not supported\r\n2018/04/13 14:34:57 ZEBRA: IOCTL failure to read interface bridge0 speed: 95 Operation not supported\r\n2018/04/13 14:35:01 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWLINK(16), len=1412, seq=0, pid=0\r\n2018/04/13 14:35:01 ZEBRA: RTM_NEWLINK ADD for ip6tnl0(5174) vrf_id 0 type 0 sl_type 0 master 0 flags 0x80\r\n2018/04/13 14:35:01 ZEBRA: VRF_GET: (null)(0)\r\n2018/04/13 14:35:01 ZEBRA: interface ip6tnl0 vrf 0 index 5174 becomes active.\r\n2018/04/13 14:35:01 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWLINK(16), len=1412, seq=0, pid=0\r\n2018/04/13 14:35:01 ZEBRA: RTM_NEWLINK ADD for tun1(5175) vrf_id 0 type 0 sl_type 0 master 0 flags 0x90\r\n2018/04/13 14:35:01 ZEBRA: VRF_GET: (null)(0)\r\n2018/04/13 14:35:01 ZEBRA: interface tun1 vrf 0 index 5175 becomes active.\r\n2018/04/13 14:35:13 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWLINK(16), len=1412, seq=0, pid=0\r\n2018/04/13 14:35:13 ZEBRA: RTM_NEWLINK update for tun1(5175) sl_type 0 master 0 flags 0x100d1\r\n2018/04/13 14:35:13 ZEBRA: Intf tun1(5175) has come UP\r\n2018/04/13 14:35:13 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWROUTE(24), len=116, seq=0, pid=0\r\n2018/04/13 14:35:13 ZEBRA: RTM_NEWROUTE ipv6 unicast proto boot vrf 0\r\n2018/04/13 14:35:13 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWROUTE(24), len=116, seq=0, pid=0\r\n2018/04/13 14:35:13 ZEBRA: RTM_NEWROUTE ipv6 unicast proto kernel vrf 0\r\n2018/04/13 14:35:13 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWADDR(20), len=72, seq=0, pid=0\r\n2018/04/13 14:35:13 ZEBRA: netlink_interface_addr RTM_NEWADDR tun1 flags 0x80:\r\n2018/04/13 14:35:13 ZEBRA:   IFA_ADDRESS   fe80::d482:7ff:fe95:e570/64\r\n2018/04/13 14:35:13 ZEBRA:   IFA_CACHEINFO pref -1, valid -1\r\n2018/04/13 14:35:13 ZEBRA: VRF_GET: (null)(0)\r\n2018/04/13 14:35:13 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWROUTE(24), len=116, seq=0, pid=0\r\n2018/04/13 14:35:13 ZEBRA: RTM_NEWROUTE ipv6  proto  vrf 0\r\nroot@ubuntu1604es:~/ENV/frr.6wind# 2018/04/13 14:35:16 ZEBRA: IOCTL failure to read interface ip6tnl0 speed: 95 Operation not supported\r\n2018/04/13 14:35:16 ZEBRA: IOCTL failure to read interface tun1 speed: 95 Operation not supported\r\n### ip addr\r\n2018/04/13 14:35:50 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWROUTE(24), len=116, seq=0, pid=0\r\n2018/04/13 14:35:50 ZEBRA: RTM_NEWROUTE ipv6 unicast proto kernel vrf 0\r\n2018/04/13 14:35:50 ZEBRA: netlink_parse_info: netlink-listen (NS 0) type RTM_NEWADDR(20), len=92, seq=0, pid=0\r\n2018/04/13 14:35:50 ZEBRA: netlink_interface_addr RTM_NEWADDR tun1 flags 0x80:\r\n2018/04/13 14:35:50 ZEBRA:   IFA_LOCAL     fd00:cafe:cafe::1/128\r\n2018/04/13 14:35:50 ZEBRA:   IFA_ADDRESS   fd00:cafe:cafe::2/128\r\n2018/04/13 14:35:50 ZEBRA:   IFA_CACHEINFO pref -1, valid -1\r\n2018/04/13 14:35:50 ZEBRA: VRF_GET: (null)(0)\r\n```\r\n\r\nthe crash on frr 4.0\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x000000000040e787 in connected_up (ifp=0x1032030, ifc=<optimized out>)\r\n    at zebra/connected.c:212\r\n212\t\tPREFIX_COPY(&p, CONNECTED_PREFIX(ifc));\r\n(gdb) bt\r\n#0  0x000000000040e787 in connected_up (ifp=0x1032030, ifc=<optimized out>)\r\n    at zebra/connected.c:212\r\n#1  0x000000000040f0db in connected_add_ipv6 (ifp=ifp@entry=0x1032030, \r\n    flags=flags@entry=2, addr=addr@entry=0x7ffd526c0734, prefixlen=<optimized out>, \r\n    label=label@entry=0x0) at zebra/connected.c:526\r\n#2  0x00000000004102be in netlink_interface_addr (snl=<optimized out>, \r\n    h=0x7ffd526c0718, ns_id=<optimized out>, startup=<optimized out>)\r\n    at zebra/if_netlink.c:986\r\n#3  0x0000000000416a4a in netlink_parse_info (\r\n    filter=filter@entry=0x41615f <netlink_information_fetch>, nl=nl@entry=0xf43e98, \r\n    zns=zns@entry=0xf43e70, count=count@entry=5, startup=startup@entry=0)\r\n    at zebra/kernel_netlink.c:639\r\n#4  0x0000000000416ae0 in kernel_read (thread=<optimized out>)\r\n    at zebra/kernel_netlink.c:277\r\n#5  0x00007fcb1d0d7757 in thread_call (thread=thread@entry=0x7ffd526c2908)\r\n    at lib/thread.c:1498\r\n#6  0x00007fcb1d0bc40c in frr_run (master=0xed75a0) at lib/libfrr.c:879\r\n#7  0x000000000040e049 in main (argc=3, argv=0x7ffd526c2bb8) at zebra/main.c:366\r\n(gdb) \r\n```\r\n\r\n"}}
{"actor":{"display_login":"pguibert6WIND"}}