Hello all

i have test client that use the ' *c api* ' connection to config and get dump 
from the vpp.

i noticed that if my test client got an exception then the vpp got stuck also

this is the massgae that i see in the vpp log about my application:
*vl_mem_send_client_keepalive_w_reg:573: REAPER: binary API client 'test' died*

and this is the stack from the gdb:
.......

0x00007fcf5e331023 in *__GI___pthread_mutex_lock* (

mutex=mutex@entry=0x130021008) at ../nptl/pthread_mutex_lock.c:78

#2  0x00007fcf5f4abcfd in vl_mem_api_dead_client_scan (

am=0x7fcf5f6d7c40 <api_main>, shm=shm@entry=0x1300423cc,

now=now@entry=57515.915042799999 )

at /mnt/vpp_code/vpp/src/vlibmemory/memory_api.c:639

#3  0x00007fcf5f4be03d in vl_api_clnt_process (vm=<optimized out>,

node=0x7fcf1d174000, f=<optimized out>)

at /mnt/vpp_code/vpp/src/vlibmemory/vlib_api.c:430

#4  0x00007fcf5e57eab6 in vlib_process_bootstrap (_a=<optimized out>)

at /mnt/vpp_code/vpp/src/vlib/main.c:1440

#5  0x00007fcf5e0b1614 in clib_calljmp ()

from /usr/lib/x86_64-linux-gnu/libvppinfra.so.19.01.2

#6  0x00007fcf1dbffe00 in ?? ()

#7  0x00007fcf5e584679 in vlib_process_startup (f=0x0, p=0x7fcf1d174000,

vm=0x7fcf5e7c83c0 <vlib_global_main>)

at /mnt/vpp_code/vpp/src/vlib/main.c:1462

#8  dispatch_process (vm=0x7fcf5e7c83c0 <vlib_global_main>, p=0x7fcf1d174000,

last_time_stamp=150702803856, f=0x0)

at /mnt/vpp_code/vpp/src/vlib/main.c:1507

it seem that it stuck on mutex somehow on function 
*vl_mem_api_dead_client_scan* ()

can someone pls advice ?

im using

Version:                  v19.01.2-release

Compiled by:              root

Compile host:             ubuntu
Compiler:                 GCC 7.4.0

thnaks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13524): https://lists.fd.io/g/vpp-dev/message/13524
Mute This Topic: https://lists.fd.io/mt/32513844/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to