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-1335] vapi crash when memclnt_keepalive received #1073

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

[VPP-1335] vapi crash when memclnt_keepalive received #1073

vvalderrv opened this issue Jan 7, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

Stack trace for thread 2:

Thread 2 "main" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedbff700 (LWP 814141)]
0x00007ffff529c428 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  0x00007ffff529c428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff529e02a in __GI_abort () at abort.c:89
#2  0x00007ffff5294bd7 in __assert_fail_base (fmt=<optimized out>,
assertion=assertion@entry=0x7ffff5bcb5f5 "id <= __vapi_metadata.count",
    file=file@entry=0x7ffff5bcb530
"/place/home/xpahos/git/vpp/build-data/../src/vpp-api/vapi/vapi.c",
line=line@entry=696, function=function@entry=0x7ffff5bcb6f0
<_PRETTY_FUNCTION_.39669> "vapi_msg_is_with_context") at assert.c:92
#3  0x00007ffff5294c82 in _GI__assert_fail
(assertion=assertion@entry=0x7ffff5bcb5f5
"id <= __vapi_metadata.count", file=file@entry=0x7ffff5bcb530
"/place/home/xpahos/git/vpp/build-data/../src/vpp-api/vapi/vapi.c",
    line=line@entry=696, function=function@entry=0x7ffff5bcb6f0
<_PRETTY_FUNCTION_.39669> "vapi_msg_is_with_context") at assert.c:101
#4  0x00007ffff5bcac0b in vapi_msg_is_with_context (id=id@entry=3200171710)
at /place/home/xpahos/git/vpp/build-data/../src/vpp-api/vapi/vapi.c:696
#5  0x00007ffff646f2a0 in vapi::Connection::dispatch (time=5, limit=0x0,
this=0x611000009500) at
/place/home/xpahos/git/vpp/build-root/install-vpp-native/vpp/include/vapi/vapi.hpp:270
#6  VOM::HW::cmd_q::rx_run (this=0x610000007d40) at
/place/home/xpahos/git/vpp/build-data/../extras/vom/vom/hw.cpp:45
#7  0x00007ffff58ffc80 in ?? () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ffff50516ba in start_thread (arg=0x7fffedbff700) at
pthread_create.c:333
#9  0x00007ffff536e41d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Values:

Thread 2 "main" hit Breakpoint 1, vapi_msg_is_with_context (id=id@entry=130)
at /place/home/xpahos/git/vpp/build-data/../src/vpp-api/vapi/vapi.c:696
696   assert (id <= __vapi_metadata.count);
(gdb) print id
$1 = 130
(gdb) c
Continuing.
Mon Jul  2 13:52:37 2018 [debug]rpc_cmd.hpp:120 operator()() itf-events 0
Started

Thread 2 "main" hit Breakpoint 1, vapi_msg_is_with_context
(id=id@entry=3200171710)
at /place/home/xpahos/git/vpp/build-data/../src/vpp-api/vapi/vapi.c:696
696   assert (id <= __vapi_metadata.count);
(gdb) print id
$2 = 3200171710

Shared memory message:

(gdb) print shm_data_size
$3 = 10
(gdb) print shm_data
$4 = (void *) 0x30045a74
(gdb) x/10h 0x30045a74
0x30045a74: 5376 0 0 0 0 0 0 0
0x30045a84: 0 0

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