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-603] Crash when deleting active vhost-user #1950

Closed
vvalderrv opened this issue Jan 31, 2025 · 1 comment
Closed

[VPP-603] Crash when deleting active vhost-user #1950

vvalderrv opened this issue Jan 31, 2025 · 1 comment

Comments

@vvalderrv
Copy link
Contributor

Description

DBGvpp# show ver

vvpp v17.04-rc0~121-g46f133d built by wdec on devstack-vm at Die Jan 17 17:53:39 CET 2017

create vhost-user socket /tmp/a1

set interface state VirtualEthernet0/0/0 up

delete vhost-user VirtualEthernet0/0/0

0: /home/wdec/vpp/build-data/../src/vnet/devices/virtio/vhost-user.c:2263 (vhost_user_interface_admin_up_down) assertion `! pool_is_free (vum->vhost_user_interfaces, _e)' fails

Failed to save post-mortem API trace to /tmp/api_post_mortem.47905

TThread 1 "vpp_main" received signal SIGABRT, Aborted.

0x00007ffff6041418 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 0x00007ffff6041418 in __GI_raise (sig=sig@entry=6)

at ../sysdeps/unix/sysv/linux/raise.c:54

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

#2 0x00000000004071b7 in os_panic ()

at /home/wdec/vpp/build-data/../src/vpp/vnet/main.c:269

#3 0x00007ffff6620fc5 in debugger ()

at /home/wdec/vpp/build-data/../src/vppinfra/error.c:84

#4 0x00007ffff66213cd in _clib_error (how_to_die=2, function_name=0x0,

line_number=0, fmt=0x7ffff73c98e0 "%s:%d (%s) assertion `%s' fails")

at /home/wdec/vpp/build-data/../src/vppinfra/error.c:143

#5 0x00007ffff7251f97 in vhost_user_interface_admin_up_down (

vnm=0x6e8fc0 <vnet_main>, hw_if_index=1, flags=0)

at /home/wdec/vpp/build-data/../src/vnet/devices/virtio/vhost-user.c:2263

#6 0x00007ffff6d4e514 in vnet_sw_interface_set_flags_helper (

vnm=0x6e8fc0 <vnet_main>, sw_if_index=1, flags=0, helper_flags=0)

at /home/wdec/vpp/build-data/../src/vnet/interface.c:493

#7 0x00007ffff6d4e689 in vnet_sw_interface_set_flags (

vnm=0x6e8fc0 <vnet_main>, sw_if_index=1, flags=0)

at /home/wdec/vpp/build-data/../src/vnet/interface.c:540</p>

Assignee

Wojciech Dec

Reporter

Wojciech Dec

Comments

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

@vvalderrv
Copy link
Contributor Author

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