Hi, Not entirely sure what’s happening there. I just tried nginx with master latest and binding 4 workers seems to work.
In your case it looks as if a listening session associated to an app listener was freed. Not sure how that could happen. Anything special about your nginx or vcl configuration? Regards, Florin > On Jan 6, 2020, at 10:38 PM, jiangxiaom...@outlook.com wrote: > > VPP crash when start nginx start with ldp. vpp code is master > 78565f38e8436dae9cd3a891b5e5d929209c87f9, > The crash stack is below: Anyone has any solution? > > DBGvpp# 0: vl_api_memclnt_delete_t_handler:277: Stale clnt delete index > 16777215 old epoch 255 cur epoch 0 > > 0: /home/dev/code/net-base/build/vpp/src/vnet/session/session.h:320 > (session_get_from_handle) assertion `! pool_is_free > (smm->wrk[thread_index].sessions, _e)' fails > > > > Program received signal SIGABRT, Aborted. > > 0x00007ffff4a33337 in __GI_raise (sig=sig@entry=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:55 > > 55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); > > (gdb) bt > > #0 0x00007ffff4a33337 in __GI_raise (sig=sig@entry=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:55 > > #1 0x00007ffff4a34a28 in __GI_abort () at abort.c:90 > > #2 0x0000000000407458 in os_panic () at > /home/dev/code/net-base/build/vpp/src/vpp/vnet/main.c:355 > > #3 0x00007ffff587ad1f in debugger () at > /home/dev/code/net-base/build/vpp/src/vppinfra/error.c:84 > > #4 0x00007ffff587b0ee in _clib_error (how_to_die=2, function_name=0x0, > line_number=0, fmt=0x7ffff772b0c8 "%s:%d (%s) assertion `%s' fails") at > /home/dev/code/net-base/build/vpp/src/vppinfra/error.c:143 > > #5 0x00007ffff73da25f in session_get_from_handle (handle=2) at > /home/dev/code/net-base/build/vpp/src/vnet/session/session.h:320 > > #6 0x00007ffff73da330 in listen_session_get_from_handle (handle=2) at > /home/dev/code/net-base/build/vpp/src/vnet/session/session.h:548 > > #7 0x00007ffff73dac6b in app_listener_lookup (app=0x7fffd72f2188, > sep_ext=0x7fffdc84fc80) at > /home/dev/code/net-base/build/vpp/src/vnet/session/application.c:122 > > #8 0x00007ffff73de10d in vnet_listen (a=0x7fffdc84fc80) at > /home/dev/code/net-base/build/vpp/src/vnet/session/application.c:979 > > #9 0x00007ffff73c33a9 in session_mq_listen_handler (data=0x13007fb89) at > /home/dev/code/net-base/build/vpp/src/vnet/session/session_node.c:62 > > #10 0x00007ffff7bb4f8a in vl_api_rpc_call_t_handler (mp=0x13007fb70) at > /home/dev/code/net-base/build/vpp/src/vlibmemory/vlib_api.c:519 > > #11 0x00007ffff7bc8dfc in vl_msg_api_handler_with_vm_node (am=0x7ffff7dd9e40 > <api_global_main>, vlib_rp=0x130021000, the_msg=0x13007fb70, > vm=0x7ffff66c0640 <vlib_global_main>, node=0x7fffdc847000, is_private=0 > '\000') at /home/dev/code/net-base/build/vpp/src/vlibapi/api_shared.c:603 > > #12 0x00007ffff7b9815c in vl_mem_api_handle_rpc (vm=0x7ffff66c0640 > <vlib_global_main>, node=0x7fffdc847000) at > /home/dev/code/net-base/build/vpp/src/vlibmemory/memory_api.c:748 > > #13 0x00007ffff7bb3e05 in vl_api_clnt_process (vm=0x7ffff66c0640 > <vlib_global_main>, node=0x7fffdc847000, f=0x0) at > /home/dev/code/net-base/build/vpp/src/vlibmemory/vlib_api.c:326 > > #14 0x00007ffff641f1f5 in vlib_process_bootstrap (_a=140736887348176) at > /home/dev/code/net-base/build/vpp/src/vlib/main.c:1475 > > #15 0x00007ffff589aef4 in clib_calljmp () at > /home/dev/code/net-base/build/vpp/src/vppinfra/longjmp.S:123 > > #16 0x00007fffdc2d5ba0 in ?? () > > #17 0x00007ffff641f2fd in vlib_process_startup (vm=0x7ffff641fca0 > <dispatch_suspended_process+818>, p=0x7fffdc2d5ca0, f=0xffffffffffffffff) at > /home/dev/code/net-base/build/vpp/src/vlib/main.c:1497 > > Backtrace stopped: previous frame inner to this frame (corrupt stack?) > > (gdb) up 5 > > #5 0x00007ffff73da25f in session_get_from_handle (handle=2) at > /home/dev/code/net-base/build/vpp/src/vnet/session/session.h:320 > > 320 return pool_elt_at_index (smm->wrk[thread_index].sessions, > session_index); > > (gdb) print thread_index > > $1 = 0 > > (gdb) info thread > > Id Target Id Frame > > 3 Thread 0x7fffb4e51700 (LWP 101019) "vpp_wk_0" 0x00007ffff64188e6 in > vlib_worker_thread_barrier_check () at > /home/dev/code/net-base/build/vpp/src/vlib/threads.h:425 > > 2 Thread 0x7fffb5652700 (LWP 101018) "eal-intr-thread" > 0x00007ffff4afbe63 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 > > * 1 Thread 0x7ffff7fd87c0 (LWP 101001) "vpp_main" 0x00007ffff4a33337 in > __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 > > (gdb) print session_index > > $2 = 2 > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#15072): https://lists.fd.io/g/vpp-dev/message/15072 > Mute This Topic: https://lists.fd.io/mt/69497840/675152 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.li...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15077): https://lists.fd.io/g/vpp-dev/message/15077 Mute This Topic: https://lists.fd.io/mt/69497840/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-