Hi Xyxue,

Did you by chance configure an ip or a route through the gpe interface? If yes, 
then that is probably the issue. If not, could you provide more details 
regarding your configuration. 

Thanks,
Florin

> On Dec 10, 2017, at 6:25 PM, 薛欣颖 <xy...@fiberhome.com> wrote:
> 
> 
> Hi guys,
> 
> There is an assertion when I was configuring the GPE service, and I didn't 
> find a solution. Can you help me see the reasons for it?
> 
> Breakpoint 1, vl_api_gpe_add_del_fwd_entry_t_handler (mp=0x2b8413872f9c) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/lisp-gpe/lisp_gpe_api.c:328
> 328     {
> (gdb) p *mp
> $1 = {_vl_msg_id = 16129, client_index = 805306625, context = 0, is_add = 1 
> '\001', eid_type = 0 '\000', rmt_eid = 
> "1.1.3.1\000\000\000\000\000\000\000\000", 
>   lcl_eid = "1.1.2.1\000\000\000\000\000\000\000\000", rmt_len = 24 '\030', 
> lcl_len = 24 '\030', vni = 16777216, dp_table = 16777216, action = 4 '\004', 
> loc_num = 33554432, 
>   locs = 0x2b8413872fd7}
> (gdb) c
> Continuing.
> 
> Program received signal SIGABRT, Aborted.
> 0x00002b8412519c37 in __GI_raise (sig=sig@entry=6) at 
> ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> 56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
> (gdb) bt
> #0  0x00002b8412519c37 in __GI_raise (sig=sig@entry=6) at 
> ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> #1  0x00002b841251d028 in __GI_abort () at abort.c:89
> #2  0x0000000000406e9b in os_panic () at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vpp/vnet/main.c:294
> #3  0x00002b8411e36b98 in debugger () at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vppinfra/error.c:84
> #4  0x00002b8411e36f9f in _clib_error (how_to_die=2, function_name=0x0, 
> line_number=0, fmt=0x2b8411a87488 "%s:%d (%s) assertion `%s' fails")
>     at /home/vpp/17.07_x64/vpp/build-data/../src/vppinfra/error.c:143
> #5  0x00002b84117d9f14 in lisp_gpe_build_rewrite (vnm=0x2b8411e07560 
> <vnet_main>, sw_if_index=3, link_type=VNET_LINK_ARP, dst_address=0x0)
>     at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/lisp-gpe/lisp_gpe_adjacency.c:370
> #6  0x00002b8411985a76 in vnet_rewrite_for_sw_interface (vnm=0x2b8411e07560 
> <vnet_main>, link_type=VNET_LINK_ARP, sw_if_index=3, node_index=312, 
> dst_address=0x0, rw=0x2b841386a780, 
>     max_rewrite_bytes=112) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/adj/rewrite.c:133
> #7  0x00002b8411978012 in adj_glean_add_or_lock (proto=FIB_PROTOCOL_IP4, 
> sw_if_index=3, nh_addr=0x0) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/adj/adj_glean.c:73
> #8  0x00002b84119683b6 in fib_path_attached_get_adj (path=0x2b8413866bc8, 
> link=VNET_LINK_IP4) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_path.c:719
> #9  0x00002b841196a7a2 in fib_path_resolve (path_index=22) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_path.c:1880
> #10 0x00002b8411964406 in fib_path_list_resolve (path_list=0x2b841386619c) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_path_list.c:567
> #11 0x00002b84119648bd in fib_path_list_create 
> (flags=FIB_PATH_LIST_FLAG_SHARED, rpaths=0x2b8413a96080) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_path_list.c:725
> #12 0x00002b841195ff39 in fib_entry_src_lisp_path_swap (src=0x2b8413872dd4, 
> entry=0x2b84138700c4, pl_flags=FIB_PATH_LIST_FLAG_NONE, paths=0x2b8413a96080)
>     at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_entry_src_lisp.c:42
> #13 0x00002b841195b529 in fib_entry_src_action_path_swap 
> (fib_entry=0x2b84138700c4, source=FIB_SOURCE_LISP, flags=FIB_ENTRY_FLAG_NONE, 
> rpaths=0x2b8413a96080)
>     at /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_entry_src.c:1191
> #14 0x00002b8411956c3c in fib_entry_create (fib_index=1, 
> prefix=0x2b8413674a30, source=FIB_SOURCE_LISP, flags=FIB_ENTRY_FLAG_NONE, 
> paths=0x2b8413a96080)
>     at /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_entry.c:828
> #15 0x00002b8411947a39 in fib_table_entry_update (fib_index=1, 
> prefix=0x2b8413674a30, source=FIB_SOURCE_LISP, flags=FIB_ENTRY_FLAG_NONE, 
> paths=0x2b8413a96080)
>     at /home/vpp/17.07_x64/vpp/build-data/../src/vnet/fib/fib_table.c:778
> #16 0x00002b84117dffdc in ip_src_fib_add_route (src_fib_index=1, 
> src_prefix=0x2b8413674ab0, paths=0x2b8413a2d7f0)
>     at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c:288
> #17 0x00002b84117e063e in create_fib_entries (lfe=0x2b8413872f28) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c:384
> #18 0x00002b84117e13ac in add_ip_fwd_entry (lgm=0x2b8411e10040 
> <lisp_gpe_main>, a=0x2b8413674c50) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c:568
> #19 0x00002b84117e36f5 in vnet_lisp_gpe_add_del_fwd_entry (a=0x2b8413674c50, 
> hw_if_indexp=0x0) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c:1264
> #20 0x00002b84117f1bec in vl_api_gpe_add_del_fwd_entry_t_handler 
> (mp=0x2b8413872f9c) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vnet/lisp-gpe/lisp_gpe_api.c:360
> #21 0x00002b8410eb57a2 in msg_handler_internal (am=0x2b84110e14c0 <api_main>, 
> the_msg=0x2b8413872f9c, trace_it=0, do_it=1, free_it=0)
>     at /home/vpp/17.07_x64/vpp/build-data/../src/vlibapi/api_shared.c:425
> #22 0x00002b8410eb5f92 in vl_msg_api_socket_handler (the_msg=0x2b8413872f9c) 
> at /home/vpp/17.07_x64/vpp/build-data/../src/vlibapi/api_shared.c:680
> #23 0x00002b8410ed2b63 in vl_api_socket_process_msg (uf=0x2b8413a2dbe0, 
> rp=0x2b8413a81ca8, input_v=0x2b8413872f8c "")
>     at /home/vpp/17.07_x64/vpp/build-data/../src/vlibmemory/socksvr_vlib.c:154
> #24 0x00002b8410ec8798 in memclnt_process (vm=0x2b84113b87e0 
> <vlib_global_main>, node=0x2b841366c000, f=0x0) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vlibmemory/memory_vlib.c:1155
> ---Type <return> to continue, or q <return> to quit---
> #25 0x00002b841113a6f8 in vlib_process_bootstrap (_a=47846259338336) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vlib/main.c:1253
> #26 0x00002b8411e4b570 in clib_calljmp () at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vppinfra/longjmp.S:128
> #27 0x00002b84134aac30 in ?? ()
> #28 0x00002b841113a82d in vlib_process_startup (vm=0x2b841366c000, p=0x1c, 
> f=0x2b841113a8bf <vlib_process_resume+111>) at 
> /home/vpp/17.07_x64/vpp/build-data/../src/vlib/main.c:1278
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> 
> 
> Thanks,
> Xyxue
> _______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> <https://lists.fd.io/mailman/listinfo/vpp-dev>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to