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-1422] VPP crash on sr mpls policy configuration #2886

Closed
vvalderrv opened this issue Feb 1, 2025 · 0 comments
Closed

[VPP-1422] VPP crash on sr mpls policy configuration #2886

vvalderrv opened this issue Feb 1, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

Description

Configure SR-MPLS policy on a fresh started VPP without any config.  VPP will crash.

 

 

vpp# show ver verbose

Version:                  v18.07.1-release

Compiled by:              root

Compile host:             17f8408d5da1

Compile date:             Sun Sep 16 02:36:53 UTC 2018

Compile location:         /w/workspace/vpp-merge-1807-centos7

Compiler:                 GCC 4.8.5 20150623 (Red Hat 4.8.5-28)

Current PID:              128

 

(gdb) bt

#0  0x00007fe8cf0001f7 in raise () from /lib64/libc.so.6

#1  0x00007fe8cf0018e8 in abort () from /lib64/libc.so.6

#2  0x000055e0ffdd514e in os_exit (code=code@entry=1) at /usr/src/debug/vpp-18.07.1/src/vpp/vnet/main.c:355

#3  0x00007fe8d11f099f in unix_signal_handler (signum=, si=, uc=)

    at /usr/src/debug/vpp-18.07.1/src/vlib/unix/main.c:157

#4 

#5  mpls_fib_get (index=<error reading variable: Cannot access memory at address 0x38>)

    at /usr/src/debug/vpp-18.07.1/src/vnet/fib/mpls_fib.h:64

#6  fib_table_lookup_exact_match_i (fib_table=0x0, prefix=0x7fe890b21b00)

    at /usr/src/debug/vpp-18.07.1/src/vnet/fib/fib_table.c:87

#7  fib_table_entry_path_add2 (fib_index=fib_index@entry=0, prefix=prefix@entry=0x7fe890b21b00,

    source=source@entry=FIB_SOURCE_SR, flags=, rpath=rpath@entry=0x7fe891f97280)

    at /usr/src/debug/vpp-18.07.1/src/vnet/fib/fib_table.c:567

#8  0x00007fe8d0bf31c8 in create_sl (weight=, sl=0x7fe890f7e64c, sr_policy=0x7fe891b8b328)

    at /usr/src/debug/vpp-18.07.1/src/vnet/srmpls/sr_mpls_policy.c:121

#9  sr_mpls_policy_add (bsid=, segments=segments@entry=0x7fe890f7e64c, behavior=behavior@entry=0 '\000',

    weight=) at /usr/src/debug/vpp-18.07.1/src/vnet/srmpls/sr_mpls_policy.c:182

#10 0x00007fe8d0bf51dc in sr_mpls_policy_command_fn (vm=, input=0x7fe890b21ed0, cmd=)

    at /usr/src/debug/vpp-18.07.1/src/vnet/srmpls/sr_mpls_policy.c:502

#11 0x00007fe8d11a3b01 in vlib_cli_dispatch_sub_commands (vm=vm@entry=0x7fe8d140cf80 <vlib_global_main>,

    cm=cm@entry=0x7fe8d140d160 <vlib_global_main+480>, input=input@entry=0x7fe890b21ed0,

    parent_command_index=) at /usr/src/debug/vpp-18.07.1/src/vlib/cli.c:589

#12 0x00007fe8d11a3eb7 in vlib_cli_dispatch_sub_commands (vm=vm@entry=0x7fe8d140cf80 <vlib_global_main>,

    cm=cm@entry=0x7fe8d140d160 <vlib_global_main+480>, input=input@entry=0x7fe890b21ed0,

    parent_command_index=) at /usr/src/debug/vpp-18.07.1/src/vlib/cli.c:567

--Type to continue, or q to quit--

#13 0x00007fe8d11a3eb7 in vlib_cli_dispatch_sub_commands (vm=vm@entry=0x7fe8d140cf80 <vlib_global_main>,

    cm=cm@entry=0x7fe8d140d160 <vlib_global_main+480>, input=input@entry=0x7fe890b21ed0,

    parent_command_index=parent_command_index@entry=0) at /usr/src/debug/vpp-18.07.1/src/vlib/cli.c:567

#14 0x00007fe8d11a40f0 in vlib_cli_input (vm=0x7fe8d140cf80 <vlib_global_main>, input=input@entry=0x7fe890b21ed0,

    function=function@entry=0x7fe8d11e9ba0 <unix_vlib_cli_output>, function_arg=function_arg@entry=0)

    at /usr/src/debug/vpp-18.07.1/src/vlib/cli.c:663

#15 0x00007fe8d11eaddc in unix_cli_process_input (cli_file_index=0, cm=0x7fe8d140cd60 <unix_cli_main>)

    at /usr/src/debug/vpp-18.07.1/src/vlib/unix/cli.c:2419

#16 0x00007fe8d11ee500 in unix_cli_process (vm=0x7fe8d140cf80 <vlib_global_main>, rt=0x7fe890b11000, f=)

    at /usr/src/debug/vpp-18.07.1/src/vlib/unix/cli.c:2535

#17 0x00007fe8d11b6836 in vlib_process_bootstrap (_a=) at /usr/src/debug/vpp-18.07.1/src/vlib/main.c:1231

#18 0x00007fe8cfce2148 in clib_calljmp () at /usr/src/debug/vpp-18.07.1/src/vppinfra/longjmp.S:110

#19 0x00007fe88f3b5c00 in ?? ()

#20 0x00007fe8d11b7b29 in vlib_process_startup (f=0x0, p=0x7fe890b11000, vm=0x7fe8d140cf80 <vlib_global_main>)

    at /usr/src/debug/vpp-18.07.1/src/vlib/main.c:1253

#21 dispatch_process (vm=0x7fe8d140cf80 <vlib_global_main>, p=0x7fe890b11000, last_time_stamp=0, f=0x0)

    at /usr/src/debug/vpp-18.07.1/src/vlib/main.c:1298

Assignee

Neale Ranns

Reporter

Vasu Mahalingam

Comments

No comments.

Original issue: https://jira.fd.io/browse/VPP-1422

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