Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VPP-1822] Adjacency realloc during rewrite update walk #746

Open
vvalderrv opened this issue Jan 7, 2025 · 0 comments
Open

[VPP-1822] Adjacency realloc during rewrite update walk #746

vvalderrv opened this issue Jan 7, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

Adjacency realloc during rewrite update walk

crash:
#5 fib_node_unlock (node=0x80a705033100) at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_node.c:213
#6 0x00007fa747ab094a in adj_unlock (adj_index=<optimized out>)
at /usr/src/debug/vpp-19.08.1/src/vnet/adj/adj.c:337
#7 0x00007fa747aa53d0 in adj_nbr_update_rewrite_internal (adj=<optimized out>,
adj_next_index=<optimized out>, this_node=<optimized out>, next_node=<optimized out>,
rewrite=<optimized out>) at /usr/src/debug/vpp-19.08.1/src/vnet/adj/adj_nbr.c:513
#8 0x00007fa747801dd2 in arp_mk_complete (e=0x7fa705038948, ai=4)
at /usr/src/debug/vpp-19.08.1/src/vnet/ethernet/arp.c:385
#9 arp_mk_complete_walk (ai=4, ctx=0x7fa705038948)
at /usr/src/debug/vpp-19.08.1/src/vnet/ethernet/arp.c:430
#10 0x00007fa747aa752b in adj_nbr_walk_nh4 (sw_if_index=sw_if_index@entry=2, addr=<optimized out>,
cb=cb@entry=0x7fa747801d90 <arp_mk_complete_walk>, ctx=0x7fa705038948)
at /usr/src/debug/vpp-19.08.1/src/vnet/adj/adj_nbr.c:617
#11 0x00007fa747808fc7 in arp_update_adjacency (vnm=0x7fa747e29f20 <vnet_main>, sw_if_index=2,
ai=<optimized out>) at /usr/src/debug/vpp-19.08.1/src/vnet/ethernet/arp.c:540
#12 0x00007fa747aa51c4 in adj_nbr_add_or_lock (nh_proto=<optimized out>,
link_type=<optimized out>, nh_addr=<optimized out>, sw_if_index=2)
at /usr/src/debug/vpp-19.08.1/src/vnet/adj/adj_nbr.c:252
#13 0x00007fa747a9ecff in fib_path_contribute_forwarding (path_index=<optimized out>,
fct=<optimized out>, dpo=0x7fa704b50ba0)
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_path.c:2441
#14 0x00007fa747a9fd9b in fib_path_ext_stack (path_ext=path_ext@entry=0x7fa70646ad14,
child_fct=<optimized out>, imp_null_fct=<optimized out>, nhs=nhs@entry=0x7fa706d479f0)
--Type <return> to continue, or q <return> to quit--
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_path_ext.c:241
#15 0x00007fa747a9424e in fib_entry_src_collect_forwarding (pl_index=<optimized out>,
path_index=<optimized out>, arg=0x7fa704b50c70)
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_entry_src.c:432
#16 0x00007fa747a9c796 in fib_path_list_walk (path_list_index=29,
func=func@entry=0x7fa747a94090 <fib_entry_src_collect_forwarding>,
ctx=ctx@entry=0x7fa704b50c70) at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_path_list.c:1398
#17 0x00007fa747a94a53 in fib_entry_src_mk_lb (fib_entry=fib_entry@entry=0x7fa705965278,
esrc=esrc@entry=0x7fa706d27d80, fct=<optimized out>, dpo_lb=dpo_lb@entry=0x7fa7059652a0)
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_entry_src.c:532
#18 0x00007fa747a94e56 in fib_entry_src_action_install (fib_entry=fib_entry@entry=0x7fa705965278,
source=source@entry=FIB_SOURCE_API)
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_entry_src.c:662
#19 0x00007fa747a950e9 in fib_entry_src_action_activate (fib_entry=fib_entry@entry=0x7fa705965278,
source=source@entry=FIB_SOURCE_API)
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_entry_src.c:1035
#20 0x00007fa747a92531 in fib_entry_create (fib_index=fib_index@entry=0,
prefix=prefix@entry=0x7fa704b50de0, source=source@entry=FIB_SOURCE_API, flags=<optimized out>,
paths=paths@entry=0x7fa705b805a0) at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_entry.c:755
#21 0x00007fa747a890b7 in fib_table_entry_path_add2 (fib_index=0,
prefix=prefix@entry=0x7fa704b50de0, source=source@entry=FIB_SOURCE_API, flags=<optimized out>,
flags@entry=FIB_ENTRY_FLAG_NONE, rpaths=rpaths@entry=0x7fa705b805a0)
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_table.c:587
#22 0x00007fa747aa44ae in fib_api_route_add_del (is_add=<optimized out>,
is_multipath=<optimized out>, fib_index=<optimized out>, prefix=prefix@entry=0x7fa704b50de0,
entry_flags=entry_flags@entry=FIB_ENTRY_FLAG_NONE, rpaths=rpaths@entry=0x7fa705b805a0)
at /usr/src/debug/vpp-19.08.1/src/vnet/fib/fib_api.c:469
#23 0x00007fa7478c8db4 in mpls_route_add_del_t_handler (vnm=<optimized out>,
stats_index=<synthetic pointer>, mp=0x130098130)
at /usr/src/debug/vpp-19.08.1/src/vnet/mpls/mpls_api.c:195
--Type <return> to continue, or q <return> to quit--
#24 vl_api_mpls_route_add_del_t_handler (mp=mp@entry=0x130098130)
at /usr/src/debug/vpp-19.08.1/src/vnet/mpls/mpls_api.c:223
#25 0x00007fa747e7603b in vl_msg_api_handler_with_vm_node (am=am@entry=0x7fa748086e60 <api_main>,
the_msg=0x130098130, vm=vm@entry=0x7fa746f342c0 <vlib_global_main>,
node=node@entry=0x7fa704b48000) at /usr/src/debug/vpp-19.08.1/src/vlibapi/api_shared.c:585
#26 0x00007fa747e56845 in void_mem_api_handle_msg_i (am=<optimized out>, q=<optimized out>,
node=0x7fa704b48000, vm=0x7fa746f342c0 <vlib_global_main>)
at /usr/src/debug/vpp-19.08.1/src/vlibmemory/memory_api.c:716
#27 vl_mem_api_handle_msg_main (vm=vm@entry=0x7fa746f342c0 <vlib_global_main>,
node=node@entry=0x7fa704b48000) at /usr/src/debug/vpp-19.08.1/src/vlibmemory/memory_api.c:726
#28 0x00007fa747e671cd in vl_api_clnt_process (vm=<optimized out>, node=0x7fa704b48000,
f=<optimized out>) at /usr/src/debug/vpp-19.08.1/src/vlibmemory/vlib_api.c:327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant