Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1704

bier_table_add_del coredumps on attempt to delete nonexisting entry.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • bier
    • None

      GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1

      Copyright (C) 2016 Free Software Foundation, Inc.

      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

      This is free software: you are free to change and redistribute it.

      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

      and "show warranty" for details.

      This GDB was configured as "x86_64-linux-gnu".

      Type "show configuration" for configuration details.

      For bug reporting instructions, please see:

      <http://www.gnu.org/software/gdb/bugs/>.

      Find the GDB manual and other documentation resources online at:

      <http://www.gnu.org/software/gdb/documentation/>.

      For help, type "help".

      Type "apropos word" to search for commands related to "word"...

      Reading symbols from /vpp/build-root/install-vpp_debug-native/vpp/bin/vpp...done.

       

      warning: core file may not match specified executable file.

      [New LWP 28469]

      [Thread debugging using libthread_db enabled]

      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

      bt

      Core was generated by `/vpp/build-root/install-vpp_debug-native/vpp/bin/vpp unix { nodaemon  full-core'.

      Program terminated with signal SIGABRT, Aborted.

      #0  0x00007f7432692428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54

      54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

      (gdb) bt

      #0  0x00007f7432692428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54

      #1  0x00007f743269402a in __GI_abort () at abort.c:89

      #2  0x0000000000407277 in os_exit (code=1) at /vpp/src/vpp/vnet/main.c:379

      #3  0x00007f743302ae30 in unix_signal_handler (signum=6, si=0x7f73f21834b0, uc=0x7f73f2183380) at /vpp/src/vlib/unix/main.c:183

      #4  <signal handler called>

      #5  0x00007f7432692428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54

      #6  0x00007f743269402a in __GI_abort () at abort.c:89

      #7  0x0000000000407232 in os_panic () at /vpp/src/vpp/vnet/main.c:355

      #8  0x00007f7432a5a874 in debugger () at /vpp/src/vppinfra/error.c:84

      #9  0x00007f7432a5ac40 in _clib_error (how_to_die=2, function_name=0x0, line_number=0,

          fmt=0x7f74341bc548 "%s:%d (%s) assertion `%s' fails") at /vpp/src/vppinfra/error.c:143

      #10 0x00007f7433fa22be in dpo_proto_to_fib (dpo_proto=DPO_PROTO_BIER) at /vpp/src/vnet/fib/fib_types.c:266

      #11 0x00007f7433fbf42a in fib_path_list_mk_lb (path_list=0x7f73f3077520, fct=FIB_FORW_CHAIN_TYPE_BIER, dpo=0x7f73f2183ca0,

          flags=FIB_PATH_LIST_FWD_FLAG_COLLAPSE) at /vpp/src/vnet/fib/fib_path_list.c:398

      #12 0x00007f7433fc0ee3 in fib_path_list_contribute_forwarding (path_list_index=37, fct=FIB_FORW_CHAIN_TYPE_BIER,

          flags=FIB_PATH_LIST_FWD_FLAG_COLLAPSE, dpo=0x7f73f2183ca0) at /vpp/src/vnet/fib/fib_path_list.c:1171

      #13 0x00007f74340891f2 in bier_table_mk_lfib (bt=0x7f73f2a228c0) at /vpp/src/vnet/bier/bier_table.c:257

      #14 0x00007f743408973c in bier_table_create (btid=0x7f73f2183db0, local_label=77) at /vpp/src/vnet/bier/bier_table.c:362

      #15 0x00007f7434089870 in bier_table_add_or_lock (btid=0x7f73f2183db0, local_label=77) at /vpp/src/vnet/bier/bier_table.c:446

      #16 0x00007f743409219b in vl_api_bier_table_add_del_t_handler (mp=0x130096940) at /vpp/src/vnet/bier/bier_api.c:103

      #17 0x00007f74345d8095 in vl_msg_api_handler_with_vm_node (am=0x7f74347e8c80 <api_main>, the_msg=0x130096940,

          vm=0x7f743325fac0 <vlib_global_main>, node=0x7f73f217b000) at /vpp/src/vlibapi/api_shared.c:519

      #18 0x00007f74345a7710 in void_mem_api_handle_msg_i (am=0x7f74347e8c80 <api_main>, vm=0x7f743325fac0 <vlib_global_main>,

          node=0x7f73f217b000, q=0x130049440) at /vpp/src/vlibmemory/memory_api.c:706

      #19 0x00007f74345a775c in vl_mem_api_handle_msg_main (vm=0x7f743325fac0 <vlib_global_main>, node=0x7f73f217b000)

          at /vpp/src/vlibmemory/memory_api.c:716

      #20 0x00007f74345c3bb5 in vl_api_clnt_process (vm=0x7f743325fac0 <vlib_global_main>, node=0x7f73f217b000, f=0x0)

          at /vpp/src/vlibmemory/vlib_api.c:350

      #21 0x00007f7432fc3fb3 in vlib_process_bootstrap (_a=140135958871008) at /vpp/src/vlib/main.c:1474

      #22 0x00007f7432a7b7d8 in clib_calljmp () from /vpp/build-root/install-vpp_debug-native/vpp/lib/libvppinfra.so.19.08

      #23 0x00007f73f20c7bb0 in ?? ()

      #24 0x00007f7432fc40bb in vlib_process_startup (vm=0xffffffffffffffff, p=0xd400000000, f=0x7f73f217b000)

          at /vpp/src/vlib/main.c:1496

      Backtrace stopped: previous frame inner to this frame (corrupt stack?)

      (gdb)

            Unassigned Unassigned
            pvinci Paul Vinciguerra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: